/* ==========================================================================
   番茄短剧 · 官方下载站  fqduanju.cn
   配色取自 logo：影院黑 / 番茄红 / 幕布金 / 番茄叶绿
   ========================================================================== */

/* ---------- 1. 设计变量 ---------- */
:root {
    --ink: #0a0706;
    --ink-2: #0e0a09;
    --panel: #180f0e;
    --panel-2: #211514;
    --panel-3: #2a1b18;

    --crimson: #d92b34;
    --crimson-deep: #8f1119;
    --gold: #f3c55c;
    --gold-deep: #c9963a;
    --leaf: #79b74a;

    --text: #f7f0e6;
    --text-2: #cbb9a9;
    --muted: #9c8a7b;

    --line: rgba(243, 197, 92, 0.14);
    --line-strong: rgba(243, 197, 92, 0.32);

    --r-lg: 24px;
    --r-md: 16px;
    --r-sm: 10px;

    --shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    --shadow-sm: 0 12px 30px rgba(0, 0, 0, 0.4);
    --container: 1180px;
    --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. 重置与基础 ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: 0.01em;
    word-wrap: break-word;
    background:
        radial-gradient(1100px 620px at 10% -12%, rgba(217, 43, 52, 0.32), transparent 62%),
        radial-gradient(860px 520px at 94% 2%, rgba(243, 197, 92, 0.16), transparent 64%),
        radial-gradient(900px 700px at 50% 108%, rgba(121, 183, 74, 0.10), transparent 62%),
        linear-gradient(180deg, #0a0706 0%, #0d0908 45%, #0a0706 100%);
    background-attachment: fixed;
}

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

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

p {
    margin: 0 0 1rem;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 0.6rem;
    line-height: 1.32;
    font-weight: 800;
    letter-spacing: -0.01em;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

.container {
    width: min(var(--container), calc(100% - 48px));
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 99;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--gold);
    color: #2a1a06;
    font-weight: 700;
    transition: top 0.2s var(--ease);
}

.skip-link:focus {
    top: 12px;
}

/* ---------- 3. 顶部导航 ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid transparent;
    background: rgba(10, 7, 6, 0.72);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.site-header.is-stuck {
    background: rgba(10, 7, 6, 0.94);
    border-bottom-color: var(--line);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.header-bar {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    min-height: 74px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    flex: 0 0 auto;
}

.brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(243, 197, 92, 0.35), 0 6px 18px rgba(217, 43, 52, 0.35);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-name {
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--text);
}

.brand-sub {
    font-size: 0.58rem;
    letter-spacing: 0.22em;
    color: var(--gold-deep);
    text-transform: uppercase;
}

.nav-toggle {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: rgba(243, 197, 92, 0.06);
    color: var(--gold);
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.25s var(--ease), opacity 0.2s;
}

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

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

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

.nav {
    margin-left: auto;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-list a {
    position: relative;
    font-size: 0.93rem;
    color: var(--text-2);
    transition: color 0.2s;
}

.nav-list a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--crimson), var(--gold));
    transition: width 0.25s var(--ease);
}

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

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

.header-cta {
    flex: 0 0 auto;
}

/* ---------- 4. 按钮 ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.82rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s, border-color 0.22s, color 0.22s;
}

.btn svg {
    flex: 0 0 auto;
}

.btn-primary {
    color: #fff5ea;
    background: linear-gradient(135deg, #e0342f 0%, #a3121c 100%);
    box-shadow: 0 14px 32px rgba(217, 43, 52, 0.36), inset 0 0 0 1px rgba(243, 197, 92, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(217, 43, 52, 0.48), inset 0 0 0 1px rgba(243, 197, 92, 0.7);
}

.btn-gold {
    color: #2a1a06;
    background: linear-gradient(135deg, #f9d983 0%, #d3a040 100%);
    box-shadow: 0 14px 32px rgba(201, 150, 58, 0.3);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(201, 150, 58, 0.42);
}

.btn-ghost {
    color: var(--text);
    border-color: var(--line-strong);
    background: rgba(255, 255, 255, 0.03);
}

.btn-ghost:hover {
    color: var(--gold);
    border-color: var(--gold-deep);
    background: rgba(243, 197, 92, 0.08);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.62rem 1.15rem;
    font-size: 0.86rem;
}

.btn-lg {
    padding: 1rem 1.9rem;
    font-size: 1.02rem;
}

.btn-block {
    width: 100%;
}

/* ---------- 5. 通用文字块 ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.9rem;
    padding: 0.34rem 0.85rem;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(243, 197, 92, 0.07);
    color: var(--gold);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--crimson);
    box-shadow: 0 0 0 3px rgba(217, 43, 52, 0.22);
}

.section {
    padding: 5.2rem 0;
    position: relative;
}

.section--tight {
    padding: 3.6rem 0;
}

.section-head {
    max-width: 780px;
    margin-bottom: 2.6rem;
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.section-head h2 em {
    font-style: normal;
    background: linear-gradient(100deg, #ffd77a, #ff8f4d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-desc {
    margin: 0;
    color: var(--text-2);
    font-size: 1rem;
}

/* ---------- 6. 首屏 ---------- */
.hero {
    position: relative;
    padding: 4.4rem 0 5rem;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -180px;
    left: 50%;
    width: 720px;
    height: 720px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(243, 197, 92, 0.18), transparent 62%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.06fr 0.94fr;
    gap: 3.4rem;
    align-items: center;
}

.hero h1 {
    font-size: clamp(1.9rem, 4.3vw, 3.05rem);
    line-height: 1.24;
    margin-bottom: 1.1rem;
}

.hero h1 .shine {
    background: linear-gradient(100deg, #fff8ee 4%, #f9d982 46%, #ef6a46 88%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero h1 .thin {
    display: block;
    margin-top: 0.55rem;
    font-size: 0.56em;
    font-weight: 700;
    color: var(--text-2);
    letter-spacing: 0;
}

.hero-lead {
    max-width: 33em;
    color: var(--text-2);
    font-size: 1.03rem;
}

.hero-lead strong {
    color: var(--gold);
    font-weight: 700;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
    margin: 1.7rem 0 1.1rem;
}

.hero-note {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.2rem;
    margin: 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.hero-note li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.hero-note svg {
    color: var(--leaf);
    flex: 0 0 auto;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 2rem;
    padding-top: 1.6rem;
    border-top: 1px dashed var(--line);
}

.hero-stats div strong {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 0.01em;
}

.hero-stats div span {
    display: block;
    color: var(--muted);
    font-size: 0.74rem;
    letter-spacing: 0.04em;
}

/* 首屏视觉 */
.hero-visual {
    position: relative;
}

.phone {
    position: relative;
    width: min(340px, 100%);
    margin-inline: auto;
    padding: 12px;
    border-radius: 38px;
    background: linear-gradient(160deg, rgba(243, 197, 92, 0.55), rgba(217, 43, 52, 0.25) 45%, rgba(255, 255, 255, 0.06));
    box-shadow: var(--shadow), 0 0 90px rgba(217, 43, 52, 0.22);
}

.phone .media {
    border-radius: 30px;
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.62rem 0.9rem;
    border: 1px solid var(--line-strong);
    border-radius: 14px;
    background: rgba(20, 13, 12, 0.92);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(6px);
    font-size: 0.8rem;
    line-height: 1.35;
    animation: float 6s ease-in-out infinite;
}

.float-card strong {
    display: block;
    color: var(--text);
    font-size: 0.86rem;
}

.float-card span {
    color: var(--muted);
    font-size: 0.7rem;
}

.float-card i {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    background: rgba(217, 43, 52, 0.18);
    color: var(--gold);
}

.float-card--a {
    top: 8%;
    left: -8%;
}

.float-card--b {
    bottom: 12%;
    right: -6%;
    animation-delay: -3s;
}

.float-card--c {
    bottom: -2%;
    left: 4%;
    animation-delay: -1.5s;
}

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

/* ---------- 7. 图片框：尺寸锁死，图片只做等比填充裁切 ----------
   不管上传的图是 200px 还是 4000px，显示框大小都只由这里的比例决定，
   图片用 object-fit: cover 等比铺满，多出来的部分裁掉，绝不撑开版面。
   ------------------------------------------------------------------ */
.media {
    position: relative;
    display: block;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 16 / 9; /* 兜底比例，具体板块用 .ar-* 覆盖 */
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background:
        radial-gradient(120% 120% at 20% 0%, rgba(217, 43, 52, 0.22), transparent 58%),
        linear-gradient(150deg, #251715 0%, #150e0d 60%, #1d1312 100%);
}

.media img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: 50% 50%;
    transition: transform 0.6s var(--ease), opacity 0.3s;
}

/* 直接写在 HTML 里的矢量插画：同样锁在框内，等比铺满裁切 */
.media > svg {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    transition: transform 0.6s var(--ease);
}

/* 框里同时有 <img> 和内联插画时：图片优先，插画只当备用 */
.media > img + svg {
    display: none;
}

.media.is-missing > img + svg {
    display: block;
}

/* 插画顶上来了，就不用再显示编号占位 */
.media.is-missing.has-svg::after {
    display: none;
}

/* 悬停时略微放大的是图片本身，框体大小不变 */
.card:hover .media img,
.card:hover .media > svg,
.genre-card:hover .media img,
.genre-card:hover .media > svg {
    transform: scale(1.04);
}

.media.is-missing img {
    opacity: 0;
}

.media.is-missing::after {
    content: "🖼 " attr(data-file);
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 0.9rem;
    text-align: center;
    word-break: break-all;
    color: #9d8b7c;
    font-size: 0.72rem;
    line-height: 1.5;
    letter-spacing: 0.02em;
    background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.022) 0 12px, transparent 12px 24px);
}

.ar-16x9 {
    aspect-ratio: 16 / 9;
}

.ar-4x3 {
    aspect-ratio: 4 / 3;
}

.ar-1x1 {
    aspect-ratio: 1 / 1;
}

.ar-3x4 {
    aspect-ratio: 3 / 4;
}

.ar-9x16 {
    aspect-ratio: 9 / 16;
}

.ar-21x9 {
    aspect-ratio: 21 / 9;
}

/* ---------- 8. 卡片通用 ---------- */
.card {
    position: relative;
    padding: 1.15rem;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: linear-gradient(165deg, rgba(33, 21, 20, 0.96), rgba(18, 12, 11, 0.96));
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.5);
}

