:root {
  color-scheme: dark;
  --black: #020506;
  --ink: #050a0c;
  --surface: #091114;
  --surface-strong: #0d171a;
  --line: #1b2b2f;
  --line-bright: #29484d;
  --text: #f2f5f4;
  --muted: #9aa9ac;
  --cyan: #00ded9;
  --cyan-soft: #63fff8;
  --gold: #d9a638;
  --danger: #ff6b6b;
  --max: 1240px;
  --header-height: 78px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 12%, rgba(0, 222, 217, 0.08), transparent 30rem),
    linear-gradient(180deg, #020506 0%, #041013 52%, #020506 100%);
  font-family: "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .24;
  background-image:
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}
::selection { color: var(--black); background: var(--cyan); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.site-shell { min-height: 100vh; overflow: hidden; }

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  height: var(--header-height);
  border-bottom: 1px solid rgba(70, 103, 108, .3);
  background: rgba(2, 5, 6, .86);
  backdrop-filter: blur(20px);
}
.nav {
  width: min(var(--max), calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand, .footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
}
.brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(0, 222, 217, .28));
}
.brand-name { display: grid; line-height: 1; text-transform: uppercase; }
.brand-name span:first-child {
  font-family: "Bahnschrift Condensed", "Arial Narrow", sans-serif;
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: .08em;
}
.brand-name span:last-child {
  margin-top: 6px;
  color: var(--muted);
  font-size: .61rem;
  font-weight: 700;
  letter-spacing: .12em;
}
.nav-links { height: 100%; display: flex; align-items: center; gap: 38px; }
.nav-links a {
  position: relative;
  display: grid;
  height: 100%;
  place-items: center;
  color: var(--muted);
  font-family: "Bahnschrift Condensed", "Arial Narrow", sans-serif;
  font-size: .83rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color 180ms ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: transparent;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after { background: var(--cyan); box-shadow: 0 0 14px var(--cyan); }
.nav-links .nav-action { color: var(--gold); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-bright);
  color: var(--text);
  background: transparent;
  cursor: pointer;
}
.menu-toggle span { width: 20px; height: 2px; display: block; margin: 4px auto; background: currentColor; }

