/* ==========================================================================
   猩光闪闪 / 刘骏（Paul Liu）个人品牌总站 — Cinematic Scrollytelling Styles
   ========================================================================== */

:root {
  --bg-deep: #04060d;
  --bg-surface: rgba(10, 15, 30, 0.62);
  --bg-surface-strong: rgba(9, 14, 28, 0.84);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(0, 240, 255, 0.35);

  --text-main: #f4f7ff;
  --text-muted: #9aa7c2;
  --text-dim: #6c7a96;

  --accent-1: #00f0ff;
  --accent-2: #8a3ffc;
  --accent-3: #ff2a85;
  --green-ok: #00ff9d;

  --font-sans: "Inter", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-pill: 999px;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  background: radial-gradient(circle at 50% 0%, #0d1630 0%, #04060d 65%);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.62;
}

::selection {
  background: rgba(0, 240, 255, 0.28);
  color: #fff;
}

.mono {
  font-family: var(--font-mono);
}

/* ==========================================================================
   Fixed WebGL Canvas & Atmospheric Overlays
   ========================================================================== */

#stageCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  display: block;
}

.vignette-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, transparent 40%, rgba(3, 5, 12, 0.82) 100%),
    linear-gradient(180deg, rgba(4, 6, 13, 0.5) 0%, transparent 18%, transparent 82%, rgba(4, 6, 13, 0.78) 100%);
}

.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.13;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 50%, black 20%, transparent 85%);
}

/* ==========================================================================
   Custom Cursor
   ========================================================================== */

.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.25s ease, width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-1);
  box-shadow: 0 0 12px var(--accent-1);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0, 240, 255, 0.45);
}

body.cursor-hover .cursor-ring {
  width: 50px;
  height: 50px;
  border-color: var(--accent-3);
  background: rgba(255, 42, 133, 0.06);
}

@media (hover: none), (max-width: 900px) {
  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}

/* ==========================================================================
   Top Scroll Progress & Floating Glass Navbar
   ========================================================================== */

.top-progress-track {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 120;
  background: rgba(255, 255, 255, 0.06);
}

.top-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2), var(--accent-3));
  box-shadow: 0 0 12px var(--accent-1);
}

.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1240px, calc(100% - 32px));
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: rgba(8, 12, 24, 0.62);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  background: rgba(7, 11, 22, 0.86);
  border-color: rgba(0, 240, 255, 0.22);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-main);
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.94rem;
}

.brand-orb {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, var(--accent-1) 50%, var(--accent-2));
  box-shadow: 0 0 14px var(--accent-1);
}

.brand-accent {
  color: var(--accent-1);
  font-family: var(--font-mono);
  font-size: 0.82rem;
}

.telemetry-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.74rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-ok);
  box-shadow: 0 0 10px var(--green-ok);
  animation: pulseAnim 2s infinite;
}

@keyframes pulseAnim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.audio-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.76rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.audio-btn:hover,
.audio-btn.active {
  color: #fff;
  border-color: var(--accent-1);
  background: rgba(0, 240, 255, 0.1);
}

.eq-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 11px;
}

.eq-bars i {
  display: block;
  width: 2px;
  height: 4px;
  background: currentColor;
  border-radius: 2px;
}

.audio-btn.active .eq-bars i {
  background: var(--accent-1);
  animation: eqBounce 0.9s infinite ease-in-out alternate;
}

.audio-btn.active .eq-bars i:nth-child(2) { animation-delay: 0.2s; }
.audio-btn.active .eq-bars i:nth-child(3) { animation-delay: 0.4s; }
.audio-btn.active .eq-bars i:nth-child(4) { animation-delay: 0.15s; }

@keyframes eqBounce {
  0% { height: 3px; }
  100% { height: 11px; }
}

.cta-mini {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: none;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #03060f;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-mini:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.45);
}

/* ==========================================================================
   Right-Side Chapter Rail & Bottom-Right Quick Contact Dock
   ========================================================================== */

