﻿/* ============================================================
   魔改AI短剧官网 · 共享设计系统 style.css
   视觉概念：霓虹剧本工坊 —— 深空影院底 × 品红/紫/青渐变 × 杂志大字报
   ============================================================ */

/* ---------- 设计令牌 ---------- */
:root {
  --bg: #0b0e1a;
  --bg-2: #0e1426;
  --surface: #141a30;
  --surface-2: #1a2140;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #f4f6ff;
  --text-2: #a9b2d0;
  --text-3: #6e7896;

  --pink: #ff2e88;
  --violet: #7b2ff7;
  --cyan: #22e0ff;
  --yellow: #ffd166;
  --green: #3df0a2;

  --grad: linear-gradient(120deg, #ff2e88 0%, #7b2ff7 55%, #22e0ff 110%);
  --grad-soft: linear-gradient(120deg, rgba(255, 46, 136, 0.18), rgba(34, 224, 255, 0.14));
  --grad-gold: linear-gradient(120deg, #ffd166, #ff8a3d);

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

  --shadow-1: 0 6px 24px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 8px 40px rgba(123, 47, 247, 0.35);
  --shadow-pink: 0 8px 34px rgba(255, 46, 136, 0.32);

  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Source Han Sans SC",
    -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-en: "Segoe UI", "SF Pro Display", Roboto, Arial, sans-serif;

  --header-h: 72px;
}

/* ---------- 基础重置 ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  border: none;
  background: none;
  color: inherit;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
}

::selection {
  background: var(--pink);
  color: #fff;
}

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

/* 星空噪点背景 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(1.5px 1.5px at 18% 22%, rgba(255, 255, 255, 0.35) 0, transparent 100%),
    radial-gradient(1px 1px at 62% 15%, rgba(34, 224, 255, 0.45) 0, transparent 100%),
    radial-gradient(1.5px 1.5px at 80% 40%, rgba(255, 209, 102, 0.35) 0, transparent 100%),
    radial-gradient(1px 1px at 32% 68%, rgba(255, 46, 136, 0.4) 0, transparent 100%),
    radial-gradient(1.5px 1.5px at 70% 82%, rgba(255, 255, 255, 0.28) 0, transparent 100%),
    radial-gradient(1px 1px at 8% 88%, rgba(123, 47, 247, 0.5) 0, transparent 100%);
  opacity: 0.5;
}

/* ---------- 布局 ---------- */
.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.section {
  padding: clamp(64px, 9vw, 110px) 0;
}

.section--tight {
  padding: clamp(48px, 7vw, 80px) 0;
}

/* ---------- 通用文本 ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

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

.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 36px;
}

.sec-title {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.sec-title .grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sec-desc {
  color: var(--text-2);
  max-width: 560px;
}

.sec-more {
  color: var(--text-2);
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.25s, gap 0.25s;
}

.sec-more:hover {
  color: var(--cyan);
  gap: 10px;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease,
    color 0.22s ease, border-color 0.22s ease;
  white-space: nowrap;
}

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

.btn:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--shadow-pink);
  background-size: 160% 160%;
  animation: gradSlide 6s ease infinite;
}

.btn-primary:hover {
  box-shadow: 0 12px 44px rgba(255, 46, 136, 0.48);
}

@keyframes gradSlide {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

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

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(34, 224, 255, 0.08);
}

.btn-lg {
  padding: 17px 38px;
  font-size: 1.08rem;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.88rem;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
}

/* ---------- 顶部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(11, 14, 26, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.25rem;
  box-shadow: var(--shadow-pink);
  flex-shrink: 0;
}

.brand small {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-3);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.2;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  display: block;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-2);
  transition: color 0.2s, background 0.2s;
}

.main-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.main-nav a.active {
  color: #fff;
  background: var(--grad-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 46, 136, 0.35);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  position: relative;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.nav-toggle span {
  top: 21px;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.nav-toggle.open span {
  background: transparent;
}

.nav-toggle.open span::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle.open span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(60px, 9vw, 120px) 0 clamp(56px, 8vw, 96px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 78% 18%, rgba(123, 47, 247, 0.34), transparent 70%),
    radial-gradient(45% 50% at 12% 68%, rgba(255, 46, 136, 0.22), transparent 70%),
    radial-gradient(50% 45% at 55% 95%, rgba(34, 224, 255, 0.16), transparent 70%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.1);
  border: 1px solid rgba(255, 209, 102, 0.35);
  color: var(--yellow);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 22px;
  animation: floaty 4s ease-in-out infinite;
}

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

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.1rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}

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

.hero-sub {
  color: var(--text-2);
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 540px;
  margin-bottom: 34px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--text-3);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-trust li::before {
  content: "✦";
  color: var(--cyan);
}

/* Hero 展示区：电视 + 剧卡 */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.tv-frame {
  position: relative;
  width: min(420px, 100%);
  aspect-ratio: 16 / 10.5;
  border-radius: var(--r-lg);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02) 60%),
    var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-glow);
  overflow: hidden;
}

