:root {
            --fire-red: #d32f2f;
            --fire-red-dark: #b71c1c;
            --fire-orange: #ff9800;
            --fire-yellow: #ffb300;
            --fire-red-light: #ffebee;
            --gray-light: #f8f9fa;
            --text-primary: #333333;
            --text-secondary: #666666;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Microsoft YaHei', 'Segoe UI', sans-serif;
            background-color: #ffffff;
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
            font-size: 1.1em; /* 增加整体字体大小 */
        }
        
        /* 导航栏 */
        .compact-navbar {
            background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            padding: 1rem 0; /* 增大导航栏高度 */
            position: sticky;
            top: 0;
            z-index: 999;
            border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        }
        
        .nav-logo-compact {
            display: flex;
            align-items: center;
            text-decoration: none;
        }
        
        .logo-icon-compact {
            background: linear-gradient(135deg, var(--fire-red) 0%, var(--fire-red-dark) 100%);
            width: 48px; /* 增大Logo尺寸 */
            height: 48px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 12px;
        }
        
        .logo-icon-compact i {
            color: white;
            font-size: 1.4rem; /* 增大图标尺寸 */
        }
        
        .logo-text-compact h1 {
            font-size: 1.6rem; /* 增大标题尺寸 */
            font-weight: 700;
            color: var(--fire-red);
            margin-bottom: 0;
        }
        
        .logo-text-compact p {
            font-size: 0.85rem; /* 增大副标题尺寸 */
            color: var(--text-secondary);
            margin-bottom: 0;
        }
        
        /* 导航菜单 */
        .nav-menu {
            display: flex;
            align-items: center;
            margin: 0;
            padding: 0;
            list-style-type: none;
        }
        
        .nav-item {
            margin: 0 1rem; /* 增加菜单项间距 */
        }
        
        .nav-link {
            color: var(--text-primary);
            text-decoration: none;
            font-weight: 500;
            font-size: 1rem; /* 增大导航文字 */
            padding: 0.5rem 0;
            position: relative;
            transition: color 0.3s ease;
        }
        
        .nav-link:hover {
            color: var(--fire-red);
        }
        
        .nav-link.active {
            color: var(--fire-red);
            font-weight: 600;
        }
        
        .nav-link.active::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 100%;
            height: 3px;
            background: linear-gradient(90deg, var(--fire-red) 0%, var(--fire-orange) 100%);
            border-radius: 2px;
        }
        
        .mobile-menu-toggle {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--text-primary);
            cursor: pointer;
        }
        
        /* 紧凑主横幅 */
        .compact-hero {
            background: linear-gradient(135deg, rgba(255, 248, 225, 0.2) 0%, rgba(255, 243, 205, 0.1) 100%);
            padding: 3.5rem 0 3rem; /* 增加内边距 */
            position: relative;
            overflow: hidden;
            min-height: auto;
        }
        
        .hero-badge-compact {
            display: inline-flex;
            align-items: center;
            background: linear-gradient(135deg, var(--fire-red) 0%, var(--fire-red-dark) 100%);
            color: white;
            padding: 0.4rem 1.2rem; /* 增大徽章 */
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.9rem; /* 增大字体 */
            margin-bottom: 1.2rem;
        }
        
        .hero-title-compact {
            font-size: 2.5rem; /* 增大标题 */
            font-weight: 800;
            line-height: 1.2;
            margin-bottom: 1.2rem;
            color: var(--text-primary);
        }
        
        .hero-title-compact span {
            color: var(--fire-red);
        }
        
        .hero-subtitle-compact {
            font-size: 1.1rem; /* 增大副标题 */
            color: var(--text-secondary);
            margin-bottom: 1.8rem;
            max-width: 660px; /* 增大宽度 */
        }
        
        .compact-hero-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 0.9rem; /* 增大按钮间距 */
            margin-bottom: 1.2rem;
        }
        
        .btn-fire-compact {
            background: linear-gradient(135deg, var(--fire-red) 0%, var(--fire-red-dark) 100%);
            color: white;
            border: none;
            border-radius: 8px;
            padding: 0.75rem 1.8rem; /* 增大按钮 */
            font-weight: 500;
            font-size: 1rem; /* 增大字体 */
            transition: all 0.3s ease;
        }
        
        .btn-fire-compact:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(211, 47, 47, 0.2);
            color: white;
        }
        
        .hero-stats-compact {
            display: flex;
            flex-wrap: wrap;
            gap: 2rem; /* 增大间距 */
            margin-top: 2rem;
        }
        
        .stat-item-compact {
            display: flex;
            flex-direction: column;
        }
        
        .stat-number-compact {
            font-size: 2rem; /* 增大数字 */
            font-weight: 800;
            color: var(--fire-red);
            line-height: 1;
        }
        
        .stat-label-compact {
            font-size: 0.9rem; /* 增大标签 */
            color: var(--text-secondary);
            margin-top: 0.3rem;
        }
        
        /* 核心功能卡片 */
        .section-title-compact {
            text-align: center;
            margin-bottom: 3rem; /* 增大间距 */
        }
        
        .section-title-compact h2 {
            font-size: 2rem; /* 增大标题 */
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.9rem;
            position: relative;
            display: inline-block;
        }
        
        .section-title-compact h2::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 70px; /* 增大下划线 */
            height: 4px;
            background: linear-gradient(90deg, var(--fire-red) 0%, var(--fire-orange) 100%);
            border-radius: 2px;
        }
        
        .section-title-compact p {
            font-size: 1.05rem; /* 增大描述文字 */
            color: var(--text-secondary);
            max-width: 660px;
            margin: 0 auto;
        }
        
        .compact-feature-card {
            background: white;
            border-radius: 15px;
            padding: 2rem 1.8rem; /* 增大内边距 */
            height: 100%;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
            border: 1px solid rgba(0, 0, 0, 0.03);
            transition: all 0.3s ease;
        }
        
        .compact-feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(211, 47, 47, 0.08);
        }
        
        .feature-icon-compact {
            width: 70px; /* 增大图标容器 */
            height: 70px;
            border-radius: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            background: linear-gradient(135deg, rgba(211, 47, 47, 0.1) 0%, rgba(183, 28, 28, 0.05) 100%);
            color: var(--fire-red);
            font-size: 2rem; /* 增大图标 */
        }
        
        .feature-card-title-compact {
            font-size: 1.3rem; /* 增大标题 */
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.9rem;
        }
        
        .feature-card-text-compact {
            color: var(--text-secondary);
            font-size: 1rem; /* 增大描述文字 */
            margin-bottom: 1.2rem;
        }
        
        /* 证书级别选择 - 紧凑版 */
        .level-card-compact {
            background: white;
            border-radius: 15px;
            padding: 2rem 1.8rem; /* 增大内边距 */
            text-align: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
            border: 1px solid rgba(0, 0, 0, 0.03);
            transition: all 0.3s ease;
            height: 100%;
            position: relative;
        }
        
        .level-card-compact:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        }
        
        .level-badge-compact {
            position: absolute;
            top: 18px; /* 调整位置 */
            right: 18px;
            background: var(--fire-orange);
            color: white;
            padding: 0.3rem 0.9rem; /* 增大徽章 */
            border-radius: 12px;
            font-size: 0.85rem; /* 增大字体 */
            font-weight: 600;
        }
        
        .level-icon-compact {
            width: 80px; /* 增大图标容器 */
            height: 80px;
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.2rem;
            background: linear-gradient(135deg, rgba(211, 47, 47, 0.1) 0%, rgba(183, 28, 28, 0.05) 100%);
            color: var(--fire-red);
            font-size: 2.2rem; /* 增大图标 */
        }
        
        .level-title-compact {
            font-size: 1.4rem; /* 增大标题 */
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.6rem;
        }
        
        .level-subtitle-compact {
            color: var(--fire-red);
            font-weight: 600;
            margin-bottom: 1.2rem;
            font-size: 1.05rem; /* 增大副标题 */
        }
        
        .level-features-compact {
            list-style: none;
            padding-left: 0;
            margin-bottom: 1.8rem;
            text-align: left;
        }
        
        .level-features-compact li {
            padding: 0.4rem 0; /* 增大列表项间距 */
            color: var(--text-secondary);
            font-size: 0.95rem; /* 增大字体 */
            position: relative;
            padding-left: 1.5rem;
        }
        
        .level-features-compact li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--fire-red);
            font-weight: bold;
            font-size: 1rem; /* 增大勾号 */
        }
        
        /* 合规声明 */
        .compact-compliance {
            background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
            border-radius: 15px;
            padding: 1.8rem; /* 增大内边距 */
            margin: 3rem 0;
            border-left: 5px solid var(--fire-orange); /* 加粗边框 */
        }
        
        .compliance-title-compact {
            font-size: 1.2rem; /* 增大标题 */
            font-weight: 600;
            color: #5d4037;
            margin-bottom: 0.9rem;
        }
        
        /* 页脚客服区域 */
        .footer-customer-service {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            padding: 3rem 0; /* 增大内边距 */
            border-top: 1px solid rgba(0, 0, 0, 0.05);
            margin-top: 3.5rem;
        }
        
        .footer-qr-section {
            text-align: center;
        }
        
        .footer-qr-card {
            background: white;
            border-radius: 15px;
            padding: 1.8rem; /* 增大内边距 */
            display: inline-block;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            border: 1px solid rgba(0, 0, 0, 0.03);
        }
        
        .footer-qr-title {
            font-size: 1.2rem; /* 增大标题 */
            font-weight: 600;
            color: var(--text-primary);
            margin-bottom: 0.6rem;
        }
        
        .footer-qr-subtitle {
            color: var(--text-secondary);
            font-size: 0.95rem; /* 增大字体 */
            margin-bottom: 1.2rem;
        }
        
        .footer-qr-code {
            width: 170px; /* 增大二维码容器 */
            height: 170px;
            border: 1px solid #eee;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.2rem;
            background: #f8f9fa;
        }
        
        .footer-qr-tips {
            font-size: 0.9rem; /* 增大提示文字 */
            color: var(--text-secondary);
            line-height: 1.5;
        }
        
        /* 页脚 */
        .compact-footer {
            background: linear-gradient(135deg, #263238 0%, #37474f 100%);
            color: #cfd8dc;
            padding: 3rem 0 1.8rem; /* 增大内边距 */
        }
        
        .footer-section-compact h5 {
            color: white;
            font-size: 1.1rem; /* 增大标题 */
            font-weight: 600;
            margin-bottom: 1.2rem;
        }
        
        .footer-links-compact a {
            display: block;
            color: #b0bec5;
            text-decoration: none;
            font-size: 0.95rem; /* 增大字体 */
            margin-bottom: 0.6rem;
            transition: color 0.3s ease;
        }
        
        .footer-links-compact a:hover {
            color: white;
        }
        
        .copyright-compact {
            text-align: center;
            padding-top: 1.8rem;
            border-top: 1px solid #455a64;
            font-size: 0.9rem; /* 增大字体 */
            color: #90a4ae;
            margin-top: 2.2rem;
        }
        
        /* 客服浮窗 */
        .customer-service-float {
            position: fixed;
            bottom: 100px; /* 调整位置 */
            right: 25px;
            z-index: 9999;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 12px;
        }
        
        .cs-button-compact {
            width: 55px; /* 增大按钮 */
            height: 55px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--fire-red) 0%, var(--fire-red-dark) 100%);
            color: white;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
            transition: all 0.3s ease;
            border: none;
        }
        
        .cs-button-compact:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 16px rgba(211, 47, 47, 0.4);
        }
        
        .cs-button-compact i {
            font-size: 1.3rem; /* 增大图标 */
            margin-bottom: 3px;
        }
        
        .cs-button-compact span {
            font-size: 0.7rem; /* 增大文字 */
            font-weight: 600;
        }
        
        .qr-panel-compact {
            background: white;
            border-radius: 15px;
            padding: 1.5rem; /* 增大内边距 */
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
            width: 260px; /* 增大面板 */
            position: absolute;
            bottom: 65px;
            right: 0;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
            border: 1px solid rgba(0, 0, 0, 0.08);
        }
        
        .qr-panel-compact.show {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        .qr-panel-compact::before {
            content: '';
            position: absolute;
            bottom: -10px;
            right: 25px;
            width: 0;
            height: 0;
            border-left: 12px solid transparent;
            border-right: 12px solid transparent;
            border-top: 12px solid white;
        }
        
        .qr-header-compact {
            text-align: center;
            margin-bottom: 18px;
            border-bottom: 1px solid #eee;
            padding-bottom: 12px;
        }
        
        .qr-header-compact h4 {
            color: var(--fire-red);
            font-size: 1.2rem; /* 增大标题 */
            font-weight: 600;
            margin-bottom: 6px;
        }
        
        .qr-header-compact p {
            color: var(--text-secondary);
            font-size: 0.9rem; /* 增大字体 */
            margin-bottom: 0;
        }
        
        .qr-code-compact {
            width: 160px; /* 增大二维码容器 */
            height: 160px;
            border: 1px solid #eee;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 12px;
            background: #f8f9fa;
        }
        
        .qr-tips-compact {
            font-size: 0.85rem; /* 增大提示文字 */
            color: var(--text-secondary);
            line-height: 1.4;
            text-align: center;
        }
        
        .qr-tips-compact p {
            margin-bottom: 6px;
        }
        
        .qr-tips-compact i {
            color: var(--fire-red);
            margin-right: 6px;
            width: 16px;
        }
        
        /* 返回顶部按钮 */
        .back-to-top-compact {
            position: fixed;
            bottom: 35px; /* 调整位置 */
            right: 25px;
            width: 50px; /* 增大按钮 */
            height: 50px;
            background: linear-gradient(135deg, var(--fire-red) 0%, var(--fire-red-dark) 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            cursor: pointer;
            z-index: 9998;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
            border: none;
        }
        
        .back-to-top-compact.show {
            opacity: 1;
            visibility: visible;
        }
        
        .back-to-top-compact:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 16px rgba(211, 47, 47, 0.4);
        }
        
        /* 响应式调整 */
        @media (max-width: 992px) {
            .nav-menu {
                flex-direction: column;
                position: fixed;
                top: 80px;
                left: 0;
                width: 100%;
                background: white;
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
                padding: 1rem;
                transform: translateY(-100%);
                opacity: 0;
                visibility: hidden;
                transition: all 0.3s ease;
                z-index: 1000;
            }
            
            .nav-menu.show {
                transform: translateY(0);
                opacity: 1;
                visibility: visible;
            }
            
            .nav-item {
                margin: 0.5rem 0;
                width: 100%;
                text-align: center;
            }
            
            .mobile-menu-toggle {
                display: block;
            }
        }
        
        @media (max-width: 768px) {
            .compact-hero {
                padding: 2.5rem 0 2rem;
            }
            
            .hero-title-compact {
                font-size: 2rem;
            }
            
            .hero-subtitle-compact {
                font-size: 1rem;
            }
            
            .section-title-compact h2 {
                font-size: 1.7rem;
            }
            
            .level-card-compact, .compact-feature-card {
                padding: 1.8rem 1.5rem;
            }
            
            .footer-customer-service {
                padding: 2.5rem 0;
            }
            
            .customer-service-float {
                bottom: 85px;
                right: 20px;
            }
            
            .qr-panel-compact {
                width: 240px;
                padding: 1.3rem;
            }
        }
        
        @media (max-width: 576px) {
            .hero-title-compact {
                font-size: 1.8rem;
            }
            
            .hero-stats-compact {
                gap: 1.2rem;
            }
            
            .stat-number-compact {
                font-size: 1.7rem;
            }
            
            .compact-hero-buttons {
                flex-direction: column;
                align-items: stretch;
            }
            
            .btn-fire-compact {
                width: 100%;
                text-align: center;
            }
        }
        /* public/css/user.css */

/* ===== 个人中心专属样式 ===== */

/* 个人中心容器 */
.user-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* 网格布局 */
.user-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .user-grid {
        grid-template-columns: 280px 1fr;
    }
}

