@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;600;700&family=Cinzel:wght@500;600;700&family=Inter:wght@400;500;600&display=swap");

:root {
  --black: #050303;
  --surface: #0c0806;
  --paper: #e9dfce;
  --muted: #a69a8b;
  --gold: #d0a05a;
  --gold-bright: #f0c879;
  --blood: #a42516;
  --line: rgba(233, 223, 206, 0.17);
  --display: "Cinzel", Georgia, serif;
  --condensed: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body { margin: 0; background: var(--black); color: var(--paper); font: 400 16px/1.65 var(--body); }
body::selection, body *::selection { background: var(--blood); color: #fff7e8; }
body::-webkit-scrollbar { width: 11px; }
body::-webkit-scrollbar-track { background: var(--black); }
body::-webkit-scrollbar-thumb { border: 3px solid var(--black); background: #5f4936; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
a:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 5px; }

.site-header { position: absolute; z-index: 20; inset: 0 0 auto; height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 clamp(24px, 4vw, 68px); border-bottom: 1px solid rgba(255,255,255,.12); background: linear-gradient(180deg, rgba(5,3,3,.82), rgba(5,3,3,.15)); }
.wordmark { font: 600 13px/1 var(--condensed); letter-spacing: .18em; text-transform: uppercase; }
.wordmark b { margin-left: 7px; color: var(--gold-bright); font: 600 19px/1 var(--display); letter-spacing: -.02em; }
.primary-nav { display: flex; gap: 34px; font: 500 13px/1 var(--condensed); letter-spacing: .08em; text-transform: uppercase; }
.primary-nav a, .store-link, footer a { transition: color .2s ease; }
.primary-nav a:hover, footer a:hover { color: var(--gold-bright); }
.store-link { justify-self: end; min-width: 112px; padding: 11px 18px; border: 1px solid rgba(240,200,121,.65); color: var(--gold-bright); text-align: center; font: 600 13px/1 var(--condensed); letter-spacing: .08em; text-transform: uppercase; transition: background .2s ease, color .2s ease; }
.store-link:hover { background: var(--gold-bright); color: #130b06; }

.language-rail { position: fixed; z-index: 30; right: 13px; top: 50%; display: flex; flex-direction: column; align-items: center; transform: translateY(-50%); border: 1px solid var(--line); background: rgba(7,4,3,.88); box-shadow: 0 14px 40px rgba(0,0,0,.34); }
.language-rail a { min-width: 44px; padding: 10px 7px; border-bottom: 1px solid var(--line); color: #8f8579; text-align: center; font: 600 11px/1 var(--condensed); }
.language-rail a:last-child { border-bottom: 0; }
.language-rail a:hover, .language-rail a[aria-current="page"] { background: var(--gold); color: #100906; }

.hero { position: relative; min-height: 940px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr); align-items: center; gap: clamp(45px, 7vw, 120px); padding: 120px clamp(42px, 8vw, 150px) 70px; isolation: isolate; }
.hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, rgba(5,3,3,.99) 0 44%, rgba(5,3,3,.28) 73%, rgba(5,3,3,.9)), url("assets/dungeon-streak.jpg") 82% 37% / 48% auto no-repeat; filter: saturate(.72) contrast(1.1); }
.hero::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 34%; background: linear-gradient(0deg, var(--black), transparent); pointer-events: none; }
.hero-copy { max-width: 760px; }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 600; line-height: .8; letter-spacing: -.035em; text-transform: uppercase; }
.hero h1 span { display: block; font-size: clamp(62px, 7vw, 112px); }
.hero h1 strong { display: block; margin: 6px 0 0 -4px; color: var(--gold-bright); font-size: clamp(105px, 14vw, 208px); font-weight: 600; text-shadow: 0 14px 48px rgba(0,0,0,.62); }
.hero h1 em { margin-left: 7px; color: var(--paper); font: 500 .27em/1 var(--condensed); letter-spacing: 0; text-transform: lowercase; }
.hero-line { margin: 38px 0 18px; color: #f2e7d5; font: 500 clamp(25px, 2.5vw, 39px)/1.08 var(--condensed); letter-spacing: .01em; }
.hero-body { max-width: 590px; margin: 0; color: #b6aa9d; font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 34px; }
.hero-actions > span { color: #938779; font: 500 13px/1 var(--condensed); letter-spacing: .08em; text-transform: uppercase; }
.download-button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 0 25px; background: var(--gold-bright); color: #150c07; font: 700 14px/1 var(--condensed); letter-spacing: .06em; text-transform: uppercase; box-shadow: 0 16px 36px rgba(0,0,0,.25); transition: transform .25s cubic-bezier(.16,1,.3,1), background .2s ease; }
.download-button:hover { transform: translateY(-3px); background: #ffe0a0; }

.hero-media { position: relative; justify-self: center; width: min(100%, 430px); }
.video-shell { position: relative; overflow: hidden; aspect-ratio: 888 / 1920; background: #000; box-shadow: 28px 40px 90px rgba(0,0,0,.7); }
.video-shell::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(240,200,121,.34); box-shadow: inset 0 0 0 8px rgba(0,0,0,.16); pointer-events: none; }
.video-shell video { width: 100%; height: 100%; object-fit: cover; }
.skills-demo { width: min(100%, 430px); margin-inline: auto; }
.depth-panel { position: absolute; right: -82px; bottom: 84px; width: 208px; padding: 21px 22px 18px; background: #110b08; box-shadow: 13px 18px 50px rgba(0,0,0,.54); }
.depth-panel > span { color: var(--gold); font: 600 11px/1 var(--condensed); letter-spacing: .16em; }
.depth-panel b { display: block; margin-top: 8px; font: 600 45px/.9 var(--display); letter-spacing: -.03em; }
.depth-panel small { margin-left: 4px; color: var(--gold); font: 500 18px/1 var(--condensed); }
.depth-panel i { display: block; height: 3px; margin: 16px 0; background: linear-gradient(90deg, var(--blood) 0 23%, #30241c 23%); }
.depth-panel p { margin: 0; color: #9f9285; font: 500 13px/1.35 var(--condensed); }
.live-mark { position: absolute; top: 22px; left: -46px; display: flex; align-items: center; gap: 9px; padding: 10px 13px; background: rgba(7,4,3,.9); font: 600 11px/1 var(--condensed); letter-spacing: .14em; }
.live-mark span { width: 7px; height: 7px; background: #d74426; }

.descent { padding: 140px clamp(42px, 8vw, 150px) 170px; background: var(--black); }
.descent-heading { display: grid; grid-template-columns: 1.15fr .65fr; gap: 10vw; align-items: end; max-width: 1260px; margin: 0 auto 80px; }
.descent h2, .combat-title h2, .qa h2, .final-cta h2 { margin: 0; font: 600 clamp(48px, 6vw, 88px)/.98 var(--display); letter-spacing: -.035em; }
.descent-heading p, .combat-title > p, .qa-heading > p { margin: 0; color: var(--muted); }
.depth-scale { max-width: 1260px; display: grid; grid-template-columns: auto 1fr auto 1fr auto 1fr auto; align-items: center; gap: 13px; margin: 0 auto 46px; color: #756a60; font: 500 12px/1 var(--condensed); font-variant-numeric: tabular-nums; }
.depth-scale span:last-child { color: var(--gold-bright); }
.depth-scale i { height: 1px; background: #30251e; }
.screenshot-grid { max-width: 1260px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 46px); align-items: start; margin: 0 auto; }
.shot { min-width: 0; margin: 0; }
.shot img { width: 100%; aspect-ratio: 1284 / 2180; object-fit: cover; object-position: top; background: #0a0705; box-shadow: 0 28px 72px rgba(0,0,0,.46); filter: saturate(.88) contrast(1.06); }
.shot figcaption { display: grid; gap: 5px; padding: 18px 2px 0; }
.shot figcaption b { color: var(--gold-bright); font: 600 21px/1.1 var(--condensed); text-transform: uppercase; }
.shot figcaption span { color: #8f8377; font-size: 13px; line-height: 1.55; }

.combat-section { display: grid; grid-template-columns: .72fr 1.28fr; gap: 10vw; padding: 150px clamp(42px, 8vw, 150px); background: #e4d8c4; color: #150e0a; }
.combat-title { align-self: start; position: sticky; top: 55px; }
.combat-title h2 { color: #160e0a; }
:lang(zh-Hans) .combat-title h2,
:lang(zh-Hant) .combat-title h2 {
  font-family: "Songti SC", "Songti TC", "Noto Serif CJK SC", "Source Han Serif SC", serif;
  font-size: clamp(42px, 5vw, 74px);
  line-height: 1.12;
  letter-spacing: -.035em;
  white-space: nowrap;
}
.combat-title > p { max-width: 520px; margin-top: 30px; color: #665b50; }
.combat-ledger { border-top: 1px solid rgba(21,14,10,.22); }
.combat-ledger article { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 39px 0 43px; border-bottom: 1px solid rgba(21,14,10,.22); }
.combat-ledger article > span { color: var(--blood); font: 700 17px/1 var(--condensed); }
.combat-ledger h3 { margin: 0 0 10px; font: 600 clamp(32px, 3vw, 49px)/1 var(--condensed); text-transform: uppercase; }
.combat-ledger p { max-width: 620px; margin: 0; color: #62574d; }

.statement { min-height: 600px; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 7vw; padding: 95px clamp(42px, 8vw, 150px); background: linear-gradient(110deg, rgba(5,3,3,.83), rgba(5,3,3,.42)), url("assets/dungeon-combat.jpg") center 43% / cover no-repeat; }
.statement-number { color: var(--gold-bright); font: 600 clamp(96px, 18vw, 275px)/.8 var(--display); letter-spacing: -.04em; text-shadow: 0 22px 60px rgba(0,0,0,.66); }
.statement-number small { margin-left: 7px; color: var(--paper); font: 500 .18em/1 var(--condensed); }
.statement p { margin: 0; font: 500 clamp(28px, 3.6vw, 50px)/1.1 var(--condensed); }
.statement p b { color: var(--gold-bright); font-weight: 600; }

.qa { display: grid; grid-template-columns: .64fr 1.36fr; gap: 9vw; padding: 150px clamp(42px, 8vw, 150px); background: var(--surface); }
.qa-heading { position: sticky; top: 55px; align-self: start; }
.qa-heading > p { margin-top: 23px; }
.qa-list { border-top: 1px solid var(--line); }
.qa-list article { display: grid; grid-template-columns: 48px 1fr; gap: 22px; padding: 32px 0 38px; border-bottom: 1px solid var(--line); }
.qa-list article > span { color: var(--gold); font: 600 16px/1 var(--condensed); }
.qa-list h3 { margin: 0 0 10px; font: 500 clamp(25px, 2.5vw, 36px)/1.15 var(--condensed); }
.qa-list p { max-width: 720px; margin: 0; color: var(--muted); }

.final-cta { display: flex; align-items: end; justify-content: space-between; gap: 40px; padding: 100px clamp(42px, 8vw, 150px); background: var(--gold); color: #160e09; }
.final-cta p { margin: 0 0 10px; font: 600 16px/1 var(--condensed); letter-spacing: .12em; text-transform: uppercase; }
.final-cta h2 { font-size: clamp(50px, 7vw, 100px); }
.download-button.light { background: #160e09; color: var(--paper); }
.download-button.light:hover { background: var(--blood); }

footer { min-height: 190px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; padding: 56px clamp(42px, 8vw, 150px); color: #9c9185; font-size: 12px; }
footer p { margin: 0; }
.footer-links { justify-self: end; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 24px; color: #a99b8d; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr .7fr; padding-left: 54px; padding-right: 90px; }
  .hero h1 strong { font-size: clamp(100px, 14vw, 150px); }
  .depth-panel { right: -58px; }
  .descent-heading { grid-template-columns: 1fr .8fr; }
}

@media (max-width: 800px) {
  .site-header { height: 68px; grid-template-columns: 1fr auto; padding: 0 20px; }
  .primary-nav { display: none; }
  .store-link { min-width: auto; padding: 9px 12px; }
  .language-rail { position: absolute; top: 68px; right: 0; left: 0; flex-direction: row; justify-content: center; transform: none; border-width: 0 0 1px; background: rgba(7,4,3,.96); }
  .language-rail a { flex: 1; min-width: 0; max-width: 80px; padding: 10px 3px; border: 0; font-size: 11px; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 44px; padding: 145px 22px 90px; }
  .hero::before { background: linear-gradient(180deg, rgba(5,3,3,.94) 0 55%, rgba(5,3,3,.3)), url("assets/dungeon-streak.jpg") 70% 40% / cover no-repeat; opacity: .43; }
  .hero h1 span { font-size: clamp(48px, 15vw, 70px); }
  .hero h1 strong { font-size: clamp(92px, 30vw, 138px); }
  .hero-line { margin-top: 30px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 15px; }
  .hero-media { width: min(83vw, 390px); }
  .depth-panel { right: -16px; bottom: 34px; width: 182px; }
  .live-mark { left: -12px; }
  .descent { padding: 95px 22px 110px; }
  .descent-heading, .combat-section, .qa { grid-template-columns: 1fr; gap: 46px; }
  .depth-scale { gap: 7px; font-size: 10px; }
  .screenshot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
  .combat-section { padding: 95px 22px; }
  .combat-title, .qa-heading { position: static; }
  .statement { min-height: 500px; grid-template-columns: 1fr; align-content: center; gap: 48px; padding: 80px 22px; background-position: 61% 45%; }
  .statement-number { font-size: clamp(92px, 27vw, 170px); }
  .qa { padding: 100px 22px; }
  .final-cta { align-items: flex-start; flex-direction: column; padding: 76px 22px; }
  footer { grid-template-columns: 1fr auto; gap: 34px; padding: 48px 22px; }
  footer p { display: none; }
  .footer-links { max-width: 220px; }
}

@media (max-width: 680px) {
  .screenshot-grid { grid-template-columns: 1fr; gap: 0; }
  .shot { width: min(100%, 430px); margin: 0 auto 48px; }
  .shot:last-child { margin-bottom: 0; }
}

@media (max-width: 480px) {
  .hero { padding-top: 136px; }
  .hero h1 span { font-size: 13vw; }
  .hero h1 strong { font-size: 28vw; }
  .hero-body { font-size: 16px; }
  .shot { width: 100%; margin-bottom: 38px; }
  .combat-ledger article { grid-template-columns: 38px 1fr; }
  .statement { min-height: 450px; }
  .statement p { max-width: 310px; }
  .qa-list article { grid-template-columns: 34px 1fr; }
  footer { font-size: 11px; }
  .footer-links { align-items: flex-end; flex-direction: column; gap: 10px; }
}

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