:root {
  --background: #0f0f23;
  --surface: #161629;
  --surface-raised: #1b1b31;
  --foreground: #f8fafc;
  --muted: #b5b8c8;
  --faint: #898da4;
  --line: #34354d;
  --accent: #e11d48;
  --accent-hover: #c71642;
  --accent-text: #f05a75;
  --max-width: 1200px;
  --header-height: 88px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }

body {
  margin: 0;
  color: var(--foreground);
  background-color: var(--background);
  background-image:
    radial-gradient(ellipse 55% 22% at 88% 30%, rgba(225, 29, 72, .085), transparent 78%),
    radial-gradient(ellipse 48% 19% at 8% 62%, rgba(88, 91, 150, .11), transparent 80%);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* A small, static noise tile gives the dark surfaces a visible film-grain finish. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: .14;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0' intercept='1'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23grain)'/%3E%3C/svg%3E") repeat;
  background-size: 160px 160px;
  mix-blend-mode: screen;
}

a { color: inherit; text-decoration: none; touch-action: manipulation; }
a:hover { cursor: pointer; }
button { font: inherit; cursor: pointer; touch-action: manipulation; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 4px; }
::selection { color: #fff; background: var(--accent-hover); }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  height: var(--header-height);
  padding-inline: max(32px, calc((100vw - var(--max-width)) / 2));
  background: rgba(15, 15, 35, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; min-height: 48px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--surface-raised);
  border: 1px solid rgba(255, 255, 255, .12);
}
.brand-mark img { display: block; width: 38px; height: 38px; object-fit: contain; }
.brand-word { font-size: 24px; font-weight: 700; line-height: 1; letter-spacing: -.04em; white-space: nowrap; }

nav { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 38px); }
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 550;
  white-space: nowrap;
  transition: color .18s ease;
}
nav a:hover { color: var(--foreground); }
.header-download {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 44px;
  padding: 0 18px;
  color: #fff;
  background: var(--accent);
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  transition: background-color .18s ease;
}
.header-download:hover { background: var(--accent-hover); }

main { padding-top: var(--header-height); overflow: clip; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; }
h1 { font-size: clamp(48px, 7vw, 96px); font-weight: 800; letter-spacing: -.09em; }
h2 { font-size: clamp(30px, 3.6vw, 50px); font-weight: 780; letter-spacing: -.075em; }
h3 { font-size: 18px; font-weight: 700; letter-spacing: -.025em; }

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  justify-items: center;
  align-content: start;
  min-height: min(860px, calc(100svh - 88px));
  padding: clamp(80px, 11vh, 128px) 24px 32px;
  background: var(--background);
  text-align: center;
}
.hero::before,
.hero::after,
.closing::before,
.closing::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  pointer-events: none;
}
.hero::before,
.closing::before { left: 0; }
.hero::after,
.closing::after { right: 0; transform: scaleX(-1); }
.hero::before,
.hero::after {
  background:
    radial-gradient(ellipse at 100% 48%, rgba(240, 90, 117, .085), transparent 65%),
    linear-gradient(180deg, rgba(15, 15, 35, .58) 0%, rgba(15, 15, 35, .22) 52%, rgba(15, 15, 35, .32) 78%, #0f0f23 100%),
    url("../images/hero-theatre.webp") right bottom / cover no-repeat;
}
.hero-copy { position: relative; z-index: 1; max-width: 880px; }
.hero h1 { margin-bottom: 24px; }
.hero-lede { max-width: 480px; margin: 0 auto 34px; color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); text-wrap: balance; }
.hero-actions { display: flex; justify-content: center; gap: 12px; }
.hero-highlights { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 20px clamp(24px, 3vw, 48px); width: min(100%, 1100px); margin: 44px auto 0; padding: 0; list-style: none; }
.hero-highlights li { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: clamp(14px, 1.1vw, 16px); font-weight: 400; line-height: 1.4; white-space: nowrap; }
.hero-highlights svg { flex: none; width: 22px; height: 22px; color: var(--accent-text); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 24px;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.3;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.button-primary { min-width: 224px; color: #fff; background: var(--accent); font-size: 18px; }
.button-primary:hover { background: var(--accent-hover); }
.button-secondary { min-width: 166px; color: var(--foreground); border: 1px solid #74788f; }
.button-secondary:hover { border-color: var(--foreground); background: var(--surface); }

.section {
  width: min(calc(100% - 64px), var(--max-width));
  margin: 0 auto;
  padding: clamp(84px, 9vw, 128px) 0;
  border-top: 1px solid var(--line);
}
.section-heading { max-width: 670px; margin-bottom: 42px; }
.section-heading h2 { margin-bottom: 16px; }
.section-heading > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 17px; }
.filter-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.category-filters { display: flex; flex-wrap: wrap; gap: 10px; }
.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  min-height: 46px;
  padding: 9px 18px;
  color: var(--foreground);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.filter-chip:hover { background: var(--surface-raised); border-color: var(--accent); }
.filter-chip.is-active, .filter-chip.is-active:hover { color: #fff; background: var(--accent); border-color: var(--accent); }
.filter-count { margin: 0; color: var(--muted); font-size: 14px; white-space: nowrap; }

.drama-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.drama-card { min-width: 0; padding: 0 0 16px; border-bottom: 1px solid var(--line); }
.drama-card[hidden] { display: none; }
.card-art { width: 100%; aspect-ratio: 2 / 3; margin-bottom: 16px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); border-radius: 7px; background: var(--surface); box-shadow: 0 16px 28px rgba(0, 0, 0, .18); }
.card-art img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.84) contrast(1.04); }
.drama-card h3 { margin-bottom: 5px; }
.drama-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }

.experience { display: grid; grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr); align-items: stretch; column-gap: clamp(42px, 6vw, 88px); }
.experience-heading { grid-column: 1 / -1; margin-bottom: 40px; }
.experience-visual { position: relative; grid-column: 1; grid-row: 2; min-height: 0; overflow: hidden; background: radial-gradient(ellipse at 50% 58%, rgba(225, 29, 72, .16), transparent 62%), linear-gradient(145deg, var(--surface-raised), var(--surface)); border: 1px solid var(--line); border-radius: 12px; }
.experience-poster { position: absolute; overflow: hidden; aspect-ratio: 2 / 3; border: 1px solid rgba(255, 255, 255, .15); border-radius: 8px; box-shadow: 0 24px 48px rgba(0, 0, 0, .34); }
.experience-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }
.experience-poster-back { top: 50%; left: 11%; width: 38%; transform: translateY(-50%) rotate(-9deg); }
.experience-poster-front { top: 50%; right: 12%; width: 46%; transform: translateY(-50%) rotate(7deg); }
.journey-list { display: grid; grid-column: 2; grid-row: 2; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.journey-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.journey-list span { color: var(--accent-text); font-size: 20px; font-weight: 800; line-height: 1.4; }
.journey-list h3 { margin-bottom: 8px; font-size: 20px; line-height: 1.4; }
.journey-list p { max-width: 37em; margin-bottom: 0; color: var(--muted); font-size: 16px; }
.advantages-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.advantage-card { display: grid; grid-template-columns: 44px minmax(0, 1fr); align-content: start; column-gap: 18px; min-width: 0; padding: 26px; background: linear-gradient(150deg, rgba(255, 255, 255, .035), transparent 60%), var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: inset 0 1px rgba(255, 255, 255, .035), 0 14px 28px rgba(3, 3, 15, .12); }
.advantage-meta { display: grid; grid-row: 1 / span 2; place-items: center; width: 44px; height: 44px; color: var(--accent-text); background: rgba(225, 29, 72, .1); border: 1px solid rgba(240, 90, 117, .22); border-radius: 10px; }
.advantage-meta svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.advantage-card h3 { grid-column: 2; margin: 1px 0 7px; font-size: 19px; }
.advantage-card p { grid-column: 2; margin: 0; color: var(--muted); font-size: 15px; line-height: 1.65; }

.review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.review-card { display: flex; flex-direction: column; min-width: 0; padding: 24px; background: linear-gradient(150deg, rgba(255, 255, 255, .025), transparent 62%), var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: inset 0 1px rgba(255, 255, 255, .03); }
.review-card-head { display: flex; align-items: center; gap: 14px; }
.review-card-head > div { min-width: 0; }
.review-avatar { display: grid; flex: 0 0 44px; opacity: .7; place-items: center; width: 44px; height: 44px; color: var(--accent-text); background: rgba(225, 29, 72, .12); border: 1px solid rgba(240, 90, 117, .3); border-radius: 50%; font-size: 18px; font-weight: 800; }
.review-card h3 { margin: 0 0 4px; font-size: 17px; overflow-wrap: anywhere; }
.review-card-head p { margin: 0; color: var(--muted); font-size: 14px; }
.review-card blockquote { margin: auto 0 0; padding-top: 22px; }
.review-card blockquote p { margin: 0; font-size: 19px; font-weight: 600; line-height: 1.65; }

.closing {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(88px, 10vw, 144px) 24px;
  background: var(--background);
  border-block: 1px solid var(--line);
  text-align: center;
}
.closing::before,
.closing::after {
  background:
    linear-gradient(180deg, rgba(15, 15, 35, .78), rgba(15, 15, 35, .42) 58%, rgba(15, 15, 35, .88)),
    url("../images/hero-theatre.webp") right center / 200% auto no-repeat;
}
.closing > * { position: relative; z-index: 1; }
.closing h2 { margin-bottom: 18px; }
.closing > p { max-width: 32em; margin: 0 auto 30px; color: var(--muted); font-size: 17px; }

.faq { max-width: 800px; }
details { padding: 18px 0; border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { min-height: 44px; padding: 9px 34px 9px 0; cursor: pointer; font-size: 16px; font-weight: 700; }
details[open] summary { color: var(--accent-text); }
details p { max-width: 40em; margin: 8px 0 4px; color: var(--muted); }

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 64px), var(--max-width));
  min-height: 128px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