/* ===== 左侧菜单卡片 ===== */
.sidebar-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: fit-content;
}

/* 用户头像区域 */
.user-header {
    background: linear-gradient(135deg, var(--fire-red) 0%, var(--fire-red-dark) 100%);
    padding: 1rem 1.5rem;
    text-align: center;
    color: white;
}

.avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: var(--fire-red);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.25rem;
}

.user-id {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* 导航菜单 */
.user-nav-menu {
    padding: 1rem;
}

.user-nav-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: var(--text-secondary);
    border-radius: 0.5rem;
    margin-bottom: 0.25rem;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 1rem;
}

.user-nav-item:hover {
    background-color: var(--fire-red-light);
    color: var(--fire-red);
}

.user-nav-item.active {
    background-color: var(--fire-red-light);
    color: var(--fire-red);
    font-weight: 500;
}

.user-nav-item i {
    width: 1.5rem;
    font-size: 1.1rem;
}

.user-nav-item span {
    margin-left: 0.75rem;
}

/* 退出登录按钮 */
.user-nav-item.logout {
    color: var(--fire-red);
    margin-top: 0.5rem;
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}

.user-nav-item.logout:hover {
    background-color: var(--fire-red-light);
}

/* ===== 右侧内容卡片 ===== */
.content-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
}

