@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Orbitron:wght@500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #070b14;
  --navy-soft: #0c1424;
  --navy-card: #0d1728;
  --gold: #f5c542;
  --gold-light: #ffe59a;
  --cyan: #38bdf8;
  --white: #f5f7fb;
  --muted: #9aa8bb;
  --line: rgba(245, 197, 66, .18);
  --body: 'Plus Jakarta Sans', sans-serif;
  --heading: 'Cinzel', serif;
  --stats: 'Orbitron', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 0; }
section { scroll-margin-top: 0 !important; }
body { margin: 0; background: var(--navy); color: var(--white); font-family: var(--body); font-size: 14px; overflow-x: hidden; }
button, a, input { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
.site-header { height: 82px; position: fixed; z-index: 60; top: 0; left: 0; width: 100%; padding: 0 clamp(22px, 5vw, 82px); display: grid; grid-template-columns: 190px 1fr 250px; align-items: center; gap: 25px; background: rgba(7, 11, 20, .85); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(245, 197, 66, .4); }
.brand { display: flex; width: 166px; height: 64px; align-items: center; }
.brand img { width: 100%; max-height: 60px; object-fit: contain; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 3.1vw, 48px); height: 100%; }
.nav-link { position: relative; height: 100%; display: flex; align-items: center; color: #e2e8f0; font-size: 11px; font-weight: 700; letter-spacing: .12em; white-space: nowrap; transition: color .2s ease; }
.nav-link:hover, .nav-link.active { color: var(--gold-light); }
.nav-link.active::after { content: ''; position: absolute; width: 27px; height: 2px; left: 0; bottom: 20px; background: var(--gold); box-shadow: 0 0 10px var(--gold); }
.class-nav { position: relative; }
.nav-new { position: absolute; bottom: calc(50% + 15px); left: 50%; transform: translateX(-50%); padding: 4px 8px; border-radius: 20px; background: linear-gradient(120deg, #f8d96b, #b78520); color: #15100a; font-size: 8px; font-weight: 800; letter-spacing: .07em; box-shadow: 0 0 14px #f5c54255; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.language-wrap { position: relative; }
.language-button { display: flex; align-items: center; gap: 7px; padding: 9px 7px; border: 0; background: transparent; color: #d7dfeb; cursor: pointer; font-family: var(--stats); font-size: 10px; }
.language-button svg { width: 18px; fill: none; stroke: var(--gold); stroke-width: 1.5; }
.chevron { color: var(--gold); font-size: 16px; }
.language-menu { display: none; position: absolute; top: 40px; right: 0; width: 206px; padding: 7px; border: 1px solid rgba(245,197,66,.3); border-radius: 7px; background: rgba(7,11,20,.97); box-shadow: 0 15px 40px #0009; }
.language-wrap.open .language-menu { display: block; animation: menu-in .18s ease-out; }
.language-menu button { display: flex; width: 100%; justify-content: space-between; padding: 10px 11px; border: 0; border-radius: 4px; background: transparent; color: #dbe3ef; text-align: left; cursor: pointer; font-size: 12px; }
.language-menu button:hover, .language-menu button.selected { background: #f5c54216; color: var(--gold-light); }
.language-menu button span { color: #77869a; font: 10px var(--stats); }
.steam-cta { display: inline-block; line-height: 0; overflow: hidden; border-radius: 100px; transition: none; }
.steam-cta img { display: block; width: 100%; height: auto; }
.header-steam { width: 150px; }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 760px; height: 100svh; max-height: 1100px; overflow: hidden; background: #081426; isolation: isolate; }
.hero-gif, .hero-shade, .hero-vignette { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-gif { z-index: -3; object-fit: cover; object-position: center; }
.hero-shade { z-index: -2; background: linear-gradient(270deg, rgba(7,11,20,.91) 0%, rgba(7,11,20,.74) 37%, rgba(7,11,20,.28) 69%, rgba(7,11,20,.08) 100%), linear-gradient(0deg, #070b14 0%, transparent 20%, transparent 78%, #070b1470 100%); }
.hero-vignette { z-index: -1; background: radial-gradient(ellipse at 63% 45%, transparent 10%, rgba(5,9,16,.22) 70%); }
.hero-content { width: min(590px, 45vw); position: absolute; top: 50%; right: clamp(7%, calc((100vw - 1200px) / 2), 14%); transform: translateY(-44%); padding-top: 35px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; color: var(--gold-light); font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.eyebrow i { padding: 0 4px; color: var(--cyan); font-style: normal; }
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin-bottom: 17px; font: 700 clamp(38px, 5.1vw, 72px)/1.07 var(--heading); letter-spacing: -.035em; text-shadow: 0 4px 30px #000; }
.hero h1 span { color: var(--gold-light); }
.hero-copy { max-width: 500px; margin-bottom: 24px; color: #d5deeb; font-size: clamp(12px, 1.1vw, 14px); line-height: 1.9; }
.hero-cta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hero-steam { width: 195px; }
.cta-microcopy { color: #b7c3d2; font-size: 9px; }
.cta-microcopy b { color: var(--gold); padding: 0 4px; }
.spec-pill { display: inline-flex; align-items: center; gap: 11px; margin-top: 20px; padding: 10px 13px; border: 1px solid #38bdf855; border-radius: 4px; background: #071321a8; box-shadow: inset 0 0 20px #38bdf80c; }
.spec-icon { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid #f5c54277; border-radius: 50%; color: var(--gold); font: 9px var(--stats); }
.spec-pill b, .spec-pill small { display: block; }
.spec-pill b { margin-bottom: 4px; color: var(--cyan); font: 600 9px var(--stats); letter-spacing: .08em; }
.spec-pill small { color: #cbd6e4; font-size: 8px; letter-spacing: .07em; }
.spec-pill i { color: var(--gold); font-style: normal; padding: 0 3px; }
.trailer-trigger { position: absolute; z-index: 2; top: 47%; left: 40%; display: grid; justify-items: center; gap: 11px; padding: 0; border: 0; background: none; cursor: pointer; transform: translate(-50%,-50%); }
.play-ring { display: grid; place-items: center; width: 76px; height: 76px; border: 1px solid #f5c542d9; border-radius: 50%; background: #07132165; box-shadow: 0 0 0 7px #f5c54218, 0 0 35px #38bdf85c, inset 0 0 20px #f5c54220; transition: transform .25s ease, box-shadow .25s ease; }
.trailer-trigger:hover .play-ring { transform: scale(1.09); box-shadow: 0 0 0 10px #f5c5421d, 0 0 50px #38bdf8a3, inset 0 0 20px #f5c54235; }
.play-triangle { width: 0; height: 0; margin-left: 5px; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-left: 15px solid var(--gold-light); filter: drop-shadow(0 0 6px var(--gold)); }
.trailer-caption { color: white; font: 9px var(--stats); letter-spacing: .18em; text-shadow: 0 1px 5px #000; }
.hero-scroll { position: absolute; top: calc(100% + 67px); left: 0; display: flex; align-items: center; gap: 10px; color: #a9b5c5; }
.hero-scroll span { width: 28px; height: 1px; background: var(--gold); }
.hero-scroll small { font: 8px var(--stats); letter-spacing: .16em; }
.hero-stamp { position: absolute; left: clamp(35px, 6vw, 90px); bottom: 60px; display: flex; flex-direction: column; border-left: 1px solid #f5c54288; padding-left: 12px; color: #ffedb9; font: 9px var(--stats); letter-spacing: .15em; line-height: 1.7; opacity: .8; }
.hero-stamp i { color: var(--cyan); font-style: normal; }
.hero-stamp b { font-size: 14px; }

.section-pad { padding: 116px clamp(26px, 9.3vw, 148px); }
.section-topline { display: flex; align-items: center; gap: 18px; margin-bottom: 58px; color: var(--gold); font: 9px var(--stats); letter-spacing: .14em; }
.section-topline .line { height: 1px; max-width: 120px; flex: 1; background: linear-gradient(90deg, #f5c54299, transparent); }
.section-topline > span:last-child { color: #718198; font-size: 8px; }
.cross-section { position: relative; overflow: hidden; background: linear-gradient(180deg,#070b14,#0a1220); }
.cross-section::before { content: ''; position: absolute; width: 570px; height: 570px; top: 0; right: -150px; border: 1px solid #38bdf80c; border-radius: 50%; box-shadow: 0 0 0 50px #38bdf805, 0 0 0 100px #38bdf803; pointer-events: none; }
.cross-layout { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: 7%; align-items: center; }
.kicker { margin-bottom: 15px; color: var(--cyan); font: 600 9px var(--stats); letter-spacing: .18em; }
h2 { margin-bottom: 21px; font: 700 clamp(34px, 4vw, 52px)/1.16 var(--heading); letter-spacing: -.025em; }
h2 em, h3 em { color: var(--gold); font-style: normal; }
.section-copy > p:not(.kicker), .classes-heading > p, .farm-heading > p, .forge-copy > p:not(.kicker) { max-width: 440px; color: var(--muted); line-height: 1.9; font-size: 12px; }
.device-tabs { display: flex; gap: 8px; margin-top: 29px; }
.device-tab { display: flex; flex: 1; align-items: center; gap: 9px; min-height: 53px; padding: 8px 11px; text-align: left; border: 1px solid #28364b; border-radius: 3px; background: #0b1423; color: #94a4b9; cursor: pointer; font: 600 9px var(--stats); transition: .2s ease; }
.device-tab:hover, .device-tab.active { border-color: #f5c5428a; color: var(--gold-light); background: linear-gradient(135deg,#f5c54213,#0b1423 72%); }
.device-icon { color: var(--cyan); font-size: 22px; }
.device-tab small { display: block; margin-top: 3px; color: #7f8ea3; font: 7px var(--stats); }
.sync-note { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 13px 15px; border-left: 2px solid var(--cyan); background: #38bdf80a; }
.sync-mark { font-size: 23px; color: var(--cyan); }
.sync-note b, .sync-note small { display: block; }
.sync-note b { color: #d6e5f3; font: 9px var(--stats); letter-spacing: .04em; }
.sync-note small { margin-top: 5px; color: #7f90a6; font-size: 9px; }
.sync-live { margin-left: auto; color: var(--cyan); font: 8px var(--stats); }
.sync-live i, .farm-card-top i, .rewards-foot i { display: inline-block; width: 5px; height: 5px; margin-right: 4px; border-radius: 50%; background: #43e5b3; box-shadow: 0 0 8px #43e5b3; }
.device-stage { position: relative; height: 405px; overflow: hidden; border: 1px solid #1a2d42; background: radial-gradient(ellipse at 53% 46%,#143257 0%,#0b172a 38%,#080f1c 75%); }
.stage-glow { position: absolute; left: 27%; top: 19%; width: 50%; height: 60%; background: #38bdf820; filter: blur(65px); border-radius: 50%; }
.device-orbit { position: absolute; top: 52%; left: 50%; width: 72%; height: 60%; border: 1px solid #38bdf827; border-radius: 50%; transform: translate(-50%,-50%) rotate(-22deg); }
.orbit-two { width: 85%; height: 83%; border-color: #f5c54215; transform: translate(-50%,-50%) rotate(18deg); }
.device-tag { position: absolute; z-index: 4; left: 22px; top: 19px; color: #a7b5c8; font: 8px var(--stats); letter-spacing: .1em; }
.device-tag span { margin-left: 7px; color: #43e5b3; font-size: 7px; }
.device-screen { position: absolute; z-index: 2; padding: 7px; border: 1px solid #c0d0e966; border-radius: 6px; background: linear-gradient(140deg,#aebfd9,#263b58 30%,#06101f 80%); box-shadow: 0 20px 50px #0009, inset 0 0 0 1px #fff3; transition: transform .35s ease, filter .35s ease; }
.screen-art { width: 100%; height: 100%; background-image: linear-gradient(0deg,#07132155,#07132105), url('./assets/images/hero-poster.jpg'); background-size: cover; background-position: 70% center; }
.device-screen > span { position: absolute; bottom: 12px; left: 12px; color: white; font: 8px var(--stats); letter-spacing: .12em; text-shadow: 0 2px 6px #000; }
.screen-desktop { left: 27%; top: 28%; width: 56%; height: 48%; border-radius: 7px 7px 3px 3px; }
.screen-desktop::after { content: ''; position: absolute; bottom: -19px; left: 44%; width: 12%; height: 15px; background: linear-gradient(90deg,#526880,#18283c); clip-path: polygon(20% 0,80% 0,100% 100%,0 100%); }
.screen-tablet { z-index: 1; top: 34%; left: 7%; width: 30%; height: 38%; border-radius: 10px; }
.screen-phone { z-index: 3; top: 44%; right: 8%; width: 18%; height: 38%; border-radius: 15px; }
.stage-foot { position: absolute; z-index: 4; right: 18px; bottom: 16px; left: 18px; display: flex; justify-content: space-between; color: #8c9caf; font: 7px var(--stats); letter-spacing: .1em; }
.stage-foot span:last-child { color: var(--cyan); }
.stage-foot i { display: inline-block; width: 4px; height: 4px; margin-left: 5px; border-radius: 50%; background: #43e5b3; }
.device-stage[data-active-device="tablet"] .screen-tablet { transform: scale(1.12); filter: brightness(1.25); z-index: 4; }
.device-stage[data-active-device="tablet"] .screen-desktop { transform: scale(.93); filter: brightness(.7); }
.device-stage[data-active-device="mobile"] .screen-phone { transform: scale(1.18); filter: brightness(1.25); }
.device-stage[data-active-device="mobile"] .screen-desktop { transform: scale(.93); filter: brightness(.7); }
.spec-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 43px; }
.spec-card { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 15px 19px; border: 1px solid #182a3e; background: linear-gradient(115deg,#0d1828,#09111e); }
.spec-card-icon { color: var(--gold); font-size: 20px; }
.spec-card small, .spec-card b { display: block; }
.spec-card small { margin-bottom: 7px; color: #8695a9; font: 7px var(--stats); letter-spacing: .08em; }
.spec-card b { color: #eaf0f6; font: 600 13px var(--stats); }
.spec-card b i { color: var(--cyan); font-size: 8px; font-style: normal; }

.classes-section { background: #0b1220; }
.classes-heading, .farm-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.classes-heading h2, .farm-heading h2 { margin-bottom: 0; }
.classes-heading > p, .farm-heading > p { max-width: 350px; margin-bottom: 5px; }
.class-showcase { display: grid; grid-template-columns: 260px 1fr; min-height: 407px; border: 1px solid #253247; background: #09111d; }
.class-roster { padding: 15px 0; border-right: 1px solid #202d40; }
.class-option { position: relative; display: flex; align-items: center; width: 100%; min-height: 47px; gap: 13px; padding: 7px 17px; border: 0; border-left: 2px solid transparent; background: transparent; color: #8795a7; text-align: left; cursor: pointer; transition: .2s ease; }
.class-option:hover, .class-option.active { border-left-color: var(--gold); background: linear-gradient(90deg,#f5c54214,transparent); color: #f0d98f; }
.class-sigil { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid #36445a; border-radius: 50%; color: var(--cyan); font-size: 16px; }
.class-option.active .class-sigil { border-color: #f5c5429c; color: var(--gold); box-shadow: 0 0 13px #f5c54218; }
.class-option > span:nth-child(2) { font-size: 11px; font-weight: 600; }
.class-option small { display: block; margin-top: 3px; color: var(--gold); font: 7px var(--stats); letter-spacing: .08em; }
.class-option > b { margin-left: auto; color: #68778c; font-size: 12px; }
.class-detail { position: relative; padding: 25px 32px 20px; overflow: hidden; background: radial-gradient(ellipse at 25% 35%,#14334a35,transparent 58%); }
.class-detail-top { display: flex; justify-content: space-between; align-items: center; }
.new-class-badge { padding: 6px 10px; border: 1px solid #f5c54270; color: var(--gold); font: 8px var(--stats); letter-spacing: .08em; }
.class-count { color: #7b8ba0; font: 9px var(--stats); }
.class-count i { color: var(--gold); font-style: normal; }
.class-detail-body { display: flex; align-items: center; min-height: 205px; gap: 30px; }
.class-symbol { position: relative; display: grid; place-items: center; flex: 0 0 185px; height: 185px; border: 1px solid #f5c5423b; border-radius: 50%; color: #f5c542ba; font-size: 95px; background: radial-gradient(circle,#f5c54212 0%,#38bdf806 46%,transparent 71%); text-shadow: 0 0 38px #f5c54242; transition: color .2s ease; }
.class-symbol::before, .class-symbol::after { content: ''; position: absolute; inset: 12px; border: 1px solid #38bdf827; border-radius: 50%; }
.class-symbol::after { inset: -9px; border-color: #f5c54218; }
.class-symbol span { position: absolute; top: 14px; right: 23px; color: var(--cyan); font-size: 19px; }
.class-description .kicker { margin-bottom: 7px; font-size: 8px; }
.class-description h3 { margin-bottom: 9px; font: 700 33px var(--heading); }
.class-description > p:last-child { max-width: 410px; margin-bottom: 0; color: #9caabd; font-size: 11px; line-height: 1.8; }
.class-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 17px 0; border-top: 1px solid #1e2b3d; border-bottom: 1px solid #1e2b3d; }
.class-stat { display: flex; flex-direction: column; gap: 7px; padding-right: 10px; }
.class-stat + .class-stat { padding-left: 16px; border-left: 1px solid #1e2b3d; }
.class-stat span { color: #78889e; font: 7px var(--stats); letter-spacing: .08em; }
.class-stat b { color: #dce5ef; font-size: 10px; }
.class-stat .mastery { color: var(--gold); letter-spacing: .14em; }
.class-stat .mastery i { color: #536176; font-style: normal; }

.forge-section { position: relative; overflow: hidden; background: linear-gradient(125deg,#080d16,#0b1321 60%,#0a1422); }
.forge-section::after { content: ''; position: absolute; right: -180px; top: 15%; width: 550px; height: 550px; border: 1px solid #f5c5420b; border-radius: 50%; box-shadow: 0 0 0 45px #f5c54205, 0 0 0 90px #f5c54203; }
.forge-layout { position: relative; z-index: 1; display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 8%; }
.safe-lock { display: flex; align-items: center; gap: 12px; margin-top: 29px; padding: 14px; border: 1px solid #f5c54249; background: #f5c54209; }
.lock-icon { color: var(--gold); font-size: 24px; }
.safe-lock b, .safe-lock small { display: block; }
.safe-lock b { color: var(--gold-light); font: 600 10px var(--stats); letter-spacing: .06em; }
.safe-lock small { margin-top: 4px; color: #8f9caf; font: 7px var(--stats); letter-spacing: .08em; }
.safe-check { display: grid; place-items: center; width: 21px; height: 21px; margin-left: auto; border: 1px solid #52dfad80; border-radius: 50%; color: #52dfad; }
.forge-count { display: flex; justify-content: space-between; max-width: 320px; margin-top: 20px; padding-bottom: 13px; border-bottom: 1px solid #1f2c3d; color: #7d8ca0; font: 8px var(--stats); letter-spacing: .08em; }
.forge-count b { color: #e5ecf4; font: 600 10px var(--stats); }
.forge-count i { margin-left: 5px; color: var(--cyan); font-size: 7px; font-style: normal; }
.forge-console { position: relative; min-height: 421px; overflow: hidden; border: 1px solid #66562c; background: radial-gradient(ellipse at 50% 43%,#47381755 0%,#141a20 37%,#0a111c 75%); box-shadow: 0 25px 60px #0005, inset 0 0 40px #f5c54208; }
.console-top, .console-bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid #76632e38; color: #97a5b6; font: 7px var(--stats); letter-spacing: .12em; }
.console-top > span:first-child { color: var(--gold-light); }
.console-dot { display: inline-block; width: 5px; height: 5px; margin-right: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px var(--gold); }
.console-top b { color: #50d7a4; font-weight: 500; }
.weapon-display { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 217px; }
.weapon-aura { position: absolute; top: 30px; width: 200px; height: 150px; border-radius: 50%; background: #f5c54214; filter: blur(33px); }
.weapon-glyph { z-index: 1; color: #f5d875; font-size: 79px; line-height: 1; filter: drop-shadow(0 0 14px #f5c54272); transform: rotate(-35deg); transition: transform .4s ease, color .4s ease; }
.forge-console.forging .weapon-glyph { color: #fff0a5; transform: rotate(-35deg) scale(1.15); }
.weapon-name { margin-top: 9px; color: #e1ca82; font: 8px var(--stats); letter-spacing: .2em; }
.weapon-level { position: absolute; top: 44px; right: 17%; color: var(--gold-light); font: 700 23px var(--stats); text-shadow: 0 0 15px #f5c54280; }
.weapon-sub { margin-top: 6px; color: #7f8a98; font: 6px var(--stats); letter-spacing: .15em; }
.refine-control { position: relative; z-index: 2; padding: 0 21px 14px; }
.refine-track { display: grid; grid-template-columns: repeat(6,1fr); gap: 5px; }
.refine-step { padding: 8px 3px; border: 1px solid #293447; background: #0b121e; color: #8190a3; cursor: pointer; font: 9px var(--stats); transition: .2s ease; }
.refine-step:hover, .refine-step.active { border-color: #f5c5429c; background: #f5c54217; color: var(--gold-light); box-shadow: 0 0 12px #f5c54214; }
.forge-status { display: flex; align-items: center; gap: 10px; margin-top: 10px; color: #77879a; font: 7px var(--stats); letter-spacing: .07em; }
.forge-status b { color: #b6c4d2; font-weight: 500; }
.forge-status b i { color: #49e1a8; font-size: 10px; font-style: normal; }
.forge-status b span { color: #617287; }
.status-lock { margin-left: auto; color: var(--gold); font-size: 16px; }
.console-bottom { border-top: 1px solid #76632e38; border-bottom: 0; color: #758498; }
.console-bottom > span:last-child { color: var(--gold); }
.console-bottom b { margin-left: 4px; color: #e0cc8b; }
.spark { position: absolute; z-index: 1; width: 4px; height: 4px; border-radius: 50%; background: #ffe991; box-shadow: 0 0 13px 4px #f5c54255; animation: spark 3s ease-in-out infinite; }
.spark-a { left: 22%; top: 35%; }.spark-b { right: 25%; top: 50%; animation-delay: 1s; }.spark-c { right: 34%; top: 27%; animation-delay: 1.7s; }

.farm-section { background: #0a111e; }
.farm-heading { margin-bottom: 45px; }
.farm-layout { display: grid; grid-template-columns: 1.12fr .88fr; gap: 16px; }
.farm-calculator, .reset-card { border: 1px solid #233249; background: linear-gradient(140deg,#101b2c,#0b1320); }
.farm-calculator { padding: 22px 24px 18px; }
.farm-card-top { display: flex; justify-content: space-between; color: #90a0b4; font: 8px var(--stats); letter-spacing: .1em; }
.farm-card-top > span:first-child { color: #cbd8e6; }
.farm-card-top > span:last-child { color: #74849a; }
.farm-card-top b { color: #42dca9; font-weight: 500; }
.hours-label { display: flex; justify-content: space-between; align-items: center; margin-top: 28px; color: #8695a9; font: 8px var(--stats); letter-spacing: .1em; }
.hours-label strong { color: var(--gold-light); font: 700 20px var(--stats); }
.hours-label small { color: #91a0b3; font: 8px var(--stats); }
input[type="range"] { width: 100%; height: 4px; margin: 18px 0 8px; appearance: none; border-radius: 3px; background: linear-gradient(90deg,var(--cyan) 0%,var(--cyan) 30.4%,#29364a 30.4%,#29364a 100%); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { width: 14px; height: 14px; appearance: none; border: 2px solid #091522; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 2px #38bdf875, 0 0 12px #38bdf8a3; }
input[type="range"]::-moz-range-thumb { width: 11px; height: 11px; border: 2px solid #091522; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 2px #38bdf875, 0 0 12px #38bdf8a3; }
.range-scale { display: flex; justify-content: space-between; color: #6f7e92; font: 7px var(--stats); }
.rewards-panel { margin-top: 21px; border: 1px solid #2a3e50; background: #08111d; }
.reward-header { display: flex; align-items: center; gap: 9px; padding: 11px 13px; border-bottom: 1px solid #223044; color: var(--gold); }
.reward-header > span:first-child { font-size: 15px; }
.reward-header b { color: #dbe4ee; font: 8px var(--stats); letter-spacing: .07em; }
.reward-check { display: grid; place-items: center; width: 17px; height: 17px; margin-left: auto; border: 1px solid #42dca978; border-radius: 50%; color: #42dca9; font-size: 10px; }
.reward-grid { display: grid; grid-template-columns: repeat(3,1fr); padding: 15px 12px 12px; }
.reward-grid > div { position: relative; display: flex; flex-direction: column; gap: 7px; padding-left: 10px; }
.reward-grid > div + div { border-left: 1px solid #1f2b3c; }
.reward-grid small { color: #74869c; font: 7px var(--stats); letter-spacing: .08em; }
.reward-grid b { color: #f3f5f8; font: 600 15px var(--stats); }
.reward-grid i { position: absolute; right: 13px; bottom: 0; color: var(--gold); font-style: normal; }
.reward-grid > div:first-child i { color: var(--cyan); }
.rewards-foot { display: flex; justify-content: space-between; padding: 10px 12px; border-top: 1px solid #1c2a3b; color: #6f8298; font: 7px var(--stats); letter-spacing: .06em; }
.rewards-foot span:first-child { color: #6da894; }
.rewards-foot span:last-child { color: #98a8bb; }
.reset-card { padding: 23px 24px 18px; background: radial-gradient(ellipse at 90% 10%,#f5c5420a,transparent 50%),#0d1624; }
.reset-card .kicker { margin-bottom: 11px; }
.reset-card h3 { margin-bottom: 11px; font: 700 25px/1.2 var(--heading); }
.reset-card > p:not(.kicker) { margin-bottom: 16px; color: #8c9aab; font-size: 10px; line-height: 1.7; }
.reset-option { display: flex; align-items: center; gap: 9px; padding: 10px 0; border-top: 1px solid #1e2c3e; }
.reset-icon { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #f5c54250; border-radius: 50%; color: var(--gold); font-size: 14px; }
.reset-option b, .reset-option small { display: block; }
.reset-option b { color: #d8e1eb; font: 8px var(--stats); }
.reset-option small { margin-top: 4px; color: #718095; font-size: 8px; }
.free-tag { margin-left: auto; color: #49dfa9; font: 8px var(--stats); }
.switch { position: relative; width: 30px; height: 17px; margin-left: 5px; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch > span { position: absolute; inset: 0; border: 1px solid #38485b; border-radius: 20px; background: #172233; cursor: pointer; transition: .2s; }
.switch > span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 9px; height: 9px; border-radius: 50%; background: #7c8b9d; transition: .2s; }
.switch input:checked + span { border-color: #39cfa0; background: #39cfa01c; }
.switch input:checked + span::after { left: 16px; background: #49dfa9; box-shadow: 0 0 7px #49dfa9; }
.zeny-cost { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding: 11px 0; border-top: 1px solid #1e2c3e; color: #8290a2; font: 7px var(--stats); letter-spacing: .08em; }
.zeny-cost > b { color: #f0f3f7; font: 600 13px var(--stats); }
.zeny-cost b small { color: var(--gold); font: 7px var(--stats); }
.zeny-cost > span:last-child { color: #49dfa9; }
.zeny-cost > span:last-child span { color: #49dfa9; }
.reset-link { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border: 1px solid #f5c54268; color: var(--gold-light); font: 8px var(--stats); letter-spacing: .1em; transition: .2s; }
.reset-link:hover { background: #f5c54212; }

.closing-banner { position: relative; display: flex; flex-direction: column; align-items: center; padding: 93px 25px 88px; overflow: hidden; border-top: 1px solid #f5c54230; border-bottom: 1px solid #f5c54230; text-align: center; background: radial-gradient(ellipse at center,#182844 0%,#0b1424 44%,#070b14 82%); }
.closing-banner::before, .closing-banner::after { content: ''; position: absolute; top: 50%; left: 50%; width: 580px; height: 580px; border: 1px solid #f5c54214; border-radius: 50%; transform: translate(-50%,-50%); pointer-events: none; }
.closing-banner::after { width: 720px; height: 720px; border-color: #38bdf80b; }
.closing-mark { position: absolute; color: #f5c54209; font: 700 410px var(--heading); line-height: 1; pointer-events: none; }
.closing-banner .kicker, .closing-banner h2, .closing-banner .steam-cta, .closing-note { position: relative; z-index: 1; }
.closing-banner .kicker { margin-bottom: 12px; }
.closing-banner h2 { margin-bottom: 25px; font-size: clamp(34px,4vw,49px); }
.closing-steam { width: 205px; }
.closing-note { margin: 20px 0 0; color: #79879a; font: 7px var(--stats); letter-spacing: .15em; }
.closing-note i { padding: 0 8px; color: var(--gold); font-style: normal; }
.site-footer { display: flex; align-items: center; justify-content: space-between; min-height: 91px; padding: 16px clamp(25px,9vw,140px); color: #66768b; font: 7px var(--stats); letter-spacing: .08em; }
.site-footer > a:first-child { width: 110px; height: 48px; }
.site-footer > a:first-child img { width: 100%; height: 100%; object-fit: contain; }
.back-top { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #f5c54250; color: var(--gold); font-size: 16px; }

.community-widget { position: fixed; z-index: 45; top: 50%; right: 20px; display: flex; align-items: center; gap: 12px; transform: translateY(-50%); }
.mascot-button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 7px; border: 1px solid #f5c542ac; border-radius: 50%; background: rgba(7,11,20,.86); cursor: pointer; box-shadow: 0 0 0 4px #38bdf81b, 0 0 23px #38bdf845; animation: float 3s ease-in-out infinite; }
.mascot-button img { width: 57px; height: 55px; object-fit: contain; }
.community-label { position: absolute; bottom: -22px; left: 50%; transform: translateX(-50%); color: var(--gold-light); font: 7px var(--stats); letter-spacing: .08em; text-shadow: 0 1px 8px #000; }
.mascot-glow { position: absolute; inset: -8px; z-index: -1; border: 1px solid #38bdf86c; border-radius: 50%; }
.community-menu { display: none; width: 207px; padding: 10px; border: 1px solid #f5c54253; border-radius: 5px; background: rgba(7,11,20,.94); backdrop-filter: blur(12px); box-shadow: 0 15px 45px #0009; }
.community-widget.open .community-menu { display: block; animation: menu-in .2s ease-out; }
.community-menu p { margin: 0; padding: 7px 8px 11px; color: var(--gold); font: 8px var(--stats); letter-spacing: .12em; }
.community-menu a { display: flex; align-items: center; gap: 9px; padding: 8px; border-top: 1px solid #ffffff0b; color: #c5d0dc; font-size: 10px; transition: .15s ease; }
.community-menu a:hover { color: var(--gold-light); background: #f5c5420d; }
.community-menu a i { margin-left: auto; color: #718196; font-style: normal; }
.social-mark { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid #38bdf84d; border-radius: 50%; color: var(--cyan); font-size: 10px; }

.setup-bar { position: fixed; z-index: 50; bottom: 0; left: 0; display: flex; justify-content: center; width: 100%; height: 168px; border-top: 1px solid #f5c54291; background: rgba(7,11,20,.93); backdrop-filter: blur(12px); transition: transform .3s ease, opacity .3s ease; }
.setup-bar.collapsed { transform: translateY(105%); opacity: 0; pointer-events: none; }
.setup-close { position: absolute; z-index: 2; top: 5px; right: 22px; display: grid; place-items: center; width: 25px; height: 25px; border: 1px solid #f5c5425c; border-radius: 50%; background: #0b1422; color: #d8c478; font-size: 20px; line-height: 1; cursor: pointer; }
.setup-content { position: relative; width: min(730px, 88vw); height: 100%; overflow: hidden; }
.setup-content::before { content: ''; position: absolute; z-index: 1; top: 0; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg,transparent,#f5c542,transparent); }
.setup-content img { position: absolute; top: -144px; left: 50%; width: min(730px, 88vw); max-width: none; height: auto; transform: translateX(-50%); }
.setup-labels { position: absolute; z-index: 2; bottom: 8px; left: 0; display: grid; width: 100%; grid-template-columns: repeat(4,1fr); color: #b8c5d6; text-align: center; font: 7px var(--stats); letter-spacing: .05em; }
.setup-labels b { color: var(--gold-light); font-weight: 500; }
.setup-tab { position: fixed; z-index: 50; right: 18px; bottom: 16px; padding: 11px 15px; border: 1px solid #f5c54299; border-radius: 3px; background: rgba(7,11,20,.95); color: var(--gold-light); font: 8px var(--stats); letter-spacing: .08em; cursor: pointer; box-shadow: 0 0 16px #f5c54220; }
.setup-tab span { color: var(--gold); margin-right: 5px; }
.setup-tab[hidden] { display: none; }
.video-modal, .modal-backdrop { position: fixed; z-index: 100; visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; }
.modal-backdrop {
  inset: 0;
  background-color: rgba(0,0,0,.85);
  background-image: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.video-modal { top: 50%; left: 50%; width: min(880px, 90vw); padding: 14px; border: 1px solid #f5c54276; background: #08111e; box-shadow: 0 25px 90px #000; transform: translate(-50%,-46%); }
.video-modal.open, .modal-backdrop.open { visibility: visible; opacity: 1; }
.video-modal.open { transform: translate(-50%,-50%); }
.video-frame { width: 100%; background: #000; }
.video-frame video { display: block; width: 100%; max-height: 70vh; }
.video-modal > p { margin: 12px 0 1px; color: var(--gold-light); font: 8px var(--stats); letter-spacing: .1em; }
.video-modal > p span { color: #8291a5; }
.modal-close { position: absolute; top: -35px; right: 0; width: 27px; height: 27px; border: 1px solid #f5c54280; border-radius: 50%; background: #0c1422; color: var(--gold); font-size: 18px; cursor: pointer; }
body.modal-open { overflow: hidden; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes spark { 0%,100% { opacity: .2; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.3); } }
@keyframes menu-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1500px) { .site-header { padding-right: max(82px, calc((100vw - 1400px)/2)); padding-left: max(82px, calc((100vw - 1400px)/2)); } }
@media (max-width: 1100px) {
  .site-header { grid-template-columns: 140px 1fr 205px; gap: 10px; padding: 0 24px; }
  .brand { width: 135px; }
  .main-nav { gap: 19px; }
  .nav-link { font-size: 9px; }
  .header-steam { width: 125px; }
  .header-actions { gap: 8px; }
  .section-pad { padding-right: 6vw; padding-left: 6vw; }
  .class-showcase { grid-template-columns: 220px 1fr; }
  .class-symbol { flex-basis: 145px; height: 145px; font-size: 76px; }
  .class-detail { padding-right: 23px; padding-left: 23px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 70px; }
  .site-header { height: 68px; display: flex; justify-content: space-between; padding: 0 17px; }
  .brand { width: 126px; height: 58px; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 36px; height: 36px; margin-left: auto; padding: 7px; border: 1px solid #f5c5424a; background: #0b1421; cursor: pointer; }
  .menu-toggle span { display: block; height: 1px; width: 100%; background: var(--gold-light); }
  .header-actions { gap: 8px; }
  .language-button { gap: 4px; padding: 8px 2px; }
  .language-button svg { width: 16px; }
  .header-steam { width: 97px; }
  .main-nav { position: absolute; top: 68px; left: 0; display: none; width: 100%; height: auto; padding: 13px 20px 18px; align-items: stretch; flex-direction: column; gap: 0; border-bottom: 1px solid #f5c54265; background: rgba(7,11,20,.97); }
  .main-nav.open { display: flex; }
  .nav-link { height: 42px; font-size: 10px; }
  .nav-link.active::after { bottom: 4px; }
  .class-nav { align-items: flex-start; }
  .nav-new { position: static; transform: none; order: 2; margin-left: 8px; padding: 3px 6px; }
  .hero { min-height: 760px; height: 100svh; max-height: 900px; }
  .hero-gif { object-position: 43% center; }
  .hero-shade { background: linear-gradient(270deg,rgba(7,11,20,.88),rgba(7,11,20,.48) 65%,rgba(7,11,20,.24)),linear-gradient(0deg,#070b14 0%,transparent 38%,#070b1459 100%); }
  .hero-content { right: 7%; left: 7%; top: 54%; width: auto; transform: translateY(-42%); }
  .hero h1 { font-size: clamp(40px,10.7vw,65px); }
  .hero-copy { max-width: 440px; }
  .trailer-trigger { left: 23%; top: 27%; }
  .play-ring { width: 58px; height: 58px; }
  .hero-stamp { bottom: 35px; }
  .hero-scroll { display: none; }
  .section-pad { padding: 78px 22px; }
  .section-topline { gap: 10px; margin-bottom: 39px; font-size: 7px; }
  .section-topline > span:last-child { font-size: 6px; }
  .cross-layout, .forge-layout { grid-template-columns: 1fr; gap: 38px; }
  .device-stage { height: 340px; }
  .spec-cards { grid-template-columns: 1fr; gap: 8px; margin-top: 24px; }
  .spec-card { min-height: 60px; }
  .classes-heading, .farm-heading { display: block; }
  .classes-heading > p, .farm-heading > p { margin-top: 18px; }
  .class-showcase { grid-template-columns: 1fr; }
  .class-roster { display: grid; grid-template-columns: repeat(4,1fr); padding: 8px; border-right: 0; border-bottom: 1px solid #202d40; }
  .class-option { min-height: 62px; flex-direction: column; justify-content: center; gap: 4px; padding: 5px 2px; border-left: 0; border-bottom: 2px solid transparent; text-align: center; }
  .class-option:hover, .class-option.active { border-left-color: transparent; border-bottom-color: var(--gold); background: linear-gradient(180deg,transparent,#f5c54212); }
  .class-option > span:nth-child(2) { font-size: 8px; }
  .class-sigil { width: 25px; height: 25px; font-size: 13px; }
  .class-option > b { display: none; }
  .class-option small { font-size: 5px; }
  .class-detail { padding: 20px 16px; }
  .class-detail-body { min-height: 180px; gap: 20px; }
  .class-symbol { flex-basis: 115px; height: 115px; font-size: 60px; }
  .class-description h3 { font-size: 25px; }
  .class-description > p:last-child { font-size: 9px; }
  .class-stats { gap: 6px; }
  .class-stat { padding-right: 3px; }
  .class-stat + .class-stat { padding-left: 7px; }
  .class-stat span { font-size: 6px; }
  .class-stat b { font-size: 8px; }
  .forge-console { min-height: 402px; }
  .farm-layout { grid-template-columns: 1fr; }
  .closing-banner { padding: 75px 20px; }
  .site-footer { padding: 15px 18px; gap: 10px; font-size: 6px; }
  .site-footer > a:first-child { width: 82px; }
  .community-widget { right: 11px; }
  .mascot-button img { width: 44px; height: 43px; }
  .community-menu { width: 180px; }
  .setup-bar { height: 135px; }
  .setup-content { width: min(640px, 96vw); }
  .setup-content img { top: -122px; width: min(640px, 96vw); }
  .setup-labels { bottom: 7px; font-size: 6px; }
  .setup-close { right: 8px; top: 3px; }
}
@media (max-width: 430px) {
  .header-steam { width: 81px; }
  .header-actions { gap: 5px; }
  .language-code { font-size: 8px; }
  .hero-content { top: 53%; }
  .eyebrow { font-size: 7px; letter-spacing: .1em; }
  .hero-steam { width: 170px; }
  .cta-microcopy { width: 100%; }
  .spec-pill { max-width: 100%; }
  .spec-pill small { font-size: 7px; }
  .device-tabs { gap: 5px; }
  .device-tab { justify-content: center; flex-direction: column; gap: 3px; padding: 7px 4px; font-size: 7px; text-align: center; }
  .device-tab small { font-size: 6px; }
  .device-stage { height: 280px; }
  .screen-desktop { left: 22%; width: 62%; }
  .screen-tablet { left: 4%; }
  .screen-phone { right: 4%; }
  .class-detail-body { gap: 12px; }
  .class-symbol { flex-basis: 88px; height: 88px; font-size: 47px; }
  .class-symbol span { top: 7px; right: 11px; font-size: 13px; }
  .class-count { font-size: 7px; }
  .class-stat b { font-size: 7px; }
  .farm-calculator, .reset-card { padding-right: 15px; padding-left: 15px; }
  .reward-grid { padding-right: 7px; padding-left: 7px; }
  .reward-grid > div { padding-left: 6px; }
  .reward-grid b { font-size: 12px; }
  .reward-grid small { font-size: 6px; }
  .setup-labels { font-size: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Keep the opening scene and its setup strip within one viewport. */
.hero {
  height: 100vh;
  height: 100svh;
  min-height: 0;
  max-height: 100vh;
  max-height: 100svh;
}
.hero-shade {
  background: linear-gradient(270deg, rgba(7, 11, 20, .90) 0%, rgba(7, 11, 20, .55) 48%, transparent 80%), linear-gradient(0deg, #070b14 0%, transparent 20%, transparent 78%, #070b1470 100%);
}
.hero-content {
  top: 50%;
  right: clamp(26px, 7vw, 110px);
  display: flex;
  width: min(560px, 48vw);
  max-width: 560px;
  margin-left: auto;
  padding-top: 20px;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 12px;
  text-align: right;
  transform: translateY(-50%);
}
.hero-content .eyebrow,
.hero-content h1,
.hero-content .hero-copy,
.hero-content .hero-cta-row,
.hero-content .hero-launch-line { margin: 0; }
.hero-content .eyebrow { justify-content: flex-end; font-size: clamp(7px, .7vw, 9px); }
.hero-content h1 {
  font-size: clamp(31px, 3.2vw, 47px);
  line-height: 1.15;
  white-space: nowrap;
}
.hero-content h1 span { display: block; font-size: .73em; }
.hero-content .hero-copy {
  max-width: 500px;
  color: #e4e9f1;
  font-size: clamp(10px, .9vw, 12px);
  line-height: 1.7;
}
.hero-content .hero-cta-row { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.hero-content .hero-steam { width: clamp(150px, 16vw, 195px); }
.hero-content .cta-microcopy { color: #fff; font-size: clamp(9px, .75vw, 11px); }
.hero-content .cta-microcopy b { color: var(--gold); }
.hero-launch-line {
  max-width: 560px;
  color: #e4e9f1;
  font-size: clamp(8px, .72vw, 10px);
  line-height: 1.65;
}
.hero-launch-line i { color: var(--gold); font-style: normal; padding: 0 2px; }
.hero-launch-line > span { color: #738198; padding: 0 3px; }
.hero-scroll { display: none; }
.hero-copyright {
  position: absolute;
  bottom: 72px;
  left: 28px;
  z-index: 3;
  margin: 0;
  color: rgba(255,255,255,.65);
  font-size: 11px;
}
.setup-bar {
  height: 60px;
  border-top: 1px solid var(--gold);
  background: #070b14;
  box-shadow: 0 -2px 12px #f5c5421a;
}
.setup-content {
  position: relative;
  display: grid;
  width: min(1200px, 100%);
  height: 100%;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}
.setup-content::before {
  content: '';
  position: absolute;
  top: 21px;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  box-shadow: 0 0 7px #f5c54299;
}
.setup-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1px;
  padding-top: 1px;
  color: var(--gold-light);
  font: 7px var(--stats);
  letter-spacing: .03em;
  white-space: nowrap;
}
.setup-step svg {
  justify-self: center;
  width: 42px;
  height: 42px;
  border: 1px solid #f5c542ac;
  border-radius: 50%;
  background: #070b14;
  box-shadow: 0 0 9px #f5c54230;
  overflow: hidden;
}
.setup-close {
  top: 0;
  right: 12px;
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  color: var(--gold-light);
  font-size: 24px;
  text-shadow: 0 0 9px #f5c542aa;
}
.setup-bar.collapsed { transform: translateY(105%); }
.site-footer > span {
  color: rgba(255,255,255,.65);
  font: 10px var(--body);
  letter-spacing: 0;
}

@media (max-width: 760px) {
  .hero-content {
    top: 51%;
    right: 6%;
    left: 6%;
    width: auto;
    max-width: 560px;
    padding-top: 0;
    gap: clamp(8px, 1.7vh, 12px);
    transform: translateY(-50%);
  }
  .hero-content h1 { font-size: clamp(27px, 7.3vw, 45px); }
  .hero-content h1 span { font-size: .72em; }
  .hero-content .eyebrow { font-size: clamp(7px, 1.6vw, 9px); }
  .hero-content .hero-copy { max-width: 450px; font-size: clamp(10px, 2.5vw, 12px); }
  .hero-content .hero-steam { width: clamp(145px, 42vw, 190px); }
  .hero-content .cta-microcopy { font-size: 9px; }
  .hero-launch-line { max-width: 450px; font-size: clamp(8px, 2vw, 10px); }
  .hero-copyright { bottom: 69px; left: 14px; max-width: 65%; font-size: 8px; }
  .setup-content { width: 100%; }
  .setup-close { right: 3px; }
  .site-footer { flex-wrap: wrap; }
  .site-footer > span { max-width: calc(100% - 115px); font-size: 8px; }
}
@media (max-width: 430px) {
  .hero-content { top: 49%; gap: 9px; }
  .hero-content h1 { font-size: clamp(24px, 7.1vw, 31px); }
  .hero-content h1 span { font-size: .7em; }
  .hero-content .hero-copy { font-size: 10px; }
  .hero-launch-line { font-size: 8px; }
}

/* Hero-only visual refinements. */
.hero-shade {
  background: linear-gradient(270deg, rgba(7,11,20,.16) 0%, rgba(7,11,20,.08) 38%, transparent 76%), linear-gradient(0deg, rgba(7,11,20,.22) 0%, transparent 23%, transparent 100%);
}
.hero-vignette { display: none; }
.hero-content {
  top: 50%;
  right: auto;
  left: clamp(30px, 7vw, 110px);
  width: min(560px, 46vw);
  margin-left: 0;
  align-items: flex-start;
  text-align: left;
}
.hero-content .eyebrow { justify-content: flex-start; }
.hero-content .hero-cta-row { align-items: flex-start; }
.hero-content .hero-copy { text-shadow: 0 1px 5px #07101f; }
.hero-content h1 { text-shadow: 0 2px 12px #07101f, 0 1px 3px #07101f; }
.hero-launch-line { text-shadow: 0 1px 5px #07101f; }
.trailer-trigger { top: 50%; left: 50%; }
.community-menu {
  display: none;
  grid-template-columns: repeat(3, 42px);
  justify-content: center;
  gap: 10px;
  width: auto;
  padding: 14px;
  border-color: #f5c54280;
}
.community-widget.open .community-menu { display: grid; }
.community-menu > p { display: none; }
.community-menu a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #f5c5420a;
}
.community-menu a:hover { background: #f5c54220; }
.social-mark {
  width: 30px;
  height: 30px;
  border: 1px solid #f5c54283;
  color: var(--gold);
  font-weight: 700;
  box-shadow: 0 0 12px #f5c5421a;
}
.setup-step svg { border: 0; box-shadow: none; }

@media (max-width: 760px) {
  .hero-content {
    top: 29%;
    right: auto;
    left: 6%;
    width: 76%;
    max-width: 560px;
    align-items: flex-start;
    gap: clamp(8px, 1.7vh, 12px);
    text-align: left;
    transform: translateY(-50%);
  }
  .hero-content .eyebrow { justify-content: flex-start; }
  .hero-content h1 {
    font-size: clamp(22px, 6vw, 40px);
    white-space: normal;
  }
  .hero-content h1 span { font-size: .72em; }
  .hero-content .hero-cta-row { align-items: flex-start; }
  .hero-content .hero-steam { width: clamp(140px, 38vw, 185px); }
  .hero-content .cta-microcopy { font-size: 9px; }
  .hero-launch-line { max-width: 100%; font-size: clamp(8px, 1.9vw, 10px); }
  .trailer-trigger { top: 50%; left: 50%; }
}
@media (max-width: 430px) {
  .hero-content { top: 29%; left: 6%; width: 75%; gap: 8px; }
  .hero-content h1 { font-size: clamp(20px, 6vw, 25px); }
  .hero-content h1 span { font-size: .72em; }
  .hero-content .hero-copy { font-size: 9px; }
  .hero-launch-line { font-size: 7px; }
  .hero-content .eyebrow { font-size: 6px; letter-spacing: .08em; }
  .hero-copyright { bottom: 69px; left: 11px; }
}

  /* Final hero and setup details. */
  .hero-shade { background: transparent; }
  .hero-content {
    width: min(650px, 52vw);
    max-width: 650px;
    left: clamp(24px, 5vw, 75px);
    gap: 13px;
  }
  .hero-content .eyebrow {
    align-self: flex-start;
    padding: 8px 13px;
    border: 1px solid rgba(56,189,248,.58);
    background: rgba(56,189,248,.16);
    color: #b7eaff;
    box-shadow: inset 0 0 18px rgba(56,189,248,.07), 0 0 14px rgba(56,189,248,.08);
    font-size: clamp(8px, .75vw, 10px);
    letter-spacing: .12em;
  }
  .hero-content h1 {
    font-size: clamp(36px, 3.3vw, 48px);
    line-height: 1.08;
    letter-spacing: -.025em;
    white-space: nowrap;
  }
  .hero-content h1 span {
    display: block;
    font-size: .79em;
    line-height: 1.15;
  }
  .hero-content .hero-copy {
    max-width: 610px;
    font-size: clamp(12px, 1vw, 14px);
    line-height: 1.75;
  }
  .hero-content .hero-steam { width: clamp(185px, 18vw, 225px); }
  .hero-content .cta-microcopy { font-size: clamp(10px, .85vw, 12px); }
  .hero-launch-line {
    max-width: 640px;
    font-size: clamp(9px, .78vw, 11px);
    line-height: 1.7;
  }
  .community-menu {
    grid-template-columns: 1fr;
    gap: 6px;
    width: 58px;
    padding: 9px;
  }
  .community-menu a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(245,197,66,.24);
    border-radius: 50%;
  }
  .social-mark {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }
  .setup-step { gap: 0; padding-top: 1px; }
  .setup-icon {
    display: grid;
    place-items: center;
    width: 41px;
    height: 41px;
    border: 1px solid rgba(245,197,66,.88);
    border-radius: 50%;
    background: linear-gradient(145deg, #102441, #075176);
    box-shadow: 0 0 10px rgba(245,197,66,.22), inset 0 0 12px rgba(56,189,248,.13);
  }
  .setup-step .setup-icon svg {
    width: 27px;
    height: 27px;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    fill: none;
    stroke: #f7fbff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .modal-backdrop { background: rgba(2,5,11,.72); backdrop-filter: none; }

  @media (max-width: 760px) {
    .hero-content {
      width: 87%;
      gap: clamp(9px, 1.8vh, 13px);
    }
    .hero-content h1 { font-size: clamp(27px, 7.3vw, 44px); white-space: normal; }
    .hero-content h1 span { font-size: .72em; }
    .hero-content .eyebrow { font-size: clamp(7px, 1.6vw, 9px); }
    .hero-content .hero-copy { font-size: clamp(10px, 2.5vw, 12px); }
    .hero-content .hero-steam { width: clamp(155px, 42vw, 195px); }
    .hero-launch-line { max-width: 100%; font-size: clamp(8px, 2vw, 10px); }
    .community-menu { width: 54px; }
  }
  @media (max-width: 430px) {
    .hero-content { width: 88%; gap: 8px; }
    .hero-content h1 { font-size: clamp(25px, 7.1vw, 30px); }
    .hero-content h1 span { font-size: .72em; }
    .hero-content .hero-copy { font-size: 9px; }
    .hero-launch-line { font-size: 7px; }
    .hero-content .eyebrow { font-size: 6px; letter-spacing: .08em; }
  }

  /* Final hero layout and supplied icon artwork. */
  .hero-shade {
    background: linear-gradient(90deg, rgba(7, 11, 20, .92) 0%, rgba(7, 11, 20, .72) 42%, rgba(7, 11, 20, .25) 68%, transparent 85%);
  }
  .hero-vignette {
    display: block;
    inset: auto 0 0;
    height: 145px;
    background: linear-gradient(0deg, rgba(7, 11, 20, .92) 0%, transparent 100%);
  }
  .hero-content {
    top: 47%;
    left: clamp(28px, 6vw, 90px);
    width: min(660px, 56vw);
    max-width: 660px;
    gap: 13px;
  }
  .hero-content h1 {
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.08;
    text-shadow: 0 2px 12px rgba(0,0,0,.75);
  }
  .hero-content h1 span { font-size: .77em; }
  .hero-content .hero-copy {
    font-size: clamp(12px, 1vw, 14px);
    text-shadow: 0 2px 12px rgba(0,0,0,.75);
  }
  .hero-content .hero-cta-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .steam-cta,
  .steam-cta:hover {
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }
  .steam-cta img { display: block; mix-blend-mode: lighten; }
  .hero-content .hero-steam { width: clamp(180px, 17vw, 220px); }
  .trailer-trigger {
    position: static;
    display: inline-flex;
    min-height: 43px;
    align-items: center;
    justify-items: initial;
    gap: 10px;
    padding: 0 15px;
    border: 1px solid var(--gold);
    border-radius: 3px;
    background: rgba(7,11,20,.75);
    color: #fff;
    transform: none;
    transition: background .2s ease, box-shadow .2s ease;
  }
  .trailer-trigger:hover {
    background: rgba(7,11,20,.94);
    box-shadow: 0 0 16px rgba(245,197,66,.2);
  }
  .play-triangle {
    flex: 0 0 auto;
    width: 0;
    height: 0;
    margin-left: 2px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 9px solid var(--gold);
    filter: none;
  }
  .trailer-caption {
    color: #fff;
    font: 8px var(--stats);
    letter-spacing: .12em;
    white-space: nowrap;
  }
  .hero-content > .cta-microcopy {
    margin: -5px 0 0;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
  }
  .hero-content > .cta-microcopy b { color: var(--gold); }
  .hero-meta {
    position: absolute;
    z-index: 10;
    right: 0;
    bottom: 70px;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 0 32px;
  }
  .hero-meta .hero-launch-line {
    max-width: 72%;
    margin: 0;
    color: rgba(255,255,255,.85);
    font-size: 12px;
    line-height: 1.5;
    text-shadow: 0 1px 5px rgba(0,0,0,.8);
  }
  .hero-meta .hero-copyright {
    position: static;
    flex: 0 0 auto;
    max-width: 34%;
    margin: 0;
    color: rgba(255,255,255,.75);
    font-size: 11px;
    text-align: right;
    text-shadow: 0 1px 5px rgba(0,0,0,.8);
  }
  .community-menu {
    display: none;
    grid-template-columns: 1fr;
    gap: 4px;
    width: 48px;
    padding: 7px;
    border: 1px solid rgba(245,197,66,.42);
    border-radius: 4px;
    background: rgba(7,11,20,.82);
    box-shadow: 0 10px 24px rgba(0,0,0,.36);
  }
  .community-widget.open .community-menu { display: grid; }
  .community-menu a {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: transparent;
  }
  .community-menu a:hover { background: rgba(245,197,66,.12); }
  .social-mark {
    display: block;
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    filter: none;
  }
  .setup-step { gap: 1px; }
  .setup-icon {
    width: 38px;
    height: 38px;
    overflow: hidden;
    border: 1px solid rgba(245,197,66,.9);
    border-radius: 50%;
    background: transparent;
    box-shadow: 0 0 9px rgba(245,197,66,.25);
  }
  .setup-icon img {
    position: static;
    display: block;
    width: 100%;
    max-width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    transform: none;
  }
  .setup-step > span:last-child { font-size: 6px; }
  .modal-backdrop { background: rgba(7,11,20,.92); backdrop-filter: none; }
  .video-modal { background: #070b14; }
  .video-frame video,
  .video-frame iframe { filter: none; backdrop-filter: none; }

  @media (max-width: 760px) {
    .hero-content {
      top: 37%;
      left: 6%;
      width: 84%;
      gap: 10px;
    }
    .hero-content h1 { font-size: clamp(28px, 7.1vw, 42px); }
    .hero-content .hero-copy { font-size: clamp(10px, 2.5vw, 12px); }
    .hero-cta-row { flex-wrap: wrap; gap: 10px; }
    .hero-content .hero-steam { width: clamp(150px, 40vw, 190px); }
    .trailer-trigger { min-height: 38px; gap: 8px; padding: 0 10px; }
    .trailer-caption { font-size: 7px; }
    .hero-meta {
      bottom: 67px;
      align-items: flex-start;
      gap: 12px;
      padding: 0 14px;
    }
    .hero-meta .hero-launch-line { max-width: 68%; font-size: 8px; }
    .hero-meta .hero-copyright { max-width: 32%; font-size: 7px; }
    .community-menu { width: 44px; }
    .setup-bar { height: 60px; }
    .setup-content { width: 100%; }
  }
  @media (max-width: 430px) {
    .hero-content { top: 35%; left: 5%; width: 90%; }
    .hero-content h1 { font-size: clamp(25px, 7.5vw, 31px); }
    .hero-content h1 span { font-size: .75em; }
    .hero-content .hero-copy { max-width: 94%; font-size: 10px; }
    .hero-content .hero-steam { width: 150px; }
    .trailer-trigger { min-height: 34px; gap: 6px; padding: 0 8px; }
    .trailer-caption { font-size: 6px; }
    .hero-meta { bottom: 66px; padding: 0 10px; gap: 8px; }
    .hero-meta .hero-launch-line { max-width: 67%; font-size: 7px; }
    .hero-meta .hero-copyright { max-width: 32%; font-size: 6px; }
  }

/* Match the supplied opening-screen reference at desktop size. */
.site-header { height: 86px; padding-right: clamp(22px, 3.2vw, 44px); }
.nav-link { font-size: 13px; }
.hero-content .eyebrow {
  border-color: rgba(245,197,66,.78);
  background: rgba(7,11,20,.4);
  color: #f5d477;
  box-shadow: inset 0 0 18px rgba(245,197,66,.05), 0 0 14px rgba(245,197,66,.08);
  font-size: clamp(9px, .82vw, 11px);
}
.hero-content .hero-copy { font-size: clamp(14px, 1.2vw, 16px); }
.trailer-caption { font-size: 10px; }
.steam-cta {
  position: relative;
  aspect-ratio: 5.43 / 1;
  overflow: hidden;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  filter: none;
  transition: none;
}
.steam-cta:hover,
.steam-cta:focus-visible {
  transform: none;
  filter: none;
  box-shadow: none;
}
.steam-cta img {
  position: absolute;
  top: 0;
  left: 0;
  width: 123%;
  max-width: none;
  height: auto;
  transform: translate(-7.8%, -18.5%);
  mix-blend-mode: normal;
}
.header-steam { width: 135px; }
.hero-content .hero-steam { width: clamp(225px, 20vw, 270px); }
.hero-meta { bottom: 78px; gap: 20px; padding-right: 30px; padding-left: 30px; }
.hero-meta .hero-launch-line { max-width: 64%; }
.hero-meta .hero-copyright { max-width: 34%; }
.setup-bar { height: 68px; }
.setup-content::before { top: 22px; }
.setup-icon { width: 44px; height: 44px; }
.setup-step > span:last-child { font-size: 9px; }
.setup-close {
  top: 8px;
  right: 10px;
  width: 25px;
  height: 25px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--gold);
  font-size: 23px;
}

@media (max-width: 760px) {
  .site-header { height: 60px; }
  .steam-cta img { width: 123%; }
  .header-steam { width: 118px; }
  .hero-content .hero-steam { width: clamp(165px, 42vw, 205px); }
  .hero-content .eyebrow { font-size: clamp(7px, 1.6vw, 9px); }
  .hero-content .hero-copy { font-size: clamp(10px, 2.5vw, 12px); }
  .trailer-caption { font-size: 7px; }
  .hero-meta { bottom: 76px; gap: 8px; padding: 0 12px; }
  .hero-meta .hero-launch-line { max-width: 66%; }
  .hero-meta .hero-copyright { max-width: 32%; }
  .setup-bar { height: 60px; }
  .setup-icon { width: 38px; height: 38px; }
  .setup-step > span:last-child { font-size: 6px; }
  .setup-content::before { top: 19px; }
}

/* Compact right-edge community capsule. */
.community-widget {
  position: fixed;
  z-index: 45;
  top: 50%;
  right: 20px;
  display: block;
  width: 52px;
  height: 52px;
  margin: 0;
  transform: translateY(-50%);
}
.mascot-button {
  position: relative;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  padding: 2px;
  overflow: visible;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  background: #070b14;
  box-shadow: 0 4px 16px rgba(0,0,0,.55);
  cursor: pointer;
  animation: none;
  transition: transform .24s cubic-bezier(.2,.8,.2,1), box-shadow .24s ease;
}
.mascot-button::before {
  position: absolute;
  inset: -4px;
  border: 1px solid rgba(245,197,66,.65);
  border-radius: 50%;
  content: '';
  opacity: 0;
  pointer-events: none;
  transform: scale(.88);
}
.community-widget:focus-within .mascot-button,
.community-widget.open .mascot-button {
  transform: scale(1.08);
  box-shadow: 0 4px 18px rgba(0,0,0,.6), 0 0 15px rgba(245,197,66,.3);
}
.community-widget:focus-within .mascot-button::before,
.community-widget.open .mascot-button::before {
  animation: community-ring-pulse 1.5s ease-out infinite;
}
.mascot-button img { display: block; width: 44px; height: 44px; object-fit: contain; }
.community-label { display: none; }
.mascot-glow { display: none; }
.community-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  display: flex;
  width: 52px;
  max-height: 0;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0;
  overflow: hidden;
  border: 1.5px solid transparent;
  border-radius: 999px;
  background: rgba(7,11,20,.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0,0,0,.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: max-height .28s ease, padding .28s ease, opacity .2s ease, transform .28s ease, visibility .28s;
}
.community-widget.open .community-menu,
.community-widget:focus-within .community-menu {
  max-height: 260px;
  padding: 6px 0 10px;
  border-color: var(--gold);
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.community-divider {
  display: block;
  flex: 0 0 1px;
  width: 28px;
  height: 1px;
  margin: 6px auto;
  background: rgba(245,197,66,.5);
}
.community-menu a {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: #070b14;
  color: #fff;
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.community-menu a:hover,
.community-menu a:focus-visible {
  background: rgba(245,197,66,.18);
  box-shadow: 0 0 12px rgba(245,197,66,.4), inset 0 0 8px rgba(245,197,66,.12);
  transform: scale(1.06);
}
.social-mark {
  display: block;
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 0;
  object-fit: contain;
}
@media (hover: hover) and (pointer: fine) {
  .community-widget:hover .mascot-button { transform: scale(1.08); box-shadow: 0 4px 18px rgba(0,0,0,.6), 0 0 15px rgba(245,197,66,.3); }
  .community-widget:hover .mascot-button::before { animation: community-ring-pulse 1.5s ease-out infinite; }
  .community-widget:hover .community-menu {
    max-height: 260px;
    padding: 6px 0 10px;
    border-color: var(--gold);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

@keyframes classFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes classArtworkSwap {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 761px) {
  #classes {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 98px 96px 95px 6%;
    box-sizing: border-box;
    background: radial-gradient(ellipse at 72% 45%, rgba(28, 76, 68, 0.42) 0%, rgba(11, 20, 36, 0.88) 55%, #070b14 100%);
  }

  #classes > .section-topline {
    display: none;
  }

  #classes .class-layout {
    width: 100%;
    max-width: 1024px;
    grid-template-columns: minmax(0, 460fr) minmax(0, 540fr);
    gap: 24px;
    align-items: center;
  }

  #classes .class-left-column {
    width: 100%;
    max-width: 460px;
    min-width: 0;
  }

  #classes .class-roster,
  #classes .class-detail {
    border: 1px solid rgba(212, 175, 55, .36) !important;
    border-radius: 12px !important;
    background: rgba(8, 12, 22, .46) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
  }

  #classes .class-roster {
    width: 100%;
    max-width: 460px;
    box-sizing: border-box;
  }

  #classes .class-roster {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px 10px;
    margin: 0;
    padding: 10px 12px;
  }

  #classes .class-option {
    min-width: 0;
    min-height: 72px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 7px 3px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 7px;
    background: transparent;
    text-align: center;
  }

  #classes .class-option:hover,
  #classes .class-option.active {
    border-bottom-color: var(--gold);
    background: linear-gradient(180deg, transparent, rgba(245, 197, 66, .12));
  }

  #classes .class-option > span:nth-child(2) {
    font: 600 .78rem/1.2 var(--font-body);
  }

  #classes .class-option > b {
    display: none;
  }

  #classes .class-sigil {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border: 1px solid rgba(212, 175, 55, .28);
    border-radius: 50%;
    background: rgba(7, 11, 20, .35);
  }

  #classes .class-sigil img {
    display: block;
    width: 36px;
    height: 36px;
    object-fit: contain;
  }

  #classes .class-option.active .class-sigil {
    border-color: rgba(245, 197, 66, .75);
    box-shadow: 0 0 16px rgba(245, 197, 66, .2);
  }

  #classes .class-detail {
    display: flex;
    width: 100%;
    max-width: 540px;
    min-width: 0;
    min-height: 525px;
    flex-direction: column;
    padding: 20px 24px 18px;
    box-sizing: border-box;
  }

  #classes .class-detail-top {
    flex: 0 0 auto;
  }

  #classes .class-detail-body {
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 4px 0 12px;
  }

  #classes .class-artwork-stage {
    position: relative;
    display: grid;
    height: 270px;
    flex: 0 0 270px;
    place-items: center;
    overflow: hidden;
    isolation: isolate;
  }

  #classes .class-rune-halo {
    position: absolute;
    z-index: -1;
    width: 226px;
    height: 226px;
    border: 1px solid rgba(245, 197, 66, .26);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 197, 66, .12) 0%, rgba(56, 189, 248, .05) 42%, transparent 72%);
    box-shadow: 0 0 42px rgba(212, 175, 55, .12), inset 0 0 34px rgba(212, 175, 55, .1);
  }

  #classes .class-rune-halo::before,
  #classes .class-rune-halo::after {
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(56, 189, 248, .22);
    border-radius: 50%;
    content: "";
  }

  #classes .class-rune-halo::after {
    inset: -10px;
    border-color: rgba(245, 197, 66, .14);
  }

  #classes #class-artwork-img {
    display: block;
    height: 270px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .68));
    animation: classFloat 4s ease-in-out infinite;
  }

  #classes #class-artwork-img.is-changing {
    animation: classArtworkSwap .35s ease-out both, classFloat 4s .35s ease-in-out infinite;
  }

  #classes .class-description {
    width: 100%;
    text-align: center;
  }

  #classes .class-description h3 {
    margin: 0 0 3px;
    color: #fff;
    font: 700 clamp(1.7rem, 2.5vw, 2.25rem)/1.15 var(--font-display);
  }

  #classes #class-advancement {
    margin: 0 0 7px;
    color: var(--gold-light);
    font: 600 .78rem/1.35 var(--font-body);
    letter-spacing: .04em;
  }

  #classes #class-description {
    max-width: 430px;
    margin: 0 auto;
    color: #d5deeb;
    font: 400 .86rem/1.45 var(--font-body);
  }

  #classes .class-stats {
    flex: 0 0 auto;
    margin-top: auto;
    padding: 13px 0 4px;
  }
}

@media (max-width: 760px) {
  #classes {
    height: auto;
    min-height: 100vh;
    max-height: none;
    overflow: visible;
    display: block;
    padding: 100px 22px 142px;
    background: radial-gradient(ellipse at 72% 45%, rgba(28, 76, 68, 0.42) 0%, rgba(11, 20, 36, 0.88) 55%, #070b14 100%);
  }

  #classes .class-layout {
    max-width: 540px;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  #classes .class-detail {
    min-height: 0;
    padding: 16px;
    border: 1px solid rgba(212, 175, 55, .36) !important;
    border-radius: 12px !important;
    background: rgba(8, 12, 22, .46) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
  }

  #classes .class-detail-body {
    min-height: 0;
    flex-direction: column;
    gap: 4px;
  }

  #classes .class-artwork-stage {
    height: 240px;
    flex-basis: 240px;
  }

  #classes #class-artwork-img {
    height: 240px;
    max-width: 100%;
  }

  #classes .class-rune-halo {
    width: 200px;
    height: 200px;
  }

  #classes .class-description h3 {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }

  #classes #class-description {
    font-size: .84rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  #classes #class-artwork-img,
  #classes #class-artwork-img.is-changing {
    animation: none;
  }
}



@media (min-width: 761px) {
  #classes {
    padding-bottom: 115px;
  }

  #classes .class-detail {
    display: flex;
    height: auto;
    min-height: 0;
    max-height: none;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 20px;
    overflow: visible;
    box-sizing: border-box;
  }

  #classes .class-detail-body {
    min-height: 0;
    flex: 0 1 auto;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 0;
  }

  #classes .class-artwork-stage,
  #classes #class-artwork-img {
    height: 155px;
  }

  #classes .class-artwork-stage {
    flex: 0 0 155px;
    overflow: visible;
  }

  #classes #class-artwork-img {
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
  }

  #classes .class-rune-halo {
    width: 140px;
    height: 140px;
  }

  #classes .class-description h3 {
    margin: 0 0 3px;
    font-size: clamp(1.3rem, 2.1vw, 1.7rem);
    line-height: 1.1;
  }

  #classes #class-advancement {
    margin: 0 0 4px;
  }

  #classes #class-description {
    font-size: .78rem;
    line-height: 1.4;
  }

  #classes .class-stats {
    margin-top: 0;
    padding: 8px 0 2px;
  }

  #classes .class-option,
  #classes .class-option:hover,
  #classes .class-option.active {
    background: transparent !important;
  }

  #classes .class-roster::before,
  #classes .class-roster::after,
  #classes .class-option::before,
  #classes .class-option::after {
    display: none !important;
    content: none !important;
  }
}



@media (min-width: 761px) {
  #classes {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 98px 96px 95px 6%;
    box-sizing: border-box;
    isolation: isolate;
    background: radial-gradient(ellipse at 72% 45%, rgba(28, 76, 68, 0.42) 0%, rgba(11, 20, 36, 0.88) 55%, #070b14 100%);
  }

  #classes .class-detail {
    min-height: min(430px, calc(100vh - 235px));
    padding: 14px 20px 12px;
  }

  #classes .class-detail-body {
    min-height: 0;
    padding: 0 0 7px;
    gap: 2px;
  }

  #classes .class-artwork-stage {
    height: min(205px, 23vh);
    flex-basis: min(205px, 23vh);
  }

  #classes #class-artwork-img {
    height: min(205px, 23vh);
  }

  #classes .class-rune-halo {
    width: min(178px, 20vh);
    height: min(178px, 20vh);
  }

  #classes .class-stats {
    padding: 10px 0 2px;
  }
}

#classes {
  position: relative;
  isolation: isolate;
}

#classes .classes-background-video,
#classes .classes-background-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#classes .classes-background-video {
  z-index: 0;
  object-fit: cover;
  object-position: center;
}

#classes .classes-background-shade {
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(7, 11, 20, .38) 0%, rgba(7, 11, 20, .68) 58%, rgba(7, 11, 20, .86) 100%),
    linear-gradient(90deg, rgba(7, 11, 20, .35), rgba(7, 11, 20, .12) 48%, rgba(7, 11, 20, .48));
}

#classes > :not(.classes-background-video):not(.classes-background-shade) {
  position: relative;
  z-index: 2;
}

#classes .class-sigil,
#classes .class-option.active .class-sigil,
#classes .class-option:hover .class-sigil {
  border: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

#classes .class-sigil img {
  transition: filter .2s ease, transform .2s ease;
}

#classes .class-option:hover .class-sigil img,
#classes .class-option.active .class-sigil img {
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, .7));
  transform: scale(1.08);
}

@media (max-width: 760px) {
  #classes {
    height: auto;
    min-height: 100vh;
    max-height: none;
    overflow: visible;
  }

  #classes .class-detail {
    min-height: 0;
    padding: 14px 15px 12px;
  }

  #classes .class-artwork-stage,
  #classes #class-artwork-img {
    height: 180px;
  }

  #classes .class-artwork-stage {
    flex-basis: 180px;
  }

  #classes .class-rune-halo {
    width: 152px;
    height: 152px;
  }
}
@keyframes community-ring-pulse {
  0% { opacity: .8; transform: scale(.88); }
  100% { opacity: 0; transform: scale(1.22); }
}

@media (max-width: 760px) {
  .community-widget { right: 20px; }
}

.modal-backdrop {
  background-color: rgba(0,0,0,.85);
  background-image: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (max-height: 600px) {
  .community-menu { gap: 4px; }
  .community-menu a { width: 26px; height: 26px; flex-basis: 26px; }
}
@media (max-height: 520px) {
  .community-widget { top: calc(50% - 10px); }
  .community-menu { gap: 2px; padding: 5px 0; }
  .community-menu a { width: 20px; height: 20px; flex-basis: 20px; }
  .community-divider { margin-top: 4px; margin-bottom: 4px; }
}
@media (max-height: 440px) {
  .community-widget { top: calc(50% - 36px); }
}

/* Center the expanded social links in the viewport, away from the mascot edge. */
.community-menu {
  position: fixed;
  top: calc((100vh - 68px) / 2);
  right: auto;
  left: 50%;
  width: 72px;
  max-height: calc(100vh - 100px);
  gap: 10px;
  padding: 10px 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translate(-50%, -50%) scale(.96);
}
.community-widget.open .community-menu,
.community-widget:focus-within .community-menu,
.community-widget:hover .community-menu {
  max-height: calc(100vh - 100px);
  padding: 12px 0;
  transform: translate(-50%, -50%) scale(1);
}
.community-widget { top: calc(50% - 26px); transform: none; }
.community-menu a {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
}
.social-mark {
  width: 24px;
  height: 24px;
}
@media (max-height: 520px) {
  .community-menu,
  .community-widget.open .community-menu,
  .community-widget:focus-within .community-menu,
  .community-widget:hover .community-menu { max-height: calc(100vh - 100px); }
}
@media (max-width: 760px) {
  .community-menu { top: calc((100vh - 60px) / 2); }
}
@media (max-height: 520px) {
  .community-menu,
  .community-widget.open .community-menu,
  .community-widget:focus-within .community-menu,
  .community-widget:hover .community-menu {
    max-height: calc(100vh - 36px);
  }
  .community-menu a {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
  .social-mark {
    width: 21px;
    height: 21px;
  }
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.hero-cta-group .hero-cta-row { align-items: center; }
.hero-cta-group > .cta-microcopy {
  align-self: flex-start;
  margin: 0;
  text-align: left;
}

.community-menu,
.community-widget.open .community-menu,
.community-widget:focus-within .community-menu,
.community-widget:hover .community-menu {
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.video-modal { z-index: 101; }
.modal-backdrop { z-index: 100; }
.video-frame { position: relative; z-index: 1; }
.video-frame video { position: relative; z-index: 2; }

.community-menu a {
  display: flex;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}
.social-mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
@media (max-height: 520px) {
  .community-menu a {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
  .social-mark {
    width: 24px;
    height: 24px;
  }
}

.community-widget {
  top: 50%;
  right: 20px;
  display: flex;
  width: max-content;
  height: auto;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transform: translateY(-50%);
}
.community-menu {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  width: 72px;
  max-height: 0;
  gap: 10px;
  padding: 0;
  overflow: hidden;
  transform: none;
  transition: max-height .28s ease, padding .28s ease, opacity .2s ease, visibility .28s;
}
.community-widget.open .community-menu,
.community-widget:focus-within .community-menu,
.community-widget:hover .community-menu {
  max-height: min(390px, calc(100vh - 130px));
  padding: 8px 0;
  transform: none;
}
@media (max-height: 520px) {
  .community-widget { top: calc(50% - 10px); }
  .community-widget.open .community-menu,
  .community-widget:focus-within .community-menu,
  .community-widget:hover .community-menu {
    max-height: calc(100vh - 120px);
  }
}

.steam-cta {
  position: relative;
  overflow: hidden;
  transition: box-shadow .25s ease;
}
.steam-cta::before {
  position: absolute;
  z-index: 1;
  top: -60%;
  left: -65%;
  width: 42%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), rgba(245,197,66,.22), transparent);
  content: '';
  pointer-events: none;
  transform: skewX(25deg) translateX(-160%);
  transition: transform .5s ease;
}
.steam-cta:hover,
.steam-cta:focus-visible {
  transform: none;
  box-shadow: 0 0 22px rgba(245,197,66,.65);
}
.steam-cta:hover::before,
.steam-cta:focus-visible::before {
  transform: skewX(25deg) translateX(520%);
}
.steam-cta img { z-index: 0; }
.hero-cta-group > .cta-microcopy { padding-left: 18px; }
.hero-cta-group .trailer-trigger:hover,
.hero-cta-group .trailer-trigger:focus-visible {
  border-color: #F5C542;
  background: rgba(245,197,66,.12);
  box-shadow: 0 0 15px rgba(245,197,66,.35);
  transform: none;
}
.hero-cta-group .trailer-trigger { transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; }

.setup-step { padding-top: 8px; }
.setup-content::before { top: 30px; }
.modal-close {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  line-height: 1;
}
.modal-close svg {
  display: block;
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
}

.community-widget {
  right: 24px;
  align-items: center;
  height: 52px;
}
.community-menu,
.community-widget.open .community-menu,
.community-widget:focus-within .community-menu,
.community-widget:hover .community-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  display: flex;
  width: max-content;
  max-height: calc(100vh - 100px);
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 12px 0 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -10px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
}
.community-menu li {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}
.community-menu.active,
.community-widget.open .community-menu.active,
.community-widget:focus-within .community-menu.active,
.community-widget:hover .community-menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.community-menu a {
  display: flex;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  border-radius: 50%;
  background: rgba(7,11,20,.85);
  border: 1px solid #F5C542;
}
.social-mark {
  display: block;
  width: 24px;
  height: 24px;
  margin: 0;
  object-fit: contain;
}
@media (max-height: 520px) {
  .community-widget { top: calc(50% - 10px); }
  .community-widget.open { top: max(72px, calc(50% - 170px)); transform: none; }
  .community-menu,
  .community-widget.open .community-menu,
  .community-widget:focus-within .community-menu,
  .community-widget:hover .community-menu { max-height: calc(100vh - 220px); }
  .community-menu { gap: 8px; }
  .community-menu a { width: 38px; height: 38px; flex-basis: 38px; }
  .social-mark { width: 22px; height: 22px; }
  .setup-step { padding-top: 6px; }
  .setup-content::before { top: 25px; }
}

.steam-cta,
.hero-cta-group .trailer-trigger {
  box-sizing: border-box;
  outline: none;
  transform: none;
}
.steam-cta,
.steam-cta:hover,
.steam-cta:focus-visible {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: 999px;
  background: transparent;
  outline: none;
  transition: box-shadow .25s ease;
}
.steam-cta::before {
  position: absolute;
  z-index: 1;
  top: -60%;
  left: -65%;
  width: 42%;
  height: 220%;
  border-radius: inherit;
  background: linear-gradient(25deg, transparent, rgba(255,255,255,.55), rgba(245,197,66,.22), transparent);
  content: '';
  pointer-events: none;
  transform: translateX(-160%);
  transition: transform .5s ease;
}
.steam-cta::after { border-radius: inherit; }
.steam-cta:hover,
.steam-cta:focus-visible {
  transform: none;
  box-shadow: 0 0 22px rgba(245,197,66,.65);
}
.steam-cta:hover::before,
.steam-cta:focus-visible::before { transform: translateX(520%); }
.steam-cta img { z-index: 0; }
.hero-cta-group .trailer-trigger {
  box-sizing: border-box;
  border-radius: 3px;
  outline: none;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.hero-cta-group .trailer-trigger:hover,
.hero-cta-group .trailer-trigger:focus-visible {
  border-color: #F5C542;
  background: rgba(245,197,66,.12);
  box-shadow: 0 0 15px rgba(245,197,66,.35);
  transform: none;
}

.community-widget {
  position: fixed;
  z-index: 1000;
  top: 115px;
  right: 24px;
  display: flex;
  width: max-content;
  height: auto;
  flex-direction: column;
  align-items: center;
  gap: 0;
  transform: none;
}
.mascot-button { box-sizing: border-box; }
.community-menu {
  position: static;
  display: flex;
  top: auto;
  right: auto;
  left: auto;
  width: auto;
  max-height: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  overflow: visible;
  list-style: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
}
.community-menu li {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}
.community-widget:hover .community-menu,
.community-widget:focus-within .community-menu {
  position: static;
  top: auto;
  right: auto;
  left: auto;
  width: auto;
  max-height: none;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.community-menu a {
  box-sizing: border-box;
  display: flex;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #F5C542;
  border-radius: 50%;
  background: rgba(7,11,20,.85);
}
.social-mark {
  display: block;
  width: 26px;
  height: 26px;
  margin: 0;
  object-fit: contain;
}
@media (max-height: 520px) {
  .community-widget { top: 72px; }
  .community-menu { gap: 4px; margin-top: 6px; }
  .community-menu a { width: 32px; height: 32px; flex-basis: 32px; }
  .social-mark { width: 20px; height: 20px; }
}
@media (max-width: 760px) {
  .community-widget { right: 24px; }
}
.language-menu {
  width: auto;
  min-width: 68px;
  max-height: 320px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.language-menu button {
  display: block;
  padding: 8px 10px;
  font-family: var(--body), "Noto Sans Thai", "Noto Sans Vietnamese", "Noto Sans SC", sans-serif;
  text-align: center;
}
.community-menu li {
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  overflow: hidden;
  border: 1px solid #F5C542;
  border-radius: 50%;
  background: rgba(7,11,20,.85);
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}
.community-menu li:hover,
.community-menu li:focus-within {
  background: rgba(245,197,66,.18);
  box-shadow: 0 0 12px rgba(245,197,66,.4), inset 0 0 8px rgba(245,197,66,.12);
  transform: scale(1.06);
}
.community-menu a {
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: inherit;
  background: transparent;
}
.community-menu a:hover,
.community-menu a:focus-visible {
  background: transparent;
  box-shadow: none;
  transform: none;
}
@media (max-height: 520px) {
  .community-menu li { width: 32px; height: 32px; flex-basis: 32px; }
}
.header-steam,
.hero-steam {
  display: inline-flex;
  width: auto !important;
  aspect-ratio: auto;
  align-items: center;
  justify-content: center;
  min-width: 154px;
  min-height: 38px;
  padding: 0 22px;
  border: 1px solid #f5d477;
  background: linear-gradient(180deg, #f8d86c 0%, #dba32f 55%, #b77c1d 100%);
  box-shadow: inset 0 1px 0 #fff8, inset 0 -2px 0 #815514;
  color: #fff;
  font: 700 10px/1 var(--stats);
  letter-spacing: .04em;
  text-align: center;
  text-shadow: 0 1px 3px #68420c;
  white-space: nowrap;
}
.header-steam { min-width: 154px; }
.hero-steam { min-width: 190px; min-height: 42px; font-size: 11px; }
.header-steam:hover,
.header-steam:focus-visible,
.hero-steam:hover,
.hero-steam:focus-visible { box-shadow: 0 0 22px rgba(245,197,66,.65), inset 0 1px 0 #fff8, inset 0 -2px 0 #815514; }
.header-steam span,
.hero-steam span { position: relative; z-index: 2; }
.hero-cta-group .trailer-trigger {
  position: static;
  display: flex;
  min-width: 170px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid #b98f37;
  border-radius: 999px;
  color: #fff;
  white-space: nowrap;
}
.refine-action {
  display: block;
  min-width: 120px;
  min-height: 32px;
  margin: 10px auto 0;
  padding: 0 22px;
  border: 1px solid #d5ad4a;
  border-radius: 3px;
  background: linear-gradient(180deg, #59471d, #252015);
  color: #f5d477;
  cursor: pointer;
  font: 600 9px var(--stats);
  letter-spacing: .1em;
  white-space: nowrap;
}
.refine-action:hover,
.refine-action:focus-visible {
  border-color: #f5c542;
  background: #f5c54220;
  box-shadow: 0 0 14px #f5c54240;
}
@media (max-width: 760px) {
  .header-steam { min-width: 116px; min-height: 30px; padding: 0 10px; font-size: 8px; }
  .hero-steam { min-width: 170px; padding: 0 18px; }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 78px;
}
main > section {
  position: relative;
  box-sizing: border-box;
  height: auto;
  min-height: 100vh;
  min-height: 100dvh;
}
main > section#home {
  min-height: 100vh;
  min-height: 100dvh;
  max-height: none;
  overflow: hidden;
}
.section-reveal {
  opacity: 0;
  scale: .93;
  transition: opacity .65s cubic-bezier(.22, 1, .36, 1), scale .65s cubic-bezier(.22, 1, .36, 1);
}
.section-reveal.is-visible {
  opacity: 1;
  scale: 1;
}
.site-header,
.setup-bar,
.community-widget {
  z-index: 1000;
}
.site-footer {
  min-height: 0;
}
.forge-section {
  box-sizing: border-box;
  height: 100vh;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  padding: 88px 5% 105px;
  background: #070b14;
}
.forge-background-video,
.forge-background-shade {
  position: absolute;
  z-index: -2;
  top: 76px;
  right: 0;
  bottom: 88px;
  left: 0;
  width: 100%;
  height: calc(100vh - 164px);
}
.forge-background-video {
  object-fit: cover;
  object-position: center center;
}
.forge-background-shade {
  z-index: -1;
  background: radial-gradient(ellipse at 50% 45%, rgba(7,11,20,.62) 0%, rgba(7,11,20,.78) 58%, rgba(7,11,20,.92) 100%);
}
.forge-layout {
  display: grid;
  width: min(1240px, 100%);
  margin: auto;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(20px, 4vw, 60px);
  align-items: center;
  justify-items: stretch;
}
.forge-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}
.forge-copy > .kicker { margin-bottom: 7px; }
.forge-heading {
  margin-bottom: 8px;
  color: #fff;
  font: 700 clamp(30px, 3.2vw, 48px)/1.1 var(--heading);
  letter-spacing: -.025em;
}
.forge-heading em {
  color: var(--gold-light);
  font-style: normal;
}
.forge-copy > p:not(.kicker) {
  max-width: 520px;
  margin-bottom: 0;
  color: #d5deeb;
  font-size: clamp(12px, 1vw, 14px);
  line-height: 1.5;
}
.refine-class-list {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: clamp(4px, .55vw, 9px);
  margin: 12px 0;
}
.refine-class {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 4px 1px;
  border: 0;
  background: transparent;
  color: #aab6c6;
  cursor: pointer;
  font: 600 clamp(6px, .63vw, 9px) var(--body);
  transition: color .2s ease, transform .2s ease;
}
.refine-class img {
  display: block;
  width: clamp(32px, 3.8vw, 54px);
  aspect-ratio: 1;
  border: 1px solid rgba(245,197,66,.38);
  border-radius: 50%;
  background: rgba(7,11,20,.72);
  object-fit: contain;
  opacity: 1;
  filter: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.refine-class:hover,
.refine-class.active {
  color: var(--gold-light);
}
.refine-class:hover img,
.refine-class.active img {
  border-color: var(--gold);
  box-shadow: 0 0 18px rgba(235,185,70,.85);
  transform: scale(1.08);
}
.weapon-info-card {
  padding: 10px 13px;
  border: 1px solid rgba(235,185,70,.35);
  background: rgba(7,11,20,.38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 0 24px rgba(56,189,248,.05);
}
.weapon-info-label {
  color: var(--cyan);
  font: 600 8px var(--stats);
  letter-spacing: .13em;
}
.weapon-info-card h3 {
  margin: 5px 0 4px;
  color: var(--gold-light);
  font: 600 14px var(--heading);
}
.weapon-info-lines {
  display: block;
  color: #c4cfdd;
  font: 500 9px/1.55 var(--body);
}
.weapon-info-lines span {
  display: block;
}
.weapon-info-lines span:last-child {
  color: #e6d39e;
}
.forge-copy .safe-lock {
  margin-top: 8px;
  padding: 8px 10px;
}
.forge-console {
  z-index: 1;
  width: 100%;
  min-width: 0;
  min-height: 0;
  border-color: rgba(235,185,70,.35);
  background: rgba(7,11,20,.38);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.console-top,
.console-bottom {
  padding: 11px 15px;
}
.weapon-display { height: 182px; }
.weapon-glyph {
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(245,197,66,.6));
  transform: none;
}
.forge-console.forging .weapon-glyph {
  filter: drop-shadow(0 0 24px rgba(56,189,248,.95)) drop-shadow(0 0 22px rgba(245,197,66,.8));
  transform: scale(1.13);
}
.refine-action {
  min-width: 130px;
  min-height: 34px;
  position: relative;
  overflow: hidden;
}
.refine-control { padding: 0 17px 10px; }
.refine-step { padding: 6px 3px; }
.forge-console.forging::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  border: 1px solid rgba(56,189,248,.85);
  box-shadow: inset 0 0 70px rgba(56,189,248,.18), inset 0 0 50px rgba(245,197,66,.2), 0 0 30px rgba(56,189,248,.25);
  content: '';
  pointer-events: none;
  animation: forge-burst .55s ease-out both;
}
@keyframes forge-burst {
  0% { opacity: 0; transform: scale(.96); }
  45% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.02); }
}
.forge-stats {
  display: grid;
  gap: 4px;
  margin: 8px 0 0;
  color: #8d9aad;
  font: 600 8px/1.5 var(--stats);
  letter-spacing: .06em;
  text-align: center;
}
.forge-stats b {
  color: #e6d39e;
  font-weight: 500;
}
.forge-status {
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
  color: #b6c4d2;
  font-size: 8px;
}
.forge-status b {
  color: #49e1a8;
  font-weight: 600;
}
@media (max-width: 760px) {
  .forge-section {
    display: block;
    height: auto;
    min-height: 100vh;
    padding: 100px 22px 142px;
  }
  .forge-background-video,
  .forge-background-shade {
    top: 76px;
    bottom: 88px;
    height: calc(100vh - 164px);
  }
  .forge-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .forge-console { min-height: 0; }
  .weapon-display { height: 170px; }
  .weapon-glyph { width: 82px; height: 82px; }
  .refine-class-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 4px; margin: 14px 0; }
  .refine-class img { width: clamp(34px, 10vw, 46px); }
  .forge-heading { font-size: clamp(27px, 8vw, 38px); }
  .weapon-info-card { padding: 11px 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .section-reveal { opacity: 1; scale: 1; transition: none; }
}

.site-header {
  border-bottom: none;
  background: linear-gradient(to bottom, rgba(7, 11, 20, .8) 0%, rgba(7, 11, 20, .35) 55%, rgba(7, 11, 20, 0) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.setup-bar {
  border-top: none;
  background: linear-gradient(to top, rgba(7, 11, 20, .8) 0%, rgba(7, 11, 20, .3) 65%, rgba(7, 11, 20, 0) 100%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  pointer-events: auto;
  transition: opacity .3s ease, background .3s ease;
}
.setup-bar.compact-mode {
  background: transparent;
  pointer-events: none;
}
.setup-bar.compact-mode .setup-content,
.setup-bar.compact-mode .setup-close {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.setup-content,
.setup-close {
  transition: opacity .3s ease, visibility .3s ease;
}
.setup-tab {
  z-index: 1001;
  border: 1px solid #d4af37;
  background: transparent;
  box-shadow: none;
  pointer-events: auto;
  transition: background .2s ease, box-shadow .2s ease;
}
.setup-tab:hover,
.setup-tab:focus-visible {
  background: rgba(212, 175, 55, .08);
  box-shadow: 0 0 12px rgba(212, 175, 55, .35);
}
.setup-close {
  pointer-events: auto;
}

.hero-cta-group .trailer-trigger {
  border: 1px solid #d4af37;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background .2s ease, box-shadow .2s ease;
}
.hero-cta-group .trailer-trigger:hover,
.hero-cta-group .trailer-trigger:focus-visible {
  border-color: #d4af37;
  background: rgba(212, 175, 55, .08);
  box-shadow: 0 0 12px rgba(212, 175, 55, .35);
}

.community-widget .mascot-button,
.community-widget:hover .mascot-button,
.community-widget.open .mascot-button,
.community-widget:focus-within .mascot-button {
  background: transparent;
  box-shadow: none;
}

.video-modal,
.video-modal.open {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  width: 100vw;
  height: 100vh;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  pointer-events: none;
}
.video-modal .video-frame,
.video-modal .modal-close,
.video-modal > p {
  pointer-events: auto;
}
.video-modal .video-frame {
  width: min(980px, 90vw);
}
.video-modal .video-frame video {
  max-height: 72vh;
}
.video-modal .modal-close {
  top: 24px;
  right: 24px;
}
.modal-backdrop,
.modal-backdrop.open {
  position: fixed;
  inset: 0;
  z-index: 9998;
}

.forge-background-video,
.forge-background-shade {
  top: 0;
  right: auto;
  bottom: auto;
  left: 0;
  width: 100%;
  height: 100%;
}
.forge-background-video {
  object-fit: contain;
  object-position: center;
  background: #070b14;
}
.forge-background-shade {
  background:
    linear-gradient(90deg, #070b14 0%, transparent 18%, transparent 82%, #070b14 100%),
    radial-gradient(ellipse at center, rgba(7,11,20,.14), rgba(7,11,20,.46));
}

.refine-class {
  padding: 0;
  background: transparent !important;
}
.refine-class img {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none;
  filter: none;
}
.refine-class:hover img,
.refine-class.active img {
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: scale(1.12);
  filter: drop-shadow(0 0 12px rgba(212,175,55,.75));
}

.video-modal .video-frame {
  display: flex;
  width: fit-content;
  max-width: 92vw;
  flex-direction: column;
  align-items: center;
  padding: 0;
  background: transparent;
}
.video-modal .video-frame video {
  display: block;
  width: auto;
  height: auto;
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.85);
}

.setup-bar {
  z-index: 50;
}
.setup-bar.compact-mode {
  pointer-events: none;
}
.setup-tab[hidden] {
  display: none !important;
}

#section-flash-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(255,250,230,.55) 0%, rgba(212,175,55,.22) 45%, rgba(7,11,20,0) 75%);
}
#section-flash-overlay.active {
  animation: section-flash .45s ease-out both;
}
@keyframes section-flash {
  0% { opacity: 0; transform: scale(.96); }
  30% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.035); }
}

@media (max-width: 760px) {
  .forge-background-video,
  .forge-background-shade {
    top: 0;
    height: 100%;
  }
  .video-modal .video-frame {
    width: fit-content;
    max-width: 92vw;
  }
}

.site-header,
.site-header.scrolled,
.site-header.navbar--solid {
  border-bottom: none !important;
  background: linear-gradient(to bottom, rgba(7, 11, 20, .8) 0%, rgba(7, 11, 20, .35) 55%, rgba(7, 11, 20, 0) 100%) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.setup-bar.compact-mode .setup-content,
.setup-bar.compact-mode .setup-close {
  display: none;
}
.setup-bar.compact-mode {
  background: transparent;
  pointer-events: none;
}
.setup-tab[hidden] {
  display: none !important;
}

.forge-section {
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  padding: 80px 5% 60px;
  align-items: center;
  justify-content: center;
}
.forge-section::after {
  content: none;
}
.forge-background-video,
.forge-background-shade {
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
  right: auto;
  bottom: auto;
  width: 100%;
  height: 100%;
}
.forge-background-video {
  object-fit: cover;
  object-position: center bottom;
}
.forge-background-shade {
  z-index: 1;
  background: rgba(7, 11, 20, .38);
}
.forge-layout {
  position: relative;
  z-index: 2;
  width: min(1380px, 100%);
  margin: auto;
  justify-self: center;
}
.forge-copy > .kicker {
  margin-bottom: 10px;
  color: #5ce1e6;
  font-size: .95rem;
  letter-spacing: .16em;
  text-shadow: 0 2px 8px rgba(0,0,0,.9);
}
.forge-heading {
  margin-bottom: 12px;
  font-size: clamp(2.8rem, 4.2vw, 3.8rem);
  text-shadow: 0 4px 18px rgba(0,0,0,.92);
}
.forge-copy > p:not(.kicker) {
  max-width: 680px;
  color: #f1f5f9;
  font-size: 1.15rem;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0,0,0,.95);
}
.refine-class-list {
  gap: clamp(6px, .7vw, 12px);
  margin: 18px 0;
}
.refine-class {
  gap: 8px;
  color: #fff;
  font-size: .92rem;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0,0,0,1), 0 0 12px rgba(0,0,0,.95);
}
.refine-class.active {
  color: #f5d061;
}
.refine-class img {
  width: 68px;
  height: 68px;
  object-fit: contain;
}
.refine-class:hover img,
.refine-class.active img {
  transform: scale(1.12);
  filter: drop-shadow(0 0 12px rgba(212,175,55,.75));
}
.weapon-info-card,
.forge-console {
  border: 1px solid rgba(212,175,55,.35);
  background: rgba(8,12,22,.76);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 16px 40px rgba(0,0,0,.65);
}
.weapon-info-card {
  padding: 16px 18px;
}
.weapon-info-label {
  font-size: 1rem;
  letter-spacing: .1em;
}
.weapon-info-card h3 {
  margin: 8px 0;
  font-size: 1.25rem;
}
.weapon-info-lines {
  font-size: 1rem;
  line-height: 1.65;
}
.forge-console {
  overflow: hidden;
}
.console-top,
.console-bottom {
  padding: 14px 18px;
  font-size: .78rem;
}
.weapon-display {
  height: 205px;
}
.weapon-name {
  font-size: 1rem;
}
.weapon-level {
  font-size: 1.6rem;
}
.weapon-sub {
  font-size: .9rem;
}
.refine-control {
  padding: 0 20px 14px;
}
.refine-step {
  padding: 9px 5px;
  font-size: .9rem;
}
.refine-action {
  min-height: 40px;
  font-size: 1rem;
}
.forge-stats {
  gap: 7px;
  margin-top: 12px;
  font-size: 1rem;
}
.forge-status {
  margin-top: 12px;
  font-size: .9rem;
}

#section-flash-overlay {
  background: radial-gradient(circle at center, rgba(255,252,235,.72) 0%, rgba(245,208,97,.38) 42%, rgba(212,175,55,.14) 70%, rgba(7,11,20,0) 100%);
  mix-blend-mode: screen;
}
#section-flash-overlay.active {
  animation: sectionFlashSweep 1.05s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes sectionFlashSweep {
  0% { opacity: 0; transform: scale(.96); }
  18% { opacity: .85; transform: scale(1.02); }
  35% { opacity: .65; transform: scale(1.02); }
  100% { opacity: 0; transform: scale(1.06); }
}
.section-reveal.is-flashing {
  animation: section-content-arrive .85s cubic-bezier(.22, 1, .36, 1) both;
}
@keyframes section-content-arrive {
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 760px) {
  .forge-section {
    display: block;
    height: auto;
    min-height: 100vh;
    padding: 100px 22px 142px;
  }
  .forge-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .refine-class-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 8px;
  }
  .refine-class img {
    width: 68px;
    height: 68px;
  }
  .forge-heading {
    font-size: clamp(2.4rem, 10vw, 3.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-reveal.is-flashing {
    animation-duration: .01ms;
  }
  #section-flash-overlay.active {
    animation-duration: .01ms;
  }
}

:root {
  --font-display: var(--heading);
  --font-body: var(--body);
}

.site-header,
.site-header.scrolled,
.site-header.navbar--solid,
header.site-header {
  border-bottom: none !important;
  background: linear-gradient(to bottom, rgba(7, 11, 20, .78) 0%, rgba(7, 11, 20, .30) 55%, rgba(7, 11, 20, 0) 100%) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.community-widget .mascot-button,
.community-widget .mascot-button:hover,
.community-widget .mascot-button:focus,
.community-widget .mascot-button:focus-visible,
.community-widget.open .mascot-button,
.community-widget:focus-within .mascot-button {
  border: none !important;
  outline: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.community-widget .mascot-button::before,
.community-widget .mascot-button::after,
.community-widget .mascot-glow {
  display: none !important;
  content: none !important;
}

.forge-section {
  height: 100vh;
  max-height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 76px 5% 36px;
  box-sizing: border-box;
}
.forge-layout {
  width: min(1380px, 100%);
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.forge-copy,
.forge-console {
  font-family: var(--font-body);
}
.forge-copy > .kicker,
.forge-copy > p:not(.kicker),
.refine-class,
.weapon-info-label,
.weapon-info-lines,
.console-top,
.console-bottom,
.weapon-sub,
.refine-control,
.forge-stats,
.forge-status {
  font-family: var(--font-body);
}
.forge-heading,
.weapon-info-card h3,
.weapon-level {
  font-family: var(--font-display);
}
.refine-class-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 10px;
  max-width: 440px;
  margin: 18px 0;
}
.refine-class {
  min-width: 0;
  gap: 4px;
  padding: 0;
  align-items: center;
  text-align: center;
  font-size: .82rem;
  line-height: 1.2;
  white-space: normal;
}
.refine-class img {
  width: 52px;
  height: 52px;
}
.weapon-info-card {
  margin-top: 14px;
  padding: 14px 18px;
}
.weapon-info-card h3 {
  font-size: 1.25rem;
}
.weapon-info-lines {
  font-size: 1rem;
  line-height: 1.5;
}
.forge-console {
  padding: 20px 24px;
}
.console-top,
.console-bottom {
  padding-right: 0;
  padding-left: 0;
}
.weapon-level {
  font-family: var(--font-display);
}

@media (max-width: 760px) {
  .forge-section {
    height: auto;
    max-height: none;
    min-height: 100vh;
    overflow: visible;
    display: block;
    padding: 100px 22px 142px;
  }
  .forge-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .refine-class-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 440px;
    gap: 12px 10px;
  }
  .refine-class img {
    width: 52px;
    height: 52px;
  }
  .forge-console {
    padding: 16px;
  }
}

/* Keep the fixed controls and the first viewport independent of document flow. */
.site-header,
.site-header.scrolled,
.site-header.navbar--solid,
header.site-header,
header.site-header.scrolled,
header,
header.scrolled,
header.navbar--solid,
header .navbar,
header .navbar.scrolled,
header .nav {
  border-bottom: none !important;
  background-color: transparent !important;
  background: linear-gradient(to bottom, rgba(7, 11, 20, .75) 0%, rgba(7, 11, 20, 0) 100%) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

.hero {
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}

.hero-content {
  position: absolute;
  inset: 0;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  width: 100%;
  max-width: none;
  height: 100vh;
  margin: 0;
  padding: 0 6%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  text-align: left;
  transform: none;
  transition-property: opacity, color, background-color, box-shadow;
}

.hero-content > .eyebrow,
.hero-content > h1,
.hero-content > .hero-copy,
.hero-content > .hero-cta-group {
  width: min(560px, 46vw);
  max-width: 100%;
}

.hero-content > .hero-scroll {
  display: none;
}

.hero-content.is-flashing {
  animation-name: heroContentReveal;
}

@keyframes heroContentReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.setup-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 900;
}

/* Compact desktop forge layout with room for the expanded setup bar. */
.forge-section {
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 96px 115px 6%;
  box-sizing: border-box;
}

.forge-layout {
  width: 100%;
  max-width: 1060px;
  grid-template-columns: minmax(0, 460px) minmax(0, 540px);
  justify-content: center;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
}

.forge-copy {
  width: 100%;
  max-width: 460px;
}

.forge-heading {
  font-size: clamp(2.1rem, 3.2vw, 2.8rem);
  line-height: 1.1;
  margin-bottom: 8px;
}

.forge-copy > .kicker {
  font-size: .85rem;
  margin-bottom: 4px;
}

.forge-copy > p:not(.kicker) {
  font-size: .95rem;
  line-height: 1.45;
  margin-bottom: 14px;
}

.refine-class-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 10px;
  max-width: 440px;
  margin: 0 0 14px;
}

.refine-class {
  gap: 3px;
  font-size: .78rem;
  line-height: 1.2;
}

.refine-class img {
  width: 44px;
  height: 44px;
}

.weapon-info-card {
  margin-top: 0;
  padding: 12px 16px;
}

.weapon-info-card h3 {
  font-size: 1.05rem;
  line-height: 1.3;
}

.weapon-info-lines {
  font-size: .85rem;
  line-height: 1.4;
}

.forge-console {
  width: 100%;
  max-width: 540px;
  padding: 16px 22px;
  box-sizing: border-box;
}

@media (max-width: 760px) {
  .hero-content {
    height: 100vh;
    padding-right: 6%;
    padding-left: 6%;
  }

  .hero-content > .eyebrow,
  .hero-content > h1,
  .hero-content > .hero-copy,
  .hero-content > .hero-cta-group {
    width: 100%;
    max-width: 560px;
  }

  .forge-section {
    height: auto;
    max-height: none;
    min-height: 100vh;
    overflow: visible;
    padding: 100px 22px 142px;
  }

  .forge-layout {
    max-width: 540px;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .forge-copy,
  .forge-console {
    max-width: none;
  }

  .refine-class-list {
    max-width: 440px;
    gap: 8px 10px;
  }

  .refine-class img {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 430px) {
  .forge-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .forge-console {
    padding: 14px;
  }
}

/* Full-viewport Safe Refine backdrop and compact, readable simulator. */
#safe-refine {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  margin-top: 0;
  scroll-margin-top: 0;
  padding: 98px 96px 95px 6%;
  box-sizing: border-box;
}

#safe-refine .forge-background-video,
#safe-refine .forge-background-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#safe-refine .forge-background-video {
  width: 100vw;
  height: 100vh;
  z-index: 0;
  object-fit: cover;
  object-position: center bottom;
}

#safe-refine .forge-background-shade {
  z-index: 0;
  background: rgba(6, 10, 18, .58);
}

#safe-refine .forge-layout {
  position: relative;
  z-index: 1;
  align-items: center;
  box-sizing: border-box;
}

.hero-content > .eyebrow {
  display: block;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #f5d061;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .85);
}

#safe-refine .forge-copy > .kicker {
  margin-bottom: 4px;
  color: #5ce1e6;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .95);
}

#safe-refine .forge-copy > p:not(.kicker) {
  margin-bottom: 10px;
  font-size: .9rem;
  line-height: 1.4;
}

#safe-refine .refine-class-list {
  margin: 0 0 10px;
  padding: 10px 12px;
  border: 1px solid rgba(212, 175, 55, .28);
  border-radius: 12px;
  background: rgba(8, 12, 22, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#safe-refine .weapon-info-card {
  margin-top: 0;
  padding: 10px 14px;
}

#safe-refine .weapon-info-label {
  font-size: .72rem;
}

#safe-refine .weapon-info-card h3 {
  margin: 4px 0;
  font-size: .96rem;
}

#safe-refine .weapon-info-lines {
  font-size: .82rem;
  line-height: 1.35;
}

#safe-refine .forge-console {
  max-width: 500px;
  min-height: 0;
  padding: 14px 20px;
}

#safe-refine .console-top,
#safe-refine .console-bottom {
  padding: 9px 10px;
  font-size: .65rem;
}

#safe-refine .weapon-display {
  height: auto;
  min-height: 0;
  padding: 4px 0 6px;
}

#safe-refine .weapon-glyph {
  width: 56px;
  height: 56px;
  margin: 4px auto 6px;
  object-fit: contain;
  font-size: 56px;
}

#safe-refine .weapon-name {
  margin: 4px 0;
  font-size: 1.05rem;
  line-height: 1.25;
  letter-spacing: .08em;
  text-align: center;
}

#safe-refine .weapon-sub {
  margin: 4px 0;
  font-size: .8rem;
  line-height: 1.3;
}

#safe-refine .weapon-level {
  top: 16px;
  right: 12%;
  font-size: 1.3rem;
}

#safe-refine .refine-control {
  padding: 0 10px 4px;
}

#safe-refine .refine-step {
  margin: 8px 0;
  padding: 6px 0;
  font-size: .82rem;
}

#safe-refine .refine-action {
  min-height: 0;
  margin: 6px auto 8px;
  padding: 8px 26px;
  font-size: .88rem;
}

#safe-refine .forge-stats,
#safe-refine .forge-status {
  max-width: 100%;
  font-size: .8rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

#safe-refine .forge-status {
  margin-top: 6px;
}

@media (max-width: 760px) {
  #safe-refine {
    width: 100%;
    height: auto;
    min-height: 100vh;
    padding: 100px 22px 142px;
  }

  #safe-refine .forge-background-video,
  #safe-refine .forge-background-shade {
    width: 100%;
    height: 100%;
  }

  #safe-refine .forge-console {
    max-width: none;
    padding: 14px;
  }

  #safe-refine .forge-copy > .kicker {
    font-size: .88rem;
  }

  .hero-content > .eyebrow {
    font-size: clamp(.62rem, 2.4vw, .85rem);
  }
}

@media (max-width: 430px) {
  #safe-refine {
    padding-right: 16px;
    padding-left: 16px;
  }

  #safe-refine .refine-class-list {
    padding: 8px;
  }

  #safe-refine .forge-stats,
  #safe-refine .forge-status {
    font-size: .68rem;
  }
}

/* Match the three Safe Refine panels as one translucent glass system. */
#safe-refine .refine-class-list,
#safe-refine .weapon-info-card,
#safe-refine .forge-console {
  border: 1px solid rgba(212, 175, 55, .36) !important;
  border-radius: 12px !important;
  background: rgba(8, 12, 22, .46) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
}

#safe-refine .forge-copy > .refine-class-list,
#safe-refine .forge-copy > .weapon-info-card {
  width: 100%;
  max-width: 460px;
  box-sizing: border-box;
}

@media (max-width: 760px) {
  #safe-refine .forge-background-video {
    width: 100%;
    height: 100%;
  }
}

.language-menu button[hidden] {
  display: none !important;
}

@media (min-width: 761px) {
  #classes,
  #cross-play,
  #offline-farm {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 98px 96px 95px 6%;
    box-sizing: border-box;
    scroll-margin-top: 0 !important;
    background: radial-gradient(ellipse at 50% 45%, #111d33 0%, #070b14 75%);
  }

  #classes > .section-topline,
  #cross-play > .section-topline,
  #offline-farm > .section-topline {
    display: none;
  }

  .class-layout,
  .cross-layout,
  .farm-layout {
    position: relative;
    z-index: 1;
    display: grid;
    width: 100%;
    max-width: 1060px;
    margin: auto;
    grid-template-columns: minmax(0, 460fr) minmax(0, 540fr);
    gap: clamp(24px, 3vw, 48px);
    align-items: center;
  }

  .class-left-column,
  .farm-left-column,
  #cross-play .section-copy {
    width: 100%;
    max-width: 460px;
    min-width: 0;
  }

  .class-left-column,
  .farm-left-column {
    display: flex;
    flex-direction: column;
  }

  .classes-heading,
  .farm-heading {
    display: block;
    margin: 0 0 14px;
  }

  .classes-heading h2,
  .farm-heading h2,
  #cross-play .section-copy h2 {
    margin: 0 0 8px;
    font: 700 clamp(2.1rem, 3.2vw, 2.8rem)/1.1 var(--font-display);
    letter-spacing: -.025em;
  }

  .classes-heading .kicker,
  .farm-heading .kicker,
  #cross-play .section-copy > .kicker {
    margin: 0 0 7px;
    color: #5ce1e6;
    font: 700 .85rem/1.35 var(--font-body);
    letter-spacing: .16em;
  }

  .classes-heading > p,
  .farm-heading > p,
  #cross-play .section-copy > p:not(.kicker) {
    max-width: 460px;
    margin: 0;
    color: #d5deeb;
    font: 400 .95rem/1.5 var(--font-body);
  }

  #classes .class-roster,
  #classes .class-detail,
  #cross-play .device-tabs,
  #cross-play .sync-note,
  #cross-play .device-stage,
  #cross-play .spec-card,
  #offline-farm .farm-calculator,
  #offline-farm .rewards-panel,
  #offline-farm .reset-card {
    border: 1px solid rgba(212, 175, 55, .36) !important;
    border-radius: 12px !important;
    background: rgba(8, 12, 22, .46) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
    box-sizing: border-box;
  }

  #classes .class-roster {
    display: grid;
    width: 100%;
    max-width: 460px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px 10px;
    margin: 0;
    padding: 10px 12px;
  }

  #classes .class-option {
    min-width: 0;
    min-height: 72px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 7px 3px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 6px;
    background: transparent;
    text-align: center;
    font: 600 .78rem/1.2 var(--font-body);
  }

  #classes .class-option:hover,
  #classes .class-option.active {
    border-bottom-color: var(--gold);
    background: linear-gradient(180deg, transparent, rgba(245, 197, 66, .12));
  }

  #classes .class-option > span:nth-child(2) {
    font: 600 .78rem/1.2 var(--font-body);
  }

  #classes .class-option small {
    font-size: .55rem;
  }

  #classes .class-sigil {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-color: rgba(212, 175, 55, .36);
    font-size: 22px;
  }

  #classes .class-option > b {
    display: none;
  }

  #classes .class-detail {
    display: flex;
    width: 100%;
    max-width: 540px;
    min-width: 0;
    min-height: 430px;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px 24px;
  }

  #classes .class-detail-body {
    flex: 1;
    min-height: 245px;
  }

  #classes .class-stats {
    margin-top: auto;
  }

  #cross-play .cross-layout {
    width: 100%;
    max-width: 1060px;
    grid-template-columns: minmax(0, 460fr) minmax(0, 540fr);
    gap: clamp(24px, 3vw, 48px);
  }

  #cross-play .section-copy {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  #cross-play .device-tabs {
    gap: 8px;
    margin-top: 16px;
    padding: 6px;
  }

  #cross-play .device-tab {
    min-width: 0;
    min-height: 48px;
    border-radius: 8px;
    background: rgba(8, 12, 22, .4);
    font-family: var(--font-body);
  }

  #cross-play .sync-note {
    margin-top: 10px;
    padding: 11px 13px;
    border-left: 1px solid rgba(212, 175, 55, .36) !important;
  }

  #cross-play .sync-note b,
  #cross-play .sync-note small {
    font-family: var(--font-body);
  }

  #cross-play .spec-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
  }

  #cross-play .spec-card {
    min-width: 0;
    min-height: 70px;
    gap: 7px;
    padding: 9px 8px;
  }

  #cross-play .spec-card-icon {
    flex: 0 0 auto;
    font-size: 16px;
  }

  #cross-play .spec-card small {
    font-size: .55rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }

  #cross-play .spec-card b {
    font-size: .68rem;
    white-space: nowrap;
  }

  #cross-play .device-stage {
    width: 100%;
    max-width: 540px;
    height: 360px;
  }

  #offline-farm .farm-calculator {
    width: 100%;
    max-width: 460px;
    padding: 15px 16px;
  }

  #offline-farm .farm-card-top,
  #offline-farm .hours-label,
  #offline-farm .range-scale,
  #offline-farm .rewards-foot {
    font-family: var(--font-body);
  }

  #offline-farm .rewards-panel {
    margin-top: 12px;
    padding: 10px;
  }

  #offline-farm .reward-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  #offline-farm .reset-card {
    width: 100%;
    max-width: 540px;
    min-width: 0;
    padding: 25px 28px;
  }

  #offline-farm .reset-card > .kicker {
    margin-bottom: 8px;
    font-family: var(--font-body);
  }

  #offline-farm .reset-card h3 {
    margin-bottom: 10px;
    font: 700 clamp(1.75rem, 2.7vw, 2.4rem)/1.15 var(--font-display);
  }

  #offline-farm .reset-card > p:not(.kicker) {
    font: 400 .92rem/1.5 var(--font-body);
  }

  #offline-farm .reset-option,
  #offline-farm .zeny-cost {
    font-family: var(--font-body);
  }

  #offline-farm .reset-link {
    border-radius: 8px;
    font-family: var(--font-body);
  }
}

@media (max-width: 760px) {
  #classes,
  #cross-play,
  #offline-farm {
    width: 100%;
    height: auto;
    min-height: 100vh;
    max-height: none;
    overflow: visible;
    display: block;
    padding: 100px 22px 142px;
    box-sizing: border-box;
    scroll-margin-top: 0 !important;
    background: radial-gradient(ellipse at 50% 45%, #111d33 0%, #070b14 75%);
  }

  #classes > .section-topline,
  #cross-play > .section-topline,
  #offline-farm > .section-topline {
    display: none;
  }

  .class-layout,
  .cross-layout,
  .farm-layout {
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .class-left-column,
  .farm-left-column,
  #cross-play .section-copy {
    max-width: none;
  }

  .classes-heading,
  .farm-heading {
    display: block;
    margin-bottom: 14px;
  }

  .classes-heading > p,
  .farm-heading > p {
    max-width: 100%;
    margin-top: 10px;
  }

  #classes .class-roster,
  #classes .class-detail,
  #cross-play .device-tabs,
  #cross-play .sync-note,
  #cross-play .device-stage,
  #cross-play .spec-card,
  #offline-farm .farm-calculator,
  #offline-farm .rewards-panel,
  #offline-farm .reset-card {
    border: 1px solid rgba(212, 175, 55, .36) !important;
    border-radius: 12px !important;
    background: rgba(8, 12, 22, .46) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
  }

  #classes .class-roster {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    padding: 10px;
  }

  #classes .class-option {
    min-height: 62px;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    padding: 5px 2px;
    border: 0;
    border-bottom: 2px solid transparent;
    text-align: center;
  }

  #classes .class-sigil {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  #classes .class-detail {
    min-height: 0;
    padding: 18px 15px;
  }

  #classes .class-detail-body {
    min-height: 180px;
  }

  #cross-play .section-copy h2,
  #classes .classes-heading h2,
  #offline-farm .farm-heading h2 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  #cross-play .spec-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 10px;
  }

  #cross-play .spec-card {
    min-width: 0;
    min-height: 68px;
    gap: 5px;
    padding: 8px 6px;
  }

  #cross-play .spec-card small {
    font-size: .52rem;
    line-height: 1.25;
  }

  #cross-play .spec-card b {
    font-size: .65rem;
  }

  #cross-play .device-stage {
    height: 300px;
  }

  #offline-farm .farm-calculator,
  #offline-farm .reset-card {
    padding: 15px;
  }

  .closing-banner {
    padding: 48px 20px 44px;
    border-top: 1px solid rgba(212, 175, 55, .36);
    border-bottom: 1px solid rgba(212, 175, 55, .36);
    background: rgba(8, 12, 22, .46);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .site-footer {
    min-height: 60px;
    border-top: 1px solid rgba(212, 175, 55, .24);
    background: rgba(7, 11, 20, .92);
  }
}

@media (min-width: 761px) {
  .closing-banner {
    padding: 48px 25px 42px;
    border: 1px solid rgba(212, 175, 55, .24);
    border-radius: 12px;
    background: radial-gradient(ellipse at center, rgba(17, 29, 51, .85), rgba(7, 11, 20, .92));
  }

  .site-footer {
    min-height: 64px;
    border-top: 1px solid rgba(212, 175, 55, .24);
    background: rgba(7, 11, 20, .92);
  }
}

@media (min-width: 761px) {
  #classes {
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 98px 96px 95px 6%;
    box-sizing: border-box;
    background: radial-gradient(ellipse at 72% 45%, rgba(28, 76, 68, 0.42) 0%, rgba(11, 20, 36, 0.88) 55%, #070b14 100%);
  }

  #classes .class-layout {
    width: 100%;
    max-width: 1024px;
    grid-template-columns: minmax(0, 460fr) minmax(0, 540fr);
    gap: 24px;
  }

  #classes .class-detail {
    min-height: 525px;
  }

  #classes .class-detail-body {
    min-height: 0;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 4px 0 12px;
  }
}

@media (max-width: 760px) {
  #classes {
    width: 100%;
    height: auto;
    min-height: 100vh;
    max-height: none;
    overflow: visible;
    display: block;
    padding: 100px 22px 142px;
    background: radial-gradient(ellipse at 72% 45%, rgba(28, 76, 68, 0.42) 0%, rgba(11, 20, 36, 0.88) 55%, #070b14 100%);
  }

  #classes .class-detail {
    min-height: 0;
  }

  #classes .class-detail-body {
    min-height: 0;
    flex-direction: column;
  }

  #classes .class-artwork-stage,
  #classes #class-artwork-img {
    height: 240px;
  }

  #classes .class-artwork-stage {
    flex-basis: 240px;
  }

  #classes .class-rune-halo {
    width: 200px;
    height: 200px;
  }
}

#classes #class-artwork-img.is-changing {
  animation: classArtworkSwap .35s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  #classes #class-artwork-img,
  #classes #class-artwork-img.is-changing {
    animation: none;
  }
}

#cross-play {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #070b14;
}

#cross-play .cross-background-video,
#cross-play .cross-background-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#cross-play .cross-background-video {
  z-index: 0;
  object-fit: cover;
  object-position: center;
}

#cross-play .cross-background-shade {
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(7, 11, 20, .4) 0%, rgba(7, 11, 20, .7) 58%, rgba(7, 11, 20, .88) 100%),
    linear-gradient(90deg, rgba(7, 11, 20, .42), rgba(7, 11, 20, .16) 48%, rgba(7, 11, 20, .55));
}

#cross-play > :not(.cross-background-video):not(.cross-background-shade) {
  position: relative;
  z-index: 2;
}

#classes .class-roster {
  border-right-color: rgba(8, 12, 22, .46) !important;
  border-image: none !important;
  background-image: none !important;
}

#classes .class-left-column::before,
#classes .class-left-column::after,
#classes .class-roster::before,
#classes .class-roster::after,
#classes .class-option::before,
#classes .class-option::after {
  display: none !important;
  content: none !important;
}

#classes .class-option,
#classes .class-option:hover,
#classes .class-option.active {
  background-color: transparent !important;
  background-image: none !important;
}

#offline-farm {
  position: relative;
  isolation: isolate;
  background: #070b14;
}

#offline-farm .farm-background-video,
#offline-farm .farm-background-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#offline-farm .farm-background-video {
  z-index: 0;
  object-fit: cover;
  object-position: center;
}

#offline-farm .farm-background-shade {
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(7, 11, 20, .4) 0%, rgba(7, 11, 20, .7) 58%, rgba(7, 11, 20, .88) 100%),
    linear-gradient(90deg, rgba(7, 11, 20, .42), rgba(7, 11, 20, .16) 48%, rgba(7, 11, 20, .55));
}

#offline-farm > :not(.farm-background-video):not(.farm-background-shade) {
  position: relative;
  z-index: 2;
}

@media (min-width: 761px) {
  #offline-farm {
    overflow: hidden;
    padding: 84px 96px 115px 6%;
  }

  #offline-farm .farm-layout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 3vw, 48px);
    margin: 0 auto;
  }

  #offline-farm .farm-left-column {
    flex: 0 1 460px;
  }

  #offline-farm .farm-heading {
    margin-bottom: 10px;
  }

  #offline-farm .farm-heading h2 {
    margin-bottom: 6px;
  }

  #offline-farm .farm-calculator {
    padding: 12px 14px;
  }

  #offline-farm .hours-label {
    margin-top: 15px;
  }

  #offline-farm #farm-hours {
    margin: 12px 0 6px;
  }

  #offline-farm .rewards-panel {
    margin-top: 9px;
    padding: 8px;
  }

  #offline-farm .reward-header {
    padding: 7px 9px;
  }

  #offline-farm .reward-grid {
    padding: 9px 7px 7px;
  }

  #offline-farm .rewards-foot {
    padding: 7px 9px;
  }

  #offline-farm .reset-card {
    flex: 0 1 540px;
    padding: 18px 22px 14px;
  }

  #offline-farm .reset-card > .kicker {
    margin-bottom: 5px;
  }

  #offline-farm .reset-card h3 {
    margin-bottom: 7px;
  }

  #offline-farm .reset-card > p:not(.kicker) {
    margin-bottom: 10px;
  }

  #offline-farm .reset-option {
    padding: 7px 0;
  }
}

