:root {
  --bg: #07060a;
  --surface: #0c0a11;
  --surface-2: #110e18;
  --text: #f7f5fb;
  --muted: #aaa5b4;
  --dim: #6f6979;
  --violet: #8f38ff;
  --violet-bright: #b86cff;
  --line: rgba(255,255,255,.11);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; font: inherit; }

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  height: 82px;
  padding: 0 max(26px, calc((100vw - var(--max))/2));
  display: flex;
  align-items: center;
  gap: 40px;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
}

.site-header.scrolled {
  background: rgba(7,6,10,.86);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand, .footer-brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 43px; height: 43px; object-fit: contain; filter: drop-shadow(0 0 15px rgba(143,56,255,.45)); }
.brand-wordmark { width: 172px; height: 48px; overflow: hidden; display: grid; place-items: center; }
.brand-wordmark img { width: 172px; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 31px; }
.main-nav a { color: #bbb5c5; font-size: 11px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; transition: color .2s; }
.main-nav a:hover { color: #fff; }
.header-action {
  min-height: 42px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border: 1px solid rgba(143,56,255,.52);
  background: rgba(143,56,255,.08);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: border-color .2s, background .2s, transform .2s;
}
.header-action:hover { border-color: var(--violet-bright); background: rgba(143,56,255,.18); transform: translateY(-1px); }
.menu-toggle { display: none; margin-left: auto; padding: 8px; border: 0; background: transparent; }
.menu-toggle span { display: block; width: 24px; height: 1px; margin: 6px; background: #fff; }

.hero {
  position: relative;
  min-height: 100vh;
  padding: 130px max(28px, calc((100vw - var(--max))/2)) 70px;
  display: grid;
  grid-template-columns: 1.07fr .93fr;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: -4;
  background: url('/assets/hub-hero-v2.png') center / cover no-repeat;
  transform: scale(1.02);
  animation: breathe 18s ease-in-out infinite alternate;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(7,6,10,.98) 0%, rgba(7,6,10,.83) 38%, rgba(7,6,10,.22) 67%, rgba(7,6,10,.72) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 25%, rgba(7,6,10,.26) 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 85%);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.network-state { margin-bottom: 20px; display: flex; align-items: center; gap: 10px; color: #d9d4e0; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.state-dot { width: 7px; height: 7px; border-radius: 50%; color: #f2b64b; background: currentColor; box-shadow: 0 0 13px currentColor; }
.state-dot.online { color: #62e99e; }
.state-dot.offline { color: #ff5575; }
.hero-brand { width: min(560px, 80vw); height: 155px; margin: -37px 0 -28px; overflow: hidden; display: flex; align-items: center; }
.hero-brand img { width: 100%; filter: drop-shadow(0 10px 25px rgba(0,0,0,.8)); }
.hero-kicker, .eyebrow { margin: 0 0 14px; color: var(--violet-bright); font-size: 11px; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 24px;
  font-size: clamp(50px, 5.2vw, 80px);
  line-height: .94;
  letter-spacing: -.058em;
  font-weight: 950;
  text-wrap: balance;
}
h1 em, h2 em { color: var(--violet-bright); font-style: normal; }
.hero-lead { max-width: 610px; margin-bottom: 32px; color: #c1bbc9; font-size: clamp(16px, 1.45vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
.button {
  min-height: 54px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
  transition: transform .2s, background .2s, border-color .2s, box-shadow .2s;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: linear-gradient(135deg, #9d40ff, #6d20df); box-shadow: 0 14px 40px rgba(112,27,221,.24); }
.button-primary:hover { box-shadow: 0 16px 46px rgba(143,56,255,.36); }
.button-ghost { border: 1px solid rgba(255,255,255,.17); background: rgba(9,7,13,.46); backdrop-filter: blur(10px); }
.button-ghost:hover { border-color: rgba(255,255,255,.37); background: rgba(255,255,255,.06); }

.hero-emblem { position: relative; z-index: 1; width: min(600px, 47vw); aspect-ratio: 1; justify-self: end; display: grid; place-items: center; }
.hero-emblem::before { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: rgba(108,29,218,.28); filter: blur(80px); }
.hero-emblem > img { position: relative; z-index: 2; width: 67%; filter: drop-shadow(0 25px 50px rgba(0,0,0,.75)) drop-shadow(0 0 42px rgba(143,56,255,.32)); animation: emblemFloat 6s ease-in-out infinite; }
.emblem-orbit { position: absolute; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; }
.emblem-orbit::after { content: ""; position: absolute; width: 7px; height: 7px; top: 12%; left: 16%; border-radius: 50%; background: var(--violet-bright); box-shadow: 0 0 18px var(--violet); }
.orbit-one { inset: 6%; animation: spin 24s linear infinite; border-left-color: rgba(143,56,255,.8); }
.orbit-two { inset: 19%; animation: spin 16s linear infinite reverse; border-top-color: rgba(184,108,255,.65); }
.hero-footer { position: absolute; left: max(28px, calc((100vw - var(--max))/2)); right: max(28px, calc((100vw - var(--max))/2)); bottom: 26px; display: flex; align-items: center; gap: 15px; color: #716b7a; font-family: Consolas, monospace; font-size: 9px; letter-spacing: .18em; }
.hero-footer i { height: 1px; flex: 1; background: rgba(255,255,255,.12); }

.section-shell { width: min(calc(100% - 56px), var(--max)); margin-inline: auto; }
.worlds { padding: 130px 0; }
.section-heading { margin-bottom: 50px; display: grid; grid-template-columns: 1fr 410px; align-items: end; gap: 50px; }
.section-index { display: block; margin-bottom: 26px; color: #6d6675; font-family: Consolas, monospace; font-size: 10px; letter-spacing: .17em; }
.section-heading h2, .network-copy h2 { margin-bottom: 0; font-size: clamp(42px, 4.5vw, 68px); line-height: .98; letter-spacing: -.048em; }
.section-heading > p { margin: 0 0 4px; color: var(--muted); line-height: 1.72; }

.world-card { position: relative; min-height: 600px; padding: 34px; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; border: 1px solid rgba(255,255,255,.14); background: #0c0911; }
.world-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; border: 1px solid transparent; transition: border-color .3s, background .3s; }
.world-card:hover::after { border-color: rgba(163,79,255,.75); background: rgba(143,56,255,.025); }
.world-card-bg { position: absolute; inset: 0; z-index: -3; background: linear-gradient(105deg, rgba(8,6,11,.98) 5%, rgba(8,6,11,.83) 45%, rgba(8,6,11,.08) 85%), url('/assets/hub-hero-v2.png') 70% center / cover no-repeat; filter: saturate(.84) contrast(1.08); }
.world-card-grid { position: absolute; inset: 0; z-index: -2; background: repeating-linear-gradient(120deg, transparent 0 90px, rgba(255,255,255,.035) 91px, transparent 92px); }
.world-card-top { display: flex; align-items: center; justify-content: space-between; color: #817a89; font-family: Consolas, monospace; font-size: 9px; letter-spacing: .16em; }
.live-badge { padding: 8px 11px; display: inline-flex; align-items: center; gap: 8px; color: #fff; border: 1px solid rgba(98,233,158,.3); background: rgba(98,233,158,.08); text-transform: uppercase; }
.live-badge i { width: 6px; height: 6px; border-radius: 50%; background: #62e99e; box-shadow: 0 0 10px #62e99e; }
.world-card-copy { width: min(650px, 70%); margin-top: auto; }
.world-wordmark { margin-bottom: 20px; display: flex; align-items: baseline; gap: 11px; font-size: clamp(65px, 8vw, 122px); line-height: .8; letter-spacing: -.072em; font-weight: 950; }
.world-wordmark em { color: var(--violet-bright); font-style: normal; }
.world-card-copy > p:not(.eyebrow) { max-width: 590px; margin-bottom: 31px; color: #c0bac7; font-size: 17px; line-height: 1.65; }
.world-cta { padding-bottom: 8px; display: inline-flex; align-items: center; gap: 24px; border-bottom: 1px solid var(--violet); font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.world-cta b { color: var(--violet-bright); font-size: 17px; }
.world-meta { position: absolute; right: 34px; bottom: 34px; width: 215px; margin: 0; }
.world-meta div { padding: 10px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.world-meta dt { color: #77717f; font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.world-meta dd { margin: 0; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.world-teasers { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.teaser { min-height: 118px; padding: 23px 26px; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; gap: 20px; border: 1px solid var(--line); background: var(--surface); }
.teaser > span { color: #635d6b; font: 10px Consolas, monospace; }
.teaser small { display: block; color: #6e6876; font-size: 8px; letter-spacing: .16em; }
.teaser strong { font-size: 11px; letter-spacing: .1em; }
.teaser > i { width: 7px; height: 7px; border-radius: 50%; background: #3f3a45; }

.network { position: relative; padding: 130px 0; overflow: hidden; border-block: 1px solid var(--line); background: linear-gradient(110deg, #0b0910, #100b17); }
.network::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 24% 48%, rgba(143,56,255,.14), transparent 35%); }
.network-ghost { position: absolute; width: 700px; right: -180px; top: -120px; opacity: .035; transform: rotate(-8deg); }
.network-layout { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.network-copy > p:last-child { max-width: 510px; margin-top: 27px; color: var(--muted); line-height: 1.75; }
.network-pillars article { position: relative; padding: 28px 0 28px 67px; border-bottom: 1px solid var(--line); }
.network-pillars article:first-child { border-top: 1px solid var(--line); }
.network-pillars article > span { position: absolute; left: 0; top: 32px; color: var(--violet-bright); font: 10px Consolas, monospace; }
.network-pillars h3 { margin-bottom: 7px; font-size: 19px; letter-spacing: -.025em; }
.network-pillars p { margin: 0; max-width: 530px; color: var(--muted); }

.signal { min-height: 410px; padding-block: 85px; display: flex; align-items: center; justify-content: space-between; gap: 70px; }
.signal-copy h2 { margin-bottom: 22px; font-size: clamp(44px, 5.1vw, 76px); line-height: .92; letter-spacing: -.055em; }
.signal-copy p:last-child { max-width: 610px; margin: 0; color: var(--muted); font-size: 16px; }
.signal > .button { flex: 0 0 auto; }

.site-footer { min-height: 108px; padding: 26px max(28px, calc((100vw - var(--max))/2)); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; border-top: 1px solid var(--line); color: #746e7c; font-size: 9px; letter-spacing: .08em; }
.footer-brand > img { width: 38px; height: 38px; object-fit: contain; }
.footer-brand > span { width: 145px; height: 36px; overflow: hidden; display: grid; place-items: center; }
.footer-brand > span img { width: 145px; }
.site-footer > span { justify-self: end; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes emblemFloat { 50% { transform: translateY(-12px); } }
@keyframes breathe { to { transform: scale(1.055); } }

@media (max-width: 1000px) {
  .site-header { height: 72px; }
  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; padding: 26px 28px; flex-direction: column; align-items: flex-start; gap: 22px; background: rgba(7,6,10,.97); border-bottom: 1px solid var(--line); }
  .main-nav.open { display: flex; }
  .menu-toggle { display: block; }
  .header-action { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 135px; padding-bottom: 100px; }
  .hero-vignette { background: linear-gradient(90deg, rgba(7,6,10,.98), rgba(7,6,10,.7)), linear-gradient(0deg, var(--bg), transparent 46%); }
  .hero-emblem { width: min(620px, 78vw); justify-self: center; margin-top: -35px; opacity: .72; }
  .section-heading, .network-layout { grid-template-columns: 1fr; gap: 36px; }
  .world-card-copy { width: 100%; }
  .world-meta { position: static; margin-top: 48px; }
  .signal { align-items: flex-start; flex-direction: column; justify-content: center; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-block: 38px; }
  .site-footer > span { justify-self: center; }
}

@media (max-width: 640px) {
  .section-shell { width: min(calc(100% - 36px), var(--max)); }
  .site-header { padding-inline: 18px; }
  .brand-wordmark { width: 135px; }
  .brand-wordmark img { width: 135px; }
  .hero { padding-inline: 18px; }
  .hero-brand { width: 100%; height: 110px; margin-bottom: -18px; }
  h1 { font-size: clamp(44px, 14vw, 64px); }
  .hero-emblem { width: 95vw; margin-left: -7vw; }
  .hero-emblem > img { width: 71%; }
  .hero-footer { left: 18px; right: 18px; }
  .worlds, .network { padding-block: 90px; }
  .world-card { min-height: 650px; padding: 23px; }
  .world-wordmark { font-size: 62px; }
  .world-card-copy > p:not(.eyebrow) { font-size: 15px; }
  .world-meta { width: 100%; }
  .world-teasers { grid-template-columns: 1fr; }
  .signal { padding-block: 75px; }
}

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