.chapter-rail {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  align-items: center;
}

.rail-track {
  position: absolute;
  right: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
}

.rail-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, var(--accent-1), var(--accent-2), var(--accent-3));
}

.rail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.rail-item {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dim);
  padding: 2px 0;
}

.rail-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  opacity: 0;
  transform: translateX(6px);
  transition: all 0.25s ease;
  pointer-events: none;
}

.rail-item:hover .rail-label,
.rail-item.active .rail-label {
  opacity: 1;
  transform: translateX(0);
}

.rail-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0b1122;
  border: 2px solid rgba(255, 255, 255, 0.28);
  transition: all 0.25s ease;
}

.rail-item.active {
  color: #fff;
}

.rail-item.active .rail-dot {
  background: var(--accent-1);
  border-color: #fff;
  box-shadow: 0 0 14px var(--accent-1);
  transform: scale(1.18);
}

.quick-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: rgba(8, 13, 28, 0.82);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5);
}

.dock-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: var(--radius-pill);
  border: none;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dock-btn:hover {
  background: rgba(0, 240, 255, 0.16);
  color: #fff;
}

.dock-btn.dock-accent {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #040710;
  font-weight: 700;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%) translateY(20px);
  z-index: 300;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  background: rgba(6, 18, 32, 0.94);
  border: 1px solid var(--accent-1);
  color: #fff;
  font-size: 0.86rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: all 0.28s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Core Layout, Typography & Buttons
   ========================================================================== */

main {
  position: relative;
  z-index: 10;
}

.chapter {
  min-height: 104vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 112px 24px 88px;
  position: relative;
}

.chapter-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.glass-panel {
  background: var(--bg-surface);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.42);
}

.spotlight-card {
  position: relative;
  overflow: hidden;
}

.spotlight-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    360px circle at var(--mx, 50%) var(--my, 50%),
    rgba(0, 240, 255, 0.14),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.spotlight-card:hover {
  border-color: rgba(0, 240, 255, 0.34);
}

