/* ==================== 全局变量定义 ==================== */
:root {
    /* 非紫色主题配色方案 - 蓝绿色系 */
    --primary-color: #0077b6;
    --primary-dark: #023e8a;
    --primary-light: #48cae4;
    --secondary-color: #2a9d8f;
    --accent-color: #e9c46a;
    --success-color: #264653;
    --warning-color: #f4a261;
    --danger-color: #e76f51;
    --info-color: #00b4d8;
    
    /* 渐变色 */
    --gradient-primary: linear-gradient(135deg, #0077b6 0%, #48cae4 100%);
    --gradient-secondary: linear-gradient(135deg, #2a9d8f 0%, #264653 100%);
    --gradient-accent: linear-gradient(135deg, #e9c46a 0%, #f4a261 100%);
    --gradient-cool: linear-gradient(135deg, #90e0ef 0%, #00b4d8 50%, #0077b6 100%);
    --gradient-warm: linear-gradient(135deg, #f4a261 0%, #e76f51 100%);
    
    /* 背景色 */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-dark: #264653;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(255, 255, 255, 0.7);
    
    /* 文字颜色 */
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #ffffff;
    --text-muted: #999999;
    
    /* 阴影 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 12px 32px rgba(0, 119, 182, 0.25);
    
    /* 圆角 */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* 过渡动画 */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ==================== 全局样式 ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background: var(--bg-secondary);
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(0, 119, 182, 0.03) 0%, 
        rgba(42, 157, 143, 0.03) 50%, 
        rgba(0, 180, 216, 0.03) 100%);
    background-size: 400% 400%;
    animation: gradientMove 15s ease infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-logo img {
    width: 208px;
    height: auto;
    object-fit: contain;
}

.navbar-logo-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    display: none;
}

.navbar-menu {
    display: flex;
    gap: 8px;
    align-items: center;
}

.navbar-menu a {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    transition: var(--transition-fast);
}

.navbar-menu a:hover {
    color: var(--primary-color);
    background: rgba(0, 119, 182, 0.1);
}

.navbar-menu a.active {
    color: var(--primary-light);
    background: var(--gradient-primary);
    color: white;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-normal);
    transform: translateX(-50%);
}

.navbar-menu a:hover::after {
    width: 80%;
}

.navbar-auth {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn {
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-name {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* ==================== 页脚 ==================== */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-light);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    display: block;
    margin-bottom: 10px;
    transition: var(--transition-fast);
}

.footer-section a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.footer-bottom a {
    color: var(--primary-light);
}

/* ==================== 主容器 ==================== */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 20px 40px;
}

/* ==================== 轮播图 ==================== */
.carousel {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: var(--shadow-lg);
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: 
        radial-gradient(circle at 20% 30%, var(--primary-color) 2%, transparent 2%),
        radial-gradient(circle at 80% 70%, var(--secondary-color) 2%, transparent 2%);
    background-size: 60px 60px;
}

/* 轮播图装饰元素 */
.carousel-slide .decor-shape {
    position: absolute;
    opacity: 0.15;
    animation: floatShape 6s ease-in-out infinite;
}

.carousel-slide .shape-1 {
    width: 200px;
    height: 200px;
    background: var(--primary-light);
    border-radius: 50%;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.carousel-slide .shape-2 {
    width: 150px;
    height: 150px;
    background: var(--secondary-color);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    bottom: 15%;
    left: 8%;
    animation-delay: 2s;
}

.carousel-slide .shape-3 {
    width: 100px;
    height: 100px;
    background: var(--accent-color);
    transform: rotate(45deg);
    top: 50%;
    left: 15%;
    animation-delay: 4s;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

/* 轮播图内容 */
.carousel-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 40px;
}

.carousel-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 119, 182, 0.9);
    color: white;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-md);
}

.carousel-title {
    font-size: 48px;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
}

.carousel-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    line-height: 1.6;
}

.carousel-line {
    width: 100px;
    height: 4px;
    background: white;
    margin: 0 auto 30px;
    border-radius: 2px;
}

/* 轮播图控制按钮 */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    z-index: 10;
}

.carousel-nav:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 20px;
}

.carousel-nav.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid white;
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* ==================== 欢迎横幅 ==================== */
.welcome-banner {
    background: var(--gradient-cool);
    color: white;
    padding: 60px 40px;
    border-radius: var(--radius-lg);
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.welcome-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.welcome-banner::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.welcome-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.welcome-banner h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.welcome-banner p {
    font-size: 18px;
    opacity: 0.9;
}

/* ==================== 统计数据 ==================== */
/* ==================== 视频展示区域 ==================== */
.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.video-section {
    margin-bottom: 80px;
}

.video-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.video-grid > div {
    flex: 1 1 calc(33.333% - 17px);
    min-width: 300px;
}

/* 响应式 */
@media (max-width: 1024px) {
    .video-grid > div {
        flex: 1 1 calc(50% - 12.5px);
        min-width: 280px;
    }
}

@media (max-width: 768px) {
    .video-grid > div {
        flex: 1 1 100%;
        min-width: auto;
    }
}

/* ==================== 视频卡片 ==================== */
.video-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.video-thumbnail {
    width: 100%;
    height: 300px;
    background: #000;
    position: relative;
    overflow: hidden;
}

.video-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.live-badge-card {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    background: #ff4757;
    color: white;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    animation: livePulse 2s infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.video-info {
    padding: 20px;
}

.video-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.4;
}

.video-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-muted);
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ==================== 特性卡片 ==================== */
.features-section {
    margin-bottom: 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* 特性卡片样式变体1 */
.feature-card-style-1 {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card-style-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.feature-card-style-1:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 25px;
    background: var(--gradient-primary);
}

.feature-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 15px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 特性卡片样式变体2 */
.feature-card-style-2 {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    border: 2px solid var(--primary-light);
}

.feature-card-style-2:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

/* 特性卡片样式变体3 */
.feature-card-style-3 {
    background: var(--bg-dark);
    color: white;
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 90% 100%, 0 100%);
}

