:root {
  color-scheme: dark;
  --ink: #070807;
  --paper: #d8d0bc;
  --mist: #a9aaa4;
  --blood: #8f171d;
  --gold: #b7a274;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: #030403; scroll-behavior: smooth; scroll-snap-type: y mandatory; }
body { margin: 0; overflow-x: hidden; background: #030403; color: #f0eee8; font-family: "Noto Serif TC", "Songti TC", "PMingLiU", Georgia, serif; }
button { color: inherit; font: inherit; }
button:focus-visible { outline: 2px solid #cbb78b; outline-offset: 4px; }

.experience { position: relative; min-height: 100svh; background: #030403; }
.experience::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 70;
  opacity: .075;
  pointer-events: none;
  background-image: repeating-radial-gradient(circle at 17% 23%, transparent 0 1px, rgba(255,255,255,.55) 1px 2px, transparent 2px 4px);
  background-size: 7px 7px;
  mix-blend-mode: soft-light;
}

.topbar {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  right: 0;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 5vw;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.62), transparent);
}
.top-logo { width: 142px; height: auto; filter: brightness(0) invert(1) drop-shadow(0 2px 8px #000); }

.scene { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; scroll-snap-align: start; }
.scene-shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(2,3,2,.3), rgba(2,3,2,.08) 46%, rgba(2,3,2,.82)); }
.scene-shade-warm { background: linear-gradient(90deg, rgba(13,4,1,.2), rgba(9,3,1,.05) 42%, rgba(9,3,1,.82)); }
.section-shell { position: relative; z-index: 5; width: min(1240px, calc(100% - 10vw)); min-height: 100svh; margin: 0 auto; }
.eyebrow { margin: 0; color: #c9b98e; font: 11px/1.3 Arial, sans-serif; letter-spacing: .28em; text-transform: uppercase; }
.reveal-copy { opacity: .2; transform: translateY(28px); transition: opacity 1s ease .14s, transform 1s cubic-bezier(.19,1,.22,1) .14s; }
.scene[data-active="true"] .reveal-copy { opacity: 1; transform: translateY(0); }

.hero-media, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media { z-index: 0; background: #050505; }
.hero-video { object-fit: cover; opacity: 0; filter: saturate(.72) contrast(1.08) brightness(.82); animation: hero-cycle 24s linear infinite; }
.hero-video-one { animation-delay: -1.2s; }
.hero-video-two { animation-delay: 6.8s; }
.hero-video-three { animation-delay: 14.8s; }
.hero-scene::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(circle at 52% 40%, transparent 12%, rgba(8,5,4,.18) 55%, rgba(3,3,3,.58) 100%); }
.ink-wash { position: absolute; z-index: 3; inset: auto 0 0; height: 36%; background: linear-gradient(0deg, #030303 0%, rgba(3,3,3,.72) 28%, transparent 100%); }
.hero-center { position: absolute; z-index: 6; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 100px 20px 80px; text-align: center; }
.hero-center .eyebrow { opacity: 0; animation: title-in .8s ease .45s forwards; }
.hero-logo { width: min(390px, 72vw); max-height: 175px; margin: 16px 0 14px; object-fit: contain; filter: brightness(0) invert(1) drop-shadow(0 5px 20px rgba(0,0,0,.9)); opacity: 0; transform: translateY(14px); animation: title-in 1.15s cubic-bezier(.19,1,.22,1) .6s forwards, logo-float 7s ease-in-out 2s infinite; }
.release-line { display: flex; align-items: center; gap: 14px; margin: 0 0 27px; color: rgba(244,241,232,.78); font: 11px/1 Arial, sans-serif; letter-spacing: .2em; opacity: 0; animation: title-in .8s ease .85s forwards; }
.release-line span { width: 38px; height: 1px; background: linear-gradient(90deg, transparent, #b9a77f); }
.release-line span:last-child { transform: rotate(180deg); }

.beta-button { position: relative; min-width: 264px; height: 64px; padding: 0 42px; border: 0; background: transparent; cursor: pointer; font: 17px/1 Arial, sans-serif; letter-spacing: .08em; opacity: 0; animation: title-in .85s ease 1.05s forwards; transition: transform .28s ease, text-shadow .28s ease; }
.beta-button span:last-child { position: relative; z-index: 2; }
.beta-button-brush { position: absolute; inset: 0; background: #0a0a09; border: 1px solid rgba(205,190,153,.5); clip-path: polygon(3% 13%, 92% 1%, 100% 18%, 97% 79%, 84% 96%, 9% 89%, 0 72%); box-shadow: inset 0 0 30px rgba(145,18,24,.25), 0 10px 30px rgba(0,0,0,.5); transition: background .28s ease, border-color .28s ease, transform .28s ease; }
.beta-button:hover { transform: translateY(-2px); text-shadow: 0 0 16px rgba(255,255,255,.45); }
.beta-button:hover .beta-button-brush { background: #771318; border-color: #d1b783; transform: scale(1.025); }
.beta-button::before, .beta-button::after { content: ""; position: absolute; z-index: 3; top: 50%; width: 34px; height: 1px; background: #c7b787; opacity: .55; }
.beta-button::before { left: -8px; } .beta-button::after { right: -8px; }

.scroll-cue { position: absolute; z-index: 6; left: 50%; bottom: 30px; display: flex; flex-direction: column; align-items: center; gap: 10px; transform: translateX(-50%); border: 0; background: transparent; color: rgba(255,255,255,.6); cursor: pointer; }
.scroll-cue small { font: 10px/1 Arial, sans-serif; letter-spacing: .16em; text-transform: uppercase; }
.scroll-chevron { width: 30px; height: 30px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); animation: arrow-drift 1.8s ease-in-out infinite; }

.scene-dots { position: fixed; z-index: 55; left: 2.8vw; top: 50%; display: flex; flex-direction: column; gap: 12px; transform: translateY(-50%); }
.scene-dots button { width: 46px; height: 28px; display: flex; align-items: center; gap: 7px; border: 0; background: transparent; color: rgba(255,255,255,.32); cursor: pointer; font: 9px/1 Arial, sans-serif; letter-spacing: .12em; transition: color .25s ease, transform .25s ease; }
.scene-dots button::before { content: ""; width: 10px; height: 1px; background: currentColor; transition: width .25s ease; }
.scene-dots button.is-active { color: #f1ead8; transform: translateX(3px); }
.scene-dots button.is-active::before { width: 24px; background: #9e1d23; }

.edition-background, .news-background, .media-blur { position: absolute; inset: -4%; z-index: 0; background-position: center; background-size: cover; }
.edition-background { background-image: url("/assets/images/edition-bg.jpg"); filter: saturate(.85) contrast(1.12); transform: scale(1.06); transition: transform 8s ease; }
.edition-scene[data-active="true"] .edition-background { transform: scale(1); }
.edition-layout { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 6vw; padding: 110px 3vw 70px; }
.edition-art { transform: translateX(-24px) scale(.96); opacity: .1; transition: opacity 1.1s ease, transform 1.35s cubic-bezier(.19,1,.22,1); }
.edition-scene[data-active="true"] .edition-art { opacity: 1; transform: translateX(0) scale(1); }
.edition-art img { width: 100%; display: block; filter: drop-shadow(0 22px 35px rgba(0,0,0,.55)); }
.ink-frame { position: relative; }
.ink-frame::after { content: ""; position: absolute; inset: -12px; pointer-events: none; border: 1px solid rgba(194,177,135,.2); clip-path: polygon(2% 0, 98% 2%, 100% 95%, 92% 100%, 4% 97%, 0 12%); }
.edition-copy { max-width: 500px; }
.edition-copy h2, .news-card h2, .story-copy h2, .media-heading h2 { margin: 12px 0 18px; font-size: clamp(38px, 5vw, 72px); line-height: .98; font-weight: 400; letter-spacing: -.04em; text-shadow: 0 4px 20px rgba(0,0,0,.7); }
.edition-copy > p:not(.eyebrow) { max-width: 470px; color: rgba(239,235,224,.7); font: 15px/1.7 Arial, sans-serif; }
.brush-rule { width: 116px; height: 3px; margin: 0 0 23px; background: linear-gradient(90deg, #9b1a21, transparent); }
.edition-copy ul { margin: 25px 0; padding: 0; list-style: none; color: #d8d1c0; font: 13px/1.9 Arial, sans-serif; }
.edition-copy li::before { content: "—"; margin-right: 10px; color: #a89260; }
.platform-row { display: flex; gap: 8px; }
.platform-row span { min-width: 76px; padding: 11px 16px; border: 1px solid rgba(218,204,170,.25); background: rgba(0,0,0,.3); text-align: center; font: 11px/1 Arial, sans-serif; letter-spacing: .14em; }

.news-background { background-image: url("/assets/images/news-bg.jpg"); filter: grayscale(.26) contrast(1.05) brightness(.77); transform: scale(1.04); }
.news-layout { display: flex; align-items: center; gap: 7vw; padding: 110px 4vw 80px; }
.vertical-kicker { display: flex; flex-direction: column; align-items: center; gap: 20px; color: #d8cfb8; }
.vertical-kicker span { font: 11px/1 Arial, sans-serif; letter-spacing: .18em; }
.vertical-kicker strong { writing-mode: vertical-rl; font-weight: 400; font-size: 25px; letter-spacing: .25em; }
.news-card { width: min(930px, 78vw); display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; background: rgba(7,8,7,.62); box-shadow: 0 24px 80px rgba(0,0,0,.45); backdrop-filter: blur(6px); }
.news-card img { width: 100%; height: 430px; object-fit: cover; filter: saturate(.72) contrast(1.1); }
.news-card > div { padding: 42px 38px; }
.news-card h2 { font-size: clamp(34px, 4vw, 57px); }
.news-card p:not(.eyebrow) { color: rgba(239,235,224,.68); font: 14px/1.75 Arial, sans-serif; }
.news-card time { display: block; margin-top: 28px; color: #b9a676; font: 10px/1 Arial, sans-serif; letter-spacing: .22em; }

.story-video { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(.8) brightness(.64) contrast(1.18); }
.story-shade { background: linear-gradient(90deg, rgba(1,3,2,.86), rgba(1,3,2,.12) 58%, rgba(1,3,2,.45)); }
.swordman { position: absolute; z-index: 3; right: 2%; bottom: -16%; width: min(34vw, 490px); opacity: .66; filter: grayscale(1) brightness(.58) contrast(1.3); mix-blend-mode: screen; transform: translateX(40px); transition: transform 1.8s cubic-bezier(.19,1,.22,1), opacity 1.2s ease; }
.story-scene[data-active="true"] .swordman { transform: translateX(0); opacity: .8; }
.story-copy { position: absolute; z-index: 5; left: max(9vw, 80px); top: 50%; max-width: 900px; transform: translateY(calc(-50% + 28px)); }
.story-scene[data-active="true"] .story-copy { transform: translateY(-50%); }
.story-copy h2 { font-size: clamp(44px, 6vw, 88px); }
.story-copy h2 em { color: #d7cfbd; font-weight: 400; }
.story-copy > p:last-child { color: rgba(240,235,224,.7); font: 15px/1.7 Arial, sans-serif; }

.media-blur { filter: blur(20px) brightness(.25) saturate(.45); transform: scale(1.14); transition: background-image .45s ease; }
.media-shade { background: radial-gradient(circle at 60% 45%, rgba(0,0,0,.02), rgba(0,0,0,.78)); }
.media-layout { display: grid; grid-template-columns: .28fr .72fr; align-items: center; gap: 6vw; padding: 110px 4vw 90px; }
.media-heading h2 { font-size: clamp(54px, 7vw, 100px); }
.media-heading > p:last-child { color: #b9a676; font: 12px/1 Arial, sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.media-stage { position: relative; width: 100%; max-width: 880px; margin-left: auto; }
.media-stage > img { width: 100%; aspect-ratio: 16 / 9; display: block; object-fit: cover; filter: saturate(.65) contrast(1.1); box-shadow: 0 30px 70px rgba(0,0,0,.6); animation: media-in .55s ease; }
.media-arrow { position: absolute; z-index: 4; top: 50%; width: 54px; height: 70px; transform: translateY(-50%); border: 1px solid rgba(220,209,181,.28); background: rgba(0,0,0,.46); cursor: pointer; font-size: 43px; line-height: 1; transition: background .2s ease, border-color .2s ease; }
.media-arrow:hover { background: rgba(126,19,24,.72); border-color: #a89463; }
.media-arrow-left { left: -27px; } .media-arrow-right { right: -27px; }
.media-progress { position: absolute; left: 50%; bottom: -31px; display: flex; gap: 8px; transform: translateX(-50%); }
.media-progress button { width: 40px; height: 2px; padding: 0; border: 0; background: rgba(255,255,255,.25); cursor: pointer; }
.media-progress button.is-active { background: #a61d23; }
.site-footer { position: absolute; z-index: 5; left: 0; right: 0; bottom: 16px; text-align: center; color: rgba(255,255,255,.42); font: 9px/1.5 Arial, sans-serif; letter-spacing: .17em; }

.beta-overlay { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(0,0,0,.58); backdrop-filter: blur(6px); animation: overlay-in .26s ease; }
.beta-modal { position: relative; width: min(460px, 100%); max-height: min(90svh, 560px); padding: 34px 28px 27px; overflow-x: hidden; overflow-y: auto; border: 1px solid rgba(196,179,137,.36); background: radial-gradient(circle at 20% 0, rgba(117,19,24,.16), transparent 34%), linear-gradient(145deg, #171714, #080908 72%); box-shadow: 0 24px 80px rgba(0,0,0,.76), inset 0 0 60px rgba(0,0,0,.34); animation: modal-in .38s cubic-bezier(.19,1,.22,1); }
.beta-modal::before, .beta-modal::after { content: ""; position: absolute; pointer-events: none; }
.beta-modal::before { inset: 8px; border: 1px solid rgba(197,181,143,.11); }
.beta-modal::after { left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, transparent, #981820 23%, #3d090d 70%, transparent); }
.modal-close { position: absolute; z-index: 4; right: 8px; top: 6px; width: 34px; height: 34px; border: 0; background: transparent; color: rgba(255,255,255,.55); cursor: pointer; font: 25px/1 Arial, sans-serif; transition: color .2s ease, transform .2s ease; }
.modal-close:hover { color: #fff; transform: rotate(90deg); }
.red-seal { position: absolute; right: 50px; top: 52px; width: 46px; height: 46px; display: grid; place-items: center; border: 2px solid rgba(171,38,42,.8); color: rgba(191,48,52,.95); transform: rotate(-7deg); font-size: 26px; }
.modal-kicker { margin: 0; color: #a99463; font: 10px/1 Arial, sans-serif; letter-spacing: .26em; }
.beta-modal h2 { margin: 12px 0 7px; font-size: clamp(36px, 6vw, 58px); line-height: 1; font-weight: 400; }
.modal-intro { margin: 0 0 32px; color: rgba(240,236,225,.6); font: 13px/1.6 Arial, sans-serif; }

.verify-card { width: 100%; min-height: 96px; display: grid; grid-template-columns: 40px 1fr 58px; align-items: center; gap: 14px; padding: 15px 16px; border: 1px solid rgba(184,169,135,.32); background: rgba(216,208,188,.06); box-shadow: inset 0 0 24px rgba(0,0,0,.25); }
.verify-box { width: 34px; height: 34px; border: 2px solid #908b7d; background: rgba(255,255,255,.035); cursor: pointer; transition: border-color .22s ease, background .22s ease, box-shadow .22s ease; }
.verify-box:hover { border-color: #c8b98c; background: rgba(143,23,29,.18); box-shadow: 0 0 18px rgba(143,23,29,.32); }
.verify-card > span { font: 14px/1.4 Arial, sans-serif; }
.verify-card > b { color: rgba(236,228,207,.72); text-align: center; font: 18px/1 Arial, sans-serif; letter-spacing: .08em; }
.verify-card > b small { color: #9b895f; font-size: 7px; letter-spacing: .18em; }
.copy-note { margin: 11px 2px 0; color: rgba(235,230,216,.42); font: 10px/1.55 Arial, sans-serif; }
.copy-note code { color: #c0a968; font: inherit; }

.checking-panel { min-height: 104px; display: flex; align-items: center; gap: 18px; padding: 19px 20px; border: 1px solid rgba(184,169,135,.25); background: rgba(255,255,255,.035); }
.checking-panel strong { font: 16px/1.3 Arial, sans-serif; }
.checking-panel p { margin: 7px 0 0; color: rgba(235,230,216,.5); font: 12px/1.45 Arial, sans-serif; }
.ink-spinner { width: 48px; height: 48px; flex: 0 0 auto; border: 2px dotted #ab3338; border-right-color: #b8a26c; border-radius: 50%; animation: spin 1.15s linear infinite; box-shadow: inset 0 0 15px rgba(139,20,26,.22); }

.extra-panel { animation: panel-in .35s ease; }
.extra-status { display: flex; align-items: center; gap: 10px; color: #e7e0cf; font: 14px/1.3 Arial, sans-serif; }
.dotted-spinner { width: 24px; height: 24px; border: 2px dotted #9f2830; border-radius: 50%; animation: spin 1.1s linear infinite; }
.extra-panel ol { margin: 23px 0 20px; padding: 0; list-style: none; counter-reset: verification; }
.extra-panel li { counter-increment: verification; display: grid; grid-template-columns: 18px 86px 1fr; align-items: center; gap: 10px; margin: 12px 0; color: rgba(240,235,223,.72); font: 12px/1.4 Arial, sans-serif; }
.extra-panel li::before { content: counter(verification) "."; color: #987f4d; }
.key-combo { display: inline-flex; align-items: center; gap: 4px; }
.keycap { min-width: 30px; height: 27px; display: inline-flex; align-items: center; justify-content: center; padding: 0 7px; border: 1px solid #706b5f; background: linear-gradient(#292925, #121310); box-shadow: inset 0 1px rgba(255,255,255,.08), 0 2px 4px rgba(0,0,0,.5); color: #e7dfcc; font: 700 10px/1 Arial, sans-serif; }
.keycap-wide { min-width: 42px; }
.key-plus { color: #746f64; font: 10px/1 Arial, sans-serif; }
.windows-key { width: 14px; height: 14px; display: grid; grid-template: repeat(2, 1fr) / repeat(2, 1fr); gap: 1px; transform: skewY(-4deg); }
.windows-key i { background: currentColor; }
.round-check { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid #706b5f; border-radius: 50%; color: #bba56b; }
.modal-action { min-width: 105px; padding: 10px 24px; border: 1px solid #8c7a51; background: #141410; cursor: pointer; font: 13px/1 Arial, sans-serif; letter-spacing: .12em; transition: background .2s ease, border-color .2s ease; }
.modal-action:hover { background: #711419; border-color: #c1aa73; }

@keyframes hero-cycle { 0% { opacity: 0; transform: scale(1.04); } 5%, 29% { opacity: 1; } 34%, 100% { opacity: 0; transform: scale(1); } }
@keyframes title-in { to { opacity: 1; transform: translateY(0); } }
@keyframes logo-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes arrow-drift { 0%,100% { opacity: .35; transform: rotate(45deg) translate(0,0); } 50% { opacity: 1; transform: rotate(45deg) translate(5px,5px); } }
@keyframes media-in { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: scale(1); } }
@keyframes overlay-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  html { scroll-snap-type: none; }
  .topbar { height: 72px; }
  .top-logo { width: 108px; }
  .demo-mark { display: none; }
  .scene-dots { display: none; }
  .scene { min-height: 100svh; }
  .section-shell { width: min(100% - 34px, 720px); }
  .edition-layout, .media-layout { grid-template-columns: 1fr; align-content: center; gap: 24px; padding: 92px 0 60px; }
  .edition-art { max-width: 520px; margin: 0 auto; }
  .edition-copy { max-width: 100%; }
  .edition-copy h2 { font-size: 42px; }
  .news-layout { padding: 90px 0 70px; gap: 20px; }
  .vertical-kicker { display: none; }
  .news-card { width: 100%; grid-template-columns: 1fr; }
  .news-card img { height: min(38vh, 320px); }
  .news-card > div { padding: 26px; }
  .story-copy { left: 24px; right: 24px; }
  .story-copy h2 { font-size: clamp(40px, 10vw, 64px); }
  .swordman { width: 55vw; right: -12%; }
  .media-layout { display: flex; flex-direction: column; justify-content: center; }
  .media-heading { width: 100%; }
  .media-heading h2 { margin-bottom: 6px; }
  .media-stage { margin: 0; }
}

@media (max-width: 600px) {
  .hero-center { padding-top: 80px; }
  .hero-logo { width: 76vw; }
  .release-line { font-size: 9px; gap: 8px; }
  .release-line span { width: 22px; }
  .beta-button { min-width: 238px; font-size: 15px; }
  .scroll-cue { bottom: 20px; }
  .edition-layout { justify-items: center; }
  .edition-copy h2 { font-size: 36px; }
  .edition-copy > p:not(.eyebrow), .story-copy > p:last-child { font-size: 13px; }
  .platform-row span { min-width: 64px; padding-inline: 11px; }
  .news-card h2 { font-size: 36px; }
  .story-copy h2 { font-size: 39px; }
  .media-arrow { width: 40px; height: 56px; }
  .media-arrow-left { left: -9px; } .media-arrow-right { right: -9px; }
  .beta-overlay { place-items: center; padding: 14px; }
  .beta-modal { width: min(440px, 100%); min-height: 0; padding: 32px 18px 22px; }
  .verify-card { grid-template-columns: 38px 1fr 48px; gap: 10px; padding: 14px; }
  .verify-card > span { font-size: 12px; }
  .verify-card > b { font-size: 14px; }
  .extra-panel li { grid-template-columns: 14px 82px 1fr; gap: 7px; font-size: 11px; }
}

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