/* 重置与变量 */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #040404;
    --ink: #0a0a0c;
    --charcoal: #141416;
    --line: rgba(255, 255, 255, 0.08);
    --line-soft: rgba(255, 255, 255, 0.04);
    --white: #f2f2f0;
    --silver: #a8a8a8;
    --ash: #7a7a7a;
    /* 提亮：在 --black 上约 4.5:1，达到 WCAG AA */
    --gold: #f2c14e;
    --gold-bright: #ffd770;
    --gold-deep: #c89828;
    --gold-dim: #8a6a1e;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

    /* 统一模糊量：移动端 / 低动效偏好会被覆盖为 0 */
    --blur-sm: 8px;
    --blur-md: 12px;
    --blur-lg: 16px;
    --blur-xl: 20px;
}

/* 移动端不再做大面积模糊过渡 */
@media (max-width: 768px) {
    :root {
        --blur-sm: 0px;
        --blur-md: 0px;
        --blur-lg: 0px;
        --blur-xl: 0px;
    }
}

/* 基础 */
html {
    scroll-behavior: smooth;
}

html.scroll-locked,
body.scroll-locked {
    overflow: hidden !important;
    height: 100%;
    touch-action: none;
    overscroll-behavior: none;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "palt";
}

section[id] {
    scroll-margin-top: 80px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.noscript-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: var(--gold);
    color: var(--black);
    text-align: center;
    font-size: 14px;
    z-index: 99999;
}

/* 氛围层（噪点 / 暗角 / 流星） */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9998;
    pointer-events: none;
    opacity: 0.06;
    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='1.2' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}

/* 混合模式在大面积合成上非常贵，移动端直接关闭 */
@media (max-width: 768px) {
    body::before {
        display: none;
    }
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 9997;
    pointer-events: none;
    background: radial-gradient(ellipse 100% 80% at 50% 50%, transparent 40%, rgba(0, 0, 0, 0.55) 100%);
}

.meteor {
    position: fixed;
    left: 0;
    top: 0;
    width: 420px;
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(242, 193, 78, 0.25) 35%,
            var(--gold-bright) 70%,
            #fff 100%);
    border-radius: 2px;
    opacity: 0;
    pointer-events: none;
    z-index: 10001;
    box-shadow: 0 0 20px var(--gold-bright), 0 0 50px var(--gold), 0 0 90px rgba(242, 193, 78, 0.5);
    transform-origin: right center;
    will-change: transform, opacity;
}

.meteor::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    width: 12px;
    height: 12px;
    margin-top: -6px;
    border-radius: 50%;
    background: radial-gradient(circle, #fff 0%, var(--gold-bright) 45%, transparent 100%);
    box-shadow: 0 0 20px #fff, 0 0 40px var(--gold-bright), 0 0 80px var(--gold), 0 0 120px rgba(242, 193, 78, 0.6);
}

/* 进度条 & 导航 */
.progress-track {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: transparent;
    z-index: 10000;
    pointer-events: none;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-dim), var(--gold), var(--gold-bright));
    transition: width 0.1s linear;
    box-shadow: 0 0 14px var(--gold);
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    padding: 0 32px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.6s var(--ease-out);
}

.nav-scrolled {
    background: rgba(4, 4, 4, 0.72);
    backdrop-filter: blur(30px) saturate(1.2);
    -webkit-backdrop-filter: blur(30px) saturate(1.2);
    border-bottom: 1px solid var(--line);
    height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--white);
    text-transform: uppercase;
}

.logo-mark {
    width: 28px;
    height: 28px;
    overflow: hidden;
}

.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: none;
    gap: 44px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--silver);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: color 0.4s var(--ease-out);
    position: relative;
    padding: 6px 0;
}

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: all 0.5s var(--ease-out);
    transform: translateX(-50%);
}

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

.nav-cta {
    color: var(--gold) !important;
    border: 1px solid rgba(242, 193, 78, 0.45);
    padding: 10px 22px !important;
    letter-spacing: 3px !important;
    transform: skewX(-12deg);
    transition: all 0.4s var(--ease-out) !important;
    position: relative;
    overflow: hidden;
}