.content-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-primary);
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

/* ===== 会员信息卡片 ===== */
.vip-card {
    background: linear-gradient(135deg, var(--fire-red) 0%, var(--fire-red-dark) 100%);
    border-radius: 0.75rem;
    padding: 10px 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.vip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vip-level {
    font-size: 0.875rem;
    opacity: 0.9;
}

.vip-level h3 {
    font-size: 1.25rem;
    font-weight: bold;
    margin-top: 0.25rem;
    opacity: 1;
}

.vip-expiry {
    text-align: right;
}

.vip-expiry .label {
    font-size: 0.875rem;
    opacity: 0.9;
}

.vip-expiry .date {
    font-size: 1.25rem;
    font-weight: bold;
    margin-top: 0.25rem;
}

/* ===== 信息列表 ===== */
.info-list {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.info-value {
    font-weight: 500;
    color: var(--text-primary);
}

/* ===== 课程有效期 ===== */
.section-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.course-list {
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
}

.course-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.course-item:last-child {
    border-bottom: none;
}

.course-info h4 {
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.course-info .purchase-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.course-expiry {
    text-align: right;
}

.expiry-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.expiry-date {
    font-weight: bold;
}

.expiry-date.valid {
    color: #10b981;
}

.expiry-date.expired {
    color: var(--fire-red);
}

/* ===== 空状态 ===== */
.empty-state {
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 3rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.empty-state p {
    margin-bottom: 1rem;
}

/* ===== 通用按钮 ===== */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--fire-red) 0%, var(--fire-red-dark) 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(211, 47, 47, 0.2);
    color: white;
}

/* ===== 修改密码表单 ===== */
.password-form {
    max-width: 400px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--fire-red);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

/* 密码提示 */
.password-hint {
    background-color: var(--fire-red-light);
    border-radius: 0.5rem;
    padding: 1rem;
    margin: 1.5rem 0;
}

.password-hint p {
    color: var(--fire-red-dark);
    font-size: 0.95rem;
}

.password-hint ul {
    list-style: none;
    margin-top: 0.5rem;
}

.password-hint li {
    color: var(--fire-red);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.password-hint li i {
    width: 1.25rem;
    color: #10b981;
}

/* 信息提示 */
.info-tip {
    background-color: #fff8e1;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.info-tip i {
    color: var(--fire-orange);
    font-size: 1.25rem;
}

.info-tip-content p:first-child {
    font-weight: 500;
    color: #5d4037;
    margin-bottom: 0.25rem;
}

.info-tip-content p:last-child {
    color: #8d6e63;
    font-size: 0.875rem;
}

.phone-hint {
    background-color: #f3f4f6;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-family: monospace;
}

/* ===== 响应式调整 ===== */
@media (max-width: 768px) {
    .user-container {
        margin: 1rem auto;
    }
    
    .content-card {
        padding: 1rem;
    }
    
    .info-item {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .course-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .course-expiry {
        text-align: left;
        width: 100%;
    }
    
    .vip-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .vip-expiry {
        text-align: center;
    }
}

/* 2. 璀璨黄金渐变（带光泽效果） */
.gold-gradient-2 {
    background: linear-gradient(145deg, #FFF8E7 0%, #FFD700 30%, #FF8C00 70%, #8B4513 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.btn-submit {
            width: 100%;
            padding: 0.9rem;
            background: linear-gradient(135deg, var(--fire-red) 0%, var(--fire-red-dark) 100%);
            color: white;
            border: none;
            border-radius: 0.75rem;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            margin-top: 2rem;
        }

        .btn-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(211, 47, 47, 0.3);
        }
.wd80{
    width: 80%;
}
.wd60{
    width: 60%;
}

/* 章节列表样式 */
.sections-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.section-card {
    background: white;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.section-header {
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

.section-header:hover {
    background: #f3f4f6;
}

.section-title-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title-left h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.section-badge {
    background: var(--fire-red);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.section-toggle i {
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}

.section-header.collapsed .section-toggle i {
    transform: rotate(-90deg);
}

.section-content {
    padding: 1rem;
    border-top: 1px solid #e5e7eb;
}

.section-content.collapsed {
    display: none;
}

/* 章节卡片 */
.chapter-card {
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
}

.chapter-card:last-child {
    margin-bottom: 0;
}

.chapter-header {
    padding: 0.75rem 1rem;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chapter-header:hover {
    background: #f8f9fa;
}

.chapter-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.chapter-title h4 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
}

.chapter-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-right: 1rem;
}

.free-badge {
    background: #10b981;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 500;
}

.lock-badge {
    background: var(--text-secondary);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 500;
}

.count-badge {
    background: #e5e7eb;
    color: var(--text-secondary);
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 500;
}

.chapter-toggle i {
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}

.chapter-header.collapsed .chapter-toggle i {
    transform: rotate(-90deg);
}

.chapter-content {
    padding: 0.5rem 1rem 1rem 2rem;
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb;
}

.chapter-content.collapsed {
    display: none;
}

/* 项目卡片 */
.project-card {
    margin-bottom: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    background: white;
}

.project-card:last-child {
    margin-bottom: 0;
}

.project-header {
    padding: 0.75rem 1rem;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

.project-header:hover {
    background: #f8f9fa;
}

.project-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.project-title h5 {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 1rem;
}

.project-toggle i {
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}

.project-header.collapsed .project-toggle i {
    transform: rotate(-90deg);
}

.project-content {
    padding: 0.75rem;
    background: #f8f9fa;
    border-top: 1px solid #e5e7eb;
}

.project-content.collapsed {
    display: none;
}

/* 单元项目 */
.unit-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.unit-item:hover {
    border-color: var(--fire-red);
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.1);
}

.unit-item:last-child {
    margin-bottom: 0;
}

.unit-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.unit-icon {
    width: 28px;
    height: 28px;
    background: var(--fire-red-light);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fire-red);
    font-size: 0.85rem;
}

.unit-title {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.unit-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.free-badge-small {
    background: #10b981;
    color: white;
    padding: 0.1rem 0.4rem;
    border-radius: 0.5rem;
    font-size: 0.65rem;
    font-weight: 500;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.empty-state i {
    font-size: 3rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}
/* 章节控件样式 */
.chapter-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chapter-control-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f3f4f6;
    padding: 0.25rem 0.5rem 0.25rem 0.75rem;
    border-radius: 2rem;
}

.chapter-count-badge {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.chapter-count-badge i {
    color: var(--fire-red);
    font-size: 0.75rem;
}

.btn-start-chapter {
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, var(--fire-red) 0%, var(--fire-red-dark) 100%);
    color: white;
    border: none;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-start-chapter:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(211, 47, 47, 0.2);
}

.btn-start-chapter i {
    font-size: 0.7rem;
}

/* 项目控件样式 */
.project-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.project-control-group {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: #f3f4f6;
    padding: 0.2rem 0.4rem 0.2rem 0.6rem;
    border-radius: 2rem;
}

.unit-count-badge {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.unit-count-badge i {
    color: var(--fire-red);
    font-size: 0.7rem;
}

.btn-start-project {
    padding: 0.3rem 0.8rem;
    background: linear-gradient(135deg, var(--fire-red) 0%, var(--fire-red-dark) 100%);
    color: white;
    border: none;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.btn-start-project:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(211, 47, 47, 0.2);
}

.btn-start-project i {
    font-size: 0.65rem;
}

/* 单元控件样式 */
.btn-start-unit {
    padding: 0.2rem 0.6rem;
    background: linear-gradient(135deg, var(--fire-red) 0%, var(--fire-red-dark) 100%);
    color: white;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.7rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.btn-start-unit:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(211, 47, 47, 0.2);
}

.btn-start-unit i {
    font-size: 0.6rem;
}

/* 调整现有样式 */
.chapter-header {
    padding: 0.75rem 1rem;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chapter-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.chapter-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.free-badge, .lock-badge {
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
}

.free-badge {
    background: #10b981;
    color: white;
}

.lock-badge {
    background: var(--text-secondary);
    color: white;
}

.free-badge-small {
    background: #10b981;
    color: white;
    padding: 0.1rem 0.4rem;
    border-radius: 0.5rem;
    font-size: 0.6rem;
    font-weight: 500;
    white-space: nowrap;
}

.chapter-toggle, .project-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.chapter-toggle:hover, .project-toggle:hover {
    background: #e5e7eb;
}

.chapter-toggle i, .project-toggle i {
    transition: transform 0.3s ease;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.chapter-header.collapsed .chapter-toggle i,
.project-header.collapsed .project-toggle i {
    transform: rotate(-90deg);
}

/* 单元项样式优化 */
.unit-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.unit-item:hover {
    border-color: var(--fire-red);
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.1);
}

.unit-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.unit-icon {
    width: 28px;
    height: 28px;
    background: var(--fire-red-light);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fire-red);
    font-size: 0.85rem;
}

.unit-title {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.unit-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}