/* 九游娱乐官网 - 完整CSS样式表 */
/* 全局重置与变量 */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a1a2e;
    --secondary: #16213e;
    --accent: #f0c040;
    --accent2: #e94560;
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    --text: #e0e0e0;
    --text-dark: #1a1a2e;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --radius: 18px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --bg: #0f0f23;
    --card-bg: rgba(255, 255, 255, 0.06);
    --nav-bg: rgba(15, 15, 35, 0.85);
    --gradient-start: #0f0f23;
    --gradient-mid: #1a1a2e;
    --gradient-end: #16213e;
    --accent-gradient: linear-gradient(135deg, #f0c040, #ffd700, #e94560);
    --hero-gradient: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 40%, #16213e 70%, #0f0f23 100%);
    --banner-gradient: linear-gradient(135deg, #1a1a2e, #16213e);
    --card-hover-transform: translateY(-6px);
    --card-hover-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    --btn-hover-transform: scale(1.05);
    --btn-hover-shadow: 0 8px 30px rgba(240, 192, 64, 0.3);
    --scroll-fade-distance: 30px;
    --scroll-fade-duration: 0.7s;
    --glass-blur: 12px;
    --nav-blur: 16px;
}

body.dark {
    --bg: #0f0f23;
    --text: #e0e0e0;
    --card-bg: rgba(255, 255, 255, 0.06);
    --nav-bg: rgba(15, 15, 35, 0.85);
    --hero-gradient: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 40%, #16213e 70%, #0f0f23 100%);
}

body.light {
    --bg: #f5f5fa;
    --text: #1a1a2e;
    --card-bg: rgba(255, 255, 255, 0.7);
    --nav-bg: rgba(245, 245, 250, 0.9);
    --hero-gradient: linear-gradient(135deg, #e8e8f0 0%, #f5f5fa 40%, #ffffff 70%, #e8e8f0 100%);
    --banner-gradient: linear-gradient(135deg, #d4d4e0, #e8e8f0);
    --glass-border: rgba(0, 0, 0, 0.1);
    --glass: rgba(0, 0, 0, 0.05);
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --card-bg: rgba(255, 255, 255, 0.8);
    --text-dark: #1a1a2e;
    --primary: #1a1a2e;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    transition: background var(--transition), color var(--transition);
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
    color: var(--accent2);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* 容器 */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* 毛玻璃卡片 */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.glass-card:hover {
    transform: var(--card-hover-transform);
    box-shadow: var(--card-hover-shadow);
}

/* 通用卡片 */
.card {
    padding: 28px 24px;
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.card:hover {
    transform: var(--card-hover-transform);
    box-shadow: var(--card-hover-shadow);
    border-color: var(--accent);
}

.card h3 {
    color: var(--accent);
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 700;
}

.card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

body.light .card p {
    color: rgba(0, 0, 0, 0.6);
}

body.light .card h3 {
    color: #b8860b;
}

/* 导航栏 */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--nav-bg);
    backdrop-filter: blur(var(--nav-blur));
    -webkit-backdrop-filter: blur(var(--nav-blur));
    border-bottom: 1px solid var(--glass-border);
    transition: background var(--transition);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

.logo svg {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: 30px;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    transition: background var(--transition), color var(--transition);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--accent);
    color: var(--text-dark);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.theme-toggle {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text);
    border-radius: 30px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.theme-toggle:hover {
    background: var(--accent);
    color: var(--text-dark);
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 12px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 80px;
}

body.light .breadcrumb {
    color: rgba(0, 0, 0, 0.5);
}

.breadcrumb li+li::before {
    content: '/';
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.3);
}

body.light .breadcrumb li+li::before {
    color: rgba(0, 0, 0, 0.3);
}

.breadcrumb a {
    color: var(--accent);
}

.breadcrumb a:hover {
    color: var(--accent2);
}

/* Hero 区域 */
.hero {
    padding: 140px 24px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hero-gradient);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(240, 192, 64, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(233, 69, 96, 0.06) 0%, transparent 50%);
    animation: heroGlow 12s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes heroGlow {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    100% {
        transform: translate(2%, 2%) rotate(3deg);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 700px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

body.light .hero p {
    color: rgba(0, 0, 0, 0.6);
}

.hero .btn-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 按钮 */
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    background: var(--accent);
    color: var(--text-dark);
    text-align: center;
}

.btn:hover {
    transform: var(--btn-hover-transform);
    box-shadow: var(--btn-hover-shadow);
}

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

.btn-outline:hover {
    background: var(--accent);
    color: var(--text-dark);
}

/* 通用区块 */
section {
    padding: 80px 24px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 12px;
}

body.light .section-title h2 {
    color: #b8860b;
}

.section-title p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.6;
}

body.light .section-title p {
    color: rgba(0, 0, 0, 0.5);
}

/* 网格布局 */
.grid-2,
.grid-3,
.grid-4 {
    display: grid;
    gap: 28px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Banner 轮播 */
.banner-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    height: 420px;
    background: var(--primary);
    box-shadow: var(--shadow);
}

.banner-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.8s ease;
    background: var(--banner-gradient);
}

.banner-slide.active {
    opacity: 1;
    z-index: 2;
}

.banner-slide h3 {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 12px;
    font-weight: 700;
}

.banner-slide p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.6;
}

body.light .banner-slide p {
    color: rgba(0, 0, 0, 0.6);
}

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

.banner-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s;
}