@media (max-width: 760px) {
  #offline-farm {
    overflow: visible;
  }
}

#cta.closing-banner {
  position: relative;
  isolation: isolate;
  display: flex;
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  flex-direction: column;
  justify-content: space-between;
  padding: 104px clamp(22px, 6vw, 90px) 92px;
  overflow: hidden;
  border: 0;
  background: #070b14;
  scroll-margin-top: 0 !important;
  scroll-snap-align: start;
  box-sizing: border-box;
}

#cta .cta-background-video,
#cta .cta-background-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#cta .cta-background-video {
  z-index: 0;
  object-fit: cover;
  object-position: center;
}

#cta .cta-background-shade {
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(7, 11, 20, .58) 0%, rgba(7, 11, 20, .72) 48%, rgba(7, 11, 20, .9) 100%),
    linear-gradient(90deg, rgba(7, 11, 20, .54), rgba(7, 11, 20, .22) 50%, rgba(7, 11, 20, .58));
}

#cta .closing-mark {
  z-index: 2;
  top: 50%;
  font-size: clamp(180px, 28vw, 320px);
}

#cta::before,
#cta::after {
  width: min(80vw, 580px);
  height: min(80vw, 580px);
}

#cta::after {
  width: min(90vw, 720px);
  height: min(90vw, 720px);
}