.feature-card-style-3:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.feature-card-style-3 .feature-title {
    color: var(--primary-light);
}

.feature-card-style-3 .feature-desc {
    color: rgba(255, 255, 255, 0.7);
}

/* ==================== 表单样式 ==================== */
.auth-container {
    max-width: 500px;
    margin: 120px auto;
    background: var(--bg-card);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 14px;
}

.form-group input {
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: var(--transition-fast);
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
}

.form-group input.error {
    border-color: var(--danger-color);
}

.error-message {
    color: var(--danger-color);
    font-size: 13px;
    margin-top: 8px;
    display: none;
}

.error-message.show {
    display: block;
}

.form-btn {
    width: 100%;
    padding: 16px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    margin-top: 10px;
}

.form-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.form-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: var(--text-secondary);
}

.form-footer a {
    color: var(--primary-color);
    font-weight: 600;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* ==================== 充值中心 ==================== */
.recharge-container {
    max-width: 1000px;
    margin: 120px auto;
}

.recharge-header {
    text-align: center;
    margin-bottom: 50px;
}

.recharge-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.user-balance {
    background: var(--gradient-cool);
    color: white;
    padding: 30px 50px;
    border-radius: var(--radius-lg);
    text-align: center;
    margin-bottom: 40px;
    box-shadow: var(--shadow-lg);
}

.balance-amount {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
}

.balance-label {
    font-size: 16px;
    opacity: 0.9;
}

.recharge-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.recharge-option {
    background: var(--bg-card);
    padding: 30px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.recharge-option:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.recharge-option.selected {
    border-color: var(--primary-color);
    background: var(--gradient-primary);
    color: white;
}

.recharge-amount {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.recharge-bonus {
    font-size: 14px;
    color: var(--accent-color);
    font-weight: 600;
}

.recharge-option.selected .recharge-bonus {
    color: var(--accent-color);
}

/* ==================== 后台管理 ==================== */
.admin-container {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background: var(--bg-dark);
    color: white;
    padding: 20px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-sidebar-header {
    padding: 0 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.admin-sidebar-header h3 {
    font-size: 20px;
    font-weight: 600;
}

.admin-menu {
    padding: 0 10px;
}

.admin-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: var(--transition-fast);
    border-radius: var(--radius-sm);
    margin-bottom: 5px;
}

.admin-menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.admin-menu-item.active {
    background: var(--gradient-primary);
    color: white;
}

.admin-main {
    flex: 1;
    margin-left: 250px;
    padding: 30px;
    background: var(--bg-secondary);
}

.admin-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.admin-stat-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.admin-stat-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.admin-stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.admin-table {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin-bottom: 40px;
}

.admin-table-header {
    padding: 20px 30px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-table-header h3 {
    font-size: 20px;
    font-weight: 600;
}

.admin-table-content {
    overflow-x: auto;
}

.admin-table-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table-table th {
    background: var(--bg-secondary);
    padding: 15px 20px;
    text-align: left;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 14px;
}

.admin-table-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.admin-table-table tr:hover {
    background: var(--bg-secondary);
}

/* ==================== 静态页面 ==================== */
.static-page {
    max-width: 900px;
    margin: 120px auto;
    background: var(--bg-card);
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.static-page h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 40px;
    text-align: center;
}

.static-page h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
}

.static-page h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 30px 0 15px;
}

.static-page p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.static-page ul {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 15px;
}

.static-page li {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

/* ==================== 提示框 ==================== */
.toast {
    position: fixed;
    top: 90px;
    right: 30px;
    padding: 16px 30px;
    border-radius: var(--radius-sm);
    color: white;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    transform: translateX(120%);
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    background: var(--gradient-secondary);
}

.toast.error {
    background: var(--danger-color);
}

.toast.warning {
    background: var(--warning-color);
}

/* ==================== 模态框 ==================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.modal.show {
    display: flex;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--bg-card);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 90%;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.modal-message {
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.modal-buttons .btn {
    min-width: 120px;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .navbar-menu {
        gap: 5px;
    }
    
    .navbar-menu a {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .main-container {
        padding: 90px 15px 30px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .navbar-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-card);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-normal);
    }
    
    .navbar-menu.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .navbar-menu a {
        width: 100%;
        text-align: center;
        padding: 15px;
    }
    
    .carousel {
        height: 350px;
    }
    
    .carousel-title {
        font-size: 32px;
    }
    
    .carousel-subtitle {
        font-size: 16px;
    }
    
    .welcome-banner {
        padding: 40px 20px;
    }
    
    .welcome-banner h2 {
        font-size: 28px;
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .auth-container {
        margin: 100px 15px;
        padding: 30px 20px;
    }
    
    .admin-sidebar {
        transform: translateX(-100%);
        transition: var(--transition-normal);
    }
    
    .admin-sidebar.show {
        transform: translateX(0);
    }
    
    .admin-main {
        margin-left: 0;
        padding: 20px 15px;
    }
    
    .static-page {
        margin: 100px 15px;
        padding: 30px 20px;
    }
    
    .recharge-container {
        margin: 100px 15px;
    }
    
    .user-balance {
        padding: 20px 30px;
    }
    
    .balance-amount {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .navbar-logo-text {
        display: none;
    }
    
    .carousel-title {
        font-size: 24px;
    }
    
    .carousel-subtitle {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 24px;
    }
}