.nav-cta span {
    display: inline-block;
    transform: skewX(12deg);
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: rgba(242, 193, 78, 0.1);
    border-color: var(--gold);
}

@media (min-width: 900px) {
    .nav-links {
        display: flex;
    }
}

/* 开场 */
.overture {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: opacity 1.2s var(--ease-out) 0.4s;
}

.overture.gone {
    opacity: 0;
}

.overture-content {
    text-align: center;
    position: relative;
}

.overture-line {
    display: block;
    overflow: hidden;
}

.overture-line span {
    display: block;
    font-size: clamp(18px, 3.5vw, 32px);
    font-weight: 200;
    letter-spacing: 0.3em;
    color: var(--white);
    opacity: 0;
    transform: translateY(100%);
    animation: overtureLine 1.6s var(--ease-out) forwards;
}

.overture-line:nth-child(1) span {
    animation-delay: 0.2s;
}

.overture-line:nth-child(2) span {
    animation-delay: 0.5s;
    font-style: italic;
    color: var(--gold);
}

.overture-underline {
    height: 1px;
    width: 0;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 24px auto 0;
    animation: overtureUnderline 1.4s var(--ease-out) 1.2s forwards;
}

@keyframes overtureLine {
    0% {
        opacity: 0;
        transform: translateY(100%);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes overtureUnderline {
    to {
        width: 220px;
    }
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: 160px 32px 120px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 40%;
    left: 30%;
    transform: translate(-50%, -50%);
    width: 120%;
    max-width: 1200px;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(242, 193, 78, 0.16) 0%, transparent 45%);
    filter: blur(60px);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
    background-size: 100px 100px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 75%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 1000px) {
    .hero-inner {
        grid-template-columns: 1.05fr 1fr;
        gap: 60px;
    }
}

.hero-text {
    text-align: left;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 64px;
    opacity: 0;
    animation: focusIn 1.4s var(--ease-out) 2.4s forwards;
}

.hero-eyebrow .eyebrow-line {
    flex: 1;
    max-width: 80px;
    height: 1px;
    background: var(--gold);
    transform-origin: left;
    transform: scaleX(0);
    animation: eyebrowLine 1.4s var(--ease-out) 2.6s forwards;
}

@keyframes eyebrowLine {
    to {
        transform: scaleX(1);
    }
}

.hero-eyebrow span {
    font-size: 11px;
    letter-spacing: 5px;
    color: var(--gold);
    text-transform: uppercase;
    font-weight: 500;
}

.hero-title-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 48px;
}

.hero-title-cn {
    font-size: clamp(72px, 14vw, 176px);
    font-weight: 200;
    line-height: 0.88;
    letter-spacing: 0.04em;
    color: var(--white);
    display: flex;
    gap: 0.05em;
}

.hero-title-cn .char {
    display: block;
    opacity: 0;
    transform: translateY(80px) scale(1.1);
    filter: blur(var(--blur-xl));
    animation: charDrop 1.6s var(--ease-out) forwards;
}

.hero-title-cn .char:nth-child(1) {
    animation-delay: 2.6s;
}

.hero-title-cn .char:nth-child(2) {
    animation-delay: 2.8s;
}

