
:root {
    --bg: #0A0A0D;
    --bg-2: #0E0E13;

    --surface: rgba(255, 255, 255, .035);
    --surface-2: rgba(255, 255, 255, .06);
    --surface-solid: #15151c;
    --border: rgba(255, 255, 255, .08);
    --border-bright: rgba(255, 255, 255, .16);

    --amber: #ffb13c;
    --coral: #ff7a4d;
    --rose: #ff4d7e;
    --grad: linear-gradient(120deg, #ffb13c 0%, #ff7a4d 48%, #ff4d7e 100%);

    --text: #f4f4f7;
    --text-dim: #a4a4b2;
    --text-mute: #6a6a7a;

    --r-lg: 24px;
    --r-md: 18px;
    --r-sm: 12px;
    --maxw: 1200px;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --shadow: 0 24px 60px rgba(0, 0, 0, .45);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC",
        "Helvetica Neue", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* ============ 背景极光光斑 ============ */
.aurora {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .5;
    animation: float 18s var(--ease) infinite alternate;
}

.blob-1 {
    width: 520px;
    height: 520px;
    top: -160px;
    left: -120px;
    background: radial-gradient(circle, rgba(255, 177, 60, .55), transparent 70%);
}

.blob-2 {
    width: 460px;
    height: 460px;
    top: 30%;
    right: -140px;
    background: radial-gradient(circle, rgba(255, 77, 126, .42), transparent 70%);
    animation-delay: -6s;
}

.blob-3 {
    width: 420px;
    height: 420px;
    bottom: -160px;
    left: 30%;
    background: radial-gradient(circle, rgba(255, 122, 77, .32), transparent 70%);
    animation-delay: -12s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -30px) scale(1.12); }
}

/* 细噪点叠加，提升质感 */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .035;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ 通用文字 ============ */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--coral);
    font-weight: 700;
}

.eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    border-radius: 2px;
    background: var(--grad);
}

.section-title {
    font-size: clamp(30px, 4.2vw, 48px);
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -.5px;
    margin: 18px 0 14px;
}

.section-title em {
    font-style: normal;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-desc {
    color: var(--text-dim);
    max-width: 640px;
    font-size: 16px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-alt {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-head {
    margin-bottom: 56px;
}

/* ============ 玻璃卡片基础 ============ */
.glass {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    box-shadow: var(--shadow);
}

/* ============ 顶部导航 ============ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: all .35s var(--ease);
    background: linear-gradient(180deg, rgba(10, 10, 13, .7), rgba(10, 10, 13, 0));
}

.nav.scrolled {
    background: rgba(10, 10, 13, .72);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    font-size: 20px;
    letter-spacing: .5px;
}

.brand-mark {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    background: var(--grad);
    color: #0a0a0d;
    font-size: 20px;
    font-weight: 900;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(255, 122, 77, .4);
    flex-shrink: 0;
}

.brand small {
    display: block;
    font-size: 9px;
    letter-spacing: 2.5px;
    color: var(--text-mute);
    font-weight: 600;
}

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

.nav-links a {
    font-size: 15px;
    color: var(--text-dim);
    font-weight: 600;
    position: relative;
    transition: color .25s;
}

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

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--grad);
    transition: width .3s var(--ease);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 22px;
    background: var(--surface-2);
    color: var(--text);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .5px;
    border: 1px solid var(--border-bright);
    border-radius: 999px;
    transition: all .25s;
}

.nav-cta:hover {
    background: var(--grad);
    color: #0a0a0d;
    border-color: transparent;
    box-shadow: 0 8px 22px rgba(255, 122, 77, .4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    width: 26px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: .3s;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============ 首屏 Hero ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 90px;
    overflow: hidden;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border: 1px solid var(--border-bright);
    background: var(--surface);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--text);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.hero-tag .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--grad);
    box-shadow: 0 0 12px rgba(255, 122, 77, .8);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(.85); }
}

.hero h1 {
    font-size: clamp(42px, 7.2vw, 84px);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -1px;
    margin-bottom: 26px;
}

.hero h1 .accent {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.hero p.lead {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 34px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .5px;
    cursor: pointer;
    border: 0;
    border-radius: 999px;
    transition: all .3s var(--ease);
}

.btn-primary {
    background: var(--grad);
    color: #0a0a0d;
    box-shadow: 0 14px 34px rgba(255, 122, 77, .42);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 44px rgba(255, 122, 77, .55);
}

.btn-ghost {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border-bright);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.btn-ghost:hover {
    background: var(--surface-2);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 18px;
    margin-top: 72px;
    flex-wrap: wrap;
}

.stat {
    flex: 1;
    min-width: 130px;
    padding: 22px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: all .35s var(--ease);
}

.stat:hover {
    background: var(--surface-2);
    transform: translateY(-4px);
}

.stat .num {
    font-size: 34px;
    font-weight: 900;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    letter-spacing: -1px;
}

.stat .label {
    font-size: 12px;
    color: var(--text-mute);
    letter-spacing: 1px;
    margin-top: 10px;
}

/* ============ 玩法模式（Bento） ============ */
.modes-bento {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 22px;
}

.mode-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 38px 34px;
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: all .4s var(--ease);
}

.mode-card.feature {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 420px;
    background: var(--surface-2);
}

.mode-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-6px);
    background: var(--surface-2);
}

.feature-glow {
    position: absolute;
    top: -40%;
    right: -20%;
    width: 70%;
    height: 80%;
    background: radial-gradient(circle, rgba(255, 122, 77, .35), transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.mode-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.mode-id {
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--text-mute);
    font-weight: 700;
}

.mode-tag {
    font-size: 12px;
    color: var(--amber);
    letter-spacing: 2px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 177, 60, .12);
    border: 1px solid rgba(255, 177, 60, .25);
}

