/* ==========================================================
   神仙道3 · 天天送648
   视觉语言：敦煌壁画 × 皮影戏 × 鎏金仙侠
   ========================================================== */

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    /* 墨夜基调 */
    --ink:        #0a0d12;
    --ink-2:      #0f1620;
    --ink-3:      #16202e;
    --ink-4:      #1d2a3a;

    /* 鎏金 */
    --gold:       #d4a24c;
    --gold-light: #f0dca6;
    --gold-dark:  #8a6520;

    /* 丹朱 / 石青（敦煌矿物色） */
    --cinnabar:   #c0392b;
    --cinnabar-l: #e0654f;
    --azure:      #2e7d84;
    --azure-l:    #4fa3a8;

    /* 宣纸 */
    --paper:      #ece2d0;
    --paper-dim:  #a1957f;

    --line:       rgba(212, 162, 76, 0.18);
    --line-soft:  rgba(212, 162, 76, 0.10);

    /* 主视觉：霞鹜文楷（开源国风楷体，屏幕优化）→ 思源宋体 → 系统楷体 */
    --font-title: 'LXGW WenKai', 'Noto Serif SC', 'Songti SC', 'STKaiti', 'KaiTi', '楷体', serif;
    /* 正文：思源黑体 → 系统无衬线 */
    --font-body:  'Noto Sans SC', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', '微软雅黑', sans-serif;

    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
    --shadow-gold: 0 10px 34px rgba(212, 162, 76, 0.28);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--ink);
    color: var(--paper);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }
video { display: block; }

/* 卷轴纹底：细密金线 */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        radial-gradient(circle at 12% 18%, rgba(46, 125, 132, 0.08), transparent 45%),
        radial-gradient(circle at 88% 72%, rgba(192, 57, 43, 0.07), transparent 42%);
}

/* ==========================================================
   导航
   ========================================================== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 72px;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(to bottom, rgba(10, 13, 18, 0.75), transparent);
    transition: background 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    border-bottom: 1px solid transparent;
}

.nav.scrolled {
    background: rgba(10, 13, 18, 0.94);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom-color: var(--line-soft);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-family: var(--font-title);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 2px;
    text-shadow: 0 0 22px rgba(212, 162, 76, 0.35);
    transition: transform 0.3s ease;
}
.nav-logo:hover { transform: translateY(-1px); }

.nav-logo-text { white-space: nowrap; }

/* 0.1 折促销标签 */
.nav-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.5px;
    color: #2b1a04;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border-radius: 999px;
    white-space: nowrap;
    transform: translateY(-1px);
    box-shadow: 0 0 0 0 rgba(212, 162, 76, 0.55);
    animation: navBadgePulse 2.4s ease-in-out infinite;
}

@keyframes navBadgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 162, 76, 0.55); }
    50%      { box-shadow: 0 0 0 6px rgba(212, 162, 76, 0); }
}

.nav-logo img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    border: 1.5px solid rgba(212, 162, 76, 0.55);
    box-shadow: 0 4px 16px rgba(212, 162, 76, 0.22);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    position: relative;
    font-size: 0.95rem;
    color: var(--paper-dim);
    letter-spacing: 1.5px;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 50%; bottom: -6px;
    width: 0; height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    transform: translateX(-50%);
    transition: width 0.35s ease;
}

.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { width: 130%; }

.nav-cta {
    padding: 0.5rem 1.4rem;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    color: #1a1206 !important;
    font-weight: 700;
    font-size: 0.9rem !important;
    letter-spacing: 1.5px;
    box-shadow: 0 6px 20px rgba(212, 162, 76, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(212, 162, 76, 0.45); }
.nav-cta::after { display: none !important; }

/* 汉堡菜单 */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    z-index: 1001;
    background: none;
    border: none;
}
.hamburger span {
    display: block;
    width: 26px; height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ==========================================================
   首屏
   ========================================================== */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
}

.hero-bg { position: absolute; inset: 0; z-index: -3; }
.hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 30%;
    animation: heroZoom 24s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.04); }
    to   { transform: scale(1.14); }
}

.hero-veil {
    position: absolute; inset: 0; z-index: -2;
    background:
        linear-gradient(to bottom, rgba(10,13,18,0.72) 0%, rgba(10,13,18,0.55) 35%, rgba(10,13,18,0.88) 78%, var(--ink) 100%),
        radial-gradient(ellipse at 50% 42%, rgba(46,125,132,0.16), transparent 62%);
}