.tv-screen {
  position: absolute;
  inset: 6%;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-2);
}

.tv-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 20% 10%, rgba(255, 46, 136, 0.5), transparent 55%),
    radial-gradient(110% 80% at 85% 85%, rgba(34, 224, 255, 0.42), transparent 60%),
    radial-gradient(80% 60% at 55% 45%, rgba(123, 47, 247, 0.55), transparent 70%);
  animation: screenShift 9s ease-in-out infinite alternate;
}

@keyframes screenShift {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.18) translate(-4%, 3%); }
}

.tv-tag {
  position: absolute;
  left: 14px;
  top: 14px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(11, 14, 26, 0.7);
  border: 1px solid var(--line-strong);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan);
  backdrop-filter: blur(6px);
}

.tv-title {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 44px;
  z-index: 2;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8);
}

.tv-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  color: var(--text-2);
  font-size: 0.78rem;
}

.tv-play {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
}

.tv-play i {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  font-style: normal;
  font-size: 1.5rem;
  color: #fff;
  transition: transform 0.25s ease, background 0.25s ease;
}

.tv-play:hover i {
  transform: scale(1.12);
  background: var(--pink);
  border-color: var(--pink);
  box-shadow: 0 0 40px rgba(255, 46, 136, 0.6);
}

.float-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  animation: floaty 5s ease-in-out infinite;
}

.float-card b {
  font-size: 1.15rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.float-card--left {
  left: -14px;
  top: 16%;
  animation-delay: 0.6s;
}

.float-card--right {
  right: -18px;
  bottom: 14%;
  animation-delay: 1.2s;
}

.float-card .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 14px rgba(255, 46, 136, 0.7);
}

/* ---------- 热播榜 ---------- */
.rank-list {
  display: grid;
  gap: 14px;
}

.rank-item {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.rank-item:hover {
  transform: translateX(8px);
  border-color: rgba(255, 46, 136, 0.45);
  background: var(--surface-2);
}

.rank-no {
  font-family: var(--font-en);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--text-3);
  text-align: center;
}

.rank-item:nth-child(1) .rank-no {
  color: var(--yellow);
}

.rank-item:nth-child(2) .rank-no {
  color: var(--cyan);
}

.rank-item:nth-child(3) .rank-no {
  color: var(--pink);
}

.rank-info h4 {
  font-size: 1.05rem;
  font-weight: 700;
}

.rank-meta {
  display: flex;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--text-3);
  margin-top: 4px;
}

.rank-hot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--yellow);
  background: rgba(255, 209, 102, 0.1);
  border: 1px solid rgba(255, 209, 102, 0.25);
  padding: 6px 12px;
  border-radius: 999px;
}

.rank-fire {
  color: var(--pink);
  font-size: 1.3rem;
}

/* ---------- 剧集卡片 ---------- */
.show-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}

.show-card {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: block;
}

.show-card:hover {
  transform: translateY(-6px);
  border-color: rgba(34, 224, 255, 0.5);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(34, 224, 255, 0.18);
}

/* 杂志大字报封面 */
.poster {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: #fff;
}

.poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255, 255, 255, 0.5) 0, transparent 100%),
    radial-gradient(1px 1px at 80% 20%, rgba(255, 255, 255, 0.4) 0, transparent 100%),
    radial-gradient(1.5px 1.5px at 60% 70%, rgba(255, 255, 255, 0.35) 0, transparent 100%);
  opacity: 0.6;
}

.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 14, 26, 0.12) 30%, rgba(11, 14, 26, 0.82) 92%);
}

