:root {
  --abyss: #04111a;
  --depth: #071b29;
  --navy: #0b2a3c;
  --cyan: #56cfe1;
  --cyan-soft: #9ce7ec;
  --pearl: #eef7f5;
  --mist: #dce9e7;
  --ink: #07151c;
  --warm: #e7b978;
  --muted: #879ca4;
  --line-dark: rgba(225,247,247,.15);
  --line-light: rgba(7,21,28,.16);
  --display: "Marcellus", Georgia, serif;
  --body: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; overflow-x: hidden; background: var(--abyss); color: var(--pearl); font-family: var(--body); font-size: 15px; line-height: 1.6; letter-spacing: 0; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
svg { width: 18px; height: 18px; stroke-width: 1.6; }
.shell { width: min(1200px, calc(100% - 52px)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 200; padding: 10px 14px; background: white; color: black; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; inset: 0 0 auto; z-index: 60; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: 76px; padding: 0 38px; border-bottom: 1px solid rgba(255,255,255,.13); transition: background .3s, min-height .3s; }
.site-header.scrolled { min-height: 64px; background: rgba(4,17,26,.95); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; text-transform: uppercase; }
.brand-glyph { display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid rgba(156,231,236,.5); color: var(--cyan); transform: rotate(45deg); }
.brand-glyph svg { transform: rotate(-45deg); }
.brand > span:last-child { display: flex; flex-direction: column; line-height: 1; }
.brand b { font-family: var(--display); font-size: 18px; font-weight: 400; }
.brand small { margin-top: 4px; color: var(--cyan); font-size: 8px; font-weight: 700; letter-spacing: 3px; }
.desktop-nav { display: flex; gap: 29px; }
.desktop-nav a { color: rgba(238,247,245,.66); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.desktop-nav a:hover { color: var(--cyan-soft); }
.header-tools { display: flex; align-items: center; justify-content: flex-end; gap: 15px; }
.online-count { display: flex; align-items: center; gap: 7px; color: rgba(238,247,245,.66); font-size: 9px; text-transform: uppercase; }
.online-count i, .realm-online > i, .live-track i, .channel-live i { width: 6px; height: 6px; border-radius: 50%; background: #6de6bf; box-shadow: 0 0 12px rgba(109,230,191,.85); }
.online-count b { color: var(--pearl); }
.icon-button { display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.icon-button:hover { color: var(--cyan); }
.language-trigger, .account-button { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 3px; border: 0; background: transparent; color: rgba(238,247,245,.72); font-size: 9px; font-weight: 700; text-transform: uppercase; cursor: pointer; }
.language-trigger:hover, .account-button:hover, .language-trigger[aria-expanded="true"] { color: var(--cyan-soft); }
.language-trigger svg { width: 14px; height: 14px; }
.language-trigger svg:last-child { width: 11px; transition: transform .2s; }
.language-trigger[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }
.play-button, .outline-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 21px; border: 1px solid var(--cyan); border-radius: 1px; background: var(--cyan); color: #031219; font-size: 10px; font-weight: 700; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.play-button:hover { background: var(--cyan-soft); transform: translateY(-2px); }
.header-play { min-height: 38px; padding-inline: 16px; }
.outline-button { background: rgba(3,18,25,.18); color: var(--pearl); border-color: rgba(238,247,245,.4); }
.outline-button:hover { background: rgba(156,231,236,.12); border-color: var(--cyan); }
.menu-toggle, .mobile-menu { display: none; }
.language-menu { position: absolute; top: calc(100% + 8px); right: 38px; width: min(520px, calc(100vw - 28px)); padding: 18px; border: 1px solid rgba(156,231,236,.22); background: #071a27; box-shadow: 0 26px 80px rgba(0,0,0,.5); }
.language-head { display: flex; align-items: center; justify-content: space-between; min-height: 43px; border-bottom: 1px solid var(--line-dark); }
.language-head span, .language-menu > p { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.language-head strong { color: var(--cyan-soft); font-family: var(--display); font-size: 18px; font-weight: 400; }
.language-grid { display: grid; grid-template-columns: 1fr 1fr; }
.language-grid button { display: grid; grid-template-columns: 28px 1fr auto 15px; gap: 8px; align-items: center; min-height: 53px; padding: 0 11px; border: 0; border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: transparent; text-align: left; cursor: pointer; }
.language-grid button:nth-child(even) { border-right: 0; }
.language-grid button span, .language-grid button small { color: var(--muted); font-size: 9px; }
.language-grid button b { font-size: 10px; }
.language-grid button svg { width: 13px; opacity: 0; color: var(--warm); }
.language-grid button:hover { background: rgba(86,207,225,.06); }
.language-grid button.active { background: #0d3f54; }
.language-grid button.active svg { opacity: 1; }
.language-menu > p { display: flex; align-items: center; gap: 7px; margin: 14px 0 0; }
.language-menu > p svg { width: 13px; }

.hero { position: relative; min-height: 100svh; display: flex; align-items: center; isolation: isolate; overflow: hidden; }
.hero-art, .hero-overlay { position: absolute; inset: 0; }
.hero-art { z-index: -3; background: url("assets/nirvana-hero.webp") center center / cover no-repeat; transform: scale(1.015); transition: filter 1s; }
.hero-overlay { z-index: -2; background: linear-gradient(90deg, rgba(2,10,17,.94) 0%, rgba(2,10,17,.68) 34%, rgba(2,10,17,.08) 67%), linear-gradient(0deg, rgba(2,10,17,.84), transparent 44%, rgba(2,10,17,.2)); }
body[data-depth="deep"] .hero-art, body[data-depth="deep"] .race-art-layer, body[data-depth="deep"] .nirvana-art { filter: brightness(.72) saturate(.86); }
.hero-copy { padding-bottom: 100px; }
.eyebrow { margin: 0 0 17px; color: var(--cyan-soft); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; }
.eyebrow.ink { color: #17657a; }
.hero h1 { margin: 0; max-width: 720px; font-family: var(--display); font-weight: 400; line-height: .72; text-transform: uppercase; }
.hero h1 span { display: block; font-size: clamp(74px, 10vw, 145px); }
.hero h1 b { display: block; margin-left: 3px; color: transparent; font-size: clamp(48px, 6vw, 82px); font-weight: 400; -webkit-text-stroke: 1px rgba(156,231,236,.78); }
.hero-lede { max-width: 520px; margin: 34px 0; color: rgba(238,247,245,.7); font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 29px; }
.hero-actions > a { display: inline-flex; align-items: center; gap: 9px; color: rgba(238,247,245,.8); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.depth-lines { position: absolute; top: 108px; right: 27px; bottom: 112px; display: flex; flex-direction: column; justify-content: space-between; padding-left: 18px; border-left: 1px solid rgba(156,231,236,.25); color: rgba(156,231,236,.45); font-size: 8px; }
.depth-lines span::before { content: ""; position: absolute; left: -5px; width: 9px; border-top: 1px solid rgba(156,231,236,.4); }
.realm-data { position: absolute; inset: auto 0 0; border-top: 1px solid rgba(255,255,255,.12); background: rgba(3,15,23,.82); backdrop-filter: blur(14px); }
.realm-data-inner { display: flex; align-items: center; justify-content: space-between; min-height: 88px; }
.realm-online { display: flex; align-items: center; gap: 13px; min-width: 250px; }
.realm-online > span { display: flex; flex-direction: column; }
.realm-online small, .realm-data dt { color: #66818d; font-size: 8px; font-weight: 700; text-transform: uppercase; }
.realm-online b, .realm-data dd { margin: 0; font-size: 11px; font-weight: 600; text-transform: uppercase; }
.realm-data dl { display: grid; grid-template-columns: repeat(4, minmax(115px, 1fr)); width: min(700px, 65%); margin: 0; }
.realm-data dl div { padding-left: 25px; border-left: 1px solid rgba(255,255,255,.12); }

.era-section { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding: 110px 0 0; background: var(--mist); color: var(--ink); transition: background .6s, color .6s; }
.era-number { position: absolute; top: 50%; left: -25px; color: rgba(7,21,28,.045); font-family: var(--display); font-size: 480px; line-height: .8; transform: translateY(-50%); }
.era-grid { position: relative; display: grid; grid-template-columns: 1fr .85fr; gap: 110px; }
.era-grid h2, .features-title h2 { margin: 0; font-family: var(--display); font-size: clamp(50px, 6vw, 79px); line-height: .94; font-weight: 400; }
.era-copy { padding-top: 22px; }
.era-copy p { margin: 0 0 17px; color: #52656b; font-size: 15px; line-height: 1.8; }
.era-copy a { display: inline-flex; align-items: center; gap: 9px; margin-top: 14px; color: #0c5265; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.era-pillars { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 78px; border-top: 1px solid var(--line-light); }
.era-pillars article { position: relative; min-height: 245px; padding: 38px 35px 44px 0; border-right: 1px solid var(--line-light); }
.era-pillars article:not(:first-child) { padding-left: 35px; }
.era-pillars article:last-child { border-right: 0; }
.era-pillars article > span { position: absolute; top: 38px; right: 22px; color: #8ba0a5; font-size: 8px; }
.era-pillars svg, .feature-list > article > svg { color: #17758a; }
.era-pillars h3 { margin: 28px 0 8px; font-family: var(--display); font-size: 24px; font-weight: 400; }
.era-pillars p { max-width: 260px; margin: 0; color: #607277; font-size: 12px; }

.races-section { position: relative; min-height: 100svh; overflow: hidden; isolation: isolate; background: #020b12; }
.race-art-stack, .race-art-layer, .race-shade { position: absolute; inset: 0; }
.race-art-stack { z-index: -3; }
.race-art-layer { opacity: 0; background-position: center; background-size: cover; background-repeat: no-repeat; transition: opacity .65s ease, filter 1s; will-change: opacity; }
.race-art-layer.active { opacity: 1; }
.race-art-layer[data-race-art="humans"] { background-image: url("assets/race-humans.webp"); }
.race-art-layer[data-race-art="untamed"] { background-image: url("assets/race-untamed.webp"); }
.race-art-layer[data-race-art="elves"] { background-image: url("assets/race-elves.webp"); }
.race-art-layer[data-race-art="tideborn"] { background-image: url("assets/race-tideborn.webp"); }
.race-art-layer[data-race-art="earthguard"] { background-image: url("assets/race-earthguard.webp"); }
.race-shade { z-index: -2; background: linear-gradient(90deg, rgba(2,10,17,.95) 0%, rgba(2,10,17,.75) 32%, rgba(2,10,17,.14) 64%), linear-gradient(0deg, rgba(2,10,17,.94), transparent 43%, rgba(2,10,17,.3)); pointer-events: none; }
.races-copy { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) 420px; grid-template-rows: 1fr auto; align-items: center; column-gap: 8vw; padding-top: 100px; padding-bottom: 42px; }
.races-heading { align-self: center; }
.races-heading h2 { margin: 0; max-width: 650px; font-family: var(--display); font-size: clamp(53px, 6vw, 82px); line-height: .92; font-weight: 400; }
.race-detail { align-self: center; height: 270px; padding: 27px 0 24px 30px; border-left: 1px solid rgba(156,231,236,.45); }
.race-detail-top { display: flex; align-items: center; justify-content: space-between; min-height: 20px; color: #718e99; font-size: 9px; }
.featured-race { padding: 5px 8px; border: 1px solid rgba(156,231,236,.35); color: var(--cyan-soft); font-size: 7px; font-weight: 700; text-transform: uppercase; }
.race-detail > p:first-of-type { margin: 17px 0 3px; color: var(--cyan); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.race-detail h3 { min-height: 47px; margin: 0; font-family: var(--display); font-size: 41px; font-weight: 400; }
.race-detail strong { display: block; min-height: 23px; color: #e6f3f5; font-size: 10px; text-transform: uppercase; }
.race-detail > p:last-child { min-height: 64px; max-width: 390px; margin: 8px 0 0; color: #9fb0b6; font-size: 12px; line-height: 1.7; }
.race-tabs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.25); }
.race-tabs button { position: relative; min-width: 0; min-height: 68px; padding: 0 14px; border: 0; border-right: 1px solid rgba(255,255,255,.15); background: rgba(2,12,19,.62); color: #81959c; font-size: 9px; font-weight: 700; text-transform: uppercase; text-align: left; cursor: pointer; transition: color .25s, background .25s; }
.race-tabs button:last-child { border-right: 0; }
.race-tabs button span { margin-right: 12px; color: #607985; }
.race-tabs button small { position: absolute; right: 10px; bottom: 8px; color: rgba(215,250,251,.6); font-size: 6px; }
.race-tabs button:hover { color: white; background: rgba(7,35,49,.78); }
.race-tabs button.active { background: rgba(16,91,114,.92); color: white; box-shadow: inset 0 2px var(--cyan); }

.nirvana-section { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.nirvana-art, .nirvana-shade { position: absolute; inset: 0; }
.nirvana-art { z-index: -3; background: url("assets/nirvana-gate.webp") center center / cover no-repeat; transition: filter 1s; }
.nirvana-shade { z-index: -2; background: linear-gradient(90deg, rgba(2,10,17,.9), rgba(2,10,17,.58) 37%, rgba(2,10,17,.04) 70%), linear-gradient(0deg, rgba(2,10,17,.9), transparent 48%); }
.nirvana-copy { padding-bottom: 90px; }
.nirvana-copy h2 { margin: 0; font-family: var(--display); font-size: clamp(62px, 8vw, 108px); line-height: .86; font-weight: 400; }
.nirvana-copy > p:not(.eyebrow) { max-width: 430px; margin: 28px 0; color: #a5b5ba; }
.nirvana-loop { position: absolute; inset: auto 0 0; display: grid; grid-template-columns: repeat(4, 1fr); padding: 0; border-top: 1px solid rgba(255,255,255,.16); list-style: none; }
.nirvana-loop li { min-height: 104px; padding: 22px 25px; border-right: 1px solid rgba(255,255,255,.14); background: rgba(3,14,22,.76); backdrop-filter: blur(10px); }
.nirvana-loop li > span { float: right; color: #607a84; font-size: 8px; }
.nirvana-loop b, .nirvana-loop small { display: block; }
.nirvana-loop b { font-family: var(--display); font-size: 21px; font-weight: 400; }
.nirvana-loop small { color: #76909a; font-size: 9px; }

.features-section { min-height: 100svh; display: flex; align-items: center; padding: 105px 0; background: #d6e5e5; color: var(--ink); transition: background .6s, color .6s; }
.features-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 100px; }
.features-title { position: sticky; top: 105px; align-self: start; }
.features-title > p:last-child { max-width: 380px; color: #5f7379; }
.feature-list { border-top: 1px solid var(--line-light); }
.feature-list article { display: grid; grid-template-columns: 40px 1fr 25px; gap: 20px; padding: 31px 0; border-bottom: 1px solid var(--line-light); }
.feature-list h3 { margin: 0 0 6px; font-family: var(--display); font-size: 24px; font-weight: 400; }
.feature-list p { margin: 0; color: #5a6f75; font-size: 12px; }
.feature-list article > span { color: #84979c; font-size: 8px; text-align: right; }

.live-section { min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; padding-top: 64px; background: #061621; transition: background .6s; }
.live-marquee { flex: 0 0 58px; overflow: hidden; display: flex; align-items: center; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); background: #09202e; }
.live-track { display: flex; width: max-content; animation: live-scroll 70s linear infinite; }
.live-marquee:hover .live-track { animation-play-state: paused; }
.live-track span { display: inline-flex; align-items: center; gap: 8px; min-width: 240px; padding: 0 28px; border-right: 1px solid var(--line-dark); color: #93aab2; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.live-track b { margin-left: auto; color: #55717b; }
.live-track i, .channel-live i { background: #61e3d3; }
.live-inner { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 70px 0; }
.live-heading { display: grid; grid-template-columns: 1fr 390px; align-items: end; gap: 90px; margin-bottom: 45px; }
.live-heading h2 { margin: 0; font-family: var(--display); font-size: clamp(60px, 7vw, 92px); line-height: .9; font-weight: 400; }
.live-heading > p:last-child { margin: 0; color: #7f979f; }
.live-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr); gap: 1px; overflow: hidden; border: 1px solid var(--line-dark); background: var(--line-dark); }
.featured-channel { min-width: 0; background: #071823; }
.featured-channel-visual { position: relative; height: 310px; min-height: 310px; overflow: hidden; background: #041019; }
.channel-art-stack, .channel-art-layer { position: absolute; inset: 0; }
.channel-art-layer { opacity: 0; background-position: center 42%; background-size: cover; background-repeat: no-repeat; transition: opacity .55s ease; will-change: opacity; }
.channel-art-layer.active { opacity: 1; }
.channel-art-layer[data-channel-art="abysswalker"] { background-image: url("assets/race-tideborn.webp"); }
.channel-art-layer[data-channel-art="pearlhex"] { background-image: url("assets/nirvana-hero.webp"); }
.channel-art-layer[data-channel-art="twindaggers"] { background-image: url("assets/nirvana-gate.webp"); }
.channel-art-layer[data-channel-art="soulcurrent"] { background-image: url("assets/race-elves.webp"); }
.featured-channel-visual::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(2,11,17,.82), transparent 58%), linear-gradient(90deg, rgba(2,11,17,.2), transparent 60%); pointer-events: none; }
.channel-live { position: absolute; top: 18px; left: 18px; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 7px 10px; background: rgba(3,15,23,.88); color: var(--cyan-soft); font-size: 8px; font-weight: 700; text-transform: uppercase; }
.channel-play { position: absolute; top: 50%; left: 50%; z-index: 2; display: grid; place-items: center; width: 66px; height: 66px; padding: 0; border: 1px solid rgba(255,255,255,.52); border-radius: 50%; background: rgba(3,15,23,.42); color: white; cursor: pointer; transform: translate(-50%, -50%); backdrop-filter: blur(7px); transition: background .2s, transform .2s; }
.channel-play:hover { background: var(--cyan); color: var(--ink); transform: translate(-50%, -50%) scale(1.06); }
.channel-play svg { width: 23px; height: 23px; fill: currentColor; }
.channel-viewers { position: absolute; right: 18px; bottom: 16px; z-index: 2; display: flex; align-items: center; gap: 7px; color: #a9bdc3; font-size: 8px; text-transform: uppercase; }
.channel-viewers svg { width: 13px; height: 13px; }
.channel-viewers b { color: white; }
.channel-caption { display: grid; grid-template-columns: 46px minmax(0, 1fr) 42px; gap: 15px; align-items: center; height: 96px; min-height: 96px; padding: 15px 18px; }
.channel-avatar { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(156,231,236,.32); background: #12516a; color: white; font-family: var(--display); font-size: 13px; }
.channel-avatar.pearl { background: #496b78; }
.channel-avatar.steel { background: #344c5e; }
.channel-avatar.violet { background: #4d496f; }
.channel-caption p { display: flex; align-items: center; gap: 5px; margin: 0; color: #91aab2; font-size: 8px; font-weight: 700; text-transform: uppercase; }
.channel-caption p svg { width: 13px; height: 13px; color: var(--cyan); }
.channel-caption h3 { overflow: hidden; margin: 2px 0 1px; font-family: var(--display); font-size: 21px; line-height: 1.1; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.channel-caption div > span { color: #607d87; font-size: 8px; }
.channel-caption > a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line-dark); color: #819ba4; }
.channel-caption > a:hover { border-color: rgba(156,231,236,.5); color: white; }
.channel-roster { display: flex; flex-direction: column; background: #06151f; }
.channel-row { flex: 1; display: grid; grid-template-columns: 42px 1fr auto; gap: 13px; align-items: center; min-height: 75px; padding: 12px 16px; border: 0; border-bottom: 1px solid var(--line-dark); background: transparent; color: white; text-align: left; cursor: pointer; transition: background .2s; }
.channel-row:hover, .channel-row.active { background: rgba(20,92,116,.27); }
.channel-row.active { box-shadow: inset 2px 0 var(--cyan); }
.channel-row > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.channel-row strong { font-size: 10px; }
.channel-row small { overflow: hidden; color: #57737d; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.row-viewers { display: flex; align-items: center; gap: 7px; color: #5e7882; font-size: 8px; }
.row-viewers i { width: 5px; height: 5px; border-radius: 50%; background: #61e3d3; box-shadow: 0 0 10px rgba(97,227,211,.7); }
.all-channels { display: flex; justify-content: space-between; align-items: center; min-height: 54px; padding: 0 17px; color: #78919a; font-size: 8px; font-weight: 700; text-transform: uppercase; }
.all-channels:hover { color: white; }

.community-section { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; text-align: center; background: #082332; transition: background .6s; }
.community-section::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(rgba(156,231,236,.16) 1px, transparent 1px), linear-gradient(90deg, rgba(156,231,236,.16) 1px, transparent 1px); background-size: 68px 68px; }
.community-rings { position: absolute; top: 50%; left: 50%; width: min(68vw, 800px); aspect-ratio: 1; border: 1px solid rgba(86,207,225,.09); border-radius: 50%; transform: translate(-50%,-50%); }
.community-rings::before, .community-rings::after { content: ""; position: absolute; inset: 15%; border: 1px solid rgba(86,207,225,.08); border-radius: 50%; }
.community-rings::after { inset: 31%; }
.community-copy { position: relative; }
.community-copy h2 { margin: 0; font-family: var(--display); font-size: clamp(63px, 9vw, 120px); line-height: .83; font-weight: 400; }
.community-copy > p:not(.eyebrow) { max-width: 520px; margin: 28px auto; color: #8ea4ac; }
.community-copy > div { display: flex; justify-content: center; gap: 11px; }
.realm-address { display: flex; align-items: center; gap: 11px; margin: 35px auto 0; border: 0; background: transparent; color: #8099a1; cursor: pointer; }
.realm-address span { font-size: 8px; font-weight: 700; text-transform: uppercase; }
.realm-address code { color: var(--cyan-soft); font: 10px var(--body); }

footer { background: #020b11; color: #607781; }
.footer-main { min-height: 120px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-main > p { margin: 0; font-size: 10px; text-align: center; }
.footer-main > div { display: flex; justify-content: flex-end; gap: 8px; }
.footer-main > div a { display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid rgba(255,255,255,.12); }
.footer-legal { display: flex; justify-content: space-between; padding: 21px 0; font-size: 8px; text-transform: uppercase; }

dialog { color: var(--ink); }
dialog::backdrop { background: rgba(1,7,11,.84); backdrop-filter: blur(9px); }
dialog[open] { animation: dialog-in .25s ease both; }
.launch-dialog, .account-dialog { width: min(540px, calc(100% - 28px)); max-height: calc(100svh - 30px); padding: 40px; border: 1px solid rgba(7,21,28,.18); border-radius: 2px; background: var(--pearl); box-shadow: 0 30px 100px rgba(0,0,0,.5); overflow-y: auto; }
.dialog-close, .account-close { position: absolute; top: 10px; right: 10px; }
dialog h2 { margin: 0 0 20px; font-family: var(--display); font-size: 46px; line-height: .96; font-weight: 400; }
.launch-dialog > p:not(.eyebrow) { color: #687c81; }
.launch-dialog dl { display: grid; grid-template-columns: 1fr 1fr; margin: 24px 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.launch-dialog dl div { padding: 16px; }
.launch-dialog dl div:first-child { border-right: 1px solid var(--line-light); }
.launch-dialog dt { color: #7c8f93; font-size: 8px; text-transform: uppercase; }
.launch-dialog dd { margin: 0; font-size: 11px; font-weight: 700; }
.full-button { width: 100%; }
.launch-dialog > small, .secure-note { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 15px; color: #809194; font-size: 8px; text-transform: uppercase; }
.account-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 22px; border: 1px solid var(--line-light); }
.account-tabs button { min-height: 43px; border: 0; background: transparent; color: #708489; font-size: 9px; font-weight: 700; text-transform: uppercase; cursor: pointer; }
.account-tabs button.active { background: #0e5368; color: white; }
.account-form { display: grid; gap: 14px; }
.account-form > label:not(.terms), .form-pair label { display: grid; gap: 5px; }
.account-form label > span:first-child, .form-pair label > span:first-child { color: #5e747a; font-size: 8px; font-weight: 700; text-transform: uppercase; }
.account-form em { margin-left: 5px; color: #8da0a4; font-size: 8px; font-style: normal; }
.account-form input:not([type="checkbox"]), .account-form select { width: 100%; height: 45px; padding: 0 12px; border: 1px solid rgba(7,21,28,.2); border-radius: 1px; outline: none; background: rgba(255,255,255,.55); color: var(--ink); font-size: 12px; }
.account-form input:focus, .account-form select:focus { border-color: #147791; box-shadow: 0 0 0 3px rgba(20,119,145,.1); }
.password-wrap { position: relative; display: block; }
.password-wrap input { padding-right: 45px !important; }
.password-wrap button { position: absolute; top: 2px; right: 2px; display: grid; place-items: center; width: 41px; height: 41px; border: 0; background: transparent; color: #6e8388; cursor: pointer; }
.form-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.phone-wrap { display: grid; grid-template-columns: 105px 1fr; }
.phone-wrap select { border-right: 0 !important; }
.form-options { display: flex; justify-content: space-between; align-items: center; color: #60757a; font-size: 9px; }
.form-options label, .terms { display: flex; align-items: center; gap: 7px; font-size: 9px; }
.form-options button, .back-button { border: 0; background: transparent; color: #126c83; font-size: 9px; font-weight: 700; cursor: pointer; }
.form-error { margin: -5px 0 0; color: #a33e37; font-size: 9px; }
.verification, .account-success { text-align: center; }
.back-button { display: flex; align-items: center; gap: 6px; margin-bottom: 25px; }
.verify-mark { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 20px; border: 1px solid rgba(18,108,131,.35); color: #126c83; transform: rotate(45deg); }
.verify-mark svg { transform: rotate(-45deg); }
.verification > p:not(.eyebrow), .account-success > p:not(.eyebrow) { color: #687d82; }
.code-boxes { display: grid; grid-template-columns: repeat(6,1fr); gap: 7px; margin: 23px 0 14px; }
.code-boxes input { width: 100%; aspect-ratio: 1; min-width: 0; border: 1px solid rgba(7,21,28,.22); background: white; font: 20px var(--display); text-align: center; }
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; padding: 10px 16px; border: 1px solid rgba(156,231,236,.22); background: #061722; color: var(--pearl); font-size: 10px; opacity: 0; pointer-events: none; transform: translate(-50%,100px); transition: opacity .2s, transform .25s; }
.toast.show { opacity: 1; transform: translate(-50%,0); }

body[data-depth="deep"] .era-section, body[data-depth="deep"] .features-section { --ink: #e9f3f2; --line-light: rgba(255,255,255,.12); background: #081b25; color: var(--ink); }
body[data-depth="deep"] .features-section { background: #0b2330; }
body[data-depth="deep"] .eyebrow.ink { color: var(--cyan); }
body[data-depth="deep"] .era-copy p, body[data-depth="deep"] .era-pillars p, body[data-depth="deep"] .features-title > p:last-child, body[data-depth="deep"] .feature-list p { color: #8ba1a8; }
body[data-depth="deep"] .era-copy a { color: var(--cyan-soft); }
body[data-depth="deep"] .era-number { color: rgba(156,231,236,.025); }
body[data-depth="deep"] .live-section { background: #030c12; }
body[data-depth="deep"] .community-section { background: #041620; }

@keyframes live-scroll { to { transform: translateX(-50%); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; padding-inline: 20px; }
  .desktop-nav, .online-count, .account-button, .header-play { display: none; }
  .menu-toggle { display: grid; }
  .mobile-menu { position: absolute; inset: 100% 10px auto; display: flex; flex-direction: column; padding: 12px; background: rgba(4,17,26,.98); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .2s, transform .2s; }
  .mobile-menu.open { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-menu a, .mobile-menu > button:not(.play-button) { display: flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 10px; border: 0; border-bottom: 1px solid rgba(255,255,255,.1); background: transparent; font-size: 10px; font-weight: 700; text-transform: uppercase; }
  .mobile-menu .play-button { margin-top: 10px; }
  .language-menu { right: 10px; left: 10px; width: auto; max-height: calc(100svh - 90px); overflow-y: auto; }
  .era-grid, .features-grid { grid-template-columns: 1fr; gap: 35px; }
  .features-title { position: static; }
  .races-copy { grid-template-columns: 1fr; grid-template-rows: auto 1fr auto; align-items: start; }
  .race-detail { justify-self: end; width: 400px; }
  .live-heading { grid-template-columns: 1fr; gap: 20px; }
  .live-layout { grid-template-columns: 1fr; }
  .channel-roster { display: grid; grid-template-columns: 1fr 1fr; }
  .all-channels { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .shell { width: calc(100% - 32px); }
  .site-header { min-height: 66px; }
  .brand b { font-size: 16px; }
  .brand-glyph { width: 32px; height: 32px; }
  .header-tools { gap: 5px; }
  .depth-toggle { display: none; }
  .hero { min-height: 760px; align-items: flex-end; }
  .hero-art { background-position: 63% center; }
  .hero-overlay { background: linear-gradient(0deg, rgba(2,10,17,.97), rgba(2,10,17,.35) 70%); }
  .hero-copy { padding-bottom: 185px; }
  .hero h1 span { font-size: 66px; }
  .hero h1 b { font-size: 46px; }
  .hero-lede { font-size: 13px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 18px; }
  .depth-lines { display: none; }
  .realm-data-inner { min-height: 135px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 12px; }
  .realm-online { min-width: 0; }
  .realm-data dl { width: 100%; grid-template-columns: repeat(3,1fr); }
  .realm-data dl div { padding-left: 0; border: 0; }
  .realm-data dl div:nth-child(3) { display: none; }
  .era-section, .features-section { padding-top: 85px; }
  .era-grid h2, .features-title h2 { font-size: 49px; }
  .era-pillars { grid-template-columns: 1fr; margin-top: 55px; }
  .era-pillars article, .era-pillars article:not(:first-child) { min-height: 195px; padding: 30px 18px 34px 0; border-right: 0; border-bottom: 1px solid var(--line-light); }
  .races-section { min-height: 880px; }
  .race-art-layer { background-position: 66% center; }
  .race-shade { background: linear-gradient(0deg, rgba(2,10,17,.98) 0%, rgba(2,10,17,.76) 35%, rgba(2,10,17,.12) 72%), linear-gradient(90deg, rgba(2,10,17,.62), transparent 85%); }
  .races-copy { min-height: 880px; grid-template-rows: auto 1fr auto; padding-top: 86px; padding-bottom: 24px; }
  .races-heading h2 { max-width: 420px; font-size: 47px; }
  .race-detail { align-self: end; justify-self: stretch; width: 100%; height: 242px; margin-bottom: 18px; padding: 22px 0 10px 19px; background: linear-gradient(90deg, rgba(2,10,17,.72), transparent); }
  .race-tabs { width: calc(100vw - 16px); margin-left: calc((100vw - 100% - 16px) / -2); grid-template-columns: repeat(5, 118px); overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
  .race-tabs::-webkit-scrollbar { display: none; }
  .race-tabs button { min-height: 64px; text-align: center; scroll-snap-align: start; }
  .race-tabs button span, .race-tabs button small { display: none; }
  .nirvana-art { background-position: 61% center; }
  .nirvana-copy { padding-bottom: 250px; }
  .nirvana-copy h2 { font-size: 61px; }
  .nirvana-loop { grid-template-columns: 1fr 1fr; }
  .nirvana-loop li { min-height: 88px; }
  .feature-list article { grid-template-columns: 32px 1fr 18px; gap: 12px; }
  .live-section { padding-top: 66px; }
  .live-inner { padding-top: 62px; }
  .live-heading h2 { font-size: 56px; }
  .featured-channel-visual { height: 255px; min-height: 255px; }
  .channel-caption { grid-template-columns: 40px 1fr 36px; padding-inline: 12px; }
  .channel-caption h3 { font-size: 18px; }
  .channel-avatar { width: 38px; height: 38px; }
  .channel-roster { grid-template-columns: 1fr; }
  .channel-row { min-height: 68px; }
  .community-copy h2 { font-size: 58px; }
  .community-copy > div { flex-direction: column; }
  .footer-main { grid-template-columns: 1fr auto; gap: 25px; padding: 35px 0; }
  .footer-main > p { grid-column: 1 / -1; grid-row: 2; text-align: left; }
  .footer-legal { flex-direction: column; gap: 7px; }
  .language-grid { grid-template-columns: 1fr; }
  .language-grid button, .language-grid button:nth-child(even) { border-right: 0; }
  .launch-dialog, .account-dialog { padding: 34px 22px 25px; }
  dialog h2 { font-size: 40px; }
  .form-pair { grid-template-columns: 1fr; }
  .code-boxes { gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .live-track { animation: none !important; transform: none !important; }
}