.section {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 110px 0;
}
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 44px;
  padding-top: 54px;
  padding-bottom: 148px;
}
.hero-copy { position: relative; z-index: 3; }
.hero h1, .section-head h2, .mode-copy h2, .journey-intro h2, .final-cta h2, .page-title h1 {
  margin: 0;
  font-family: "Bahnschrift Condensed", "Arial Narrow", Impact, sans-serif;
  font-weight: 900;
  line-height: .91;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
.hero h1 { font-size: clamp(4.6rem, 7.3vw, 7.7rem); }
.hero h1 span { color: var(--cyan); text-shadow: 0 0 34px rgba(0,222,217,.2); }
.hero-copy p {
  max-width: 590px;
  margin: 30px 0 0;
  color: #b4c1c3;
  font-size: clamp(1rem, 1.5vw, 1.17rem);
}
.hero-actions, .form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--line-bright);
  color: var(--text);
  background: rgba(6, 12, 14, .65);
  font-family: "Bahnschrift Condensed", "Arial Narrow", sans-serif;
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}
.button::after { content: "→"; margin-left: 22px; color: var(--cyan); font-size: 1.1rem; }
.button:hover { transform: translateY(-2px); border-color: var(--cyan); background: rgba(0,222,217,.07); }
.button.primary { color: #001011; border-color: var(--cyan); background: var(--cyan); }
.button.primary::after { color: #001011; }
.button.primary:hover { background: var(--cyan-soft); }
.button.gold { color: #120d02; border-color: var(--gold); background: var(--gold); }
.button.gold::after { color: #120d02; }
.button[disabled] { cursor: not-allowed; opacity: .58; }

.hero-emblem {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-rows: 1fr auto;
  place-items: center;
  padding-bottom: 4px;
}
.hero-emblem img {
  position: relative;
  z-index: 2;
  width: min(510px, 42vw);
  max-height: 545px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 18px rgba(0, 232, 226, .34))
    drop-shadow(0 0 70px rgba(0, 180, 178, .23));
}
.emblem-actions {
  position: relative;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: -18px;
}
.emblem-actions .button {
  min-width: 190px;
  backdrop-filter: blur(12px);
}
.button.discord {
  color: #fff;
  border-color: #5865f2;
  background: #5865f2;
}
.button.discord::after { color: #fff; }
.button.discord:hover {
  border-color: #7580ff;
  background: #6975f5;
}
.emblem-aura {
  position: absolute;
  z-index: 1;
  width: min(500px, 40vw);
  aspect-ratio: 1;
  border: 1px solid rgba(0,222,217,.25);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(0,222,217,.2) 0%, rgba(0,222,217,.06) 36%, transparent 68%);
  box-shadow: 0 0 100px rgba(0,222,217,.13), inset 0 0 80px rgba(0,222,217,.08);
}
.emblem-aura::before, .emblem-aura::after {
  content: "";
  position: absolute;
  inset: 9%;
  border: 1px solid rgba(0,222,217,.13);
  transform: rotate(45deg);
}
.emblem-aura::after { inset: 22%; transform: rotate(22.5deg); }
.date-grid {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.date-card {
  min-height: 100px;
  display: grid;
  grid-template-columns: minmax(160px, .6fr) 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px 32px;
}
.date-card + .date-card { border-left: 1px solid var(--line); }
.date-card strong, .timeline-date {
  color: var(--gold);
  font-family: "Bahnschrift Condensed", "Arial Narrow", sans-serif;
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  line-height: 1;
}
.date-card span {
  color: var(--muted);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.experience { padding-top: 134px; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, .55fr);
  gap: 90px;
  align-items: end;
  padding-bottom: 42px;
  border-bottom: 1px solid var(--line);
}
.section-head h2, .mode-copy h2, .journey-intro h2, .final-cta h2, .page-title h1 {
  font-size: clamp(3.2rem, 6.4vw, 6.7rem);
}
.section-head p, .page-title p, .mode-copy p, .journey-intro p, .final-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature-item {
  position: relative;
  min-height: 300px;
  padding: 44px 30px 36px;
  border-bottom: 1px solid var(--line);
}
.feature-item + .feature-item { border-left: 1px solid var(--line); }
.feature-icon {
  margin-bottom: 58px;
  color: var(--cyan);
  font-family: "Bahnschrift Condensed", "Arial Narrow", sans-serif;
  font-size: 1rem;
  font-weight: 900;
}
.feature-item h3, .mode-list h3, .panel h3, .rule-item h3, .timeline-item h3 {
  margin: 0;
  font-family: "Bahnschrift Condensed", "Arial Narrow", sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}
.feature-item p, .panel p, .rule-item p, .timeline-item p, .small-copy, .mode-list p {
  color: var(--muted);
}
.feature-item p { margin: 18px 0 0; }

.play-modes {
  display: grid;
  grid-template-columns: minmax(300px, .85fr) minmax(0, 1.15fr);
  gap: 100px;
  align-items: center;
}
.mode-copy p { max-width: 520px; margin-top: 26px; }
.mode-list { border-top: 1px solid var(--line); }
.mode-list article {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 30px;
  padding: 34px 10px;
  border-bottom: 1px solid var(--line);
}
.mode-list article > span {
  color: var(--cyan);
  font-family: "Bahnschrift Condensed", "Arial Narrow", sans-serif;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mode-list p { margin: 10px 0 0; }

.journey {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  gap: 76px;
  align-items: start;
}
.journey-intro p { max-width: 420px; margin-top: 25px; }
.timeline { border-top: 1px solid var(--line); }
.timeline-item {
  display: grid;
  grid-template-columns: minmax(170px, .4fr) 1fr;
  gap: 36px;
  padding: 34px 4px;
  border-bottom: 1px solid var(--line);
}
.timeline-item p { margin: 10px 0 0; }
.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 58px 54px;
  border: 1px solid rgba(217,166,56,.55);
  background:
    linear-gradient(90deg, rgba(217,166,56,.07), transparent 55%),
    var(--surface);
}
.final-cta h2 { font-size: clamp(2.6rem, 5vw, 5rem); }
.final-cta p { margin-top: 14px; }

.page-hero {
  min-height: 420px;
  display: grid;
  align-items: end;
  padding-top: 90px;
  padding-bottom: 70px;
  border-bottom: 1px solid var(--line);
}
.page-title {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .5fr);
  align-items: end;
  gap: 72px;
}
.split, .form-layout { display: grid; grid-template-columns: minmax(280px, .75fr) minmax(0, 1.25fr); align-items: start; }
.panel { padding: 44px; border: 1px solid var(--line); background: rgba(9,17,20,.82); }
.panel + .panel { border-left: 0; }
.panel p:last-child { margin-bottom: 0; }
.rule-list { counter-reset: rules; border-top: 1px solid var(--line); }
.rule-item {
  counter-increment: rules;
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, .52fr) 1fr;
  gap: 60px;
  padding: 34px 36px 34px 90px;
  border-bottom: 1px solid var(--line);
}
.rule-item::before {
  content: "0" counter(rules);
  position: absolute;
  top: 35px;
  left: 10px;
  color: var(--cyan);
  font-family: "Bahnschrift Condensed", "Arial Narrow", sans-serif;
  font-weight: 900;
}
.rule-item p { margin: 0; }
.form-layout { grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); }
.form-layout > .panel:first-child { border-right: 0; }
.form-layout.single-column {
  display: block;
  max-width: 900px;
}
.form-layout.single-column > .panel:first-child {
  border: 1px solid var(--line);
}
.form { display: grid; gap: 28px; }
.field { display: grid; gap: 10px; }
.field label, .check-row {
  color: var(--text);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.field input {
  width: 100%;
  min-height: 58px;
  padding: 0 17px;
  border: 1px solid var(--line);
  outline: none;
  color: var(--text);
  background: var(--black);
  font-weight: 700;
}
.field input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,222,217,.08); }
.field small, .hint { color: var(--muted); font-size: .88rem; }
.hint a, .legal-copy a { color: var(--cyan); }
.check-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.check-row input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--cyan); }
.check-row span { color: var(--muted); font-size: .9rem; font-weight: 600; line-height: 1.5; text-transform: none; }
.status { display: none; padding: 14px 16px; border-left: 3px solid currentColor; font-weight: 800; }
.status.show { display: block; }
.status.success { color: var(--cyan); background: rgba(0,222,217,.08); }
.status.error { color: var(--danger); background: rgba(255,107,107,.08); }
.honeypot { position: absolute; left: -9999px; opacity: 0; }
.legal-copy { max-width: 980px; display: block; padding-bottom: 104px; }
.legal-copy h1 { margin-bottom: 72px; }
.legal-copy h2 {
  margin: 48px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-family: "Bahnschrift Condensed", "Arial Narrow", sans-serif;
  font-size: 1.6rem;
  text-transform: uppercase;
}
.legal-copy p, .legal-copy li { max-width: 760px; color: var(--muted); }