/* 云气 */
.hero-clouds {
    position: absolute; inset: 0; z-index: -1;
    pointer-events: none;
    opacity: 0.5;
    background:
        radial-gradient(ellipse 60% 26% at 18% 78%, rgba(212,162,76,0.12), transparent 70%),
        radial-gradient(ellipse 52% 22% at 82% 68%, rgba(79,163,168,0.14), transparent 70%),
        radial-gradient(ellipse 70% 30% at 50% 92%, rgba(240,220,166,0.07), transparent 72%);
    animation: cloudDrift 18s ease-in-out infinite alternate;
}

@keyframes cloudDrift {
    from { transform: translateX(-2.5%) translateY(0); }
    to   { transform: translateX(2.5%) translateY(-1.5%); }
}

/* 浮尘粒子 */
.hero-particle {
    position: absolute;
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--gold-light);
    box-shadow: 0 0 8px rgba(240, 220, 166, 0.85);
    opacity: 0;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0%   { transform: translateY(100vh) scale(0.4); opacity: 0; }
    15%  { opacity: 0.9; }
    75%  { opacity: 0.75; }
    100% { transform: translateY(-8vh) scale(1.35); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 940px;
    padding: 6.5rem 1.5rem 4rem;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.25rem;
    margin-bottom: 1.6rem;
    font-size: 0.82rem;
    letter-spacing: 3px;
    color: var(--gold-light);
    background: rgba(212, 162, 76, 0.1);
    border: 1px solid rgba(212, 162, 76, 0.42);
    border-radius: 999px;
    animation: fadeInDown 0.8s ease both;
}

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(3rem, 8vw, 5.6rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.08em;
    background: linear-gradient(180deg, #fff6e0 0%, var(--gold-light) 32%, var(--gold) 62%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 6px 30px rgba(212, 162, 76, 0.5));
    animation: fadeInUp 0.9s ease 0.15s both;
}

.hero-subtitle {
    margin-top: 0.9rem;
    font-family: var(--font-title);
    font-size: clamp(1.05rem, 2.6vw, 1.5rem);
    letter-spacing: 0.16em;
    color: var(--gold-light);
    animation: fadeInUp 0.9s ease 0.3s both;
}

.hero-desc {
    max-width: 660px;
    margin: 1.5rem auto 0;
    font-size: 1rem;
    line-height: 1.95;
    color: rgba(236, 226, 208, 0.72);
    animation: fadeInUp 0.9s ease 0.45s both;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2.2rem;
    animation: fadeInUp 0.9s ease 0.6s both;
}

/* 首屏数据 */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.6rem;
    margin-top: 3rem;
    padding-top: 1.8rem;
    border-top: 1px solid rgba(212, 162, 76, 0.16);
    animation: fadeInUp 0.9s ease 0.75s both;
}

.hero-stat { text-align: center; }
.hero-stat strong {
    display: block;
    font-family: var(--font-title);
    font-size: 1.7rem;
    color: var(--gold);
    letter-spacing: 0.04em;
    line-height: 1.2;
}
.hero-stat strong small { font-size: 0.95rem; letter-spacing: 0; }
.hero-stat span {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.78rem;
    letter-spacing: 1.5px;
    color: var(--paper-dim);
}
.hero-stat-divider {
    width: 1px; height: 34px;
    background: linear-gradient(to bottom, transparent, rgba(212,162,76,0.45), transparent);
}

/* 按钮 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.9rem 2.2rem;
    border: none;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

/* 按钮内图标统一尺寸（SVG 无 width/height 时会撑爆按钮） */
.btn svg {
    width: 1.15em;
    height: 1.15em;
    flex-shrink: 0;
}

.btn-primary {
    color: #1a1206;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold) 45%, var(--gold-light));
    box-shadow: 0 6px 22px rgba(212, 162, 76, 0.32);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow-gold); }
.btn-primary:active { transform: translateY(-1px); }

.btn-outline {
    color: var(--gold);
    background: rgba(212, 162, 76, 0.05);
    border: 1.5px solid rgba(212, 162, 76, 0.55);
}
.btn-outline:hover {
    background: rgba(212, 162, 76, 0.14);
    border-color: var(--gold);
    transform: translateY(-3px);
}

