:root {
  --bg: #020711;
  --bg-soft: #061326;
  --text: #f5faff;
  --muted: #9eb4ca;
  --muted-dark: #657a91;
  --line: rgba(125, 196, 255, 0.17);
  --blue: #168bff;
  --sky: #42cfff;
  --cyan: #67e8ff;
  --success: #35e5a1;
  --max: 1240px;
  --ease: cubic-bezier(.2,.8,.2,1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--blue) #030a14;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.65;
  background:
    radial-gradient(circle at 16% 5%, rgba(66,207,255,.10), transparent 30%),
    radial-gradient(circle at 86% 34%, rgba(22,139,255,.08), transparent 28%),
    linear-gradient(160deg, #020711, #061326 52%, #07182d);
  background-attachment: fixed;
}

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; font: inherit; }
img { display: block; max-width: 100%; }
::selection { color: #020711; background: var(--cyan); }

::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: #030a14; }
::-webkit-scrollbar-thumb {
  border: 3px solid #030a14;
  border-radius: 999px;
  background: linear-gradient(var(--cyan), #0e67c9);
}

.section-shell {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.scroll-progress {
  position: fixed;
  z-index: 100;
  inset: 0 0 auto;
  height: 3px;
  pointer-events: none;
  background: rgba(255,255,255,.025);
}

.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #0e67c9, var(--sky), var(--cyan));
  box-shadow: 0 0 18px rgba(66,207,255,.72);
}

.noise {
  position: fixed;
  z-index: 70;
  inset: 0;
  pointer-events: none;
  opacity: .028;
  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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  z-index: 0;
  width: 430px;
  height: 430px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(66,207,255,.09), transparent 68%);
}

.layer { will-change: transform; }

@keyframes titleFlow { to { background-position: 250% center; } }
@keyframes pulseLine {
  50% { width: 50px; background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
}
@keyframes glowPulse {
  50% { opacity: .95; filter: blur(55px) saturate(1.3); }
}
@keyframes shineSweep {
  from { transform: translateX(-170%) skewX(-18deg); }
  to { transform: translateX(330%) skewX(-18deg); }
}

.site-header {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 50%;
  width: min(var(--max), calc(100% - 48px));
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateX(-50%);
  transition: .28s ease;
}

.site-header.scrolled {
  top: 12px;
  min-height: 68px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(2,7,17,.86);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand img {
  width: 70px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.brand-copy strong,
.footer-brand strong {
  font-family: "Oxanium", sans-serif;
  font-size: .89rem;
  letter-spacing: .12em;
}

.brand-copy small,
.footer-brand small {
  margin-top: 5px;
  color: var(--muted);
  font-size: .56rem;
  letter-spacing: .20em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #b2c4d6;
  font-size: .81rem;
  font-weight: 600;
}

.main-nav a { transition: color .22s ease; }
.main-nav a:hover { color: #fff; }

.nav-cta {
  padding: 10px 15px;
  border: 1px solid rgba(66,207,255,.42);
  border-radius: 999px;
  color: #fff;
  background: rgba(66,207,255,.07);
}

.nav-cta span { margin-left: 5px; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px;
  border: 0;
  background: transparent;
}

.menu-toggle span {
  display: block;
  height: 1px;
  margin: 6px 0;
  background: #fff;
  transition: .25s ease;
}

.photo-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.section-photo,
.photo-overlay {
  position: absolute;
  inset: -7% 0;
  width: 100%;
  height: 114%;
}

.section-photo {
  z-index: -2;
  object-fit: cover;
}

.photo-overlay { z-index: -1; }

.hero {
  min-height: 100svh;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(2,7,17,.96) 0%, rgba(2,7,17,.78) 42%, rgba(2,7,17,.28) 72%, rgba(2,7,17,.62) 100%),
    linear-gradient(180deg, rgba(2,7,17,.26), rgba(2,7,17,.08) 58%, #020711 100%);
}

.hero-shell {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  gap: 58px;
  padding-top: 130px;
  padding-bottom: 98px;
}

.eyebrow,
.section-index {
  color: var(--cyan);
  font-size: .70rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
}

.eyebrow span {
  width: 30px;
  height: 1px;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}

.hero h1,
.editorial h2,
.feature-section h2,
.atmosphere h2,
.join-section h2,
.community-section h2,
.final-section h2 {
  font-family: "Oxanium", sans-serif;
  letter-spacing: -.045em;
  line-height: 1.03;
}

.hero h1 {
  max-width: 780px;
  margin: 22px 0;
  font-size: clamp(3.25rem, 6vw, 6.35rem);
}

.hero h1 em {
  display: block;
  color: transparent;
  font-style: normal;
  background: linear-gradient(90deg, #168bff, #67e8ff, #bceeff, #42cfff);
  background-size: 250% auto;
  background-clip: text;
  -webkit-background-clip: text;
  animation: titleFlow 8s linear infinite;
}

.hero-lead,
.lead-copy {
  color: #b8cadb;
  font-size: clamp(1rem, 1.55vw, 1.16rem);
}

.hero-lead {
  max-width: 700px;
  margin: 0;
}

.hero-actions,
.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  position: relative;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-size: .84rem;
  font-weight: 700;
  transition: transform .28s var(--ease), border-color .28s ease, background .28s ease, box-shadow .28s ease;
}

.button::after {
  content: "";
  position: absolute;
  top: -35%;
  left: -35%;
  width: 32%;
  height: 170%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.30), transparent);
  transform: translateX(-170%) skewX(-18deg);
}

.button:hover { transform: translateY(-4px); }
.button:hover::after { animation: shineSweep .9s ease; }
.button span { margin-left: 9px; }

.button-primary {
  color: #fff;
  border-color: #64dcff;
  background: linear-gradient(135deg, #168bff, #42cfff 62%, #1476db);
  box-shadow: 0 13px 38px rgba(22,139,255,.28);
}

.button-ghost {
  color: #e9f5ff;
  border-color: var(--line);
  background: rgba(2,7,17,.32);
  backdrop-filter: blur(8px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 31px;
  color: #9db1c4;
  font-size: .67rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 12px var(--success);
}

.hero-logo-wrap {
  position: relative;
  perspective: 1200px;
  transition: transform .2s ease-out;
}

.hero-logo {
  width: 100%;
  max-width: 680px;
  border-radius: 24px;
  box-shadow: 0 38px 100px rgba(0,0,0,.62), 0 0 90px rgba(22,139,255,.12);
}

.logo-aura {
  position: absolute;
  z-index: -1;
  inset: 15% 5% 4% 12%;
  border-radius: 45%;
  background: radial-gradient(circle, rgba(66,207,255,.35), rgba(22,139,255,.12) 42%, transparent 68%);
  filter: blur(48px);
  animation: glowPulse 5.8s ease-in-out infinite;
}

.scroll-indicator {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  transform: translateX(-50%);
  color: #70879d;
  font-size: .64rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.scroll-indicator span {
  width: 30px;
  height: 1px;
  background: #70879d;
  animation: pulseLine 1.8s infinite;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-strip div {
  padding: 34px 24px;
  border-right: 1px solid var(--line);
}

.stats-strip div:last-child { border-right: 0; }

.stats-strip strong,
.stats-strip span { display: block; }

.stats-strip strong {
  font-family: "Oxanium", sans-serif;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  letter-spacing: -.045em;
}

.stats-strip span {
  color: var(--muted);
  font-size: .69rem;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.editorial,
.feature-section,
.join-section,
.community-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 78px;
  padding-top: 150px;
}

.editorial h2,
.feature-section h2,
.join-section h2,
.community-section h2,
.final-section h2 {
  margin: 15px 0 24px;
  font-size: clamp(2.35rem, 4.7vw, 4.75rem);
}

.editorial-lines,
.feature-list,
.join-steps {
  margin-top: 45px;
  border-top: 1px solid var(--line);
}

.editorial-lines > div,
.join-steps > div {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.editorial-lines span,
.join-steps span,
.feature-list article > span {
  color: var(--cyan);
  font-family: "Oxanium", sans-serif;
  font-size: .72rem;
}

.editorial-lines p,
.join-steps p {
  margin: 0;
  color: var(--muted);
}

.editorial-lines strong,
.join-steps strong {
  color: var(--text);
}

.editorial-photo,
.feature-photo,
.join-photo,
.community-photo {
  margin: 0;
  transition: transform .18s ease-out;
}

.editorial-photo img,
.feature-photo img,
.join-photo img,
.community-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 34px 85px rgba(0,0,0,.42);
}

.editorial-photo figcaption,
.feature-photo figcaption,
.join-photo figcaption,
.community-photo figcaption {
  padding: 17px 0;
  color: var(--muted);
  font-size: .74rem;
}

.editorial-photo figcaption span,
.join-photo figcaption span {
  margin-right: 12px;
  color: var(--cyan);
  font-weight: 700;
  letter-spacing: .14em;
}

.feature-section {
  grid-template-columns: .88fr 1.12fr;
}

.feature-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.feature-list h3 {
  margin: 0 0 5px;
  font-family: "Oxanium", sans-serif;
  font-size: 1.08rem;
}

.feature-list p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
}

.atmosphere {
  min-height: 650px;
  display: grid;
  align-items: center;
  margin-top: 150px;
}

.atmosphere-overlay {
  background:
    linear-gradient(90deg, rgba(2,7,17,.92), rgba(2,7,17,.25), rgba(2,7,17,.70)),
    linear-gradient(180deg, #020711 0%, transparent 25%, transparent 72%, #020711 100%);
}

.atmosphere-copy {
  position: relative;
  z-index: 2;
}

.atmosphere-copy span {
  color: var(--cyan);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .23em;
}

.atmosphere h2 {
  max-width: 820px;
  margin: 18px 0;
  font-size: clamp(3rem, 7vw, 7rem);
}

.atmosphere p {
  max-width: 650px;
  color: #bdd0e0;
}

.community-section {
  grid-template-columns: .9fr 1.1fr;
}

.community-copy blockquote {
  margin: 40px 0;
  padding: 26px 0 26px 28px;
  border-left: 2px solid var(--cyan);
  color: #dceefa;
  font-family: "Oxanium", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.45;
}

.community-points p {
  margin: 12px 0;
  color: var(--muted);
}

.community-points span {
  margin-right: 10px;
  color: var(--cyan);
}

.final-section {
  padding-top: 150px;
  padding-bottom: 110px;
  text-align: center;
}

.final-section h2 {
  max-width: 860px;
  margin-inline: auto;
}

.final-section p {
  max-width: 670px;
  margin: 0 auto 30px;
  color: var(--muted);
}

.copy-discord.copied {
  color: #04101e;
  border-color: #fff;
  background: #fff;
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 45px;
  padding-top: 34px;
  padding-bottom: 44px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  width: 62px;
  height: 46px;
  object-fit: cover;
  border-radius: 7px;
}

.footer-brand div {
  display: flex;
  flex-direction: column;
  line-height: 1.08;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  color: #8fa4b8;
  font-size: .75rem;
}

.footer-links a:hover { color: var(--cyan); }

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.06);
  color: var(--muted-dark);
  font-size: .68rem;
}

.footer-bottom p {
  margin: 0;
  text-align: right;
}

.js .reveal {
  opacity: 0;
  filter: blur(8px);
  transform: translateY(34px);
  scale: .985;
  transition: opacity .72s cubic-bezier(.2,.7,.2,1), transform .72s cubic-bezier(.2,.7,.2,1), filter .72s ease, scale .72s ease;
  transition-delay: var(--delay, 0ms);
}

.js .reveal.visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
  scale: 1;
}

@media (max-width: 980px) {
  .main-nav {
    position: fixed;
    z-index: -1;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 27px;
    background: rgba(2,7,17,.98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: .25s ease;
    font-size: 1.08rem;
  }

  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .menu-toggle {
    position: relative;
    z-index: 2;
    display: block;
  }

  .menu-toggle.active span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle.active span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

  .hero-shell,
  .editorial,
  .feature-section,
  .join-section,
  .community-section {
    grid-template-columns: 1fr;
  }

  .hero-shell {
    gap: 58px;
    padding-top: 158px;
  }

  .hero-logo-wrap {
    width: min(710px, 92%);
    margin-inline: auto;
  }

  .feature-photo,
  .community-photo {
    order: 2;
  }

  .feature-copy,
  .community-copy {
    order: 1;
  }
}

@media (max-width: 700px) {
  .section-shell,
  .site-header {
    width: min(100% - 28px, var(--max));
  }

  .site-header.scrolled { width: calc(100% - 18px); }

  .brand img {
    width: 56px;
    height: 42px;
  }

  .brand-copy strong { font-size: .73rem; }
  .brand-copy small { font-size: .48rem; }

  .hero { min-height: auto; }

  .hero-shell {
    min-height: auto;
    padding-top: 132px;
    padding-bottom: 105px;
  }

  .hero h1 { font-size: clamp(2.75rem, 14vw, 4.2rem); }

  .hero-actions,
  .join-actions {
    flex-direction: column;
  }

  .hero-actions .button,
  .join-actions .button {
    width: 100%;
  }

  .hero-meta { gap: 11px 18px; }
  .scroll-indicator { display: none; }

  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-strip div {
    padding: 24px 14px;
    border-bottom: 1px solid var(--line);
  }

  .stats-strip div:nth-child(2) { border-right: 0; }

  .editorial,
  .feature-section,
  .join-section,
  .community-section {
    gap: 48px;
    padding-top: 100px;
  }

  .editorial h2,
  .feature-section h2,
  .join-section h2,
  .community-section h2,
  .final-section h2 {
    font-size: clamp(2.15rem, 11vw, 3.4rem);
  }

  .atmosphere {
    min-height: 520px;
    margin-top: 100px;
  }

  .atmosphere h2 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  .final-section {
    padding-top: 100px;
    padding-bottom: 80px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-links { justify-content: flex-start; }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .footer-bottom p { text-align: left; }
}

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

  .js .reveal {
    opacity: 1;
    filter: none;
    transform: none;
    scale: 1;
  }

  .layer { transform: none !important; }
}
