:root {
  --ink: #101617;
  --deep: #081011;
  --paper: #eef0ea;
  --paper-2: #e5e8e1;
  --jade: #5a8075;
  --jade-dark: #355d55;
  --coral: #e49378;
  --white: #f7f8f4;
  --muted: #aab3af;
  --line: rgba(16, 22, 23, 0.15);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", Arial, sans-serif;
  --world-image: url("assets/aetheria-hero.png");
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  padding: 0 42px;
  border-bottom: 1px solid rgba(255,255,255,.14);
  transition: background .3s ease, min-height .3s ease;
}
.site-header.scrolled { min-height: 66px; background: rgba(8,16,17,.94); backdrop-filter: blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 11px; width: max-content; font-family: var(--font-display); font-size: 24px; font-weight: 600; text-transform: uppercase; }
.brand-mark { display: grid; place-items: center; width: 30px; height: 34px; border: 1px solid rgba(255,255,255,.48); color: var(--coral); font-size: 22px; line-height: 1; transform: rotate(45deg); }
.brand-mark::first-letter { transform: rotate(-45deg); }
.brand-mark { text-indent: 0; }
.desktop-nav { display: flex; align-items: center; gap: 27px; }
.desktop-nav a { color: rgba(255,255,255,.72); font-size: 12px; font-weight: 600; text-transform: uppercase; }
.desktop-nav a:hover { color: var(--white); }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 20px; }
.account-trigger { display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; border: 0; background: transparent; color: rgba(255,255,255,.8); font-size: 10px; font-weight: 700; text-transform: uppercase; cursor: pointer; }
.account-trigger:hover { color: var(--white); }
.world-theme-toggle { width: 36px; height: 36px; color: rgba(255,255,255,.72); }
.world-theme-toggle:hover { color: var(--coral); }
.locale-menu-trigger { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 4px; border: 0; background: transparent; color: rgba(255,255,255,.76); font-size: 10px; font-weight: 700; cursor: pointer; }
.locale-menu-trigger:hover, .locale-menu-trigger[aria-expanded="true"] { color: var(--coral); }
.locale-menu-trigger svg { width: 15px; height: 15px; }
.locale-menu-trigger svg:last-child { width: 12px; height: 12px; transition: transform .2s ease; }
.locale-menu-trigger[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }
.locale-menu { position: absolute; top: calc(100% + 8px); right: 42px; width: min(540px, calc(100vw - 30px)); padding: 18px; border: 1px solid rgba(16,22,23,.2); background: var(--paper); color: var(--ink); box-shadow: 0 24px 70px rgba(0,0,0,.35); }
.locale-menu-heading { display: flex; justify-content: space-between; align-items: center; min-height: 42px; border-bottom: 1px solid var(--line); }
.locale-menu-heading span { color: #7e8884; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.locale-menu-heading strong { color: var(--jade-dark); font-family: var(--font-display); font-size: 20px; }
.locale-menu-grid { display: grid; grid-template-columns: 1fr 1fr; }
.locale-menu-note { display: flex; align-items: center; gap: 7px; margin: 14px 0 0; color: #77817d; font-size: 9px; }
.locale-menu-note svg { width: 13px; height: 13px; }
.realm-status { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.75); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #91d4b3; box-shadow: 0 0 0 4px rgba(145,212,179,.12), 0 0 18px rgba(145,212,179,.8); }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 23px;
  border: 1px solid var(--coral);
  border-radius: 2px;
  background: var(--coral);
  color: #171b1a;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.button:hover { background: #f1aa8e; transform: translateY(-2px); }
.button-small { min-height: 39px; padding-inline: 17px; }
.icon-button { display: grid; place-items: center; width: 42px; height: 42px; border: 0; background: transparent; color: inherit; cursor: pointer; }
.menu-toggle, .mobile-menu { display: none; }

.hero { position: relative; min-height: 100svh; display: flex; align-items: center; isolation: isolate; }
.hero-image, .hero-shade { position: absolute; inset: 0; }
.hero-image { z-index: -3; overflow: hidden; background: url("assets/aetheria-hero.png") center center / cover no-repeat; transform: scale(1.02); animation: hero-settle 1.4s ease-out both; }
.hero-image::before { content: ""; position: absolute; inset: 0; background: url("assets/aetheria-hero-night.png") center center / cover no-repeat; opacity: 0; transition: opacity 1.4s ease; }
body[data-world-theme="night"] .hero-image::before { opacity: 1; }
.hero-shade { z-index: -2; background: linear-gradient(90deg, rgba(6,11,12,.88) 0%, rgba(6,11,12,.58) 32%, rgba(6,11,12,.08) 68%), linear-gradient(0deg, rgba(6,11,12,.76) 0%, transparent 35%, rgba(6,11,12,.28) 100%); }
.hero-content { padding-top: 82px; padding-bottom: 130px; }
.eyebrow { margin: 0 0 17px; color: var(--coral); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
.eyebrow.dark { color: var(--jade-dark); }
.hero h1 { margin: 0; max-width: 750px; font-family: var(--font-display); font-size: clamp(78px, 10vw, 154px); line-height: .74; font-weight: 500; text-transform: uppercase; text-shadow: 0 4px 38px rgba(0,0,0,.35); }
.hero-lede { max-width: 515px; margin: 34px 0; color: rgba(255,255,255,.78); font-size: 17px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; gap: 34px; }
.text-link { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.88); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.text-link svg { transition: transform .2s ease; }
.text-link:hover svg { transform: translateY(3px); }
.text-link.dark { color: var(--ink); }
.text-link.dark:hover svg { transform: translateX(3px); }
.realm-bar { position: absolute; inset: auto 0 0; border-top: 1px solid rgba(255,255,255,.15); background: rgba(7,14,15,.76); backdrop-filter: blur(13px); }
.realm-bar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 88px; }
.realm-identity { display: flex; align-items: center; gap: 15px; min-width: 240px; }
.realm-identity div { display: flex; flex-direction: column; }
.realm-label, .realm-facts dt { color: rgba(255,255,255,.43); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.realm-identity strong, .realm-facts dd { margin: 0; color: var(--white); font-size: 12px; font-weight: 600; text-transform: uppercase; }
.realm-facts { display: grid; grid-template-columns: repeat(5, minmax(95px, 1fr)); width: min(760px, 68%); margin: 0; }
.realm-facts div { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.12); }
.realm-facts dd { margin-top: 2px; }

.world-section { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; background: var(--paper); color: var(--ink); padding: 110px 0 0; }
.world-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 100px; align-items: start; }
.section-intro h2, .feature-heading h2 { margin: 0; font-family: var(--font-display); font-size: clamp(50px, 6vw, 82px); line-height: .95; font-weight: 500; }
.world-copy { padding-top: 29px; max-width: 500px; }
.world-copy p { margin: 0 0 19px; color: #56605d; font-size: 16px; line-height: 1.8; }
.world-copy .text-link { margin-top: 15px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 90px; border-top: 1px solid var(--line); }
.principles article { position: relative; min-height: 270px; padding: 42px 42px 52px 0; border-right: 1px solid var(--line); }
.principles article:not(:first-child) { padding-left: 42px; }
.principles article:last-child { border-right: 0; }
.principles article > span { position: absolute; top: 44px; right: 26px; color: #9aa19e; font-size: 10px; }
.principles svg { width: 25px; height: 25px; color: var(--jade-dark); }
.principles h3 { margin: 36px 0 9px; font-family: var(--font-display); font-size: 28px; font-weight: 600; }
.principles p { max-width: 265px; margin: 0; color: #69716f; font-size: 13px; }

.paths-section { position: relative; min-height: 100svh; isolation: isolate; display: flex; align-items: stretch; }
.paths-image-stack, .path-art-layer, .paths-overlay { position: absolute; inset: 0; }
.paths-image-stack { z-index: -3; overflow: hidden; background: #0a1213; }
.path-art-layer { opacity: 0; background-position: center 35%; background-size: cover; background-repeat: no-repeat; filter: brightness(.82) saturate(.9); transition: opacity .65s ease, filter 1s ease; will-change: opacity; }
.path-art-layer.active { opacity: 1; }
.path-art-layer[data-path-art="humans"] { background-image: url("assets/path-humans.webp"); }
.path-art-layer[data-path-art="untamed"] { background-image: url("assets/path-untamed.webp"); }
.path-art-layer[data-path-art="elves"] { background-image: url("assets/path-elves.webp"); }
body[data-world-theme="night"] .path-art-layer { filter: brightness(.5) saturate(.78) contrast(1.06); }
.paths-overlay { z-index: -2; background: linear-gradient(90deg, rgba(7,13,14,.82) 0%, rgba(7,13,14,.2) 40%, rgba(7,13,14,.18) 62%, rgba(7,13,14,.76) 100%), linear-gradient(0deg, rgba(7,13,14,.98) 0%, transparent 45%, rgba(7,13,14,.5) 100%); }
.paths-content { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; align-items: start; padding-top: 115px; padding-bottom: 48px; }
.paths-heading h2 { margin: 0; font-family: var(--font-display); font-size: clamp(54px, 6vw, 84px); line-height: .92; font-weight: 500; }
.path-detail { justify-self: end; align-self: center; display: grid; grid-template-columns: 60px 1fr; gap: 20px; width: 390px; min-height: 168px; padding: 24px 0 24px 30px; border-left: 1px solid rgba(255,255,255,.3); }
.path-count { margin: 8px 0 0; color: rgba(255,255,255,.5); font-size: 11px; }
.path-role { margin: 0 0 3px; color: var(--coral); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.path-detail h3 { min-height: 36px; margin: 0 0 10px; font-family: var(--font-display); font-size: 36px; line-height: 1; }
.path-detail div > p:last-child { min-height: 67px; margin: 0; color: rgba(255,255,255,.68); font-size: 13px; line-height: 1.7; }
.path-tabs { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.25); }
.path-tab { min-height: 70px; padding: 0 22px; border: 0; border-right: 1px solid rgba(255,255,255,.16); background: rgba(7,13,14,.54); color: rgba(255,255,255,.55); text-align: left; text-transform: uppercase; font-size: 10px; font-weight: 700; cursor: pointer; transition: background .25s ease, color .25s ease; }
.path-tab span { margin-right: 18px; color: rgba(255,255,255,.3); }
.path-tab.active { background: rgba(90,128,117,.9); color: var(--white); }

.features-section { min-height: 100svh; display: flex; align-items: center; padding: 110px 0; background: var(--paper-2); color: var(--ink); }
.feature-layout { display: grid; grid-template-columns: .88fr 1.12fr; gap: 95px; }
.feature-heading { position: sticky; top: 110px; align-self: start; }
.feature-heading h2 { font-size: clamp(45px, 5vw, 68px); }
.feature-list { border-top: 1px solid var(--line); }
.feature-row { display: grid; grid-template-columns: 42px 1fr 30px; gap: 24px; align-items: start; padding: 38px 0; border-bottom: 1px solid var(--line); }
.feature-row > svg { margin-top: 4px; width: 25px; height: 25px; color: var(--jade-dark); }
.feature-row h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 28px; line-height: 1; }
.feature-row p { margin: 0; color: #68716e; font-size: 13px; line-height: 1.7; }
.feature-row > span { color: #919895; font-size: 10px; text-align: right; }

.streams-section { min-height: 100svh; display: flex; flex-direction: column; overflow: hidden; padding-top: 66px; background: #0b1213; color: var(--white); scroll-margin-top: 0; }
.partner-marquee { flex: 0 0 64px; display: flex; align-items: center; overflow: hidden; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); background: #111d1e; }
.marquee-track { display: flex; width: max-content; max-width: none; contain: layout paint; animation: partner-scroll 72s linear infinite; }
.partner-marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; flex-shrink: 0; }
.marquee-group span { display: inline-flex; align-items: center; gap: 9px; min-width: 255px; padding: 0 36px; border-right: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.74); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.marquee-group span i, .live-badge i, .row-viewers i { width: 6px; height: 6px; border-radius: 50%; background: #e76f68; box-shadow: 0 0 12px rgba(231,111,104,.9); }
.marquee-group span b { margin-left: auto; color: rgba(255,255,255,.35); font-size: 9px; }
.streams-inner { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 62px; padding-bottom: 70px; }
.streams-heading { display: grid; grid-template-columns: 1fr 390px; align-items: end; gap: 80px; margin-bottom: 44px; }
.streams-heading h2 { margin: 0; font-family: var(--font-display); font-size: clamp(58px, 6vw, 84px); line-height: .85; font-weight: 500; }
.streams-heading > p { margin: 0 0 5px; color: rgba(255,255,255,.56); font-size: 13px; line-height: 1.8; }
.streams-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); overflow-anchor: none; }
.stream-feature { min-width: 0; background: #10191a; }
.stream-visual { position: relative; height: 310px; min-height: 310px; background-image: linear-gradient(0deg, rgba(6,12,13,.62), rgba(6,12,13,.08)), var(--world-image); background-position: center 47%; background-size: cover; background-repeat: no-repeat; transition: filter .3s ease; }
body[data-world-theme="night"] { --world-image: url("assets/aetheria-hero-night.png"); }
.stream-visual::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.06); pointer-events: none; }
.live-badge { position: absolute; top: 18px; left: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; background: rgba(8,14,15,.88); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.stream-play { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 66px; height: 66px; border: 1px solid rgba(255,255,255,.48); border-radius: 50%; background: rgba(8,14,15,.4); color: var(--white); cursor: pointer; transform: translate(-50%, -50%); backdrop-filter: blur(7px); transition: background .2s ease, transform .2s ease; }
.stream-play:hover { background: var(--coral); color: var(--ink); transform: translate(-50%, -50%) scale(1.06); }
.stream-play svg { width: 23px; height: 23px; fill: currentColor; }
.stream-viewers { position: absolute; right: 18px; bottom: 16px; display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.75); font-size: 9px; text-transform: uppercase; }
.stream-viewers svg { width: 13px; height: 13px; }
.stream-viewers b { color: var(--white); }
.stream-caption { display: grid; grid-template-columns: 46px minmax(0, 1fr) 42px; gap: 15px; align-items: center; height: 96px; min-height: 96px; padding: 15px 18px; }
.partner-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.28); background: var(--jade-dark); color: var(--white); font-family: var(--font-display); font-size: 14px; }
.partner-avatar.amber { background: #796243; }
.partner-avatar.coral { background: #8a5148; }
.partner-avatar.silver { background: #5b6465; }
.stream-caption p { display: flex; align-items: center; gap: 5px; margin: 0; color: rgba(255,255,255,.55); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.stream-caption p svg { width: 13px; height: 13px; color: #8ec7b3; }
.stream-caption h3 { overflow: hidden; margin: 2px 0 1px; font-family: var(--font-display); font-size: 22px; line-height: 1.1; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.stream-caption div > span { color: rgba(255,255,255,.42); font-size: 9px; }
.stream-caption > a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.65); }
.stream-caption > a:hover { border-color: rgba(255,255,255,.45); color: var(--white); }
.stream-roster { display: flex; flex-direction: column; background: #0d1617; }
.stream-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 rgba(255,255,255,.1); background: transparent; color: var(--white); text-align: left; cursor: pointer; transition: background .2s ease; }
.stream-row:hover, .stream-row.active { background: rgba(90,128,117,.2); }
.stream-row.active { box-shadow: inset 2px 0 var(--coral); }
.stream-row > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.stream-row strong { font-size: 11px; }
.stream-row small { overflow: hidden; color: rgba(255,255,255,.42); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.row-viewers { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.45); font-size: 9px; }
.row-viewers i { width: 5px; height: 5px; }
.all-partners { display: flex; justify-content: space-between; align-items: center; min-height: 54px; padding: 0 17px; color: rgba(255,255,255,.68); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.all-partners:hover { color: var(--white); }

.locale-option { display: grid; grid-template-columns: 30px 1fr auto 16px; gap: 9px; align-items: center; min-height: 52px; padding: 0 12px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.08); color: var(--ink); text-align: left; cursor: pointer; transition: background .2s ease, color .2s ease; }
.locale-option:nth-child(even) { border-right: 0; }
.locale-option > span { color: #8b9491; font-size: 9px; font-weight: 700; }
.locale-option strong { font-size: 11px; }
.locale-option small { color: #707a76; font-size: 9px; }
.locale-option svg { width: 14px; height: 14px; opacity: 0; }
.locale-option:hover { background: rgba(255,255,255,.34); }
.locale-option.active { background: var(--jade-dark); color: var(--white); }
.locale-option.active > span, .locale-option.active small { color: rgba(255,255,255,.6); }
.locale-option.active svg { opacity: 1; color: var(--coral); }

.world-section, .features-section, .community-section, .streams-section { transition: background-color .6s ease, color .6s ease; }
body[data-world-theme="night"] .world-section,
body[data-world-theme="night"] .features-section {
  --ink: #edf1ed;
  --line: rgba(255,255,255,.12);
  --jade-dark: #8db8aa;
  color: var(--ink);
  background: #111a1b;
}
body[data-world-theme="night"] .features-section { background: #162021; }
body[data-world-theme="night"] .world-copy p,
body[data-world-theme="night"] .principles p,
body[data-world-theme="night"] .feature-row p { color: #9aa7a2; }
body[data-world-theme="night"] .principles article > span,
body[data-world-theme="night"] .feature-row > span { color: #6f7d78; }
body[data-world-theme="night"] .text-link.dark { color: var(--white); }
body[data-world-theme="night"] .eyebrow.dark { color: var(--coral); }
body[data-world-theme="night"] .streams-section { background: #071011; }
body[data-world-theme="night"] .community-section { background: #0c1718; }
body[data-world-theme="night"] .locale-menu { --ink: #eef1ed; --line: rgba(255,255,255,.12); --jade-dark: #8db8aa; background: #111a1b; color: var(--ink); border-color: rgba(255,255,255,.16); }
body[data-world-theme="night"] .locale-menu-heading span,
body[data-world-theme="night"] .locale-menu-note,
body[data-world-theme="night"] .locale-option > span,
body[data-world-theme="night"] .locale-option small { color: #96a29e; }
body[data-world-theme="night"] .locale-option:hover { background: rgba(255,255,255,.06); }
body[data-world-theme="night"] .locale-option.active { background: #345d55; }

.community-section { position: relative; min-height: 100svh; overflow: hidden; display: flex; align-items: center; padding: 120px 0; background: #172728; text-align: center; }
.community-section::before { content: ""; position: absolute; inset: 0; opacity: .11; background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px); background-size: 64px 64px; }
.community-mark { position: absolute; top: 50%; left: 50%; color: rgba(255,255,255,.035); font-family: var(--font-display); font-size: 490px; line-height: 1; transform: translate(-50%, -51%); }
.community-inner { position: relative; }
.community-inner h2 { margin: 0; font-family: var(--font-display); font-size: clamp(60px, 8vw, 105px); line-height: .84; font-weight: 500; }
.community-inner > p:not(.eyebrow) { max-width: 510px; margin: 27px auto 30px; color: rgba(255,255,255,.65); }
.community-actions { display: flex; justify-content: center; gap: 12px; }
.button-ghost { border-color: rgba(255,255,255,.35); background: transparent; color: var(--white); }
.button-ghost:hover { background: rgba(255,255,255,.08); }
.server-address { display: flex; justify-content: center; align-items: center; gap: 15px; margin-top: 36px; }
.server-address > span { color: rgba(255,255,255,.35); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.server-address button { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; color: rgba(255,255,255,.72); cursor: pointer; }
.server-address code { font-family: var(--font-body); font-size: 11px; }

footer { background: #080e0f; color: rgba(255,255,255,.55); }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; min-height: 125px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-inner .brand { color: var(--white); }
.footer-inner > p { margin: 0; font-size: 11px; text-align: center; }
.social-links { display: flex; justify-content: flex-end; gap: 8px; }
.social-links a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.14); }
.social-links a:hover { color: var(--white); border-color: rgba(255,255,255,.45); }
.footer-legal { display: flex; justify-content: space-between; padding-top: 22px; padding-bottom: 22px; font-size: 9px; text-transform: uppercase; }

.launch-dialog { width: min(510px, calc(100% - 30px)); padding: 42px; border: 1px solid rgba(16,22,23,.2); border-radius: 4px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.45); }
.launch-dialog::backdrop, .auth-dialog::backdrop { background: rgba(2,7,8,.8); backdrop-filter: blur(8px); }
.launch-dialog[open], .auth-dialog[open] { animation: dialog-in .25s ease both; }
.dialog-close { position: absolute; top: 12px; right: 12px; }
.launch-dialog h2 { margin: 0; font-family: var(--font-display); font-size: 50px; line-height: 1; font-weight: 600; }
.dialog-copy { color: #65706c; }
.requirements { display: grid; grid-template-columns: 1fr 1fr; margin: 25px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.requirements div { display: flex; flex-direction: column; padding: 18px 0; }
.requirements div:first-child { border-right: 1px solid var(--line); }
.requirements div:last-child { padding-left: 25px; }
.requirements span { color: #7d8784; font-size: 9px; text-transform: uppercase; }
.requirements strong { font-size: 12px; }
.dialog-download { width: 100%; }
.dialog-note { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 16px 0 0; color: #77807d; font-size: 9px; text-transform: uppercase; }
.auth-dialog { width: min(560px, calc(100% - 30px)); max-height: min(850px, calc(100svh - 30px)); padding: 42px; border: 1px solid rgba(16,22,23,.2); border-radius: 4px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.5); overflow-y: auto; }
.auth-dialog h2 { margin: 0 0 21px; font-family: var(--font-display); font-size: 50px; line-height: .95; font-weight: 600; }
.auth-switch { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 24px; border: 1px solid var(--line); }
.auth-switch button { min-height: 43px; border: 0; background: transparent; color: #77807d; font-size: 10px; font-weight: 700; text-transform: uppercase; cursor: pointer; }
.auth-switch button.active { background: var(--jade-dark); color: var(--white); }
.auth-form { display: grid; gap: 15px; }
.auth-form > label:not(.check-label), .field-pair label { display: grid; gap: 6px; }
.auth-form label > span:first-child, .field-pair label > span:first-child { color: #57615e; font-size: 9px; font-weight: 700; text-transform: uppercase; }
.auth-form label > span:first-child em { margin-left: 6px; color: #919996; font-size: 8px; font-style: normal; font-weight: 500; }
.auth-form input:not([type="checkbox"]), .password-field { width: 100%; }
.auth-form input:not([type="checkbox"]) { height: 46px; padding: 0 13px; border: 1px solid rgba(16,22,23,.2); border-radius: 2px; outline: none; background: rgba(255,255,255,.55); color: var(--ink); font: 500 13px var(--font-body); }
.auth-form input:not([type="checkbox"]):focus { border-color: var(--jade-dark); box-shadow: 0 0 0 3px rgba(53,93,85,.1); }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 48px !important; }
.password-toggle { position: absolute; top: 2px; right: 2px; display: grid; place-items: center; width: 42px; height: 42px; border: 0; background: transparent; color: #6d7773; cursor: pointer; }
.phone-field { display: grid; grid-template-columns: 105px 1fr; width: 100%; }
.phone-field select { min-width: 0; height: 46px; padding: 0 28px 0 12px; border: 1px solid rgba(16,22,23,.2); border-right: 0; border-radius: 2px 0 0 2px; outline: none; background-color: rgba(255,255,255,.35); color: var(--ink); font: 600 11px var(--font-body); cursor: pointer; }
.phone-field input { border-radius: 0 2px 2px 0 !important; }
.phone-field select:focus { position: relative; border-color: var(--jade-dark); box-shadow: 0 0 0 3px rgba(53,93,85,.1); }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-options { display: flex; justify-content: space-between; align-items: center; }
.check-label { display: inline-flex; align-items: center; gap: 8px; color: #596360; font-size: 10px; cursor: pointer; }
.check-label input { width: 14px; height: 14px; accent-color: var(--jade-dark); }
.inline-action, .auth-back { border: 0; padding: 0; background: transparent; color: var(--jade-dark); font-size: 10px; font-weight: 700; cursor: pointer; }
.auth-submit { width: 100%; margin-top: 2px; }
.auth-security { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 18px 0 0; color: #7b8481; font-size: 9px; text-align: center; }
.auth-security svg { width: 13px; height: 13px; }
.terms-check { margin: 1px 0; }
.form-error { margin: -5px 0 0; color: #a94436; font-size: 10px; }
.auth-verify, .auth-success { text-align: center; }
.auth-back { display: flex; align-items: center; gap: 7px; margin: 0 0 28px; }
.verify-icon { display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 21px; border: 1px solid rgba(53,93,85,.25); color: var(--jade-dark); transform: rotate(45deg); }
.verify-icon svg { width: 25px; height: 25px; transform: rotate(-45deg); }
.auth-verify > p:not(.eyebrow), .auth-success > p:not(.eyebrow) { margin: 0 auto 24px; max-width: 350px; color: #69736f; font-size: 13px; }
.code-inputs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 25px 0 16px; }
.code-inputs input { width: 100%; aspect-ratio: 1 / 1.05; min-width: 0; border: 1px solid rgba(16,22,23,.22); border-radius: 2px; outline: none; background: rgba(255,255,255,.6); color: var(--ink); font: 600 21px var(--font-display); text-align: center; }
.code-inputs input:focus { border-color: var(--jade-dark); box-shadow: 0 0 0 3px rgba(53,93,85,.1); }
.verify-error { text-align: left; }
.resend-code { margin-top: 20px; }
.success-icon { border-color: rgba(53,93,85,.35); background: var(--jade-dark); color: var(--white); }
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 90; padding: 11px 18px; border: 1px solid rgba(255,255,255,.18); background: #101718; color: var(--white); font-size: 11px; opacity: 0; pointer-events: none; transform: translate(-50%, 120px); transition: opacity .2s ease, transform .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@keyframes hero-settle { from { opacity: .5; transform: scale(1.08); } to { opacity: 1; transform: scale(1.02); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(15px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes partner-scroll { to { transform: translateX(-50%); } }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; padding-inline: 22px; }
  .desktop-nav, .realm-status, .header-play { display: none; }
  .world-theme-toggle { display: none; }
  .header-actions > .account-trigger:not(.mobile-account) { display: none; }
  .menu-toggle { display: grid; }
  .mobile-menu { position: absolute; inset: 100% 12px auto; display: flex; flex-direction: column; padding: 14px; background: rgba(8,16,17,.98); transform: translateY(-10px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
  .mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .mobile-menu a { padding: 12px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 12px; text-transform: uppercase; }
  .mobile-locale-trigger { display: inline-flex; justify-content: center; width: 100%; min-height: 42px; margin-top: 10px; border: 1px solid rgba(255,255,255,.22); color: var(--coral); }
  .locale-menu { top: calc(100% + 8px); right: 12px; left: 12px; width: auto; max-height: calc(100svh - 92px); overflow-y: auto; }
  .mobile-menu .button { margin-top: 10px; }
  .mobile-account { justify-content: center; min-height: 42px; margin-top: 10px; border: 1px solid rgba(255,255,255,.22); }
  .world-layout, .feature-layout { grid-template-columns: 1fr; gap: 40px; }
  .feature-heading { position: static; }
  .streams-heading { grid-template-columns: 1fr; gap: 20px; }
  .streams-heading > p { max-width: 500px; }
  .streams-layout { grid-template-columns: 1fr; }
  .stream-roster { display: grid; grid-template-columns: 1fr 1fr; }
  .stream-row { min-height: 76px; }
  .all-partners { grid-column: 1 / -1; }
  .paths-content { grid-template-columns: 1fr; }
  .path-detail { justify-self: start; width: min(390px, 100%); }
  .realm-facts { width: 70%; }
  .realm-facts div:nth-child(3) { display: none; }
  .realm-facts div:nth-child(4) { display: none; }
  .realm-facts { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 32px, 1180px); }
  .site-header { min-height: 68px; }
  .brand { font-size: 20px; }
  .hero { min-height: 760px; align-items: flex-end; }
  .hero-image { background-position: 62% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(6,11,12,.98) 0%, rgba(6,11,12,.56) 58%, rgba(6,11,12,.3) 100%); }
  .hero-content { padding: 0 0 190px; }
  .hero h1 { font-size: 68px; }
  .hero-lede { max-width: 360px; margin: 26px 0; font-size: 14px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .realm-bar-inner { min-height: 130px; align-items: flex-start; padding-top: 20px; flex-direction: column; justify-content: flex-start; gap: 13px; }
  .realm-identity { min-width: 0; }
  .realm-facts { width: 100%; grid-template-columns: repeat(3, 1fr); }
  .realm-facts div { padding-left: 0; border-left: 0; }
  .realm-facts div:nth-child(3) { display: none; }
  .realm-facts div:nth-child(4) { display: none; }
  .world-section, .features-section { padding-top: 85px; }
  .world-layout { gap: 22px; }
  .principles { grid-template-columns: 1fr; margin-top: 58px; }
  .principles article, .principles article:not(:first-child) { min-height: 210px; padding: 32px 20px 35px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .principles article:not(:first-child) { padding-left: 0; }
  .principles h3 { margin-top: 25px; }
  .paths-section { min-height: 780px; }
  .path-art-layer { background-position: 64% center; }
  .paths-overlay { background: linear-gradient(0deg, rgba(7,13,14,.99) 0%, rgba(7,13,14,.35) 60%, rgba(7,13,14,.66) 100%); }
  .paths-content { grid-template-rows: auto 1fr auto; padding-top: 80px; }
  .paths-heading h2 { font-size: 52px; }
  .path-detail { align-self: end; margin-bottom: 18px; }
  .path-tabs { grid-column: 1; }
  .path-tab { padding: 0 8px; text-align: center; }
  .path-tab span { display: none; }
  .feature-row { grid-template-columns: 34px 1fr 20px; gap: 13px; }
  .community-section { padding: 95px 0 85px; }
  .community-inner h2 { font-size: 58px; }
  .community-actions { flex-direction: column; }
  .community-mark { font-size: 320px; }
  .footer-inner { grid-template-columns: 1fr auto; gap: 25px; padding: 35px 0; }
  .footer-inner > p { grid-column: 1 / -1; grid-row: 2; text-align: left; }
  .footer-legal { flex-direction: column; gap: 8px; }
  .launch-dialog { padding: 34px 24px 25px; }
  .launch-dialog h2 { font-size: 42px; }
  .auth-dialog { padding: 34px 22px 25px; }
  .auth-dialog h2 { font-size: 42px; }
  .field-pair { grid-template-columns: 1fr; }
  .code-inputs { gap: 5px; }
  .partner-marquee { flex-basis: 54px; }
  .marquee-group span { min-width: 210px; padding-inline: 24px; }
  .streams-inner { padding-top: 64px; padding-bottom: 65px; }
  .streams-heading { margin-bottom: 32px; }
  .streams-heading h2 { font-size: 56px; }
  .stream-visual { height: 255px; min-height: 255px; background-position: 62% center; }
  .stream-caption { grid-template-columns: 40px 1fr 36px; padding-inline: 12px; }
  .stream-caption h3 { font-size: 18px; }
  .partner-avatar { width: 38px; height: 38px; }
  .stream-roster { grid-template-columns: 1fr; }
  .stream-row { min-height: 68px; }
  .locale-menu-grid { grid-template-columns: 1fr; }
  .locale-option, .locale-option:nth-child(even) { border-right: 0; }
}

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