.banner-dots span.active {
    background: var(--accent);
    transform: scale(1.2);
}

/* 统计数据 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    padding: 30px 16px;
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.stat-item .number {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--accent);
    display: block;
    line-height: 1.2;
}

.stat-item .label {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 6px;
    font-size: 1rem;
}

body.light .stat-item .label {
    color: rgba(0, 0, 0, 0.5);
}

/* FAQ 手风琴 */
.faq-item {
    border-bottom: 1px solid var(--glass-border);
    padding: 16px 0;
}

.faq-item:first-child {
    border-top: 1px solid var(--glass-border);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
    padding: 8px 0;
    user-select: none;
}

.faq-question .icon {
    transition: transform 0.3s;
    font-size: 1.4rem;
    line-height: 1;
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.open .faq-question .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
    padding: 0 0;
    line-height: 1.6;
}

body.light .faq-answer {
    color: rgba(0, 0, 0, 0.6);
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 12px 0 16px;
}

/* HowTo 步骤 */
.howto-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 28px;
    padding: 20px;
    background: var(--card-bg);
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    transition: transform var(--transition), box-shadow var(--transition);
}

.howto-step:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow);
}

.howto-step:last-child {
    margin-bottom: 0;
}

.howto-step .step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.howto-step strong {
    color: var(--accent);
    font-size: 1.05rem;
}

body.light .howto-step strong {
    color: #b8860b;
}

/* 搜索框 */
.search-box {
    display: flex;
    gap: 8px;
    max-width: 400px;
    margin: 0 auto 20px;
}

.search-box input {
    flex: 1;
    padding: 12px 20px;
    border-radius: 30px;
    border: 1px solid var(--glass-border);
    background: var(--card-bg);
    color: var(--text);
    font-size: 1rem;
    outline: none;
    transition: border var(--transition);
}

.search-box input:focus {
    border-color: var(--accent);
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

body.light .search-box input::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.search-box button {
    padding: 12px 24px;
    border-radius: 30px;
    border: none;
    background: var(--accent);
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition);
    white-space: nowrap;
}

.search-box button:hover {
    background: #d4a030;
}

.search-results {
    margin-top: 16px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-results p {
    padding: 8px 12px;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text);
    font-size: 0.95rem;
}

body.light .search-results p {
    color: rgba(0, 0, 0, 0.7);
}