@keyframes charDrop {
    0% {
        opacity: 0;
        transform: translateY(80px) scale(1.1);
        filter: blur(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

.hero-title-en {
    margin-top: -0.05em;
    margin-left: 0.6em;
    font-size: clamp(32px, 6vw, 80px);
    font-weight: 200;
    font-style: italic;
    letter-spacing: 0.02em;
    line-height: 1;
    opacity: 0;
    animation: enFocus 1.6s var(--ease-out) 3.1s forwards;
}

.hero-title-en em {
    font-style: italic;
    background: linear-gradient(120deg, var(--gold-bright) 0%, var(--gold) 55%, var(--gold-deep) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes enFocus {
    0% {
        opacity: 0;
        letter-spacing: 0.4em;
        filter: blur(12px);
    }

    100% {
        opacity: 1;
        letter-spacing: 0.02em;
        filter: blur(0);
    }
}

.hero-divider {
    width: 0;
    height: 1px;
    margin: 0 0 36px;
    background: linear-gradient(90deg, var(--gold) 0%, rgba(242, 193, 78, 0.4) 40%, transparent 100%);
    animation: heroDivider 1.8s var(--ease-out) 3.4s forwards;
}

@keyframes heroDivider {
    to {
        width: 100%;
        max-width: 280px;
    }
}

.hero-desc {
    font-size: 15px;
    line-height: 2;
    color: var(--silver);
    max-width: 520px;
    letter-spacing: 0.02em;
    opacity: 0;
    animation: focusIn 1.4s var(--ease-out) 3.6s forwards;
}

.hero-desc strong {
    color: var(--white);
    font-weight: 500;
    position: relative;
}

.hero-desc strong::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -2px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    animation: strongLine 1s var(--ease-out) 4.4s forwards;
}

@keyframes strongLine {
    to {
        transform: scaleX(1);
    }
}

@keyframes focusIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.hero-actions {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 56px;
    opacity: 0;
    animation: focusIn 1.4s var(--ease-out) 3.9s forwards;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 20px 44px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    background: none;
    color: inherit;
    font-family: inherit;
    transform: skewX(-14deg);
    transition: all 0.5s var(--ease-out);
    overflow: hidden;
    isolation: isolate;
}

.btn-inner {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    transform: skewX(14deg);
    z-index: 3;
}

.btn-primary {
    background: var(--gold);
    color: #1a1206;
    box-shadow: 0 0 0 1px var(--gold-bright),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 12px 36px rgba(242, 193, 78, 0.28);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -150%;
    width: 80%;
    height: 140%;
    background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, 0.75) 50%, transparent 80%);
    transform: skewX(-14deg);
    z-index: 2;
    animation: shineSweep 4s cubic-bezier(0.65, 0, 0.35, 1) infinite 1s;
    pointer-events: none;
}

@keyframes shineSweep {
    0% {
        left: -150%;
    }

    40%,
    100% {
        left: 150%;
    }
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 3px;
    border: 1px solid rgba(26, 18, 6, 0.18);
    z-index: 1;
    pointer-events: none;
}

.btn-primary:hover {
    background: var(--gold-bright);
    box-shadow: 0 0 0 1px var(--gold),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 20px 60px rgba(242, 193, 78, 0.5);
    transform: skewX(-14deg) translateY(-2px);
}

.btn-secondary {
    color: var(--silver);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.01);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 12px;
    height: 12px;
    border-top: 1px solid var(--gold);
    border-left: 1px solid var(--gold);
    z-index: 2;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 12px;
    height: 12px;
    border-bottom: 1px solid var(--gold);
    border-right: 1px solid var(--gold);
    z-index: 2;
}

.btn-secondary:hover {
    color: var(--white);
    border-color: var(--gold);
    background: rgba(242, 193, 78, 0.06);
    letter-spacing: 5px;
}

.btn svg {
    transition: transform 0.4s var(--ease-out);
}

.btn-primary:hover svg {
    transform: translateY(3px);
}

.btn-lg {
    padding: 24px 56px;
    font-size: 13px;
    letter-spacing: 5px;
}

.hero-visual {
    position: relative;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: focusIn 1.8s var(--ease-out) 3.4s forwards;
}

@media (min-width: 1000px) {
    .hero-visual {
        display: flex;
    }
}

.galaxy {
    position: relative;
    width: 100%;
    max-width: 620px;
    aspect-ratio: 1;
}

.galaxy svg {
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: focusIn 1.5s var(--ease-out) 4.2s forwards;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.scroll-hint span {
    font-size: 10px;
    letter-spacing: 4px;
    color: var(--ash);
    text-transform: uppercase;
}

.scroll-hint .line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--gold-dim), transparent);
    animation: scrollPulse 2.4s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        transform: scaleY(0.3);
        transform-origin: top;
        opacity: 0.3;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
        opacity: 1;
    }
}

/* 引言场景 */
section {
    position: relative;
}

.quote-scene {
    padding: 160px 32px;
    text-align: center;
    background: var(--ink);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    position: relative;
    overflow: hidden;
}

@media (min-width: 900px) {
    .quote-scene {
        padding: 240px 64px;
    }
}

