:root {
  color-scheme: light;
  --plum: #16121e;
  --paper: #fbf6ef;
  --ink: #251a29;
  --muted: #695d6c;
  --peach: #ffc29d;
  --rule: #ded2db;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --serif: "Songti SC", "Noto Serif CJK SC", SimSun, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.65 var(--sans); }
h1, h2, h3, p, ul, figure { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible { outline: 2px solid #b46a99; outline-offset: 5px; }
[hidden] { display: none !important; }
.wrap { width: min(100% - clamp(2.5rem, 10vw, 10rem), 76rem); margin-inline: auto; }
.skip-link { position: fixed; z-index: 10; inset: .5rem auto auto .5rem; padding: .75rem 1rem; transform: translateY(-150%); background: var(--peach); color: var(--ink); }
.skip-link:focus { transform: none; }

.masthead { color: #fff6ef; background: var(--plum); border-bottom: 1px solid #413146; }
.header-row { display: flex; gap: 1.25rem; justify-content: space-between; align-items: center; min-height: 4.65rem; }
.wordmark { display: inline-flex; align-items: center; gap: .65rem; flex-shrink: 0; text-decoration: none; font-size: 1.16rem; font-weight: 800; letter-spacing: .1em; }
.brand-mark { width: 1.63rem; height: 1.63rem; position: relative; display: inline-block; color: var(--peach); }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; width: 1.17rem; height: 1.17rem; border: 1.5px solid currentColor; transform: rotate(-18deg); border-radius: 4px; }
.brand-mark::before { inset: .16rem auto auto .05rem; }
.brand-mark::after { inset: .32rem auto auto .39rem; opacity: .65; }
.header-row nav { display: flex; flex-wrap: wrap; gap: clamp(1rem, 4vw, 2.8rem); }
.header-row nav a { font-size: .9rem; text-decoration: none; }
.header-row nav a:hover, .header-row nav a[aria-current] { color: var(--peach); text-decoration: underline; }

.hero { position: relative; isolation: isolate; min-height: min(42rem, 80svh); display: grid; align-items: center; overflow: hidden; color: #fff8ef; background: #22152d; }
.hero-art { position: absolute; z-index: -1; inset: 0; background: #251832 url("assets/cinema.webp") center 56% / cover no-repeat; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 14, 30, .99), rgba(20, 14, 30, .88) 24%, rgba(20, 14, 30, .44) 54%, rgba(20, 14, 30, .07) 82%), linear-gradient(0deg, rgba(21, 13, 27, .38), transparent 45%); }
.hero-copy { padding-block: clamp(4.2rem, 9vw, 8.5rem); }
.hero h1, .support-head h1 { font-size: clamp(3.3rem, 7.9vw, 7.4rem); line-height: 1.1; letter-spacing: -.055em; font-weight: 850; }
.hero h1 em { color: var(--peach); font: inherit; }
.hero p { margin: 1.5rem 0 2rem; max-width: 24rem; font-size: clamp(1.05rem, 1.6vw, 1.24rem); line-height: 1.8; color: #f3e5ef; }
.button { display: inline-flex; min-height: 2.9rem; align-items: center; justify-content: center; padding: .65rem 1.2rem; font-weight: 750; border: 1px solid transparent; border-radius: .35rem; text-decoration: none; }
.primary { color: #241b26; background: var(--peach); }
.primary:hover { background: #ffd7bf; }
.secondary { background: transparent; color: #fef2ee; border-color: #a7899f; }
.secondary:hover { border-color: var(--peach); color: var(--peach); }

.features { padding-block: clamp(3.7rem, 9vw, 7.6rem); }
.feature-grid { display: grid; align-items: center; grid-template-columns: minmax(16rem, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 7vw, 6rem); }
.feature-copy h2, .privacy-row h2 { font-family: var(--serif); font-size: clamp(2.05rem, 4.5vw, 4.3rem); line-height: 1.16; letter-spacing: -.05em; }
.scene-list { list-style: none; padding: 0; margin-top: 2rem; border-top: 1px solid var(--rule); }
.scene-list li { border-bottom: 1px solid var(--rule); }
.scene-list a { position: relative; display: block; border-inline-start: 3px solid transparent; padding: .9rem .85rem .88rem; text-decoration: none; }
.scene-list a strong { display: block; font-size: 1.14rem; }
.scene-list a span { display: block; color: var(--muted); font-size: .935rem; }
.scene-list a:hover { background: #f1e8ed; }
.scene-list a[aria-selected="true"] { border-inline-start-color: #935a87; background: #efe3ed; }
.scene-stage { display: grid; gap: 1.2rem; }
.scene { min-width: 0; position: relative; isolation: isolate; min-height: 21.6rem; border-radius: 1rem; padding: clamp(1.25rem, 3.5vw, 2.6rem); background: #2e2134; color: #fbeee8; overflow: hidden; box-shadow: 0 22px 50px rgba(42, 18, 43, .15); }
.scene-heading { display: flex; gap: .75rem; align-items: baseline; justify-content: space-between; margin-bottom: 1.1rem; }
.scene-heading h3 { font-size: 1.23rem; font-weight: 750; }
.scene-heading span { color: #ead2e5; font-size: .87rem; white-space: nowrap; }
.film-board { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(.65rem, 3vw, 1.45rem); }
.film-item { min-width: 0; }
.poster { aspect-ratio: 10 / 11; border: 1px solid #a88da290; border-radius: .4rem; background-color: #612f62; }
.poster-rain { background-image: linear-gradient(155deg, #21152823, #211528a3), url("assets/cinema.webp"); background-size: cover; background-position: 75% center; }
.poster-sunset { background-image: radial-gradient(circle at 62% 39%, #ffc18b 0 9%, transparent 9.4%), linear-gradient(156deg, transparent 0 59%, #39244e 59.5% 69%, #271a3b 69.5%), linear-gradient(175deg, #69476c, #bf7c83 63%, #3b234e 64%); }
.film-item figcaption { font-family: var(--serif); font-size: clamp(.96rem, 2.1vw, 1.35rem); margin-top: .6rem; }
.music-scene { background: #39284a; }
.record { float: right; width: min(44%, 12.5rem); aspect-ratio: 1; margin: .55rem -.15rem .4rem .65rem; border-radius: 50%; background: radial-gradient(circle, var(--peach) 0 4%, #a9689b 4.5% 19%, #21182c 19.5% 25%, transparent 26%), repeating-radial-gradient(circle, #2c2037 0 3px, #4b3757 4px 5px); box-shadow: 10px 14px 24px #1c142a94; }
.track-list { list-style: none; padding: 0; }
.track-list li { padding: .85rem 0; border-bottom: 1px solid #8b7595; }
.chat-scene { background: #352436; }
.chat-message { max-width: 90%; width: fit-content; margin-top: 1.05rem; border-radius: .75rem .75rem .1rem .75rem; padding: .65rem .9rem; font-size: .95rem; }
.chat-message.outgoing { margin-left: auto; color: var(--ink); background: #edc0af; }
.chat-message.incoming { color: #fcf0e9; background: #604767; border-radius: .75rem .75rem .75rem .1rem; }
.share-message { display: flex; align-items: center; gap: .75rem; }
.film-share { border-radius: .25rem; background: #634663; color: #fae3d8; padding: .35rem .6rem; font-family: var(--serif); }
.chat-message small, .chat-message strong { display: block; }
.chat-message small { color: #64505f; }

.privacy-band { background: #372638; color: #fff4ec; }
.privacy-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; padding-block: clamp(2.6rem, 6vw, 4.5rem); }
.privacy-row h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); }
.privacy-row p { margin-top: .75rem; color: #e8d9e7; }
.footer { color: #e8d7e3; background: var(--plum); padding-block: 2rem; }
.footer-row { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 1.1rem 2rem; }
.filings, .footer-links { display: flex; flex-wrap: wrap; gap: .45rem 1.35rem; font-size: .875rem; }
.footer a:hover { color: var(--peach); }

.support-head { color: #fff4ec; background: linear-gradient(120deg, #241a2e, #4b3147); padding-block: clamp(3rem, 7vw, 6rem); }
.support-head h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
.support-head p { margin-top: 1.2rem; color: #f0dbe8; }
.support-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(14rem, .37fr); align-items: start; gap: clamp(2rem, 7vw, 6rem); padding-block: clamp(3rem, 8vw, 6rem); }
.faq h2, .support-aside h2 { font-family: var(--serif); font-size: 1.75rem; margin-bottom: 1rem; }
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: 1.05rem .1rem; color: var(--ink); font-size: 1.05rem; font-weight: 750; }
.faq summary::marker { color: #8c4b75; }
.faq details p { padding: 0 .45rem 1.1rem 1.2rem; color: var(--muted); }
.faq a, .support-aside a { color: #753c68; }
.support-aside { border: 1px solid var(--rule); border-radius: .6rem; padding: 1.15rem 1.35rem; background: #f6ebef; }
.support-aside a { display: block; padding-block: .45rem; }
.support-aside .contact-note { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .94rem; }

@media (max-width: 52rem) {
  .feature-grid, .support-layout { grid-template-columns: minmax(0, 1fr); }
  .scene-stage { max-width: 34rem; width: 100%; }
  .hero-art { background-position: 65% center; }
}

@media (max-width: 35rem) {
  .header-row { min-height: 0; padding-block: .85rem; gap: .75rem; align-items: flex-start; flex-direction: column; }
  .header-row nav { gap: .5rem 1.2rem; }
  .header-row nav a { padding-block: .15rem; }
  .hero { min-height: 31rem; align-items: end; }
  .hero-copy { padding-block: 2.2rem 3rem; }
  .hero-art { background-position: 70% center; }
  .hero-art::after { background: linear-gradient(0deg, #16101eed 7%, #17101ee8 32%, #17101e78 67%, #17101e26), linear-gradient(90deg, #17101e77, #17101e0f); }
  .hero p { margin-top: 1.05rem; }
  .scene { min-height: 18rem; }
  .footer-row { flex-direction: column; }
}

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