.poster-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(11, 14, 26, 0.66);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.poster-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--grad-gold);
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 900;
  color: #2a1600;
  box-shadow: 0 4px 16px rgba(255, 138, 61, 0.5);
  animation: floaty 3.6s ease-in-out infinite;
}

.poster-title {
  position: relative;
  z-index: 2;
  font-size: 1.42rem;
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
  margin-bottom: 4px;
}

.poster-sub {
  position: relative;
  z-index: 2;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--font-en);
}

.poster-num {
  position: absolute;
  right: -4px;
  bottom: -22px;
  z-index: 1;
  font-family: var(--font-en);
  font-size: 6.5rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
}

.show-body {
  padding: 14px 16px 16px;
}

.show-body h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.show-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.show-tags span {
  font-size: 0.72rem;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  padding: 3px 9px;
  border-radius: 999px;
}

.show-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-3);
  font-size: 0.8rem;
}

.show-play {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
  font-weight: 700;
}

.show-play i {
  font-style: normal;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(34, 224, 255, 0.12);
  transition: background 0.2s;
}

.show-card:hover .show-play i {
  background: var(--cyan);
  color: #04121a;
}

/* 筛选 Chips */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.chip {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-2);
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.2s ease;
}

.chip:hover {
  color: var(--text);
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.chip.active {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-pink);
}

.filter-empty {
  display: none;
  text-align: center;
  padding: 60px 20px;
  color: var(--text-3);
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-md);
}

.filter-empty.show {
  display: block;
}

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.page-btn {
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-2);
  font-weight: 700;
  transition: all 0.2s;
}

.page-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.page-btn.active {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
}

/* ---------- 数据大字报 ---------- */
.stats-band {
  position: relative;
  border-radius: var(--r-lg);
  background:
    linear-gradient(120deg, rgba(255, 46, 136, 0.12), rgba(123, 47, 247, 0.16) 50%, rgba(34, 224, 255, 0.1)),
    var(--surface);
  border: 1px solid var(--line-strong);
  padding: clamp(36px, 6vw, 60px);
  overflow: hidden;
}

.stats-band::before {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 46, 136, 0.25), transparent 68%);
  top: -120px;
  right: -80px;
}

.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: var(--font-en);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.stat-num .unit {
  font-size: 0.5em;
  margin-left: 2px;
}

.stat-label {
  color: var(--text-2);
  font-size: 0.92rem;
  margin-top: 8px;
}

/* ---------- 功能亮点 ---------- */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feat-card {
  padding: 28px 26px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(123, 47, 247, 0.5);
  box-shadow: var(--shadow-glow);
}

.feat-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
  background: var(--grad-soft);
  border: 1px solid var(--line-strong);
}