.card h3 {
    margin: 0.95rem 0 0.45rem;
    font-size: 1.06rem;
}

.card p {
    margin: 0;
    color: var(--text-2);
    font-size: 0.9rem;
    line-height: 1.72;
}

.card-tag {
    display: inline-block;
    margin-top: 0.85rem;
    padding: 0.18rem 0.6rem;
    border: 1px solid rgba(121, 183, 74, 0.4);
    border-radius: 999px;
    color: var(--leaf);
    font-size: 0.68rem;
    letter-spacing: 0.06em;
}

/* ---------- 9. 六宫格功能 ---------- */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.3rem;
}

/* ---------- 10. 类型专区 ---------- */
.genre-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.genre-card {
    position: relative;
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    background: #150e0d;
    transition: transform 0.35s var(--ease), border-color 0.3s, box-shadow 0.35s;
}

.genre-card:hover {
    transform: translateY(-5px);
    border-color: var(--line-strong);
    box-shadow: 0 26px 56px rgba(0, 0, 0, 0.55);
}

.genre-card .media {
    border: 0;
    border-radius: 0;
}

/* 底部渐变压暗，保证标题可读；用 ::before 以免盖住缺图时的文件名占位 */
.genre-card .media::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(10, 7, 6, 0.05) 30%, rgba(10, 7, 6, 0.9) 88%);
    pointer-events: none;
}