#cta .cta-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(100%, 900px);
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto;
  text-align: center;
}

#cta .cta-eyebrow {
  margin: 0;
  color: #5ce1e6;
  font: 700 .78rem/1.4 var(--stats);
  letter-spacing: .18em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .9);
}

#cta .cta-eyebrow span {
  padding: 0 5px;
  color: var(--cyan);
}

#cta .cta-content h2 {
  margin: 0;
  color: var(--white);
  font: 700 clamp(2.4rem, 5.2vw, 4.65rem)/1.12 var(--heading);
  letter-spacing: -.025em;
  text-shadow: 0 4px 28px rgba(0, 0, 0, .9);
}

#cta .accent-gold {
  color: var(--gold-light);
}

#cta .cta-copy {
  max-width: 760px;
  margin: 0;
  color: #e0e6ef;
  font: 400 clamp(.9rem, 1.3vw, 1.05rem)/1.65 var(--body);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .95);
}

#cta .cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

#cta .cta-primary {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-width: 220px;
  padding: 0 24px;
  border: 1px solid #f5d477;
  border-radius: 999px;
  background: linear-gradient(180deg, #f8d86c 0%, #dba32f 55%, #b77c1d 100%);
  box-shadow: inset 0 1px 0 #fff8, inset 0 -2px 0 #815514;
  color: #fff;
  font: 700 .76rem/1 var(--stats);
  letter-spacing: .05em;
  text-shadow: 0 1px 3px #68420c;
  white-space: nowrap;
  transition: box-shadow .2s ease, transform .2s ease;
}