/* 首屏二维码气泡（鼠标移入时显示在按钮上方） */
.hero-btn-qr-wrapper { position: relative; display: inline-block; }

.hero-qr-popup {
    position: absolute;
    bottom: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    padding: 16px;
    text-align: center;
    background: linear-gradient(150deg, #17202e, #101722);
    border: 1px solid rgba(212, 162, 76, 0.35);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 60;
}
.hero-btn-qr-wrapper:hover .hero-qr-popup,
.hero-btn-qr-wrapper:focus-within .hero-qr-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* 箭头位于气泡底部，指向下方按钮 */
.hero-qr-arrow {
    position: absolute;
    bottom: -8px; left: 50%;
    width: 14px; height: 14px;
    transform: translateX(-50%) rotate(45deg);
    background: #17202e;
    border-right: 1px solid rgba(212, 162, 76, 0.35);
    border-bottom: 1px solid rgba(212, 162, 76, 0.35);
}

#heroQrCode {
    width: 140px; height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#heroQrCode img,
#heroQrCode canvas {
    width: 130px !important;
    height: 130px !important;
    border-radius: 8px;
}
.hero-qr-text { margin-top: 8px; font-size: 0.74rem; letter-spacing: 1.5px; color: var(--paper-dim); }

/* 滚动提示 */
.hero-scroll {
    position: absolute;
    bottom: 1.8rem; left: 50%;
    transform: translateX(-50%);
    width: 42px; height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 13, 18, 0.5);
    border: 1px solid rgba(212, 162, 76, 0.35);
    border-radius: 50%;
    color: var(--gold);
    animation: bounce 2.2s infinite;
    z-index: 3;
    transition: background 0.3s ease;
}
.hero-scroll:hover { background: rgba(212, 162, 76, 0.16); }
.hero-scroll svg { width: 20px; height: 20px; }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-18px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================
   通用区块
   ========================================================== */
.section {
    position: relative;
    padding: 5.5rem 2rem;
    z-index: 1;
}

.container { max-width: 1200px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 3.6rem; }

.section-tag {
    display: inline-block;
    position: relative;
    padding: 0 2.2rem;
    margin-bottom: 0.9rem;
    font-family: var(--font-title);
    font-size: 0.78rem;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--gold);
}
.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 26px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.section-tag::before { left: -6px; }
.section-tag::after { right: -6px; }

.section-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 4.2vw, 2.9rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--gold);
    text-shadow: 0 0 32px rgba(212, 162, 76, 0.28);
}

.section-subtitle {
    margin-top: 0.5rem;
    font-size: 0.92rem;
    letter-spacing: 2px;
    color: var(--paper-dim);
}

/* 分区底色 */
#about      { background: var(--ink); }
#info       { background: var(--ink-2); }
#features   { background: var(--ink); }
#benefits   { background: var(--ink-2); }
#videos     { background: var(--ink); }
#screenshots{ background: var(--ink-2); overflow: hidden; }
#gallery    { background: var(--ink); }
#faq        { background: var(--ink-2); }
#download   { background: linear-gradient(180deg, var(--ink-2), var(--ink)); }
#links      { background: var(--ink); }