.genre-card .media.is-missing::after {
    place-items: start center;
    padding-top: 28%;
    z-index: 2;
}

.genre-card-body {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 2;
    padding: 1.15rem 1.25rem 1.3rem;
}

.genre-card-body h3 {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
}

.genre-card-body p {
    margin: 0;
    color: var(--text-2);
    font-size: 0.83rem;
    line-height: 1.6;
}

.genre-card-body span {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--gold);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
}

/* ---------- 11. 热播榜 ---------- */
.rank-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.4rem;
}

.rank-card {
    position: relative;
    display: grid;
    grid-template-columns: 104px 1fr;
    gap: 0.95rem;
    padding: 0.9rem;
}

.rank-card .media {
    border-radius: var(--r-sm);
}

.rank-no {
    position: absolute;
    top: -8px;
    left: -8px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(140deg, #f9d983, #c9963a);
    color: #2a1a06;
    font-size: 0.86rem;
    font-weight: 800;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}

.rank-body h3 {
    margin: 0.15rem 0 0.3rem;
    font-size: 1rem;
    line-height: 1.4;
}

.rank-body p {
    margin: 0;
    color: var(--text-2);
    font-size: 0.82rem;
    line-height: 1.65;
}

.rank-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.6rem;
    color: var(--muted);
    font-size: 0.72rem;
}

