:root {
  color-scheme: dark;
  --bg: #050b08;
  --deep: #020604;
  --surface: #0a1711;
  --surface-glass: rgba(10, 23, 17, 0.72);
  --line: rgba(200, 240, 210, 0.12);
  --line-strong: rgba(200, 240, 210, 0.24);
  --text: #f0f7f2;
  --muted: #95a89b;
  --accent: #d4af37;
  --accent-gold: #e5c365;
  --mint: #7cd6b2;
  --code-bg: rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  color: var(--text);
  background: radial-gradient(circle at 50% 0%, #0c2018, #050b08 45%, #020604 100%);
  font-family: "PingFang SC", -apple-system, "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

.shell {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* Header */
.case-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: .15em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e5c365, #7cd6b2);
  color: #04100b;
  font-weight: 900;
  font-size: 1rem;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.back-link {
  font-size: 0.88rem;
  color: #d6e2d9;
  transition: color 0.2s;
}
.back-link:hover { color: var(--accent-gold); }

/* Hero */
.hero {
  position: relative;
  padding: 130px 0 60px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.15), transparent 70%);
  pointer-events: none;
}
.hero-meta {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 40px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding: 4px 14px;
  border-radius: 999px;
  background: rgba(229, 195, 101, 0.1);
  border: 1px solid rgba(229, 195, 101, 0.25);
}
.hero-title {
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
  background: linear-gradient(180deg, #ffffff 30%, #d8e5dc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title-en {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 300;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.55);
  font-family: Georgia, serif;
  font-style: italic;
  margin-bottom: 22px;
}
.hero-desc {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--muted);
  line-height: 1.8;
  max-width: 720px;
  margin: 0 auto 28px;
}
.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.hero-tag {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  color: #cdd9cf;
}

/* Video Player Stage */
.video-stage {
  max-width: 1080px;
  margin: 0 auto 90px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #020503;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7), 0 0 40px rgba(124, 214, 178, 0.08);
  position: relative;
}
.video-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}
.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(10, 23, 17, 0.95);
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}
.video-caption-title {
  font-weight: 600;
  color: #e5eef9;
}
.video-caption-stats {
  color: var(--muted);
  display: flex;
  gap: 16px;
}

/* Section Header */
.section-head {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 54px;
}
.section-tag {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--mint);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.section-desc {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.8;
}

/* Story / Script Section */
.story-section {
  padding: 60px 0 100px;
  border-top: 1px solid var(--line);
}
.script-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.script-card {
  background: var(--surface-glass);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(12px);
  position: relative;
  transition: transform 0.25s, border-color 0.25s;
}
.script-card:hover {
  transform: translateY(-4px);
  border-color: rgba(229, 195, 101, 0.4);
}
.act-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 8px;
}
.act-tag {
  font-size: 0.72rem;
  color: var(--accent-gold);
  font-weight: 700;
}
.act-scene {
  font-size: 0.74rem;
  color: var(--muted);
}
.act-quote {
  font-size: 0.88rem;
  line-height: 1.8;
  color: #dce5df;
  font-style: italic;
}

/* Shots Breakdown */
.shots-section {
  padding: 80px 0 120px;
  border-top: 1px solid var(--line);
}
.shot-card {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  margin-bottom: 60px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.shot-card.reverse {
  grid-template-columns: 1fr 1.25fr;
}
.shot-card.reverse .shot-media {
  order: 2;
}
.shot-media {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  aspect-ratio: 16 / 9;
}
.shot-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.shot-media:hover img {
  transform: scale(1.02);
}
.shot-badge {
  position: absolute;
  top: 14px; left: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-gold);
}
.shot-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.shot-number {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--mint);
  text-transform: uppercase;
}
.shot-title {
  font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 700;
  line-height: 1.25;
}
.shot-dynamics {
  background: rgba(0, 0, 0, 0.3);
  border-left: 3px solid var(--accent);
  padding: 12px 14px;
  border-radius: 0 8px 8px 0;
  font-size: 0.84rem;
  line-height: 1.6;
  color: #c7d6cc;
}
.shot-dynamics strong { color: var(--accent-gold); }
.prompt-box {
  background: var(--code-bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.prompt-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.74rem;
  color: var(--muted);
  font-weight: 600;
}
.prompt-text {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.65;
  color: #e0ece3;
  max-height: 110px;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-word;
}
.copy-actions {
  display: flex;
  gap: 8px;
}
.btn-copy-code {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: #e2ede4;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-copy-code:hover {
  background: rgba(229, 195, 101, 0.18);
  border-color: var(--accent-gold);
  color: #fff;
}
.btn-copy-code.copied {
  background: #1c523a;
  border-color: var(--mint);
  color: #c8f5d8;
}

/* Strategy & Foley Section */
.strategy-section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 20, 14, 0.5), transparent);
}
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.strategy-card {
  background: var(--surface-glass);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  backdrop-filter: blur(10px);
}
.strategy-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}
.strategy-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.86rem;
  color: var(--muted);
  line-height: 1.7;
}
.strategy-card li strong {
  color: var(--text);
}

/* CTA */
.case-cta {
  padding: 110px 0;
  text-align: center;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.12), transparent 60%), #020604;
  border-top: 1px solid var(--line);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 32px;
  padding: 16px 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-gold), var(--mint));
  color: #04120a;
  font-weight: 800;
  font-size: 0.96rem;
  box-shadow: 0 10px 30px rgba(229, 195, 101, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(229, 195, 101, 0.4);
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  background: #020604;
  padding: 36px 0;
  font-size: 0.78rem;
  color: #6d7e73;
}
footer .shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Responsive */
@media (max-width: 900px) {
  .shot-card, .shot-card.reverse {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 22px;
  }
  .shot-card.reverse .shot-media {
    order: 0;
  }
  .hero-title { font-size: 2.8rem; }
}