.chapter-badge {
  display: inline-block;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  color: var(--accent-1);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.section-body {
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 660px;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.section-header-center {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-header-center .section-body {
  margin: 0 auto;
}

.gradient-text {
  background: linear-gradient(120deg, #ffffff 10%, var(--accent-1) 48%, var(--accent-2) 78%, var(--accent-3) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-text-cyan {
  background: linear-gradient(120deg, #ffffff, var(--accent-1));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.gradient-text-violet {
  background: linear-gradient(120deg, #ffffff, var(--accent-2), var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.btn-primary {
  border: none;
  color: #03060f;
  background: linear-gradient(135deg, var(--accent-1), #63e2ff 45%, var(--accent-2));
  box-shadow: 0 8px 28px rgba(0, 240, 255, 0.26);
}

.btn-primary:hover {
  box-shadow: 0 12px 38px rgba(0, 240, 255, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  border-color: var(--accent-1);
  background: rgba(0, 240, 255, 0.08);
}

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

.full-width {
  width: 100%;
}

/* ==========================================================================
   Chapter 01: Hero
   ========================================================================== */

.chapter-hero {
  min-height: 100vh;
  padding-top: 118px;
  padding-bottom: 64px;
}

.hero-layout {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.25);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--accent-1);
  margin-bottom: 22px;
}

.eyebrow-sep {
  opacity: 0.4;
}

.hero-title {
  font-size: clamp(2.4rem, 5.8vw, 4.6rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.hero-title .line {
  display: block;
}

.title-en {
  font-weight: 300;
  opacity: 0.72;
  font-size: 0.7em;
  margin-left: 8px;
}

.hero-desc {
  max-width: 760px;
  font-size: clamp(0.96rem, 1.3vw, 1.08rem);
  color: var(--text-muted);
  margin-bottom: 32px;
}

.pillars-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 30px;
  text-align: left;
}

.pillar-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 24px;
  border-radius: var(--radius-md);
  background: rgba(10, 16, 32, 0.64);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: var(--text-main);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
}

.pillar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pillar-num {
  font-size: 0.72rem;
  color: var(--accent-1);
  letter-spacing: 0.1em;
}

.pillar-arrow {
  color: var(--text-dim);
  transition: transform 0.2s ease, color 0.2s ease;
}

.pillar-card:hover .pillar-arrow {
  color: var(--accent-1);
  transform: translate(3px, -3px);
}

.pillar-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.pillar-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.hero-bottom-bar {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  padding: 16px 22px;
  border-radius: var(--radius-lg);
  background: rgba(8, 13, 28, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(16px);
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: #dce4f7;
}

.dot-green,
.dot-cyan,
.dot-violet {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.dot-green { background: var(--green-ok); box-shadow: 0 0 8px var(--green-ok); }
.dot-cyan { background: var(--accent-1); box-shadow: 0 0 8px var(--accent-1); }
.dot-violet { background: var(--accent-2); box-shadow: 0 0 8px var(--accent-2); }

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

.scroll-cue {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text-dim);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  transition: opacity 0.4s ease;
}

.scroll-mouse {
  width: 20px;
  height: 32px;
  border-radius: 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.scroll-wheel {
  width: 3px;
  height: 6px;
  border-radius: 3px;
  background: var(--accent-1);
  animation: wheelDrop 1.7s infinite ease-in-out;
}

@keyframes wheelDrop {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

/* ==========================================================================
   Chapter 02: 猩光游戏 (Games Grid + Platform Routing)
   ========================================================================== */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.filter-pill.active {
  background: rgba(0, 240, 255, 0.16);
  border-color: var(--accent-1);
  color: #fff;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.game-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.game-card:hover {
  transform: translateY(-5px);
}

.game-cover {
  height: 172px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.game-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 6, 13, 0.1) 0%, rgba(4, 6, 13, 0.85) 100%);
}

.game-cover-top,
.game-cover-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.cover-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(4, 6, 13, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
}

.game-status {
  font-size: 0.74rem;
  color: var(--green-ok);
  background: rgba(0, 255, 157, 0.12);
  border: 1px solid rgba(0, 255, 157, 0.28);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.game-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.game-sub {
  font-size: 0.72rem;
  color: var(--accent-1);
  letter-spacing: 0.1em;
}

.game-body h3 {
  font-size: 1.24rem;
  font-weight: 700;
  line-height: 1.3;
}

.game-genre {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.game-pitch {
  font-size: 0.88rem;
  color: var(--text-muted);
  flex: 1;
}

.game-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mini-tag {
  font-size: 0.72rem;
  padding: 4px 9px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #cbd5eb;
}

.platform-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.plat-btn {
  flex: 1;
  min-width: 108px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  cursor: pointer;
  transition: all 0.2s ease;
}

.plat-steam {
  background: rgba(27, 40, 56, 0.85);
  color: #66c0f4;
  border-color: rgba(102, 192, 244, 0.35);
}

.plat-steam:hover {
  background: #1b2838;
  box-shadow: 0 0 18px rgba(102, 192, 244, 0.3);
}

.plat-taptap {
  background: rgba(21, 197, 206, 0.14);
  color: #3df2f7;
  border-color: rgba(21, 197, 206, 0.38);
}

.plat-taptap:hover {
  background: rgba(21, 197, 206, 0.25);
}

.plat-wechat {
  background: rgba(7, 193, 96, 0.15);
  color: #46f097;
  border-color: rgba(7, 193, 96, 0.38);
}

.plat-wechat:hover {
  background: rgba(7, 193, 96, 0.28);
}

.partner-strip {
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.strip-tag {
  font-size: 0.7rem;
  color: var(--accent-1);
  letter-spacing: 0.12em;
}

.partner-strip h4 {
  font-size: 1.12rem;
  margin: 4px 0;
}

.partner-strip p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Chapter 03: 影视与动画作品 (Films Grid + Video Play Cards)
   ========================================================================== */

.films-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.film-card {
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.film-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
}

.film-thumb {
  min-height: 230px;
  padding: 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.film-card.featured .film-thumb {
  min-height: 310px;
}

.film-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(4, 6, 13, 0.15), rgba(4, 6, 13, 0.72));
}

.film-thumb-top,
.film-thumb-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.play-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(6, 10, 22, 0.65);
  backdrop-filter: blur(10px);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.film-thumb:hover .play-circle {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--accent-1);
  color: #040710;
  box-shadow: 0 0 32px rgba(0, 240, 255, 0.55);
}

.film-info {
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.film-role {
  font-size: 0.78rem;
  color: var(--accent-1);
}

.film-info h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

.film-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.film-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Chapter 04: 编剧与 IP 咨询服务
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.service-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.service-code {
  font-size: 0.72rem;
  color: var(--accent-1);
  letter-spacing: 0.1em;
}

.service-badge {
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  background: rgba(138, 63, 252, 0.2);
  border: 1px solid rgba(138, 63, 252, 0.45);
  color: #dec8ff;
}

.service-card h3 {
  font-size: 1.32rem;
  font-weight: 700;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.service-meta-box {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
  color: #d4def5;
}

.service-meta-box span {
  color: var(--text-dim);
}

.deliver-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.deliver-list li {
  font-size: 0.86rem;
  color: #d8e2f8;
  padding-left: 18px;
  position: relative;
}

.deliver-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent-1);
}

.service-footer {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.service-cycle {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.workflow-bar {
  padding: 26px 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.workflow-step {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step-num {
  font-size: 0.82rem;
  color: var(--accent-1);
  font-weight: 700;
}

.workflow-step h4 {
  font-size: 0.96rem;
}

.workflow-step p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Chapter 05: 20 年履历与企业主体
   ========================================================================== */

.credentials-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 32px;
  align-items: start;
}

.timeline-list {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-left: 2px solid rgba(0, 240, 255, 0.25);
  padding-left: 22px;
}

.timeline-item {
  position: relative;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: rgba(10, 15, 30, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 24px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-1);
  box-shadow: 0 0 12px var(--accent-1);
}

.timeline-period {
  font-size: 0.78rem;
  color: var(--accent-1);
  margin-bottom: 4px;
  display: block;
}

.timeline-item h4 {
  font-size: 1.04rem;
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.86rem;
  color: var(--text-muted);
}

.entity-card {
  padding: 32px;
  background: var(--bg-surface-strong);
}

.entity-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.entity-tag {
  font-size: 0.72rem;
  color: var(--accent-1);
  letter-spacing: 0.1em;
}

.status-verified {
  font-size: 0.76rem;
  color: var(--green-ok);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(0, 255, 157, 0.1);
  border: 1px solid rgba(0, 255, 157, 0.28);
}

.entity-name {
  font-size: 1.42rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.entity-specs {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.entity-specs div {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.entity-specs dt {
  font-size: 0.76rem;
  color: var(--text-dim);
  margin-bottom: 3px;
}

.entity-specs dd {
  font-size: 0.92rem;
  color: #eef3ff;
  font-weight: 500;
}

.theme-switcher-mini {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.theme-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.theme-pill {
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.theme-pill.active {
  background: rgba(0, 240, 255, 0.16);
  border-color: var(--accent-1);
  color: #fff;
}

/* ==========================================================================
   Chapter 06: Contact Hub & Inquiry Form
   ========================================================================== */

.chapter-finale {
  min-height: 100vh;
  justify-content: space-between;
  padding-bottom: 32px;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0 28px;
}

.contact-item {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
}

.contact-val {
  font-size: 1.05rem;
  color: #fff;
}

.contact-btns {
  display: flex;
  gap: 8px;
}

.btn-chip {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(0, 240, 255, 0.3);
  background: rgba(0, 240, 255, 0.1);
  color: #e4fbff;
  font-size: 0.8rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-chip:hover {
  background: var(--accent-1);
  color: #03060f;
}

.block-sublabel {
  display: block;
  font-size: 0.74rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.portfolio-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.ext-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.ext-link-card:hover {
  border-color: var(--accent-1);
  background: rgba(0, 240, 255, 0.1);
  transform: translateY(-2px);
}

.ext-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-1);
}

.inquiry-card {
  padding: 32px;
  background: var(--bg-surface-strong);
}

.inquiry-card h3 {
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.inquiry-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row label {
  font-size: 0.82rem;
  color: #cdd8f0;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(3, 6, 15, 0.78);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--accent-1);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.14);
}

.inquiry-result {
  text-align: center;
  padding: 10px 0;
}

.success-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(0, 255, 157, 0.15);
  border: 1px solid var(--green-ok);
  color: var(--green-ok);
  font-size: 1.3rem;
}

.brief-preview {
  margin: 16px 0;
  padding: 14px;
  border-radius: 12px;
  background: rgba(2, 5, 14, 0.82);
  border: 1px solid rgba(0, 240, 255, 0.2);
  text-align: left;
  font-size: 0.78rem;
  color: #b7efff;
  white-space: pre-wrap;
  word-break: break-word;
}

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.site-footer {
  width: min(1180px, 100%);
  margin: 56px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.site-footer strong {
  color: var(--text-muted);
}

/* ==========================================================================
   Reveal Animation
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Modals (Video Player & WeChat MiniGame)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 220;
  background: rgba(2, 5, 14, 0.8);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: min(480px, 100%);
  padding: 32px;
  position: relative;
  transform: translateY(16px) scale(0.97);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-card.modal-video {
  width: min(860px, 100%);
  padding: 28px;
}

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

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  cursor: pointer;
}

.modal-close:hover {
  color: #fff;
  border-color: var(--accent-1);
}

.video-modal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding-right: 44px;
  margin-bottom: 16px;
}

.video-meta-pill {
  font-size: 0.76rem;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.video-stage {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: #03060f;
  border: 1px solid rgba(0, 240, 255, 0.24);
  margin-bottom: 16px;
  position: relative;
}

.video-stage video,
.video-stage iframe,
.video-stage canvas {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.video-modal-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.video-modal-foot p {
  font-size: 0.86rem;
  color: var(--text-muted);
  flex: 1;
}

.qr-placeholder {
  margin: 18px 0;
  display: flex;
  justify-content: center;
}

.qr-frame {
  width: 196px;
  height: 196px;
  border-radius: 18px;
  border: 1px dashed rgba(0, 240, 255, 0.45);
  background: rgba(0, 240, 255, 0.06);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  color: var(--accent-1);
  font-size: 0.78rem;
}

.modal-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .nav-links,
  .telemetry-pill,
  .chapter-rail {
    display: none;
  }

  .pillars-grid,
  .games-grid,
  .services-grid,
  .workflow-bar,
  .credentials-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

  .film-card.featured {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .quick-dock {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 14px;
  }

  .portfolio-links-grid {
    grid-template-columns: 1fr;
  }

  .hero-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- Game QR rows, trailer button, real QR images (added 2026-11-29) --- */
.game-qr-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
}
.game-qr-row img {
  width: 76px;
  height: 76px;
  background: #fff;
  padding: 5px;
  border-radius: 10px;
  flex: none;
}
.game-qr-row span {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  opacity: 0.75;
}
.plat-trailer {
  background: rgba(255, 159, 67, 0.14);
  border-color: rgba(255, 159, 67, 0.55);
  color: #ffb37a;
  cursor: pointer;
}
.qr-real {
  width: 190px;
  height: auto;
  background: #fff;
  padding: 8px;
  border-radius: 12px;
}