/* ==========================================================
   游戏介绍
   ========================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-image-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.about-image-wrapper:hover img { transform: scale(1.05); }

.about-frame {
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(212, 162, 76, 0.35);
    border-radius: 10px;
    pointer-events: none;
}

.about-text h3 {
    font-family: var(--font-title);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    line-height: 1.5;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1.4rem;
}
.about-text p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 2;
    color: rgba(236, 226, 208, 0.75);
    text-align: justify;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1.8rem;
}
.about-tag {
    padding: 0.4rem 1.05rem;
    font-size: 0.84rem;
    letter-spacing: 1px;
    color: var(--gold-light);
    border: 1px solid rgba(212, 162, 76, 0.32);
    border-radius: 999px;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.about-tag:hover {
    background: rgba(212, 162, 76, 0.12);
    border-color: var(--gold);
    transform: translateY(-2px);
}

/* ==========================================================
   游戏信息卡
   ========================================================== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.info-card {
    position: relative;
    padding: 2.6rem 2rem;
    text-align: center;
    background: linear-gradient(160deg, var(--ink-3), rgba(22, 32, 46, 0.35));
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.info-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.info-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 162, 76, 0.34);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45);
}
.info-card:hover::before { opacity: 1; }

.info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px; height: 62px;
    margin: 0 auto 1.2rem;
    color: var(--gold);
    background: linear-gradient(135deg, rgba(138, 101, 32, 0.28), rgba(212, 162, 76, 0.08));
    border: 1px solid rgba(212, 162, 76, 0.24);
    border-radius: 18px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.info-icon svg { width: 30px; height: 30px; }
.info-card:hover .info-icon {
    transform: scale(1.06);
    box-shadow: 0 0 26px rgba(212, 162, 76, 0.24);
}

.info-card h4 {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.24rem;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 0.7rem;
}
.info-card p { font-size: 0.94rem; line-height: 1.8; color: rgba(236, 226, 208, 0.68); }

/* ==========================================================
   游戏特色
   ========================================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    position: relative;
    padding: 2.5rem 2rem;
    text-align: center;
    background: linear-gradient(160deg, var(--ink-3), rgba(22, 32, 46, 0.3));
    border: 1px solid rgba(212, 162, 76, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.feature-item::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(212, 162, 76, 0.1), transparent 68%);
    opacity: 0;
    transition: opacity 0.5s ease;
}
.feature-item:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 162, 76, 0.32);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.45);
}
.feature-item:hover::before { opacity: 1; }

.feature-icon {
    position: relative;
    width: 66px; height: 66px;
    margin: 0 auto 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    background: linear-gradient(135deg, rgba(138, 101, 32, 0.22), rgba(212, 162, 76, 0.07));
    border: 1px solid rgba(212, 162, 76, 0.2);
    border-radius: 20px;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.feature-icon svg { width: 32px; height: 32px; }
.feature-item:hover .feature-icon {
    transform: scale(1.07) rotate(-3deg);
    border-color: var(--gold);
    box-shadow: 0 0 28px rgba(212, 162, 76, 0.26);
}

.feature-item h4 {
    position: relative;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 0.7rem;
}
.feature-item p {
    position: relative;
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(236, 226, 208, 0.66);
}

/* ==========================================================
   上线福利
   ========================================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.benefit-item {
    position: relative;
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    padding: 1.9rem 2rem;
    background: linear-gradient(135deg, var(--ink-3), rgba(212, 162, 76, 0.03));
    border: 1px solid var(--line-soft);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}
.benefit-item::after {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}
.benefit-item:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 162, 76, 0.36);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.36);
}
.benefit-item:hover::after { opacity: 1; }

.benefit-num {
    flex-shrink: 0;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.9rem;
    line-height: 1.15;
    color: var(--gold);
    opacity: 0.62;
}

.benefit-content h4 {
    font-size: 1.08rem;
    letter-spacing: 1px;
    color: var(--paper);
    margin-bottom: 0.35rem;
}
.benefit-content p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: rgba(236, 226, 208, 0.66);
}

.benefit-highlight,
.benefit-note { grid-column: 1 / -1; }

.benefit-highlight {
    align-items: center;
    padding: 2.2rem;
    background: linear-gradient(135deg, rgba(138, 101, 32, 0.32), rgba(192, 57, 43, 0.14));
    border-color: rgba(212, 162, 76, 0.42);
}
.benefit-highlight .benefit-num {
    font-size: 2.4rem;
    opacity: 1;
    color: var(--gold-light);
}
.benefit-highlight h4 { font-size: 1.3rem; color: var(--gold-light); letter-spacing: 2px; }

.benefit-note {
    background: linear-gradient(135deg, rgba(46, 125, 132, 0.16), rgba(212, 162, 76, 0.05));
    border-color: rgba(79, 163, 168, 0.28);
}
.benefit-note .benefit-num { color: var(--azure-l); opacity: 0.85; }

/* ==========================================================
   游戏视频
   ========================================================== */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.video-card {
    background: linear-gradient(160deg, var(--ink-3), rgba(22, 32, 46, 0.3));
    border: 1px solid var(--line-soft);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.video-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 162, 76, 0.34);
    box-shadow: var(--shadow-lg);
}

.video-player-wrapper {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}
.video-player { width: 100%; height: 100%; object-fit: cover; }