#cta .cta-primary svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

#cta .cta-primary:hover,
#cta .cta-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(245, 197, 66, .65), inset 0 1px 0 #fff8, inset 0 -2px 0 #815514;
}

#cta .cta-features {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
  color: #e3e8ef;
  font: 600 .65rem/1.5 var(--stats);
  letter-spacing: .1em;
  text-shadow: 0 2px 10px #000;
}

#cta .cta-features i {
  color: var(--gold);
  font-style: normal;
}

#cta > .site-footer {
  position: relative;
  z-index: 2;
  display: flex;
  width: 100%;
  min-height: 88px;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 195px 8px 0;
  border-top: 1px solid rgba(245, 197, 66, .35);
  background: transparent;
  box-sizing: border-box;
}

#cta .footer-left {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
}

#cta .footer-brand-social {
  display: flex;
  align-items: center;
  gap: 25px;
}

#cta .gravity-badge {
  display: block;
  width: 166px;
  height: 34px;
  color: #d7dce5;
}

#cta .gravity-badge svg {
  display: block;
  width: 100%;
  height: 100%;
}

#cta .footer-social {
  display: flex;
  align-items: center;
  gap: 15px;
}

#cta .footer-social a {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: rgba(230, 235, 244, .78);
  transition: color .2s ease, transform .2s ease;
}

