/* SCUM用户中心 - 二次元粉紫风格 */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    background: linear-gradient(135deg, #fdf2f8 0%, #f3e8ff 50%, #ede9fe 100%);
    min-height: 100vh;
    color: #1f2937;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 头部 */
.site-header {
    background: linear-gradient(90deg, #8b5cf6 0%, #ec4899 100%);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
    position: sticky; top: 0; z-index: 100;
}
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: white; }
.logo-icon { font-size: 28px; }
.logo-text { font-size: 20px; font-weight: bold; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav a { color: rgba(255,255,255,0.9); text-decoration: none; font-size: 15px; transition: all 0.2s; }
.nav a:hover { color: white; }
.nav .btn-primary {
    background: white; color: #8b5cf6; padding: 8px 20px; border-radius: 20px;
    font-weight: 600;
}
.nav .btn-primary:hover { background: #fdf2f8; }

/* 主内容 */
.main-content { padding: 40px 0; min-height: calc(100vh - 64px - 80px); }

/* 卡片 */
.card {
    background: white; border-radius: 16px; padding: 32px;
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.1);
}
.card-center { max-width: 480px; margin: 0 auto; }

/* 标题 */
.page-title { font-size: 28px; font-weight: bold; color: #1f2937; margin-bottom: 8px; }
.page-subtitle { color: #6b7280; margin-bottom: 24px; }
.section-title { font-size: 18px; font-weight: 600; color: #1f2937; margin-bottom: 16px; }

/* 表单 */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 14px; font-weight: 600; color: #374151; margin-bottom: 8px; }
.form-input {
    width: 100%; padding: 12px 16px; border: 2px solid #e5e7eb; border-radius: 10px;
    font-size: 15px; transition: all 0.2s; outline: none;
}
.form-input:focus { border-color: #8b5cf6; box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1); }
.form-hint { font-size: 12px; color: #9ca3af; margin-top: 6px; }

/* 按钮 */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; border: none; border-radius: 10px; font-size: 15px;
    font-weight: 600; cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.btn-primary {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%); color: white;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3); }
.btn-secondary { background: #f3f4f6; color: #374151; }
.btn-secondary:hover { background: #e5e7eb; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* 提示消息 */
.alert { padding: 12px 16px; border-radius: 10px; margin-bottom: 20px; font-size: 14px; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-info { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }

/* 用户中心 */
.user-header { display: flex; align-items: center; gap: 20px; margin-bottom: 32px; }
.user-avatar {
    width: 80px; height: 80px; border-radius: 50%;
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    display: flex; align-items: center; justify-content: center;
    font-size: 36px; color: white;
}
.user-info h2 { font-size: 24px; margin-bottom: 4px; }
.user-info p { color: #6b7280; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 32px; }
.stat-card {
    background: white; border-radius: 12px; padding: 20px;
    border: 1px solid rgba(139, 92, 246, 0.1);
}
.stat-label { font-size: 13px; color: #6b7280; margin-bottom: 8px; }
.stat-value { font-size: 24px; font-weight: bold; color: #1f2937; }
.stat-value.gradient {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

/* 表格 */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #f3f4f6; }
.data-table th { background: #f9fafb; font-weight: 600; color: #374151; font-size: 13px; }
.data-table td { font-size: 14px; color: #4b5563; }
.data-table tr:hover { background: #faf5ff; }

/* 徽章 */
.badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-vip { background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%); color: white; }
.badge-active { background: #d1fae5; color: #065f46; }
.badge-expired { background: #fee2e2; color: #991b1b; }
.badge-pending { background: #fef3c7; color: #92400e; }

/* 首页横幅 */
.hero {
    text-align: center; padding: 60px 20px; margin-bottom: 40px;
}
.hero h1 { font-size: 42px; margin-bottom: 16px;
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { font-size: 18px; color: #6b7280; margin-bottom: 32px; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.feature-card {
    background: white; border-radius: 16px; padding: 32px; text-align: center;
    border: 1px solid rgba(139, 92, 246, 0.1);
    transition: all 0.3s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(139, 92, 246, 0.15); }
.feature-icon { font-size: 48px; margin-bottom: 16px; }
.feature-card h3 { font-size: 20px; margin-bottom: 8px; }
.feature-card p { color: #6b7280; font-size: 14px; }

/* 页脚 */
.site-footer {
    background: #1f2937; color: #9ca3af; padding: 24px 0; text-align: center;
    font-size: 14px;
}

/* 响应式 */
@media (max-width: 768px) {
    .header-inner { flex-direction: column; height: auto; padding: 12px 0; gap: 12px; }
    .nav { flex-wrap: wrap; justify-content: center; gap: 12px; }
    .hero h1 { font-size: 32px; }
    .stats-grid { grid-template-columns: 1fr; }
    .card { padding: 20px; }
}