.feat-card h3 {
  font-size: 1.18rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.feat-card p {
  color: var(--text-2);
  font-size: 0.94rem;
}

/* ---------- 评论区 ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card {
  padding: 26px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-stars {
  color: var(--yellow);
  letter-spacing: 3px;
}

.review-card p {
  color: var(--text-2);
  font-size: 0.96rem;
  flex: 1;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.review-user b {
  font-size: 0.92rem;
  display: block;
}

.review-user span {
  font-size: 0.78rem;
  color: var(--text-3);
}

/* ---------- 下载横幅 ---------- */
.download-band {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  background:
    radial-gradient(70% 120% at 88% 20%, rgba(34, 224, 255, 0.2), transparent 60%),
    radial-gradient(60% 110% at 8% 80%, rgba(255, 46, 136, 0.22), transparent 60%),
    linear-gradient(120deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  padding: clamp(40px, 7vw, 70px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.download-band h2 {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 14px;
}

.download-band p {
  color: var(--text-2);
  margin-bottom: 28px;
  max-width: 520px;
}

.qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: var(--r-md);
  padding: 18px;
  width: fit-content;
  margin-inline: auto;
}

.qr-box svg {
  width: 150px;
  height: 150px;
}

.qr-box span {
  color: #333;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ---------- 通用页面头部（内页） ---------- */
.page-hero {
  position: relative;
  padding: clamp(52px, 8vw, 96px) 0 clamp(40px, 6vw, 64px);
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 60% at 50% 0%, rgba(123, 47, 247, 0.24), transparent 70%);
  z-index: -1;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.18;
  margin-bottom: 16px;
}

.page-hero h1 .grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero p {
  color: var(--text-2);
  max-width: 620px;
  margin-inline: auto;
  font-size: 1.02rem;
}

.crumbs {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-3);
  margin-bottom: 18px;
}

.crumbs a {
  color: var(--text-2);
}

.crumbs a:hover {
  color: var(--cyan);
}

.crumbs b {
  color: var(--text);
}

/* ---------- 关于页 ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.story-visual {
  position: relative;
}

.story-card {
  position: relative;
  border-radius: var(--r-lg);
  padding: 34px;
  background:
    linear-gradient(150deg, rgba(255, 46, 136, 0.14), rgba(34, 224, 255, 0.1)),
    var(--surface);
  border: 1px solid var(--line-strong);
  overflow: hidden;
}

.story-card .big-quote {
  font-family: var(--font-en);
  font-size: 5rem;
  font-weight: 900;
  line-height: 0.6;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.story-card blockquote {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.6;
  margin: 22px 0 14px;
}

.story-card figcaption {
  color: var(--text-3);
  font-size: 0.85rem;
}

.story-card .stamp {
  position: absolute;
  right: 24px;
  bottom: 24px;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 209, 102, 0.6);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--yellow);
  transform: rotate(-12deg);
  animation: floaty 5s ease-in-out infinite;
}

.story-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--text-2);
  font-size: 0.98rem;
}

.story-list li:last-child {
  border-bottom: none;
}

.story-list .idx {
  font-family: var(--font-en);
  font-weight: 900;
  color: var(--cyan);
  flex-shrink: 0;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.milestone-list {
  display: grid;
  gap: 16px;
}

.mile-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 20px;
  padding: 20px 24px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.25s, transform 0.25s;
}

.mile-item:hover {
  border-color: rgba(34, 224, 255, 0.5);
  transform: translateX(6px);
}

.mile-date {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 1.05rem;
  color: var(--pink);
}

.mile-item h4 {
  font-size: 1.02rem;
  margin-bottom: 4px;
}

.mile-item p {
  color: var(--text-2);
  font-size: 0.9rem;
}

/* ---------- 下载页 ---------- */
.download-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

.dl-card {
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  text-align: center;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.dl-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 46, 136, 0.5);
  box-shadow: var(--shadow-pink);
}

.dl-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  font-size: 2.1rem;
  background: var(--grad-soft);
  border: 1px solid var(--line-strong);
}

.dl-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.dl-card .ver {
  color: var(--text-3);
  font-size: 0.85rem;
  margin-bottom: 22px;
  display: block;
}

.dl-steps {
  counter-reset: step;
  display: grid;
  gap: 18px;
  margin: 44px 0;
}

.dl-step {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.dl-step::before {
  counter-increment: step;
  content: counter(step);
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad);
  display: grid;
  place-items: center;
  font-weight: 900;
  color: #fff;
  box-shadow: var(--shadow-pink);
}

.dl-step b {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 4px;
}

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

/* FAQ */
.faq-list {
  max-width: 780px;
  margin-inline: auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color 0.25s;
}

.faq-item.open {
  border-color: rgba(123, 47, 247, 0.5);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  text-align: left;
  font-weight: 700;
  font-size: 1rem;
}

.faq-q .plus {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: transform 0.3s, background 0.3s;
}

.faq-item.open .plus {
  transform: rotate(45deg);
  background: var(--grad);
  color: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--text-2);
  font-size: 0.95rem;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding: 0 22px 20px;
}

/* ---------- 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}

.contact-info-card {
  border-radius: var(--r-lg);
  padding: 34px;
  background:
    linear-gradient(150deg, rgba(255, 46, 136, 0.12), rgba(34, 224, 255, 0.1)),
    var(--surface);
  border: 1px solid var(--line-strong);
}

.contact-row {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-row .c-icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}

.contact-row b {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.contact-row span {
  color: var(--text-2);
  font-size: 0.9rem;
  word-break: break-all;
}

.form-card {
  border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 38px);
  background: var(--surface);
  border: 1px solid var(--line);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-2);
  margin-bottom: 8px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  background: var(--bg-2);
  border: 1px solid var(--line-strong);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(34, 224, 255, 0.14);
}

.field textarea {
  resize: vertical;
  min-height: 130px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-3);
  margin-top: 12px;
}

.form-success {
  display: none;
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 12px;
  background: rgba(61, 240, 162, 0.1);
  border: 1px solid rgba(61, 240, 162, 0.4);
  color: var(--green);
  font-weight: 600;
  font-size: 0.95rem;
}

.form-success.show {
  display: block;
}

/* 合作伙伴 */
.partner-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.partner {
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px dashed var(--line-strong);
  color: var(--text-3);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  transition: all 0.25s;
}

