:root {
  color-scheme: dark;
  scrollbar-color: #555d68 transparent;
  scrollbar-width: thin;
  --background: #0c0d0f;
  --surface: #15181e;
  --border: #22252b;
  --text: #fafafa;
  --muted: #a2aab6;
  --subtle: #89919d;
  --accent: #ff5938;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--background);
  color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { max-width: 1440px; min-height: 100vh; margin: 0 auto; display: flex; flex-direction: column; }
main { flex: 1; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

.container { width: min(1200px, 100% - 64px); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--border); }
.header-inner { min-height: 83px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.brand-mark { width: 28px; height: 28px; border-radius: 6px; object-fit: contain; flex: none; }
.play-symbol::after { content: ""; width: 0; height: 0; border-block: 6px solid transparent; border-left: 9px solid currentColor; transform: translateX(1px); }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 28px; color: var(--muted); font-size: 14px; }
nav a:hover { color: var(--text); }
nav span { margin-right: 6px; }

.hero {
  background: radial-gradient(ellipse 38% 58% at 73% 47%, #47231c 0%, transparent 80%), linear-gradient(#0a0b0d, #121317 58%, #0b0c0e);
  border-bottom: 1px solid var(--border);
}
.hero-inner { min-height: 747px; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(24px, 5vw, 80px); padding-block: 60px; }
.hero-copy { padding-top: 20px; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid #35373c; border-radius: 99px; background: #15181d; color: #c8ced6; font: 11px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.hero-tag::before { content: ""; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--accent); }
.hero h1 { margin-top: 24px; font-size: clamp(40px, 4.6vw, 66px); line-height: 1.07; letter-spacing: -.045em; }
.hero h1 em { display: block; margin-top: .37em; color: #ff785b; font-family: "Instrument Serif", "Baskerville", "Times New Roman", serif; font-size: 1.11em; font-weight: 400; letter-spacing: -.035em; }
.hero-description { max-width: 540px; margin-top: 26px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.cta { display: inline-flex; align-items: center; min-height: 54px; margin-top: 26px; padding: 12px 30px; border-radius: 99px; background: var(--accent); color: #0b0c0e; font-weight: 700; }
.cta:focus-visible { background: #ff785b; }

/* 海报以同一参考框定位，窄屏缩放时保留三张图的重叠关系。 */
.hero-art { position: relative; width: 100%; max-width: 520px; aspect-ratio: 520 / 540; justify-self: end; transform: translateY(-8px); container-type: inline-size; }
.side-poster, .player { position: absolute; overflow: hidden; background: #15181d; }
.side-poster { width: 32%; height: 40%; border: 1px solid #ffffff20; border-radius: 3cqw; }
.poster-left { left: 0; top: 36%; }
.poster-right { right: 0; top: 43%; text-align: right; }
.side-poster::after, .player::after, .genre-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, #08090ceb); }
.poster-label { position: absolute; inset: auto 7% 10%; z-index: 1; font-size: 2.5cqw; }
.poster-label span { display: block; margin-top: .5em; font: 1.75cqw var(--mono); letter-spacing: .15em; }
.player { inset: 0 25.4%; border: 1px solid #ffffff26; border-radius: 8cqw; box-shadow: inset 0 0 0 6px #1b1e23, 0 20px 36px #0008; }
.player img, .player::after { position: absolute; inset: 1.3%; width: 97.4%; height: 97.4%; border-radius: 7cqw; }
.player::after { background: linear-gradient(#08090c55, transparent 20%, transparent 54%, #08090cdb); }
.player-top, .player-caption, .play-symbol { position: absolute; z-index: 1; }
.player-top, .player-details { display: flex; justify-content: space-between; }
.player-top { inset: 5% 9% auto; font: 1.9cqw var(--mono); }
.play-symbol { top: 50%; left: 50%; translate: -50% -50%; display: grid; place-items: center; width: 11cqw; aspect-ratio: 1; border-radius: 50%; border: 1px solid #ffffff55; background: #0b0c0e; }
.player-caption { inset: auto 9% 16.5%; font-size: 2.5cqw; }
.progress { height: 3px; margin-block: 5% 6%; border-radius: 3px; background: linear-gradient(to right, var(--accent) 62%, #ffffff55 62%); }
.player-details { font-size: 2.05cqw; gap: 4px; }
.player-details span:last-child { font-family: var(--mono); color: #ffd0bf; white-space: nowrap; }

.catalogue, .features { border-bottom: 1px solid var(--border); padding-block: 86px; }
.catalogue { min-height: 580px; }
.features { min-height: 710px; background: #0e1114; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; }
.section-heading > p { width: 35%; color: var(--muted); font-size: 16px; line-height: 1.65; }
.features .section-heading > p { width: 33.33%; }
.eyebrow, .number { font: 11px/1.5 var(--mono); letter-spacing: .13em; }
.eyebrow { color: var(--subtle); text-transform: uppercase; margin-bottom: 14px; }
.section-heading h2 { font-size: clamp(32px, 3.35vw, 46px); line-height: 1.12; letter-spacing: -.04em; }
.genre-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.genre-card { position: relative; min-width: 0; aspect-ratio: 2 / 3; border-radius: 14px; overflow: hidden; isolation: isolate; background: var(--surface); }
.genre-card img { position: absolute; inset: 0; }
.genre-card::after { background: linear-gradient(transparent 47%, #08090c55 66%, #08090c 100%); z-index: 0; }
.genre-card > div { position: absolute; z-index: 1; inset: auto 16px 16%; }
.genre-card h3 { font-size: 17px; line-height: 1.2; }
.genre-card p { margin-top: 6px; color: #b7bec7; font-size: 12px; line-height: 1.4; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.feature-card { min-height: 168px; padding: 24px 25px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.feature-meta { display: flex; justify-content: space-between; align-items: start; margin-bottom: 16px; }
.number { color: var(--accent); }
.feature-meta .number { margin: 2px 6px 0 0; }
.feature-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #35221c; color: var(--accent); }
.feature-icon i { position: relative; display: block; }
.phone { width: 14px; height: 23px; border: 2px solid; border-radius: 4px; }
.phone::after { content: ""; position: absolute; width: 4px; height: 2px; background: currentColor; bottom: 2px; left: 3px; }
.clock { width: 21px; height: 21px; border: 2px solid; border-radius: 50%; }
.clock::after { content: ""; position: absolute; top: 3px; left: 8px; width: 6px; height: 7px; border-left: 2px solid; border-bottom: 2px solid; transform: skewY(30deg); }
.captions { width: 22px; height: 17px; border: 2px solid; border-radius: 4px; }
.captions::after { content: ""; position: absolute; top: 4px; left: 3px; width: 12px; height: 5px; background: linear-gradient(currentColor,currentColor) top left / 100% 1px no-repeat, linear-gradient(currentColor,currentColor) bottom left / 65% 1px no-repeat; }
.signal { width: 20px; height: 18px; background: linear-gradient(currentColor,currentColor) bottom left / 2px 25% no-repeat, linear-gradient(currentColor,currentColor) bottom 0 left 6px / 2px 50% no-repeat, linear-gradient(currentColor,currentColor) bottom 0 left 12px / 2px 75% no-repeat, linear-gradient(currentColor,currentColor) bottom right / 2px 100% no-repeat; }
.feature-card h3 { font-size: 19px; line-height: 1.35; }
.feature-card p { margin-top: 16px; color: var(--muted); font-size: 14px; line-height: 1.6; }

.site-footer { min-height: 81px; display: flex; align-items: center; justify-content: center; gap: 20px; padding: 18px 20px; background: #0a0b0d; }
.site-footer .brand { font-size: 17px; }
.site-footer .brand-mark { width: 26px; height: 26px; }
.site-footer small { color: var(--subtle); border-left: 1px solid #30343a; padding-left: 20px; font-size: 13px; }

.legal-page .container { max-width: 960px; }
.legal-page .header-inner { min-height: 76px; }
.legal-page .header-inner .brand { font-size: 15px; }
.legal-page .header-inner .brand-mark { width: 22px; height: 22px; }
.legal-content { min-height: 1183px; padding-block: 70px 96px; }
.legal-heading { padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.legal-heading h1 { font-size: clamp(36px, 5vw, 52px); line-height: 1.15; letter-spacing: -.035em; }
.legal-heading p { margin-top: 24px; color: var(--subtle); font: 12px/1.5 var(--mono); letter-spacing: .05em; }
.legal-sections { display: grid; gap: 36px; max-width: 720px; padding-top: 20px; }
.legal-sections h2 { margin: 8px 0 12px; font-size: 21px; line-height: 1.35; }
.legal-sections section > p:not(.number), .legal-sections li { color: var(--muted); font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
/* biome-ignore lint/style/noDescendingSpecificity: 与上方段落规则分别控制间距和文字样式。 */
.legal-sections section > p + p, .legal-sections :is(ul, ol) + p { margin-top: 12px; }
.legal-sections h3 { margin: 14px 0 8px; font-size: 16px; line-height: 1.5; }
.legal-sections :is(ul, ol) { margin: 8px 0 12px; padding-inline-start: 1.4em; }
.legal-sections ul { list-style: disc; }
.legal-sections li + li { margin-top: 4px; }
.legal-sections a { text-decoration: underline; text-underline-offset: .2em; }
.privacy-page .legal-sections strong { color: var(--text); }
.legal-page .site-footer { border-top: 1px solid var(--border); }

/* 桌面按标注保留区块高度，窄屏由内容和网格行数撑开。 */
@media (max-width: 1080px) {
  .hero-inner { min-height: 0; }
  .catalogue, .features { min-height: 0; padding-block: 64px; }
  .genre-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .genre-card { aspect-ratio: 4 / 5; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .header-inner, .legal-page .header-inner { min-height: 68px; }
  .header-inner .brand { font-size: 14px; gap: 7px; }
  .header-inner .brand-mark { width: 23px; height: 23px; }
  nav { gap: 6px 12px; font-size: 12px; justify-content: end; }
  .hero { background: radial-gradient(ellipse 80% 45% at 50% 72%, #44221c, transparent 82%), linear-gradient(#0a0b0d, #121317 55%, #0b0c0e); }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-block: 48px; }
  .hero-copy { padding-top: 0; }
  .hero h1 { font-size: clamp(37px, 8vw, 58px); }
  .hero-description { margin-top: 20px; font-size: 16px; }
  .hero-art { max-width: 440px; justify-self: center; transform: none; }
  .section-heading { align-items: start; flex-direction: column; gap: 12px; margin-bottom: 28px; }
  .section-heading > p, .features .section-heading > p { width: auto; }
  .catalogue, .features { padding-block: 48px; }
  .feature-grid { gap: 14px; }
  .feature-card { padding: 18px; }
  .legal-content { min-height: 0; padding-block: 44px 64px; }
}
@media (max-width: 520px) {
  .genre-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .genre-card { aspect-ratio: 2 / 3; }
  .genre-card > div { inset: auto 12px 10%; }
  .genre-card h3 { font-size: 16px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .site-footer { flex-direction: column; gap: 10px; }
  .site-footer small { border: 0; padding: 0; }
}
/* 只在支持悬停的设备上启用反馈，避免触屏点击后残留悬停样式。 */
@media (hover: hover) and (pointer: fine) {
  .cta { transition: background-color 160ms ease, transform 160ms ease; }
  .cta:hover { background: #ff785b; transform: translateY(-2px); }
  .cta:active { transform: translateY(0); }
  .genre-card img { transition: transform 220ms ease, filter 220ms ease; }
  .genre-card:hover img { transform: scale(1.035); filter: brightness(1.08); }
  .feature-card { transition: background-color 180ms ease, border-color 180ms ease; }
  .feature-card:hover { background: #191d24; border-color: #39323a; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cta, .genre-card img, .feature-card { transition: none; }
  .cta:hover, .genre-card:hover img { transform: none; }
}
