:root {
  color-scheme: dark;
  --bg: #0b1017;
  --raised: #101822;
  --panel: #131d28;
  --ink: #f5f1e9;
  --muted: #aab7c5;
  --gold: #f2bf7b;
  --border: #263441;
  --width: 1200px;
  font-family: "Inter", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  scroll-behavior: smooth;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, summary { cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }
[id] { scroll-margin-top: 95px; }
.shell { width: min(var(--width), calc(100% - 96px)); margin-inline: auto; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon, .card-icon, .brand svg {
  width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.skip-link { position: fixed; z-index: 5; top: -100px; left: 16px; padding: 12px; background: var(--gold); color: #14100c; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; z-index: 4; top: 0; background: #0b1017f2; border-bottom: 1px solid #ffffff14; backdrop-filter: blur(14px); }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; white-space: nowrap; font-size: 16px; font-weight: 750; }
.brand svg { width: 31px; height: 31px; color: var(--gold); }
.header-inner nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); color: #c5ced7; font-size: 14px; white-space: nowrap; }
.header-inner nav a { padding: 12px 0; transition: color .15s; }
.header-inner nav a:hover, .text-link:hover { color: #ffe1ac; }
.official { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid #4a3e32; border-radius: 5px; font-size: 13px; color: var(--gold); white-space: nowrap; }
.official:hover { background: #f2bf7b12; }
.official .icon { width: 15px; height: 15px; }
.header-actions { display: flex; align-items: center; gap: 8px; }
#site-language, .locale-switcher summary { min-height: 32px; padding: 4px 7px; color: var(--ink); background: var(--raised); border: 1px solid var(--border); border-radius: 5px; font: inherit; font-size: 13px; cursor: pointer; }
#site-language:hover, .locale-switcher summary:hover { border-color: var(--gold); }
.locale-switcher { position: relative; }
.locale-switcher summary { display: flex; align-items: center; gap: 5px; list-style: none; white-space: nowrap; }
.locale-switcher summary::-webkit-details-marker { display: none; }
.locale-switcher summary .icon { width: 14px; height: 14px; }
.locale-options { position: absolute; inset: calc(100% + 5px) 0 auto auto; width: max-content; min-width: 100%; z-index: 1; list-style: none; margin: 0; padding: 4px; border: 1px solid var(--border); border-radius: 6px; background: var(--raised); font-size: 13px; }
.locale-options a { display: block; padding: 7px 10px; border-radius: 3px; white-space: nowrap; }
.locale-options a:hover, .locale-options a[aria-current="page"] { background: var(--panel); color: var(--gold); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(460px, 40vw, 635px);
  display: flex;
  background: #101c2c linear-gradient(100deg, #080e1b 0%, #0c1423 23%, #0c142354 55%, #111a2a00 78%);
}
.hero::before, .hero::after { position: absolute; z-index: -1; inset: 0; content: ""; }
.hero::before { background: url("./assets/hero.jpg") 58% 45% / cover no-repeat; }
.hero::after {
  background: linear-gradient(90deg, #090e18fa 1%, #0b1222f0 22%, #0e162873 48%, #0a112503 75%),
              linear-gradient(0deg, #0b1017 0%, #0b101777 15%, #0b101700 50%);
}
.hero-inner { display: flex; position: relative; align-items: center; padding-block: 66px 94px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font: 600 12px/1.35 Consolas, "Courier Prime", monospace; color: var(--gold); letter-spacing: .17em; }
.eyebrow-line { display: inline-block; width: 26px; height: 1px; background: currentColor; }
.hero h1 { margin-top: 20px; font-size: clamp(47px, 5.3vw, 82px); font-weight: 850; line-height: 1.02; letter-spacing: -.06em; text-shadow: 0 4px 30px #03060566; }
.hero h1 .game-title { display: block; }
.hero h1 .update-title { display: block; margin-top: 8px; font-size: 1.26em; color: var(--gold); }
:lang(en) .hero h1 { font-size: clamp(31px, 4.7vw, 72px); }
.hero-description { margin-top: 25px; color: #d5deeb; font-size: clamp(15px, 1.4vw, 18px); line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { min-height: 47px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; padding: 0 17px; border-radius: 5px; font-size: 14px; font-weight: 750; transition: background .15s, border-color .15s; }
.button-gold { color: #1e160e; background: var(--gold); }
.button-gold:hover { background: #ffd79e; }
.button-ghost { border-color: #c6d0df55; background: #111c2b82; }
.button-ghost:hover { background: #293646; border-color: #c6d0df88; }
.button .icon { width: 18px; height: 18px; }

.milestones { background: var(--raised); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.milestone-list { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; margin-block: 0; }
.milestone-list li { display: flex; min-height: 84px; align-items: center; gap: 15px; padding: 14px clamp(12px, 3vw, 42px); border-right: 1px solid var(--border); }
.milestone-list li:first-child { padding-left: 0; }
.milestone-list li:last-child { border: 0; }
.milestone-dot { width: 9px; height: 9px; flex: 0 0 9px; border: 1px solid #7b90a5; border-radius: 50%; }
.milestone-dot.done { background: var(--gold); border-color: var(--gold); }
.milestone-dot.next { border-color: var(--gold); box-shadow: 0 0 0 4px #f2bf7b20; }
.milestone-date { display: block; color: var(--gold); font-size: 13px; font-variant-numeric: tabular-nums; font-weight: 650; }
.milestone-zone { margin-left: 5px; color: var(--muted); font-size: 11px; font-weight: 400; }
.milestone-list strong { display: block; margin-top: 5px; font-size: 15px; }

.section { padding-block: clamp(47px, 5.8vw, 83px); }
.section-head { display: flex; align-items: end; gap: 16px; justify-content: space-between; margin-bottom: 25px; }
.section h2 { font-size: clamp(28px, 3vw, 41px); line-height: 1.2; letter-spacing: -.038em; }
.section-head p, .section-intro { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.text-link { display: inline-flex; align-items: center; gap: 4px; width: fit-content; margin-bottom: 2px; color: var(--gold); font-size: 13px; font-weight: 650; white-space: nowrap; }
.text-link .icon { width: 16px; height: 16px; }
.change-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.change-card { background: linear-gradient(145deg, #172230, #101821); border: 1px solid var(--border); border-radius: 7px; padding: 23px 21px 24px; }
.card-icon { width: 25px; height: 25px; color: var(--gold); margin-bottom: 15px; }
.change-card h3, .trailer-notes h3 { margin-bottom: 8px; font-size: 17px; line-height: 1.45; }
.change-card p, .trailer-notes article > p:last-child { color: var(--muted); line-height: 1.7; font-size: 14px; }

.questions a:hover { text-decoration: underline; }

.trailer-layout { display: grid; grid-template-columns: 1.22fr 1fr; gap: clamp(24px, 4vw, 54px); align-items: center; }
.trailer-poster { position: relative; display: grid; place-items: center; width: 100%; padding: 0; isolation: isolate; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 7px; border: 1px solid #596270; background: #152436; }
.trailer-poster img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.trailer-poster::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #090f1aef, #121b2b24 68%); }
.trailer-poster:hover img { transform: scale(1.035); }
.poster-play { display: grid; place-items: center; width: 55px; height: 55px; background: #f2bf7bee; color: #18110b; border-radius: 50%; }
.poster-play .icon { width: 23px; height: 23px; }
.poster-label { position: absolute; bottom: 17px; left: 21px; font-weight: 750; }
.trailer-notes article { padding: 14px 0; border-bottom: 1px solid var(--border); }
.trailer-notes article:first-child { padding-top: 0; }
.trailer-notes article:last-child { padding-bottom: 0; border: 0; }
.note-label { color: var(--gold); font-size: 12px; font-weight: 650; margin-bottom: 5px; }
.trailer-notes h3 { margin-bottom: 5px; }

.faq-section { border-block: 1px solid var(--border); background: var(--raised); }
.faq-layout { display: grid; grid-template-columns: minmax(195px, 1fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 60px); }
.faq-layout .text-link { margin-top: 15px; }
.questions { border-top: 1px solid #465260; }
.questions details { border-bottom: 1px solid #465260; }
.questions summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0; font-size: 16px; font-weight: 700; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary .icon { color: var(--gold); transition: transform .15s; }
.questions details[open] summary .icon { transform: rotate(180deg); }
.questions details p { color: var(--muted); padding: 0 24px 19px 0; line-height: 1.75; font-size: 14px; }
.questions a { color: var(--gold); }

.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding-block: 30px; }
.footer-inner p { margin-top: 9px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.footer-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 18px; }
.privacy-link { background: none; border: 0; padding: 0; }
.privacy-link[hidden] { display: none; }
.analytics-notice { position: fixed; z-index: 6; inset: auto auto 18px 18px; width: min(430px, calc(100% - 36px)); max-height: calc(100vh - 36px); overflow: auto; padding: 17px; border: 1px solid var(--border); border-radius: 8px; background: var(--raised); box-shadow: 0 10px 36px #0008; }
.analytics-notice h2 { font-size: 16px; }
.analytics-notice p { margin-block: 8px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.analytics-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.analytics-actions .button { min-height: 35px; font-size: 13px; }
.analytics-actions .button[aria-pressed="true"] { border-color: var(--gold); }
dialog { width: min(850px, calc(100% - 30px)); max-height: calc(100% - 30px); padding: 0; border: 1px solid #536071; border-radius: 8px; background: var(--raised); color: var(--ink); box-shadow: 0 20px 78px #000a; }
dialog::backdrop { background: #000b; backdrop-filter: blur(4px); }
.player-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 12px 15px; }
.player-head h2 { font-size: 16px; }
.close-dialog { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 5px; background: var(--panel); }
.close-dialog:hover { border-color: var(--gold); color: var(--gold); }
.player-slot { aspect-ratio: 16 / 9; background: #020407; }
.player-slot iframe { display: block; width: 100%; height: 100%; border: 0; }
.player-notice { display: grid; place-items: center; min-height: 100%; padding: 24px; color: var(--muted); text-align: center; line-height: 1.7; }

@media (max-width: 900px) {
  .shell { width: calc(100% - 56px); }
  .change-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero::before { background-position: 64% center; }
  .header-inner { gap: 13px; }
}
@media (max-width: 740px) {
  [id] { scroll-margin-top: 111px; }
  .shell { width: calc(100% - 32px); }
  .header-inner { min-height: 0; flex-wrap: wrap; padding-top: 10px; gap: 4px 10px; }
  .header-inner nav { order: 3; width: 100%; justify-content: space-between; gap: 8px; font-size: 12px; }
  .header-inner nav a { padding-block: 10px; }
  .brand { font-size: 15px; }
  .brand svg { width: 27px; height: 27px; }
  .hero { min-height: 500px; }
  .hero::before { background-position: 70% top; background-size: auto 74%; }
  .hero::after { background: linear-gradient(0deg, #0b1017 0%, #0b1017 25%, #0b10177d 72%, #0b10171c 100%), linear-gradient(90deg, #0b10179c, #0b101700 80%); }
  .hero-inner { align-items: end; padding-block: 158px 61px; }
  .hero h1 { margin-top: 15px; }
  .hero h1 .update-title { margin-top: 5px; }
  .hero-description { margin-top: 17px; }
  .hero-actions { margin-top: 19px; gap: 8px; }
  .button { min-height: 42px; padding-inline: 10px; font-size: 12px; }
  .milestone-list li { gap: 7px; padding-inline: 8px; min-height: 72px; }
  .milestone-dot { width: 6px; height: 6px; flex-basis: 6px; }
  .milestone-date, .milestone-list strong { font-size: 11px; }
  .milestone-zone { display: none; }
  .section-head { align-items: flex-start; gap: 9px; margin-bottom: 19px; }
  .section-head .text-link { margin-top: 5px; }
  .section-head p, .section-intro { font-size: 13px; }
  .change-grid { gap: 9px; }
  .change-card { padding: 14px 12px 17px; }
  .card-icon { width: 21px; height: 21px; margin-bottom: 8px; }
  .change-card h3 { font-size: 14px; }
  .change-card p { font-size: 12px; }
  .trailer-layout, .faq-layout { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; }
}
@media (max-width: 420px) {
  .header-actions .official { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