#cta .footer-social svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#cta .footer-social a:nth-child(2) svg,
#cta .footer-social a:nth-child(3) svg,
#cta .footer-social a:nth-child(4) svg {
  fill: currentColor;
  stroke: none;
}

#cta .footer-social a:hover,
#cta .footer-social a:focus-visible {
  color: var(--gold-light);
  transform: translateY(-2px);
}

#cta .footer-copyright {
  color: rgba(245, 247, 251, .72);
  font: 500 .58rem/1.4 var(--body);
}

#cta .footer-legal {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 13px;
  color: rgba(245, 247, 251, .42);
  font: 600 .58rem/1.4 var(--stats);
  letter-spacing: .08em;
  white-space: nowrap;
}

#cta .footer-legal a {
  color: rgba(245, 247, 251, .78);
  text-decoration: none;
  transition: color .2s ease;
}

#cta .footer-legal a:hover,
#cta .footer-legal a:focus-visible {
  color: var(--gold-light);
}

@media (max-width: 760px) {
  #cta.closing-banner {
    padding: 76px 20px 92px;
  }

  #cta .cta-content {
    gap: 10px;
    padding: 12px 0;
  }

  #cta .cta-eyebrow {
    font-size: .62rem;
    letter-spacing: .13em;
  }

  #cta .cta-content h2 {
    font-size: clamp(1.7rem, 7.5vw, 2.8rem);
  }

  #cta .cta-copy {
    max-width: 560px;
    font-size: .78rem;
    line-height: 1.5;
  }

  #cta .cta-primary {
    min-height: 46px;
    padding: 0 14px;
    font-size: .64rem;
  }

  #cta .cta-features {
    gap: 6px;
    font-size: .55rem;
    letter-spacing: .06em;
  }

  #cta > .site-footer {
    min-height: 78px;
    gap: 12px;
    padding: 8px 0;
  }

  #cta .footer-brand-social {
    gap: 12px;
  }

  #cta .gravity-badge {
    width: 118px;
    height: 28px;
  }

  #cta .footer-social {
    gap: 9px;
  }

  #cta .footer-social a {
    width: 15px;
    height: 15px;
  }

  #cta .footer-copyright {
    max-width: 285px;
    font-size: .48rem;
  }

  #cta .footer-legal {
    gap: 7px;
    font-size: .48rem;
    letter-spacing: .03em;
  }
}