.video-play-overlay {
    position: absolute; inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    background: rgba(0, 0, 0, 0.28);
    pointer-events: none;
    transition: opacity 0.35s ease, background 0.35s ease;
}
.video-play-overlay svg {
    width: 72px; height: 72px;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.6));
    transition: transform 0.35s ease;
}
.video-player-wrapper:hover .video-play-overlay { background: rgba(0, 0, 0, 0.12); }
.video-player-wrapper:hover .video-play-overlay svg { transform: scale(1.1); }
.video-player-wrapper.playing .video-play-overlay { opacity: 0; }

.video-info { padding: 1.4rem 1.7rem; }
.video-info h4 {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 0.3rem;
}
.video-info p { font-size: 0.88rem; color: var(--paper-dim); }

/* ==========================================================
   截图轮播
   ========================================================== */
.carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 3rem;
}

.carousel-viewport { overflow: hidden; border-radius: 16px; }

.carousel-track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.carousel-slide {
    flex: 0 0 calc(100% / 3);
    padding: 0 0.75rem;
    cursor: pointer;
    outline: none;
}
.carousel-slide img {
    width: 100%;
    aspect-ratio: 9 / 16;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(212, 162, 76, 0.16);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}
.carousel-slide:hover img,
.carousel-slide:focus-visible img {
    transform: scale(1.03);
    border-color: rgba(212, 162, 76, 0.45);
    box-shadow: 0 22px 50px rgba(0, 0, 0, 0.5);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 46px; height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    background: rgba(10, 13, 18, 0.86);
    border: 1.5px solid rgba(212, 162, 76, 0.4);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-btn:hover {
    background: rgba(212, 162, 76, 0.16);
    border-color: var(--gold);
    box-shadow: 0 6px 22px rgba(212, 162, 76, 0.3);
}
.carousel-prev { left: 0.5rem; }
.carousel-next { right: 0.5rem; }

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 2rem;
}
.carousel-dot {
    width: 10px; height: 10px;
    padding: 0;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid rgba(212, 162, 76, 0.4);
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.carousel-dot:hover { border-color: var(--gold); }
.carousel-dot.active {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.15);
    box-shadow: 0 0 12px rgba(212, 162, 76, 0.5);
}

/* ==========================================================
   神话画卷
   ========================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: auto;
    gap: 1.2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--line-soft);
    cursor: pointer;
    /* 素材为 720×1280，容器比例与之保持一致（9:16 竖版），避免裁切 */
    aspect-ratio: 9 / 16;
    background: var(--ink-3);
}
/* 大图跨 2×2 格，高度由两行行高 + 间距决定，整体比例仍接近 9:16 */
.gallery-wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

.gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.gallery-item:hover img { transform: scale(1.07); }

.gallery-mask {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10, 13, 18, 0.75), transparent 55%);
    opacity: 0.75;
    transition: opacity 0.4s ease;
}
.gallery-item:hover .gallery-mask { opacity: 0.35; }

/* ==========================================================
   常见问题
   ========================================================== */
.faq-list {
    max-width: 860px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: linear-gradient(135deg, var(--ink-3), rgba(212, 162, 76, 0.03));
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}
.faq-item[open] {
    border-color: rgba(212, 162, 76, 0.3);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
}

.faq-item summary {
    position: relative;
    display: flex;
    align-items: center;
    padding: 1.25rem 3.4rem 1.25rem 1.6rem;
    cursor: pointer;
    list-style: none;
    transition: background 0.3s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(212, 162, 76, 0.06); }

.faq-item summary h3 {
    font-family: var(--font-title);
    font-size: 1.06rem;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0.02em;
    color: var(--paper);
}

.faq-item summary::after {
    content: '';
    position: absolute;
    right: 1.8rem; top: 50%;
    width: 9px; height: 9px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.3s ease;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-item[open] summary h3 { color: var(--gold-light); }

.faq-item > p {
    padding: 0 1.6rem 1.4rem;
    font-size: 0.94rem;
    line-height: 1.9;
    color: rgba(236, 226, 208, 0.7);
}

/* ==========================================================
   灯箱
   ========================================================== */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(6, 8, 12, 0.96);
    cursor: pointer;
}
.lightbox.active { display: flex; }
.lightbox img {
    max-width: 90vw;
    max-height: 88vh;
    border-radius: 14px;
    border: 1px solid rgba(212, 162, 76, 0.35);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.85);
    animation: zoomIn 0.35s ease;
}
@keyframes zoomIn {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
.lightbox-close {
    position: absolute;
    top: 1.6rem; right: 1.8rem;
    width: 50px; height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    line-height: 1;
    color: var(--paper);
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transition: background 0.3s ease;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.18); }