footer p { margin: 0; color: var(--faint); font-size: 14px; }

@media (max-width: 1024px) {
  nav { display: none; }
  .drama-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; }
  .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .experience { column-gap: 34px; }
  .hero { min-height: 760px; }
}

@media (max-width: 767px) {
  :root { --header-height: 64px; }
  .site-header {
    gap: 16px;
    padding-inline: 16px;
  }
  .brand { min-height: 44px; gap: 8px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-mark img { width: 28px; height: 28px; }
  .brand-mark { border-radius: 8px; }
  .brand-word { font-size: 19px; }
  nav { display: none; }
  .header-download { min-width: 72px; padding-inline: 16px; }
  .hero { min-height: 510px; padding: 72px 16px 24px; }
  .hero h1 { margin-bottom: 20px; font-size: clamp(44px, 11.5vw, 64px); }
  .hero-lede { max-width: 22em; margin-bottom: 28px; font-size: 16px; }
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); width: min(100%, 350px); gap: 10px; margin: 0 auto; }
  .hero-highlights { display: grid; width: max-content; max-width: 100%; gap: 12px; margin-top: 28px; text-align: left; }
  .button { width: 100%; min-height: 50px; }
  .button-secondary { border-color: transparent; background: transparent; }
  .button-secondary:hover { border-color: transparent; }
  .section { width: min(calc(100% - 32px), var(--max-width)); padding: 80px 0; }
  .section-heading { margin-bottom: 30px; }
  .section-heading > p:last-child { font-size: 16px; }
  .filter-toolbar { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 24px; }
  .category-filters { gap: 8px; }
  .filter-chip { min-width: 72px; min-height: 44px; padding: 8px 14px; }
  .drama-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .card-art { margin-bottom: 12px; }
  .drama-card h3 { font-size: 16px; }
  .drama-card p { font-size: 14px; }
  .experience { grid-template-columns: minmax(0, 1fr); }
  .experience-heading { grid-column: 1; grid-row: 1; margin-bottom: 28px; }
  .journey-list { grid-column: 1; grid-row: 2; }
  .experience-visual { grid-column: 1; grid-row: 3; min-height: 340px; margin-top: 30px; }
  .journey-list li { grid-template-columns: 28px minmax(0, 1fr); gap: 12px; padding: 24px 0; }
  .advantages-grid { grid-template-columns: 1fr; gap: 12px; }
  .advantage-card { padding: 22px; }
  .review-grid { grid-template-columns: 1fr; gap: 12px; }
  .review-card blockquote { padding-top: 20px; }
  .closing { padding: 88px 16px; }
  .closing > p { font-size: 16px; }
  footer { width: min(calc(100% - 32px), var(--max-width)); min-height: 116px; }
}

@media (prefers-contrast: more) {
  body::before { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