.quote-scene::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(242, 193, 78, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.quote-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: clamp(22px, 3.6vw, 44px);
    font-weight: 200;
    line-height: 1.5;
    letter-spacing: -0.01em;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.quote-text .q-line {
    display: block;
    min-height: 1.5em;
}

.quote-text .q-line .caret {
    display: inline-block;
    width: 2px;
    height: 0.9em;
    background: var(--gold);
    vertical-align: middle;
    margin-left: 4px;
    animation: caretBlink 1s steps(2) infinite;
}

@keyframes caretBlink {
    50% {
        opacity: 0;
    }
}

.quote-text em {
    font-style: italic;
    color: var(--gold);
    font-weight: 300;
}

.quote-attrib {
    margin-top: 60px;
    font-size: 11px;
    letter-spacing: 6px;
    color: var(--ash);
    text-transform: uppercase;
    opacity: 0;
    transition: opacity 1.5s var(--ease-out) 1s;
}

.quote-attrib.visible {
    opacity: 1;
}

/* 章节通用 */
.chapter {
    max-width: 1200px;
    margin: 0 auto;
    padding: 140px 32px 80px;
}

@media (min-width: 900px) {
    .chapter {
        padding: 200px 64px 100px;
    }
}

.chapter-head {
    margin-bottom: 100px;
}

@media (min-width: 900px) {
    .chapter-head {
        margin-bottom: 160px;
    }
}

.flow-chapter {
    padding-bottom: 0;
}

.chapter-head-tight {
    margin-bottom: 40px;
}

.chapter-mark {
    display: flex;
    align-items: baseline;
    gap: 24px;
    margin-bottom: 40px;
}

.chapter-num {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 4px;
    color: var(--gold);
    font-family: "Times New Roman", serif;
    font-style: italic;
    opacity: 0;
    transform: translateX(-20px);
    filter: blur(6px);
    transition: all 1.2s var(--ease-out);
}

.chapter-mark.visible .chapter-num {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

.chapter-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), rgba(242, 193, 78, 0.2) 30%, transparent);
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 1.4s var(--ease-out) 0.15s;
}

.chapter-mark.visible .chapter-line {
    transform: scaleX(1);
}

.chapter-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 6px;
    color: var(--ash);
    text-transform: uppercase;
    opacity: 0;
    transform: translateX(20px);
    transition: all 1.2s var(--ease-out) 0.3s;
}

.chapter-mark.visible .chapter-label {
    opacity: 1;
    transform: translateX(0);
}

.chapter-title {
    font-size: clamp(36px, 7vw, 88px);
    font-weight: 200;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--white);
}

.chapter-title em {
    font-style: italic;
    background: linear-gradient(120deg, var(--gold-bright), var(--gold), var(--gold-deep));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 300;
}

.chapter-title .line-mask {
    display: block;
    overflow: hidden;
    position: relative;
    padding-bottom: 6px;
}

.chapter-title .line-mask>span {
    display: block;
    transform: translateY(105%);
    transition: transform 1.5s var(--ease-out);
}

.chapter-title.visible .line-mask:nth-child(1)>span {
    transition-delay: 0.05s;
}

.chapter-title.visible .line-mask:nth-child(2)>span {
    transition-delay: 0.22s;
}

.chapter-title.visible .line-mask>span {
    transform: translateY(0);
}

.chapter-title .line-mask::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--gold) 0%, rgba(242, 193, 78, 0.4) 40%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 1.6s var(--ease-out);
}

.chapter-title.visible .line-mask:nth-child(1)::after {
    transition-delay: 0.4s;
}

.chapter-title.visible .line-mask:nth-child(2)::after {
    transition-delay: 0.6s;
}

.chapter-title.visible .line-mask::after {
    transform: translateX(0);
}

.chapter-sub {
    font-size: 15px;
    color: var(--silver);
    line-height: 2;
    max-width: 560px;
    margin-top: 40px;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(20px);
    filter: blur(6px);
    transition: all 1.4s var(--ease-out) 0.7s;
}

.chapter-sub.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* 引擎列表 */
.engine-list {
    display: flex;
    flex-direction: column;
}