.footer { margin-top: 110px; border-top: 1px solid var(--line); background: rgba(2,5,6,.76); }
.footer-inner {
  width: min(var(--max), calc(100% - 48px));
  min-height: 118px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 42px;
  color: #78898c;
  font-size: .75rem;
}
.footer-brand img { width: 42px; filter: drop-shadow(0 0 10px rgba(0,222,217,.25)); }
.footer-brand span { color: var(--text); font-family: "Bahnschrift Condensed", "Arial Narrow", sans-serif; font-size: 1.1rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.footer-links { display: flex; gap: 26px; }
.footer a:hover { color: var(--cyan); }

@media (prefers-reduced-motion: no-preference) {
  .hero-emblem img { animation: emblem-enter 1s cubic-bezier(.2,.8,.2,1) both, emblem-float 6s ease-in-out 1s infinite; }
  .emblem-aura { animation: aura-pulse 4s ease-in-out infinite; }
  @keyframes emblem-enter { from { opacity: 0; transform: translateY(30px) scale(.94); } to { opacity: 1; transform: none; } }
  @keyframes emblem-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
  @keyframes aura-pulse { 0%,100% { opacity: .7; transform: scale(.98); } 50% { opacity: 1; transform: scale(1.03); } }
}

@media (max-width: 1000px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    height: auto;
    display: none;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(2,5,6,.98);
  }
  .nav-links.open { display: grid; }
  .nav-links a { min-height: 60px; border-top: 1px solid var(--line); }
  .hero { grid-template-columns: 1fr; gap: 0; padding-top: 28px; }
  .hero-emblem { min-height: 420px; order: -1; }
  .hero-emblem img { width: min(460px, 72vw); max-height: 430px; }
  .emblem-aura { width: min(390px, 62vw); }
  .emblem-actions { margin-top: -18px; }
  .section-head, .page-title, .play-modes, .journey { grid-template-columns: 1fr; gap: 42px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-item:nth-child(3) { border-left: 0; }
  .split, .form-layout { grid-template-columns: 1fr; }
  .form-layout > .panel:first-child { border-right: 1px solid var(--line); border-bottom: 0; }
  .footer-inner { grid-template-columns: auto 1fr; padding: 28px 0; }
}

@media (max-width: 660px) {
  :root { --header-height: 66px; }
  .nav, .section, .footer-inner { width: calc(100% - 24px); }
  .brand img { width: 40px; height: 40px; }
  .brand-name span:first-child { font-size: 1.03rem; }
  .brand-name span:last-child { display: none; }
  .section { padding: 78px 0; }
  .hero { min-height: auto; padding-top: 8px; padding-bottom: 0; }
  .hero-emblem { min-height: 295px; }
  .hero-emblem img { width: min(300px, 80vw); max-height: 290px; }
  .emblem-aura { width: 250px; }
  .emblem-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    margin-top: 8px;
  }
  .emblem-actions .button { width: 100%; min-width: 0; }
  .hero h1 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .hero-copy p { margin-top: 22px; font-size: .98rem; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .date-grid { position: static; grid-template-columns: 1fr; margin-top: 48px; }
  .date-card { grid-template-columns: 1fr; gap: 8px; padding: 24px 10px; }
  .date-card + .date-card { border-top: 1px solid var(--line); border-left: 0; }
  .section-head h2, .mode-copy h2, .journey-intro h2, .final-cta h2, .page-title h1 { font-size: clamp(3rem, 14vw, 4.8rem); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-item, .feature-item + .feature-item { min-height: auto; padding: 34px 10px; border-left: 0; }
  .feature-icon { margin-bottom: 30px; }
  .mode-list article, .timeline-item, .rule-item { grid-template-columns: 1fr; gap: 14px; }
  .mode-list article { padding: 28px 6px; }
  .timeline-item { padding: 28px 4px; }
  .rule-item { padding: 64px 10px 30px; }
  .rule-item::before { top: 28px; }
  .final-cta { align-items: stretch; flex-direction: column; padding: 36px 24px; }
  .panel { padding: 28px 22px; }
  .page-hero { min-height: 340px; }
  .footer { margin-top: 70px; }
  .footer-inner { grid-template-columns: 1fr; gap: 18px; }
  .footer-links { flex-wrap: wrap; }
}