@media (max-width: 430px) {
  #cta > .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    min-height: 82px;
  }

  #cta .footer-brand-social {
    flex-wrap: wrap;
    gap: 8px;
  }

  #cta .footer-legal {
    align-self: flex-end;
    padding-right: 92px;
  }

  #cta .cta-features {
    max-width: 340px;
  }
}

@media (max-height: 680px) {
  #cta.closing-banner {
    padding-top: 64px;
  }
}
@media (min-width: 761px) {
  #classes {
    padding-bottom: 115px;
  }

  #classes .class-detail {
    display: flex;
    height: auto;
    min-height: 0;
    max-height: none;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 20px;
    overflow: visible;
    box-sizing: border-box;
  }

  #classes .class-detail-body {
    min-height: 0;
    flex: 0 1 auto;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 0;
  }

  #classes .class-artwork-stage,
  #classes #class-artwork-img {
    height: 155px;
  }

  #classes .class-artwork-stage {
    flex: 0 0 155px;
    overflow: visible;
    margin-bottom: 12px;
  }

  #classes #class-artwork-img {
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
  }

  #classes .class-rune-halo {
    width: 140px;
    height: 140px;
  }

  #classes .class-description h3 {
    margin: 0 0 3px;
    font-size: clamp(1.3rem, 2.1vw, 1.7rem);
    line-height: 1.1;
  }

  #classes #class-advancement {
    margin: 0 0 4px;
  }

  #classes #class-description {
    font-size: .78rem;
    line-height: 1.4;
  }

  #classes .class-stats {
    margin-top: 0;
    padding: 8px 0 2px;
  }

  #classes .class-option,
  #classes .class-option:hover,
  #classes .class-option.active {
    background: transparent !important;
  }

  #classes .class-roster::before,
  #classes .class-roster::after,
  #classes .class-option::before,
  #classes .class-option::after {
    display: none !important;
    content: none !important;
  }
}