.engine-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 64px 0;
    border-top: 1px solid var(--line);
    position: relative;
    opacity: 0;
    transform: translateY(90px) scale(0.955);
    filter: blur(var(--blur-lg));
    transition:
        opacity 1.5s var(--ease-out),
        transform 1.9s var(--ease-out),
        filter 1.5s var(--ease-out);
}

@media (min-width: 900px) {
    .engine-item {
        grid-template-columns: 120px 1fr 1fr;
        gap: 80px;
        padding: 88px 0;
        align-items: start;
    }
}

.engine-item:last-child {
    border-bottom: 1px solid var(--line);
}

.engine-item.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.engine-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: -1px;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), rgba(242, 193, 78, 0.3) 40%, transparent);
    transition: width 1.8s var(--ease-out) 0.25s;
}

.engine-item.visible::before {
    width: 100%;
}

.engine-num {
    font-size: 20px;
    font-weight: 200;
    letter-spacing: 2px;
    color: var(--gold);
    font-family: "Times New Roman", serif;
    font-style: italic;
    line-height: 1;
    opacity: 0;
    transform: translateX(-52px) translateY(12px) scale(0.78);
    filter: blur(14px);
    transition: all 1.5s var(--ease-out) 0.15s;
}

@media (min-width: 900px) {
    .engine-num {
        font-size: 32px;
    }
}

.engine-item.visible .engine-num {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
    filter: blur(0);
}

.engine-title {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--white);
    display: block;
    overflow: hidden;
}

@media (min-width: 900px) {
    .engine-title {
        font-size: 36px;
    }
}

.engine-title>span {
    display: block;
    transform: translateY(118%) skewY(5deg);
    transition: transform 1.9s var(--ease-out) 0.3s;
}

.engine-item.visible .engine-title>span {
    transform: translateY(0) skewY(0);
}

.engine-desc {
    font-size: 14px;
    line-height: 2;
    color: var(--silver);
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(48px);
    filter: blur(var(--blur-md));
    transition: all 1.6s var(--ease-out) 0.6s;
}

.engine-item.visible .engine-desc {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.engine-tag {
    display: inline-block;
    margin-top: 20px;
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--gold-deep);
    padding: 6px 12px;
    border: 1px solid rgba(242, 193, 78, 0.35);
    border-radius: 2px;
    font-family: ui-monospace, SFMono-Regular, monospace;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(26px) scale(0.88);
    transition: all 1.2s var(--ease-out) 0.95s;
}

.engine-item.visible .engine-tag {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Feature */
.feature-scene {
    background: var(--ink);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}

.feature-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px 140px;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

@media (min-width: 700px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-cell {
    background: var(--ink);
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
    transition: background 0.6s var(--ease-out);
}

@media (min-width: 900px) {
    .feature-cell {
        padding: 64px 56px;
    }
}

.feature-cell:nth-child(odd) {
    opacity: 0;
    transform: translateX(-32px) translateY(24px);
    filter: blur(var(--blur-sm));
    transition: all 1.3s var(--ease-out);
}

.feature-cell:nth-child(even) {
    opacity: 0;
    transform: translateX(32px) translateY(24px);
    filter: blur(var(--blur-sm));
    transition: all 1.3s var(--ease-out);
}

.feature-cell.visible {
    opacity: 1;
    transform: translateX(0) translateY(0);
    filter: blur(0);
}

.feature-cell:hover {
    background: var(--charcoal);
}

.feature-cell::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
    transition: width 0.8s var(--ease-out);
}

.feature-cell:hover::after {
    width: 100%;
}

.feature-num {
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--gold);
    font-family: "Times New Roman", serif;
    font-style: italic;
    margin-bottom: 28px;
    display: block;
}

.feature-cell h3 {
    font-size: 20px;
    font-weight: 300;
    letter-spacing: -0.01em;
    color: var(--white);
    margin-bottom: 14px;
    line-height: 1.3;
}

.feature-cell p {
    font-size: 13.5px;
    line-height: 1.9;
    color: var(--silver);
    letter-spacing: 0.01em;
}