/* ==========================================================
   下载 CTA
   ========================================================== */
.cta-card {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding: 4rem 3rem 3.4rem;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(212, 162, 76, 0.16), transparent 62%),
        linear-gradient(150deg, rgba(138, 101, 32, 0.1), rgba(46, 125, 132, 0.06));
    border: 1px solid rgba(212, 162, 76, 0.24);
    border-radius: 26px;
    overflow: hidden;
}
.cta-card::before {
    content: '';
    position: absolute;
    top: -60%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(212, 162, 76, 0.06), transparent 58%);
    animation: rotate 26s linear infinite;
    pointer-events: none;
}
@keyframes rotate {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}
.cta-card > * { position: relative; z-index: 1; }

.cta-corner {
    position: absolute;
    width: 30px; height: 30px;
    border: 1.5px solid rgba(212, 162, 76, 0.5);
    z-index: 2;
}
.cta-corner-tl { top: 14px; left: 14px; border-right: none; border-bottom: none; border-radius: 8px 0 0 0; }
.cta-corner-tr { top: 14px; right: 14px; border-left: none; border-bottom: none; border-radius: 0 8px 0 0; }
.cta-corner-bl { bottom: 14px; left: 14px; border-right: none; border-top: none; border-radius: 0 0 0 8px; }
.cta-corner-br { bottom: 14px; right: 14px; border-left: none; border-top: none; border-radius: 0 0 8px 0; }

.cta-card h2 {
    font-family: var(--font-title);
    font-size: clamp(1.8rem, 3.6vw, 2.5rem);
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(212, 162, 76, 0.3);
}
.cta-card p {
    font-size: 0.98rem;
    line-height: 1.95;
    color: rgba(236, 226, 208, 0.72);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}
.cta-buttons .btn svg { width: 22px; height: 22px; }

.cta-qrcode {
    display: flex;
    justify-content: center;
    margin: 2rem auto 0;
}
.cta-qrcode img,
.cta-qrcode canvas {
    width: 150px !important;
    height: 150px !important;
    border: 3px solid rgba(212, 162, 76, 0.35) !important;
    border-radius: 12px !important;
    background: #17202e;
}
.cta-qr-text {
    margin-top: 0.8rem;
    font-size: 0.84rem;
    letter-spacing: 2px;
    color: var(--paper-dim);
}

.platform-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}
.platform-badge {
    padding: 0.45rem 1.15rem;
    font-size: 0.83rem;
    color: var(--paper-dim);
    background: rgba(22, 32, 46, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 999px;
}

/* ==========================================================
   友情链接 & 页脚
   ========================================================== */
.links-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    font-size: 0.88rem;
    color: var(--paper-dim);
}
.links-bar span { color: var(--gold); letter-spacing: 1px; }
.links-bar a { transition: color 0.3s ease; }
.links-bar a:hover { color: var(--gold); }

.footer {
    padding: 2.6rem 2rem;
    text-align: center;
    background: var(--ink-3);
    border-top: 1px solid var(--line-soft);
}
.footer-logo {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    color: var(--gold);
    margin-bottom: 0.9rem;
}
.footer-text {
    max-width: 760px;
    margin: 0 auto;
    font-size: 0.78rem;
    line-height: 1.8;
    color: var(--paper-dim);
    opacity: 0.7;
}

/* ==========================================================
   滚动揭示
   ========================================================== */
