/* Homepage only. Account and guide keep their existing styles. */
@font-face{font-family:Kenney;src:url('/assets/pixel.ttf') format('truetype');font-display:swap}
.home{--gold:#e6bd78;--text:#f5eedf;--muted:#bec6cf;background:#090f18}
.home h1,.home h2,.home h3,.home .guide-list a{font-family:Arial,Helvetica,sans-serif;font-weight:700;letter-spacing:-.04em}
.home h2{font-size:clamp(32px,3.6vw,52px);line-height:1.1}.home h3{letter-spacing:-.025em}
.home .header{position:absolute;inset:0 0 auto;height:90px;background:linear-gradient(#07101ce8,#07101c55,transparent);border:0;z-index:5}
.home .header .wrap{width:calc(100% - 80px);max-width:1760px}.home .header .brand{width:154px}.home .nav{font-weight:600;text-shadow:0 2px 5px #050a12}.home .nav .button{background:#0b1425b8}
.home .hero{min-height:100svh;isolation:isolate;overflow:hidden;background:#101b3b;border-color:#8e7142;display:flex}
.home .hero-layout{width:min(1760px,calc(100% - 120px));padding:132px 0 110px;display:flex;justify-content:flex-end}
.home .hero-copy{width:46%;max-width:690px;z-index:2}.home .hero-copy:before{display:none}
.home .hero-logo{width:440px;height:auto;max-width:90%;margin:18px 0 22px;filter:drop-shadow(0 5px 16px #060b15);image-rendering:pixelated}
.home .alpha-badge{display:inline-flex;align-items:center;gap:9px;font-size:12px;letter-spacing:.025em;font-weight:600;color:#e4d6b9;line-height:1.4;margin:0;padding:8px 12px;border:1px solid #c39b5655;background:#0a111b99}
.alpha-badge span{height:5px;width:5px;background:#e6bd78;box-shadow:0 0 9px #e6bd7880}
.home .hero h1{font-size:clamp(38px,3.2vw,59px);line-height:1.06;letter-spacing:-.045em;max-width:690px;margin-bottom:22px;text-wrap:balance;color:#fff7e9;text-shadow:0 2px 20px #050a14}
.home .hero h1 span{display:block;color:#e6bd78;font-size:.73em;line-height:1.18;margin-top:14px}
.home .hero .hero-description{max-width:545px;font-size:17px;line-height:1.7;color:#d4d9e0;text-shadow:0 2px 8px #050a14}
.home .actions{gap:14px;margin-top:28px;flex-wrap:nowrap}.home .button{border-radius:0;font-family:Arial,Helvetica,sans-serif;font-size:16px;min-height:54px;padding:14px 23px}
.home .play-button{background:linear-gradient(#f4d696,#d4a557);color:#161612;border:1px solid #f5dc9a;box-shadow:inset 0 0 0 3px #36291828,0 4px 0 #795d30;min-width:164px;font-size:18px}
.home .play-button:hover{background:#ffe4a8;box-shadow:inset 0 0 0 3px #36291828,0 4px 0 #795d30,0 0 30px #e6bd7820}
.home .watch-button{background:#0c1728bf;color:#f5eedf;border-color:#7b889b;gap:9px;padding-inline:17px;font-size:14px;white-space:nowrap}
.watch-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5}
.home .hero .quiet{font-size:12px;color:#c6cbd3;margin:25px 0 0;max-width:none;line-height:1.7}.mobile-break{display:none}
.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,transparent 20%,#060d1b20 40%,#060d1bbd 57%,#060d1bef 100%),linear-gradient(0deg,#080e1890,transparent 25%);pointer-events:none;z-index:1}
.hero-scene{position:absolute;inset:0;overflow:hidden;pointer-events:none}
.scene-stage{width:max(100vw,177.778svh);aspect-ratio:16/9;position:absolute;left:50%;bottom:0;transform:translateX(-50%);--pointer-x:0px;--pointer-y:0px;--scroll-y:0px}
.scene-layer{position:absolute;transform:translate(calc(var(--pointer-x)*var(--depth,1)),calc((var(--pointer-y) + var(--scroll-y))*var(--depth,1)));will-change:auto}
.scene-layer img{width:100%;height:100%;max-width:none;image-rendering:pixelated}
.scene-layer .sprite{display:block;width:100%;height:100%;image-rendering:pixelated}
.scene-sky img{min-height:100%}.scene-moon{filter:drop-shadow(0 0 24px #a0b6e880)}
.city-lights{animation:city-flicker 4.7s ease-in-out infinite alternate}.scene-lights-1{animation-delay:-2s;animation-duration:3.3s}
@keyframes city-flicker{0%,100%{opacity:.22}20%{opacity:.62}44%{opacity:.35}68%{opacity:.8}}
.scene-dragon{animation:dragon-flight 50s linear 7s infinite;visibility:hidden}.scene-dragon .sprite{animation:sprite-cycle .857143s steps(6) infinite;filter:brightness(.75)}
@keyframes dragon-flight{0%{visibility:visible;translate:-25vw 0}12%{translate:40vw -20px}44%{visibility:visible;translate:130vw 0}44.01%,100%{visibility:hidden;translate:130vw 0}}
@keyframes sprite-cycle{to{background-position:120% 0}}
.fire .sprite{animation:sprite-cycle .666667s steps(6) infinite}.fire{filter:drop-shadow(0 0 8px #ff882466)}
.hero-rim{mix-blend-mode:screen;opacity:.5;filter:sepia(1) saturate(3);animation:rim-flicker 1.7s ease-in-out infinite alternate}
@keyframes rim-flicker{0%,100%{opacity:.3}40%{opacity:.7}70%{opacity:.4}}
.fire-glow{left:18.125%;top:72.777%;width:21.6667%;height:23.111%;border-radius:50%;background:radial-gradient(ellipse,#ff882432,transparent 68%);mix-blend-mode:screen;animation:rim-flicker 1.7s ease-in-out infinite alternate}
.mist img{animation:fog-drift 30s linear infinite alternate}.scene-fog-1 img{animation-direction:alternate-reverse}
@keyframes fog-drift{to{translate:-12% 0}}
.home .hero .scene-caption{position:absolute;bottom:27px;left:60px;color:#d2cbbd;font-size:12px;letter-spacing:.07em;z-index:2;margin:0;text-shadow:0 2px 8px #000}
.motion-toggle{position:absolute;z-index:3;right:32px;bottom:22px;background:#081120bb;border:1px solid #788396;color:#e1e5e9;font-size:12px;min-height:40px;padding:8px 12px}
.motion-paused .scene-layer,.motion-paused .sprite,.motion-paused .mist img{animation-play-state:paused!important}.motion-paused .scene-layer{transform:none}
.fact-band{border-bottom:1px solid #8e714255;background:linear-gradient(#151b24,#101620)}
.facts{padding:24px 0;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:24px}
.facts li{display:flex;gap:12px;align-items:center;font-size:13px;font-weight:600;line-height:1.5}.facts svg{width:28px;height:28px;flex-shrink:0;fill:none;stroke:#e6bd78;stroke-width:1.4;stroke-linejoin:miter}
.home .section{padding:90px 0}.home .section.band{background-color:#101822;background-image:repeating-linear-gradient(0deg,transparent,transparent 3px,#fff 4px);background-blend-mode:soft-light;background-size:100% 4px}
.home .section-head{align-items:end}.home .section-head>p{font-size:16px;max-width:360px}.home .eyebrow{font-size:11px;font-weight:700;letter-spacing:.2em;color:var(--gold);margin-bottom:18px}
.home .gameplay-section{background:radial-gradient(ellipse at 50% 100%,#1c283b,#090f18 80%);padding-top:70px}
.home .gameplay-video{margin:0}.video-frame{position:relative;padding:6px;border:1px solid #a98957;background:#080e18;box-shadow:0 20px 55px #0006}
.video-frame:before,.class-frame:before{content:'';position:absolute;inset:-4px;pointer-events:none;border:1px solid #e6bd7833;clip-path:polygon(0 0,24px 0,24px 2px,2px 2px,2px 24px,0 24px,0 0,100% 0,100% 24px,calc(100% - 2px) 24px,calc(100% - 2px) 2px,calc(100% - 24px) 2px,calc(100% - 24px) 0)}
.home .gameplay-video video{border:0;aspect-ratio:16/9;object-fit:contain}.video-toggle{position:absolute;right:18px;bottom:18px;background:#07101de8;color:#f5eedf;border:1px solid #abb4c3;font-size:12px;padding:9px 13px;min-height:42px}
.home .gameplay-video figcaption{font-size:12px;text-align:center;padding-top:18px}.home .step>span{font:48px Kenney,monospace}
.home .class-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;border:0;margin:35px 0 40px}
.home .class-cards button{display:flex;gap:20px;align-items:center;padding:15px 24px;background:radial-gradient(ellipse at bottom,#283240,#111b26 75%);border:1px solid #334253;color:#ccd4dd;min-height:132px;transition:background .15s,border-color .15s}
.home .class-cards button[aria-selected=true]{border-color:#e6bd78;background:radial-gradient(ellipse at bottom,#493b26,#171c23 80%);box-shadow:inset 0 -3px #e6bd78;color:#ffe1a7}
.home .class-cards img{height:90px;width:85px;object-fit:contain;image-rendering:pixelated}.home .class-cards span{font-size:17px;font-weight:700}
.home .class-layout{grid-template-columns:.65fr 1.35fr;gap:65px}.home .class-frame{position:relative;border-color:#716044}.home .class-copy h3{font-size:44px}.home .class-copy p{font-size:16px}
.home .class-frame{min-width:0}.home .class-frame video{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain;background:#080c12}.home .class-frame figcaption{position:static;line-height:1.6}
.class-motion-toggle{border:1px solid #788396;background:#081120;color:#e1e5e9;font-size:13px;min-height:44px;padding:8px 14px}
.home .gallery{gap:32px}.home .gallery button{border-color:#4a4f51;padding:5px;background:#080e18}.home .gallery figure:first-child{grid-column:span 2}.home .gallery figcaption{font-size:13px}
.home .guide-list a{font-size:18px;letter-spacing:-.01em}.home .cta{background:radial-gradient(ellipse at bottom,#2f2c28,#0c1420 80%);padding:85px 20px}.home .alpha-note{font-size:12px;margin:27px auto 0}.home .footer{border-top:1px solid #e6bd7829}
@media(min-width:1700px){.home .hero-logo{width:500px}.home .hero-layout{padding-top:125px}.home .hero-copy{width:45%}.home .hero .hero-description{font-size:19px}.home .hero .quiet{font-size:13px}}
@media(max-width:1150px){.home .hero-layout{width:calc(100% - 64px)}.home .hero-copy{width:49%}.home .hero h1{font-size:38px}.home .actions{flex-wrap:wrap}.home .hero-logo{width:360px}.facts{gap:16px}.facts li{font-size:12px;gap:8px}.home .class-cards button{padding:14px;gap:8px}.home .class-cards img{width:65px}}
@media(max-width:850px){.home .header .wrap{width:calc(100% - 40px)}.home .header{height:80px}.home .nav{gap:18px;font-size:13px}.home .nav .button{min-height:42px;padding:8px 12px;font-size:13px}.home .header .brand{width:135px}.home .hero{min-height:100svh;display:block}.home .hero-layout{padding:114px 0 340px;justify-content:center;text-align:center;width:calc(100% - 48px)}.home .hero-copy{width:100%;max-width:600px}.home .hero-logo{width:370px;margin:18px auto}.home .hero h1{font-size:44px;max-width:590px;margin-inline:auto}.home .hero .hero-description{max-width:530px;margin-inline:auto}.home .actions{justify-content:center}.hero-shade{background:linear-gradient(#060d1b90,#060d1bd9 34%,#060d1bba 48%,transparent 75%,#060d1b44)}.scene-stage{width:1344px;left:calc(50% + 305.2px)}.scene-front_l,.scene-front_r{display:none}.home .hero .scene-caption{left:24px;font-size:11px;bottom:20px}.facts{flex-wrap:wrap;justify-content:center;padding-block:24px;gap:20px 28px}.facts li{font-size:13px}.home .class-cards button{flex-direction:column;gap:5px}.home .class-layout{gap:30px}.motion-toggle{right:18px;bottom:12px}}
@media(max-width:600px){.home .header .wrap{width:calc(100% - 36px)}.home .header{height:68px}.home .header .brand{width:115px}.home .nav{top:67px;background:#0d1929}.home .menu-toggle{background:#0a1423b8;border-color:#6a778a;padding:8px 14px}.home .hero{min-height:max(820px,100svh)}.home .hero-layout{width:calc(100% - 36px);padding:91px 0 250px}.home .alpha-badge{font-size:10px;padding:6px 9px}.home .hero-logo{width:286px;max-width:90%;margin:18px auto 22px}.home .hero h1{font-size:36px;line-height:1.06;letter-spacing:-.045em;margin-bottom:17px}.home .hero h1 span{font-size:25px;line-height:1.15;margin-top:12px}.home .hero .hero-description{font-size:14px;line-height:1.65;max-width:340px;margin-bottom:0}.home .actions{gap:12px;margin-top:22px;flex-wrap:nowrap}.home .button{padding:12px 15px;min-height:50px}.home .play-button{font-size:16px;min-width:129px;gap:9px}.home .watch-button{font-size:12px;gap:6px;padding-inline:10px}.home .watch-button svg{width:15px}.home .hero .quiet{font-size:11px;line-height:1.7;margin-top:18px}.mobile-break{display:block}.scene-stage{width:960px;left:calc(50% + 218px)}.hero-shade{background:linear-gradient(#060d1b90,#060d1bc9 37%,#060d1bdd 58%,transparent 76%,#060d1b33)}.home .hero .scene-caption{display:none}.motion-toggle{font-size:10px;min-height:32px;bottom:7px;right:10px;padding:5px 9px}.facts{display:grid;grid-template-columns:1fr 1fr;gap:20px 16px;padding-block:25px}.facts li{font-size:12px;gap:10px}.facts svg{width:24px;height:24px}.home .section{padding:56px 0}.home .section-head>p{font-size:14px;margin-top:20px}.home .eyebrow{font-size:10px;letter-spacing:.16em;margin-bottom:15px}.home h2{font-size:32px}.video-frame{padding:3px}.video-toggle{right:10px;bottom:10px;font-size:10px;min-height:32px;padding:5px 9px}.home .gameplay-video figcaption{font-size:10px;padding-top:12px}.home .class-cards{gap:7px;margin:28px 0}.home .class-cards button{padding:10px 4px;min-height:120px}.home .class-cards img{width:61px;height:72px}.home .class-cards span{font-size:12px}.home .class-layout{grid-template-columns:1fr;gap:24px}.home .class-copy h3{font-size:36px}.home .class-copy p{font-size:15px}.home .gallery{gap:26px}.home .gallery figure:first-child{grid-column:auto}.home .gallery figcaption{font-size:12px}.home .cta{padding:60px 18px}}
@media(max-width:360px){.home .hero h1{font-size:32px}.home .hero h1 span{font-size:22px}.home .actions{flex-wrap:wrap}.home .hero-layout{padding-bottom:250px}.home .hero .quiet{font-size:10px}}
@media(prefers-reduced-motion:reduce){.scene-layer,.scene-layer .sprite,.mist img{animation:none!important;transform:none!important}.scene-dragon{visibility:hidden}.home .hero-scene{--pointer-x:0px;--pointer-y:0px;--scroll-y:0px}.home .motion-toggle{display:none}}
/* Keep small text readable even over a bright window or drifting fog. */
.home .hero .quiet{width:fit-content;background:#09111eed;padding:3px 8px;box-shadow:0 0 14px 4px #09111e70}
.home .hero .scene-caption{background:#09111ee8;padding:3px 7px}
@media(max-width:850px){.home .hero .quiet{margin-inline:auto}}

.home .header .brand{visibility:hidden}@media(max-width:600px){.quiet-sep{display:none}}