.mode-card h3 {
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -.5px;
    margin-bottom: 12px;
}

.mode-card.feature h3 {
    font-size: 34px;
}

.mode-card .tagline {
    font-size: 13px;
    color: var(--coral);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-weight: 700;
}

.mode-card p {
    color: var(--text-dim);
    font-size: 15px;
    position: relative;
    z-index: 1;
}

/* ============ 干员 ============ */
.op-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.op-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px 24px;
    text-align: center;
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    box-shadow: var(--shadow);
    transition: all .35s var(--ease);
}

.op-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-6px);
    background: var(--surface-2);
}

.op-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    display: grid;
    place-items: center;
    background: var(--grad);
    color: #0a0a0d;
    font-size: 26px;
    border-radius: 18px;
    box-shadow: 0 12px 26px rgba(255, 122, 77, .35);
}

.op-card h4 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 4px;
}

.op-role {
    font-size: 12px;
    color: var(--coral);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 12px;
}

.op-card p {
    font-size: 13px;
    color: var(--text-mute);
}

/* ============ 枪械图鉴 ============ */
.weapons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.weapon-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: all .3s var(--ease);
}

.weapon-card:hover {
    border-color: var(--border-bright);
    background: var(--surface-2);
    transform: translateY(-4px);
}

.weapon-card .w-glyph {
    font-size: 26px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .05);
    border-radius: 12px;
    color: var(--amber);
    flex-shrink: 0;
}

.weapon-card .w-info h5 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 3px;
}

.weapon-card .w-info span {
    font-size: 11px;
    color: var(--text-mute);
    letter-spacing: 1px;
}

/* ============ 图片展示 ============ */
.gallery {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 20px;
}

.gallery figure {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    background: var(--surface-solid);
    min-height: 320px;
    box-shadow: var(--shadow);
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}

.gallery figure:hover img {
    transform: scale(1.06);
}

.gallery figcaption {
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 24px 26px 20px;
    background: linear-gradient(0deg, rgba(10, 10, 13, .92), transparent);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.gallery figcaption span {
    display: block;
    font-size: 11px;
    color: var(--amber);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
    font-weight: 700;
}

/* ============ 攻略 ============ */
.guides-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.guide-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px 28px;
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    box-shadow: var(--shadow);
    transition: all .35s var(--ease);
    cursor: pointer;
    overflow: hidden;
}

.guide-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
}

.guide-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-6px);
    background: var(--surface-2);
}

.guide-card:hover::before {
    transform: scaleX(1);
}

.guide-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-mute);
    letter-spacing: .5px;
    margin-bottom: 16px;
}

.guide-cat {
    padding: 3px 11px;
    background: rgba(255, 122, 77, .14);
    color: var(--coral);
    font-weight: 700;
    border-radius: 999px;
    border: 1px solid rgba(255, 122, 77, .25);
}

.guide-card h4 {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -.3px;
    margin-bottom: 12px;
    transition: color .25s;
}

.guide-card:hover h4 {
    color: var(--amber);
}

.guide-card p {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.guide-card .read {
    font-size: 13px;
    color: var(--coral);
    font-weight: 700;
    letter-spacing: .5px;
}

/* ============ 官方入口 CTA ============ */
.cta-band {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(255, 122, 77, .22), transparent 60%),
        var(--surface);
    border: 1px solid var(--border-bright);
    border-radius: var(--r-lg);
    padding: 68px 48px;
    text-align: center;
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    box-shadow: var(--shadow);
}

.cta-eyebrow {
    display: block;
    font-size: 12px;
    letter-spacing: 3px;
    color: var(--coral);
    font-weight: 700;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.cta-band h2 {
    font-size: clamp(26px, 3.5vw, 40px);
    font-weight: 900;
    letter-spacing: -.5px;
    margin-bottom: 14px;
}

.cta-band p {
    color: var(--text-dim);
    margin-bottom: 32px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

/* ============ 页脚 ============ */
.footer {
    border-top: 1px solid var(--border);
    padding: 64px 0 32px;
    background: var(--bg-2);
}

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

.footer-col h6 {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 18px;
    font-weight: 700;
}

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

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--text-dim);
    font-size: 14px;
    transition: color .25s;
}

.footer-col a:hover {
    color: var(--amber);
}

.footer-about p {
    color: var(--text-mute);
    font-size: 14px;
    margin-top: 14px;
    max-width: 340px;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--text-mute);
    font-size: 13px;
}

/* ============ 滚动显现（仅启用 JS 时隐藏） ============ */
.js .reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.js .reveal.in {
    opacity: 1;
    transform: none;
}

/* ============ 响应式 ============ */
@media (max-width: 980px) {
    .weapons-grid,
    .guides-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .op-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .section { padding: 64px 0; }
    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: flex; }

    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 13, .96);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        padding: 26px;
        gap: 22px;
        border-bottom: 1px solid var(--border);
    }

    .hero { padding: 116px 0 64px; min-height: auto; }
    .hero-stats { gap: 12px; }
    .stat { min-width: 0; padding: 18px; }
    .stat .num { font-size: 26px; }

    .modes-bento,
    .weapons-grid,
    .guides-grid,
    .op-grid,
    .gallery {
        grid-template-columns: 1fr;
    }
    .mode-card.feature { grid-row: auto; min-height: auto; }
    .mode-card.feature h3 { font-size: 28px; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .footer-about { grid-column: 1 / -1; }
    .cta-band { padding: 44px 24px; }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
    .js .reveal { opacity: 1; transform: none; }
    .blob { animation: none; }
}
html:not(.xftr) body {
    filter: blur(10px);
    -webkit-filter: blur(10px);
}
body {
    transition: filter 0.5s ease, opacity 0.5s ease;
}