.reveal {
    opacity: 0;
    transform: translateY(38px);
    transition: opacity 0.8s cubic-bezier(0.22, 0.61, 0.36, 1),
                transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==========================================================
   返回顶部
   ========================================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem; right: 2rem;
    z-index: 999;
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    background: rgba(10, 13, 18, 0.88);
    border: 1.5px solid rgba(212, 162, 76, 0.4);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease,
                background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.back-to-top svg { width: 22px; height: 22px; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover {
    background: rgba(212, 162, 76, 0.16);
    border-color: var(--gold);
    box-shadow: 0 6px 22px rgba(212, 162, 76, 0.3);
    transform: translateY(-3px);
}

/* ==========================================================
   响应式
   ========================================================== */
@media (max-width: 1024px) {
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-image-wrapper { order: -1; max-width: 560px; margin: 0 auto; }
    .info-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
    .carousel-wrapper { padding: 0 2.4rem; }
    /* 导航项增多，收敛间距避免溢出 */
    .nav { padding: 0 1.4rem; }
    .nav-logo img { width: 38px; height: 38px; }
    .nav-badge { padding: 0.12rem 0.45rem; font-size: 0.66rem; letter-spacing: 0.3px; }
    .nav-links { gap: 0.9rem; }
    .nav-links a { font-size: 0.86rem; letter-spacing: 0.5px; }
    .nav-cta { padding: 0.5rem 1rem; }
}

@media (max-width: 900px) {
    .nav { padding: 0 1.1rem; }
    .nav-links { gap: 0.55rem; }
    .nav-links a { font-size: 0.8rem; }
    .nav-logo { font-size: 1.28rem; letter-spacing: 1px; }
    .nav-cta { padding: 0.45rem 0.9rem; }
}

@media (max-width: 768px) {
    .nav { padding: 0 1.2rem; height: 64px; }
    .nav-logo { font-size: 1.2rem; gap: 0.5rem; }
    .nav-logo img { width: 36px; height: 36px; }
    .nav-badge { padding: 0.12rem 0.42rem; font-size: 0.64rem; letter-spacing: 0.3px; }

    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: min(280px, 82vw);
        height: 100vh;
        height: 100dvh;
        flex-direction: column;
        align-items: flex-start;
        gap: 1.6rem;
        padding: 6rem 2rem 2rem;
        background: rgba(10, 13, 18, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid var(--line-soft);
        transition: right 0.4s ease;
        overflow-y: auto;
    }
    .nav-links.active { right: 0; }
    .nav-links a { font-size: 1rem; }
    .nav-cta { margin-top: 0.5rem; }
    .hamburger { display: flex; }

    .hero-content { padding: 5.5rem 1.2rem 3.5rem; }
    .hero-btn-qr-wrapper:hover .hero-qr-popup { opacity: 0; visibility: hidden; }
    .hero-stats { gap: 1rem; }
    .hero-stat strong { font-size: 1.35rem; }
    .hero-stat span { font-size: 0.7rem; letter-spacing: 0.5px; }
    .hide-sm { display: none; }

    .section { padding: 4rem 1.3rem; }
    .section-header { margin-bottom: 2.6rem; }

    .faq-item summary { padding: 1.05rem 2.9rem 1.05rem 1.2rem; }
    .faq-item summary h3 { font-size: 0.98rem; }
    .faq-item > p { padding: 0 1.2rem 1.2rem; font-size: 0.9rem; }

    .video-grid { grid-template-columns: 1fr; gap: 1.6rem; }
    .benefits-grid { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }

    .carousel-wrapper { padding: 0 1.6rem; }
    .carousel-slide { flex: 0 0 50%; }

    .cta-card { padding: 3rem 1.4rem 2.6rem; }
    .cta-corner { width: 22px; height: 22px; top: 10px; left: 10px; }
    .cta-corner-tr { top: 10px; left: auto; right: 10px; }
    .cta-corner-bl { top: auto; left: 10px; bottom: 10px; }
    .cta-corner-br { top: auto; left: auto; right: 10px; bottom: 10px; }
}

@media (max-width: 480px) {
    .hero-title { letter-spacing: 0.06em; }
    .hero-subtitle { letter-spacing: 0.12em; }
    .hero-buttons { flex-direction: column; align-items: stretch; }
    .hero-btn-qr-wrapper { width: 100%; }
    .hero-buttons .btn,
    .cta-buttons .btn { width: 100%; }
    .hero-stats { flex-wrap: wrap; gap: 1.2rem 1rem; }
    .hero-stat-divider { display: none; }
    .hero-stat { flex: 1 1 40%; }

    .carousel-wrapper { padding: 0 1rem; }
    .carousel-btn { width: 36px; height: 36px; }
    .carousel-btn svg { width: 16px; height: 16px; }

    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-wide { grid-column: span 1; grid-row: span 1; }

    .back-to-top { width: 42px; height: 42px; bottom: 1.2rem; right: 1.2rem; }
}

/* ==========================================================
   无障碍：尊重减少动效
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1; transform: none; }
}