.rank-meta b {
    color: var(--gold);
    font-weight: 700;
}

.rank-meta .dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--line-strong);
}

/* ---------- 12. 观看场景 ---------- */
.scene-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.3rem;
    align-items: center;
    padding: 1rem;
}

.scene-card h3 {
    margin: 0 0 0.35rem;
    font-size: 1.04rem;
}

.scene-list {
    margin-top: 0.7rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.scene-list li {
    padding: 0.16rem 0.6rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text-2);
    font-size: 0.72rem;
}

/* ---------- 13. 三步上手 ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    counter-reset: step;
}

.step {
    position: relative;
    padding-top: 0.6rem;
}

.step::before {
    content: "0" counter(step);
    counter-increment: step;
    position: absolute;
    top: -14px;
    left: 14px;
    z-index: 3;
    padding: 0.1rem 0.7rem;
    border-radius: 999px;
    background: linear-gradient(140deg, #e0342f, #8f1119);
    color: #fff3e6;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}

.step h3 {
    font-size: 1.02rem;
}

.step p {
    color: var(--text-2);
    font-size: 0.88rem;
}

/* ---------- 14. 制作与画质 ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.split-media {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
    align-items: end;
}

.check-list {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.4rem;
}

.check-list li {
    position: relative;
    padding-left: 1.9rem;
    color: var(--text-2);
    font-size: 0.92rem;
}

.check-list li strong {
    color: var(--text);
    font-weight: 700;
}

.check-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.08em;
    display: grid;
    place-items: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 50%;
    background: rgba(121, 183, 74, 0.16);
    border: 1px solid rgba(121, 183, 74, 0.45);
    color: var(--leaf);
    font-size: 0.72rem;
    font-weight: 800;
}

/* ---------- 15. 观众评价 ---------- */
.review {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1.25rem;
}