/* Flow */
.flow-scene {
    padding: 140px 0;
    overflow: hidden;
}

@media (min-width: 900px) {
    .flow-scene {
        padding: 200px 0;
    }
}

.flow-track {
    display: flex;
    gap: 60px;
    padding: 40px 32px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.flow-track::-webkit-scrollbar {
    display: none;
}

@media (min-width: 900px) {
    .flow-track {
        padding: 60px 64px;
        gap: 80px;
    }
}

.flow-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    opacity: 0;
    transform: translateX(60px);
    filter: blur(10px);
    transition: all 1.4s var(--ease-out);
}

@media (min-width: 900px) {
    .flow-card {
        flex: 0 0 360px;
    }
}

.flow-card.visible {
    opacity: 1;
    transform: translateX(0);
    filter: blur(0);
}

.flow-card .scene-num {
    font-size: 64px;
    font-weight: 100;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--charcoal);
    margin-bottom: 24px;
    font-family: "Times New Roman", serif;
    font-style: italic;
    transition: color 0.8s var(--ease-out),
        text-shadow 0.8s var(--ease-out),
        transform 0.8s var(--ease-out);
}

@media (min-width: 900px) {
    .flow-card .scene-num {
        font-size: 96px;
    }
}

.flow-card.active .scene-num,
.flow-card:hover .scene-num {
    color: var(--gold);
    text-shadow: 0 0 40px rgba(242, 193, 78, 0.5);
    transform: translateX(6px);
}

.flow-card h3 {
    font-size: 22px;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
    transition: color 0.8s var(--ease-out);
}

.flow-card.active h3,
.flow-card:hover h3 {
    color: var(--gold-bright);
}

.flow-card p {
    font-size: 13.5px;
    line-height: 1.9;
    color: var(--silver);
    letter-spacing: 0.01em;
}

.flow-hint {
    padding: 40px 32px 0;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 11px;
    letter-spacing: 4px;
    color: var(--ash);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 16px;
}

@media (min-width: 900px) {
    .flow-hint {
        padding: 40px 64px 0;
    }
}

.flow-hint::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--line), transparent);
}

/* Finale */
.finale {
    padding: 200px 32px 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--black);
}

@media (min-width: 900px) {
    .finale {
        padding: 280px 64px 160px;
    }
}

.finale::before {
    content: '';
    position: absolute;
    top: 45%;
    left: 50%;
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(242, 193, 78, 0.32) 0%,
        rgba(242, 193, 78, 0.16) 22%,
        rgba(242, 193, 78, 0.06) 45%,
        rgba(242, 193, 78, 0.02) 65%,
        transparent 82%
    );
    filter: blur(70px);
    opacity: 0;
    transition: width 2.4s var(--ease-out), height 2.4s var(--ease-out), opacity 2s var(--ease-out);
    pointer-events: none;
    z-index: 0;
}

.finale.visible::before {
    width: 1700px;
    height: 1700px;
    opacity: 1;
}

.finale>* {
    position: relative;
    z-index: 2;
}

.finale-mark {
    font-size: 11px;
    letter-spacing: 8px;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 40px;
    opacity: 0;
    transition: opacity 1.5s var(--ease-out);
}

.finale-mark.visible {
    opacity: 1;
}

.finale-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 40px;
    opacity: 0;
    transform: scale(0.85);
    transition: all 1.4s var(--ease-out) 0.15s;
}

.finale-icon.visible {
    opacity: 0.92;
    transform: scale(1);
}

.finale-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.finale-title {
    font-size: clamp(40px, 8vw, 96px);
    font-weight: 200;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(40px);
    filter: blur(var(--blur-md));
    transition: all 1.6s var(--ease-out) 0.25s;
}