/* 懒加载占位 */
.lazy-placeholder {
    background: linear-gradient(135deg, #2a2a4a, #1a1a2e);
    border-radius: 12px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
}

body.light .lazy-placeholder {
    background: linear-gradient(135deg, #d4d4e0, #e8e8f0);
    color: rgba(0, 0, 0, 0.2);
}

/* 页脚 */
footer {
    background: var(--primary);
    border-top: 1px solid var(--glass-border);
    padding: 60px 24px 30px;
    margin-top: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid h4 {
    color: var(--accent);
    margin-bottom: 16px;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-grid ul {
    list-style: none;
}

.footer-grid ul li {
    margin-bottom: 8px;
}

.footer-grid ul li a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-grid ul li a:hover {
    color: var(--accent);
}

body.light .footer-grid ul li a {
    color: rgba(0, 0, 0, 0.5);
}

body.light .footer-grid ul li a:hover {
    color: #b8860b;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid var(--glass-border);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

body.light .footer-bottom {
    color: rgba(0, 0, 0, 0.4);
}

/* 返回顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--text-dark);
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(240, 192, 64, 0.3);
    transition: all var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    line-height: 1;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.back-to-top:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(240, 192, 64, 0.5);
}

/* 滚动动画 */
.scroll-fade {
    opacity: 0;
    transform: translateY(var(--scroll-fade-distance));
    transition: opacity var(--scroll-fade-duration) ease, transform var(--scroll-fade-duration) ease;
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero h1 {
        font-size: clamp(2rem, 5vw, 3.2rem);
    }
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 16px 0;
        background: var(--nav-bg);
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        backdrop-filter: blur(var(--nav-blur));
        -webkit-backdrop-filter: blur(var(--nav-blur));
        border-bottom: 1px solid var(--glass-border);
        box-shadow: var(--shadow);
        gap: 4px;
    }
    
    .nav-links.open {
        display: flex;
    }
    
    .nav-links a {
        padding: 12px 24px;
        border-radius: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links a:hover,
    .nav-links a.active {
        background: var(--accent);
        color: var(--text-dark);
        border-radius: 0;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero {
        padding: 120px 16px 60px;
        min-height: 60vh;
    }
    
    section {
        padding: 50px 16px;
    }
    
    .banner-slider {
        height: 300px;
    }
    
    .banner-slide h3 {
        font-size: 1.4rem;
    }
    
    .banner-slide p {
        font-size: 0.95rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-item .number {
        font-size: 2.2rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .breadcrumb {
        padding-top: 70px;
        padding-left: 16px;
        padding-right: 16px;
        font-size: 0.85rem;
    }
    
    .section-title {
        margin-bottom: 36px;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .card {
        padding: 20px 16px;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
    
    .search-box {
        flex-direction: column;
        max-width: 100%;
    }
    
    .search-box button {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .banner-slider {
        height: 260px;
    }
    
    .banner-slide {
        padding: 24px;
    }
    
    .banner-slide h3 {
        font-size: 1.2rem;
    }
    
    .stats-grid {
        gap: 16px;
    }
    
    .stat-item {
        padding: 20px 12px;
    }
    
    .stat-item .number {
        font-size: 1.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo svg {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 12px 40px;
        min-height: 50vh;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    section {
        padding: 36px 12px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    .banner-slider {
        height: 220px;
    }
    
    .banner-slide h3 {
        font-size: 1rem;
    }
    
    .banner-slide p {
        font-size: 0.85rem;
    }
    
    .howto-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 16px;
    }
    
    .howto-step .step-num {
        margin-bottom: 8px;
    }
}

/* 暗色模式下的微调 */
body.dark .card p,
body.dark .faq-answer,
body.dark .banner-slide p,
body.dark .hero p {
    color: rgba(255, 255, 255, 0.7);
}

body.dark .stat-item .label,
body.dark .section-title p,
body.dark .footer-bottom {
    color: rgba(255, 255, 255, 0.5);
}

body.dark .breadcrumb {
    color: rgba(255, 255, 255, 0.4);
}

/* 亮色模式下的微调 */
body.light .card {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light .card:hover {
    border-color: #b8860b;
}

body.light .stat-item {
    background: rgba(255, 255, 255, 0.8);
}

body.light .faq-item {
    border-color: rgba(0, 0, 0, 0.1);
}

body.light .howto-step {
    background: rgba(255, 255, 255, 0.7);
}

body.light .search-box input {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.15);
    color: #1a1a2e;
}

body.light .search-box input:focus {
    border-color: #b8860b;
}

body.light .banner-slide {
    background: linear-gradient(135deg, #d4d4e0, #e8e8f0);
}

body.light .banner-slide h3 {
    color: #b8860b;
}

body.light footer {
    background: #e8e8f0;
    border-top-color: rgba(0, 0, 0, 0.1);
}

body.light .footer-grid h4 {
    color: #b8860b;
}

body.light .back-to-top {
    box-shadow: 0 4px 20px rgba(184, 134, 11, 0.3);
}

body.light .back-to-top:hover {
    box-shadow: 0 6px 24px rgba(184, 134, 11, 0.5);
}

/* 打印样式 */
@media print {
    header,
    .back-to-top,
    .banner-dots,
    .nav-toggle,
    .theme-toggle {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 40px 20px;
        background: none !important;
    }
    
    .hero::before {
        display: none;
    }
    
    .hero h1 {
        -webkit-text-fill-color: #1a1a2e;
        color: #1a1a2e;
        background: none;
    }
    
    .card,
    .stat-item,
    .glass-card {
        box-shadow: none;
        border: 1px solid #ddd;
        background: #fff;
    }
    
    .scroll-fade {
        opacity: 1 !important;
        transform: none !important;
    }
    
    body {
        color: #333;
        background: #fff;
    }
    
    .section-title h2 {
        color: #1a1a2e;
    }
    
    .card h3 {
        color: #1a1a2e;
    }
    
    .card p,
    .hero p {
        color: #555;
    }
}

/* 无障碍焦点样式 */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d4a030;
}

/* 选择文本样式 */
::selection {
    background: var(--accent);
    color: var(--text-dark);
}

/* 动画性能优化 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-fade {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .hero::before {
        animation: none;
    }
}