:root {
    --gold: #d4af37;
    --gold-light: #f1e5ac;
    --gold-dark: #aa8a2e;
    --black-deep: #0a0a0a;
    --black-surface: #1a1a1a;
    --black-glass: rgba(26, 26, 26, 0.8);
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
    background-color: var(--black-deep);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

ul { list-style: none; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

/* --- 滚动条 --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black-deep); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 10px; }

/* --- 公用容器 --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-title h2 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.section-title p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    color: #000;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
    cursor: pointer;
    border: none;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* --- 导航栏 --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

header.scrolled {
    background: var(--black-glass);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span { color: #fff; }

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links li a:hover {
    color: var(--gold);
}

.nav-links li a.active {
    color: var(--gold);
    font-weight: bold;
}

/* --- 页脚 --- */
footer {
    background: var(--black-surface);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-info h3 { color: var(--gold); margin-bottom: 20px; }
.footer-info p { color: var(--text-gray); font-size: 0.9rem; margin-bottom: 20px; }
.footer-links h4 { color: #fff; margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; font-size: 0.9rem; color: var(--text-gray); }

.copy {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* --- 浮窗下载 --- */
.floating-download {
    position: fixed;
    right: 30px;
    bottom: 100px;
    background: var(--gold);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 999;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.floating-download img { width: 30px; filter: invert(0); }

/* --- 响应式 --- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}