.review-top {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.review-top .media {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border-radius: 50%;
    border-color: var(--line-strong);
}

.review-top .media::after {
    font-size: 0.5rem;
    padding: 0 2px;
}

.review-name {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
}

.review-tag {
    display: block;
    color: var(--muted);
    font-size: 0.7rem;
}

.review p {
    margin: 0;
    color: var(--text-2);
    font-size: 0.9rem;
    line-height: 1.75;
}

.review .stars {
    color: var(--gold);
    font-size: 0.78rem;
    letter-spacing: 0.14em;
}

/* ---------- 16. 动态 ---------- */
.news-card {
    display: block;
    padding: 0;
    overflow: hidden;
}

.news-card .media {
    border: 0;
    border-radius: 0;
}

.news-body {
    padding: 1.15rem 1.2rem 1.3rem;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--gold-deep);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.news-body h3 {
    margin: 0.5rem 0 0.4rem;
    font-size: 1rem;
    line-height: 1.5;
}

.news-body p {
    margin: 0;
    color: var(--text-2);
    font-size: 0.86rem;
    line-height: 1.7;
}

/* ---------- 17. 下载区 ---------- */
.download {
    position: relative;
    overflow: hidden;
    padding: 3rem;
    border: 1px solid var(--line-strong);
    border-radius: 30px;
    background:
        radial-gradient(700px 320px at 88% -10%, rgba(243, 197, 92, 0.18), transparent 60%),
        radial-gradient(620px 340px at 6% 110%, rgba(217, 43, 52, 0.26), transparent 62%),
        linear-gradient(160deg, #1d1312, #120c0b 70%);
    box-shadow: var(--shadow);
}

.download::after {
    content: "";
    position: absolute;
    inset: -40% -10% auto auto;
    width: 420px;
    height: 420px;
    border: 1px dashed rgba(243, 197, 92, 0.16);
    border-radius: 50%;
    pointer-events: none;
}

.download-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    gap: 2.6rem;
    align-items: center;
}

.download h2 {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.download p {
    color: var(--text-2);
    max-width: 34em;
}

/* .download p 的优先级会盖掉 .eyebrow 的金色，这里单独特判回来 */
.download p.eyebrow {
    max-width: none;
    color: var(--gold);
}

.download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.5rem 0 1.1rem;
}

.download-note {
    margin: 0;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.7;
}

.download-note strong {
    color: var(--gold);
}

.qr-box {
    display: grid;
    justify-items: center;
    gap: 0.75rem;
    padding: 1.15rem;
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    background: rgba(10, 7, 6, 0.6);
    text-align: center;
}

.qr-box .media {
    width: 100%;
    max-width: 190px;
    border-radius: 14px;
    background: #fff5ea;
}

.qr-box span {
    color: var(--text-2);
    font-size: 0.78rem;
}

.qr-box b {
    color: var(--gold);
    font-size: 0.76rem;
    letter-spacing: 0.06em;
}

.device-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.6rem;
}

.device {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.95rem 1.05rem;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: rgba(255, 255, 255, 0.025);
}

.device svg {
    flex: 0 0 auto;
    margin-top: 2px;
    color: var(--gold);
}

.device strong {
    display: block;
    font-size: 0.9rem;
}

.device span {
    display: block;
    color: var(--muted);
    font-size: 0.76rem;
    line-height: 1.6;
}

/* ---------- 18. 常见问题 ---------- */
.faq {
    display: grid;
    gap: 0.8rem;
    max-width: 900px;
    margin-inline: auto;
}

.faq details {
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: linear-gradient(160deg, rgba(31, 20, 19, 0.9), rgba(16, 11, 10, 0.9));
    transition: border-color 0.25s, background 0.25s;
}

.faq details[open] {
    border-color: var(--line-strong);
    background: linear-gradient(160deg, rgba(38, 24, 22, 0.95), rgba(18, 12, 11, 0.95));
}

.faq summary {
    position: relative;
    padding: 1.05rem 3.2rem 1.05rem 1.2rem;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    position: absolute;
    right: 1.1rem;
    top: 50%;
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    transform: translateY(-50%);
    border: 1px solid var(--line-strong);
    border-radius: 8px;
    color: var(--gold);
    font-size: 0.95rem;
    font-weight: 700;
    transition: transform 0.25s var(--ease), background 0.25s;
}

.faq details[open] summary::after {
    content: "−";
    background: rgba(243, 197, 92, 0.12);
}

.faq .answer {
    padding: 0 1.2rem 1.15rem;
    color: var(--text-2);
    font-size: 0.9rem;
    line-height: 1.78;
}

.faq .answer p {
    margin: 0 0 0.6rem;
}

.faq .answer p:last-child {
    margin: 0;
}