.finale-title.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.finale-title em {
    font-style: italic;
    background: linear-gradient(120deg, var(--gold-bright), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 300;
}

.finale-sub {
    font-size: 15px;
    letter-spacing: 4px;
    color: var(--silver);
    margin-bottom: 48px;
    opacity: 0;
    transition: opacity 1.4s var(--ease-out) 0.5s;
    font-weight: 300;
}

.finale-sub.visible {
    opacity: 1;
}

.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 24px 34px;
    border: 1px solid rgba(242, 193, 78, 0.35);
    font-size: 13px;
    letter-spacing: 4px;
    color: var(--silver);
    font-family: ui-monospace, SFMono-Regular, monospace;
    text-transform: uppercase;
    margin-bottom: 56px;
    transform: skewX(-12deg);
    opacity: 0;
    transition: opacity 1.5s var(--ease-out) 0.7s;
    background: rgba(255, 255, 255, 0.015);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.version-badge>* {
    transform: skewX(12deg);
    display: inline-block;
}

.version-badge.visible {
    opacity: 1;
}

.version-badge .v-dot {
    width: 7px;
    height: 7px;
    background: var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 14px var(--gold);
    animation: vDotPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes vDotPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

.version-badge span:last-child {
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 3px;
}

.finale-cta-wrap {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    filter: blur(8px);
    transition: all 1.4s var(--ease-out) 0.9s;
}

.finale-cta-wrap.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Footer */
.footer {
    padding: 60px 32px;
    text-align: center;
    border-top: 1px solid var(--line-soft);
    background: var(--black);
}

.footer-brand {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 6px;
    color: var(--silver);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-copy {
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--ash);
    line-height: 2;
}

/* 响应式 */
@media (max-width: 600px) {
    .hero-title-cn {
        font-size: clamp(64px, 22vw, 120px);
    }

    .hero-title-en {
        margin-left: 0.4em;
        font-size: clamp(28px, 9vw, 52px);
    }

    .chapter-title {
        font-size: clamp(32px, 10vw, 56px);
    }

    .btn {
        padding: 16px 32px;
        font-size: 11px;
        letter-spacing: 3px;
    }

    .finale {
        padding: 140px 24px 100px;
    }

    .version-badge {
        padding: 16px 24px;
        font-size: 11px;
        letter-spacing: 3px;
    }

    .feature-wrap {
        padding: 0 20px 100px;
    }
}

/* 降低动效偏好：一次性关闭全部入场动画与模糊 */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .meteor {
        display: none;
    }

    body::before {
        display: none;
    }
}

/* Boot 场景（Click to Start） */
.boot-scene {
    position: fixed;
    inset: 0;
    z-index: 10002;
    /* 高于 meteor(10001)、progress(10000)、overture(9999) */
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.8s var(--ease-out);
    -webkit-tap-highlight-color: transparent;
    outline: none;
}

.boot-scene.gone {
    opacity: 0;
    pointer-events: none;
}

.boot-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 56px;
    padding: 0 24px;
}

.boot-ring {
    position: relative;
    width: 128px;
    height: 128px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(242, 193, 78, 0.35);
    border-radius: 50%;
    transition: all 0.8s var(--ease-out);
}

.boot-ring::before,
.boot-ring::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50%;
    border: 1px solid rgba(242, 193, 78, 0.3);
    animation: bootPulse 3.2s var(--ease-out) infinite;
    pointer-events: none;
}

.boot-ring::after {
    animation-delay: 1.6s;
}

@keyframes bootPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.85);
        opacity: 0;
    }
}

.boot-ring svg {
    width: 32px;
    height: 32px;
    color: var(--gold);
    transition: transform 0.8s var(--ease-out);
}

.boot-scene:hover .boot-ring,
.boot-scene:focus-visible .boot-ring {
    border-color: var(--gold);
    box-shadow:
        0 0 60px rgba(242, 193, 78, 0.35),
        inset 0 0 30px rgba(242, 193, 78, 0.08);
    transform: scale(1.05);
}

.boot-scene:hover .boot-ring svg {
    transform: scale(1.15);
}

.boot-text {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 7px;
    text-transform: uppercase;
    color: var(--gold);
    margin-left: 7px;
    /* 抵消 letter-spacing 造成的视觉右偏 */
    animation: bootTextFade 2.6s ease-in-out infinite;
}

@keyframes bootTextFade {

    0%,
    100% {
        opacity: 0.55;
    }

    50% {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {

    .boot-ring::before,
    .boot-ring::after,
    .boot-text {
        animation: none;
    }
}

.overture--waiting {
    display: none !important;
}