.partner:hover {
  color: var(--cyan);
  border-color: var(--cyan);
  border-style: solid;
  transform: translateY(-3px);
}

/* ---------- 弹窗 ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.28s ease, visibility 0.28s;
}

.modal.open {
  visibility: visible;
  opacity: 1;
}

.modal-mask {
  position: absolute;
  inset: 0;
  background: rgba(8, 10, 20, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal-box {
  position: relative;
  width: min(560px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-glow);
  transform: translateY(24px) scale(0.96);
  transition: transform 0.3s ease;
}

.modal.open .modal-box {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(11, 14, 26, 0.7);
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  font-size: 1rem;
  color: var(--text);
  transition: background 0.2s, transform 0.2s;
}

.modal-close:hover {
  background: var(--pink);
  transform: rotate(90deg);
}

.modal-poster {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  display: grid;
  place-items: center;
}

.modal-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(11, 14, 26, 0.9));
}

.modal-poster .big-play {
  position: relative;
  z-index: 2;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  color: #fff;
  transition: transform 0.25s, background 0.25s;
}

.modal-poster .big-play:hover {
  transform: scale(1.1);
  background: var(--pink);
}

.modal-body {
  padding: 24px 26px 30px;
}

.modal-body h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.modal-tags span {
  font-size: 0.78rem;
  color: var(--cyan);
  background: rgba(34, 224, 255, 0.08);
  border: 1px solid rgba(34, 224, 255, 0.25);
  padding: 4px 12px;
  border-radius: 999px;
}

.modal-body p {
  color: var(--text-2);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* 播放占位 */
.play-placeholder {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* ---------- 回到顶部 ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 150;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 1.15rem;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-pink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s ease;
}

.to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  transform: translateY(-4px);
}

/* ---------- 页脚 ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 56px 0 30px;
  margin-top: 40px;
}

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

.footer-brand p {
  color: var(--text-2);
  font-size: 0.92rem;
  margin: 16px 0 20px;
  max-width: 300px;
}

.footer-col h5 {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

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

.footer-col a:hover {
  color: var(--cyan);
  padding-left: 4px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: all 0.22s;
}

.social-btn:hover {
  background: var(--grad);
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--text-3);
  font-size: 0.82rem;
}

.footer-bottom a {
  color: var(--text-3);
}

.footer-bottom a:hover {
  color: var(--cyan);
}

/* ---------- 滚动显现 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }

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

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-sub {
    margin-inline: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-trust {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 12px;
  }

  .feat-grid,
  .value-grid,
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .download-band {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-band p {
    margin-inline: auto;
  }

  .story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(11, 14, 26, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 12px 5% 20px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .main-nav a {
    padding: 13px 18px;
    font-size: 1.02rem;
  }

  .header-cta .btn {
    padding: 10px 18px;
    font-size: 0.9rem;
  }

  .feat-grid,
  .value-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

  .show-grid {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 14px;
  }

  .poster-title {
    font-size: 1.15rem;
  }

  .float-card--left {
    left: -6px;
  }

  .float-card--right {
    right: -6px;
  }

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

  .mile-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 520px) {
  .brand-name {
    font-size: 1rem;
  }

  .brand small {
    display: none;
  }

  .header-cta .btn span {
    display: none;
  }

  .header-cta .btn {
    width: 44px;
    padding: 0;
    border-radius: 12px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .rank-item {
    grid-template-columns: 40px 1fr;
  }

  .rank-hot {
    display: none;
  }

  .download-cards {
    grid-template-columns: 1fr;
  }

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

/* 无 JS 兜底 */
.no-js .faq-a {
  max-height: none;
  padding: 0 22px 20px;
}