.faq .answer a {
    color: var(--gold);
    border-bottom: 1px dashed var(--gold-deep);
}

/* ---------- 19. 页脚 ---------- */
.site-footer {
    margin-top: 2rem;
    padding: 3.4rem 0 1.6rem;
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(10, 7, 6, 0), rgba(6, 4, 3, 0.85));
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
    gap: 2.2rem;
}

.footer-brand p {
    margin: 1rem 0 0;
    max-width: 28em;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.75;
}

.footer-col h3 {
    margin: 0 0 0.85rem;
    color: var(--gold);
    font-size: 0.86rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-col li {
    margin-bottom: 0.5rem;
}

.footer-col a,
.footer-col span {
    color: var(--text-2);
    font-size: 0.85rem;
    transition: color 0.2s;
}

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

.footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.4rem;
}

.footer-tags li {
    margin: 0;
    padding: 0.18rem 0.55rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.7rem;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    margin-top: 2.6rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.76rem;
}

.footer-bottom p {
    margin: 0;
}

/* ---------- 20. 回到顶部 ---------- */
.to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 30;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: rgba(20, 13, 12, 0.92);
    color: var(--gold);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    backdrop-filter: blur(6px);
}

.to-top.show {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.to-top:hover {
    background: rgba(217, 43, 52, 0.22);
}

/* ---------- 21. 滚动进场 ---------- */
.js-reveal .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .js-reveal .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .float-card {
        animation: none;
    }

    .media img {
        transition: none;
    }
}

/* ---------- 22. 响应式 ---------- */
@media (max-width: 1080px) {
    .hero-grid {
        gap: 2.4rem;
    }

    .float-card--a {
        left: -2%;
    }

    .float-card--b {
        right: -2%;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.8rem;
    }
}

@media (max-width: 960px) {
    .section {
        padding: 4rem 0;
    }

    .hero {
        padding: 3.2rem 0 3.8rem;
    }

    .hero-grid,
    .split,
    .download-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        order: -1;
        max-width: 420px;
        margin-inline: auto;
    }

    .grid-3,
    .genre-grid,
    .rank-grid,
    .steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .split-media {
        max-width: 560px;
    }

    .nav-toggle {
        display: block;
        order: 3;
    }

    .header-cta {
        order: 2;
        margin-left: auto;
    }

    .nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid var(--line);
        background: rgba(10, 7, 6, 0.98);
        box-shadow: 0 22px 40px rgba(0, 0, 0, 0.5);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s var(--ease);
    }

    .nav-open .nav {
        max-height: 420px;
    }

    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.4rem 24px 1.1rem;
    }

    .nav-list li {
        border-bottom: 1px solid rgba(243, 197, 92, 0.08);
    }

    .nav-list a {
        display: block;
        padding: 0.85rem 0;
        font-size: 0.98rem;
    }

    .nav-list a::after {
        display: none;
    }
}

@media (max-width: 680px) {
    .container {
        width: calc(100% - 32px);
    }

    .section {
        padding: 3.2rem 0;
    }

    .hero {
        padding: 2.4rem 0 3rem;
    }

    .hero h1 {
        font-size: clamp(1.65rem, 7vw, 2.1rem);
    }

    .hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem 0.8rem;
    }

    .hero-actions .btn {
        flex: 1 1 100%;
    }

    .grid-3,
    .grid-2,
    .genre-grid,
    .rank-grid,
    .steps,
    .grid-4,
    .device-row {
        grid-template-columns: 1fr;
    }

    .rank-card {
        grid-template-columns: 88px 1fr;
    }

    .scene-card {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .download {
        padding: 1.6rem;
        border-radius: 22px;
    }

    .split-media {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .float-card {
        display: none;
    }

    .brand-sub {
        display: none;
    }

    .header-bar {
        min-height: 66px;
    }

    .header-cta .btn {
        padding: 0.55rem 0.9rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 380px) {
    .header-cta {
        display: none;
    }
}
