:root {
  --ink: #10140f;
  --paper: #e8e2d4;
  --muted: #b7b0a0;
  --amber: #e2a354;
  --copper: #c45c26;
  --slag: #e0913f;
  --teal: #3d8f8a;
  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Mulish", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  font-optical-sizing: auto;
}

strong {
  font-weight: 700;
  color: var(--paper);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: -6% 0;
  z-index: 0;
  will-change: transform;
}

.hero__img,
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.08);
  animation: drift 28s ease-in-out infinite alternate;
}

.hero__video {
  display: block;
  background: #10140f;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(16, 20, 15, 0.28) 0%, rgba(16, 20, 15, 0.18) 32%, rgba(16, 20, 15, 0.84) 76%, rgba(16, 20, 15, 0.97) 100%),
    linear-gradient(90deg, rgba(16, 20, 15, 0.58) 0%, rgba(16, 20, 15, 0.12) 48%, rgba(16, 20, 15, 0.5) 100%);
}

.hero__scan {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    180deg,
    transparent 0,
    transparent 3px,
    rgba(61, 143, 138, 0.03) 3px,
    rgba(61, 143, 138, 0.03) 4px
  );
  mix-blend-mode: soft-light;
  animation: scan 8s linear infinite;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(960px, calc(100% - 3rem));
  margin: 0 auto 11vh;
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6.5vw, 4.2rem);
  letter-spacing: -0.03em;
  line-height: 0.95;
  color: var(--paper);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(232, 226, 212, 0.22);
  background: rgba(16, 20, 15, 0.5);
  backdrop-filter: blur(6px);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.status-pill__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--muted);
}

.status-pill[data-status="online"] {
  color: var(--paper);
  border-color: rgba(61, 143, 138, 0.55);
}

.status-pill[data-status="online"] .status-pill__dot {
  background: #3dcf9a;
  box-shadow: 0 0 0 3px rgba(61, 207, 154, 0.2);
}

.status-pill[data-status="offline"] .status-pill__dot {
  background: #c45c26;
}

.headline {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.8vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--paper);
  max-width: 24ch;
}

.lede {
  margin: 0 0 1.35rem;
  max-width: 44ch;
  color: var(--muted);
  font-weight: 500;
}

.launch {
  margin: 0 0 1.6rem;
  max-width: 34rem;
}

.launch__label {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
}

.launch__timer {
  display: grid;
  grid-template-columns: repeat(4, minmax(3.6rem, 1fr));
  gap: 0.55rem;
}

.launch__cell {
  padding: 0.7rem 0.4rem 0.65rem;
  text-align: center;
  border: 1px solid rgba(232, 226, 212, 0.22);
  background: rgba(16, 20, 15, 0.45);
  backdrop-filter: blur(6px);
}

.launch__cell span {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.5vw, 1.85rem);
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--paper);
  font-variant-numeric: tabular-nums;
}

.launch__cell small {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.launch__live {
  margin: 0.85rem 0 0;
  font-weight: 600;
  color: var(--slag);
}

.launch.is-live .launch__timer {
  display: none;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

.cta--inline {
  margin-top: 1.5rem;
}

.cta__primary,
.cta__ghost {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.cta__primary {
  background: var(--copper);
  color: #1a100a;
  border-color: var(--copper);
}

.cta__primary:hover {
  background: var(--slag);
  border-color: var(--slag);
  transform: translateY(-2px);
}

.cta__ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(232, 226, 212, 0.35);
}

.cta__ghost:hover {
  border-color: var(--teal);
  color: #dff5f3;
  transform: translateY(-2px);
}

/* —— Sections —— */
.section {
  width: min(960px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 5rem 0 0.5rem;
}

.section h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  color: var(--slag);
}

.section__lead {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 54ch;
  font-weight: 500;
}

.section__lead strong {
  color: var(--slag);
  font-weight: 700;
}

/* Class rows */
.class-row {
  display: grid;
  gap: 1.5rem;
  align-items: center;
  margin: 0 0 3.25rem;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.class-row.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 800px) {
  .class-row {
    grid-template-columns: 1.05fr 1fr;
    gap: 2.25rem;
  }

  .class-row--flip {
    grid-template-columns: 1fr 1.05fr;
  }

  .class-row--flip .class-row__media {
    order: 2;
  }

  .class-row--flip > div:not(.class-row__media) {
    order: 1;
  }
}

.class-row__media {
  overflow: hidden;
  isolation: isolate;
}

.class-row img,
.float-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 0;
  filter: saturate(0.95) contrast(1.04);
  will-change: transform;
  animation: floatY 7.5s ease-in-out infinite alternate;
  transition: transform 0.45s ease;
}

.class-row:nth-of-type(even) .float-img {
  animation-duration: 9s;
  animation-direction: alternate-reverse;
}

.class-row p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

.class-row ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.class-row li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.1rem;
  color: var(--paper);
  border-top: 1px solid rgba(232, 226, 212, 0.12);
  font-weight: 500;
}

.class-row li:last-child {
  border-bottom: 1px solid rgba(232, 226, 212, 0.12);
}

.class-row li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--teal);
}

/* Planet */
.planet-figure {
  margin: 0;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.planet-figure.is-in {
  opacity: 1;
  transform: translateY(0);
}

.planet-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  animation: floatY 8s ease-in-out infinite alternate;
}

.planet-figure figcaption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

/* Timeline board */
.timeline-board {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid rgba(232, 226, 212, 0.2);
}

@media (min-width: 900px) {
  .timeline-board {
    grid-template-columns: repeat(4, 1fr);
  }

  .timeline-board li + li {
    border-left: 1px solid rgba(232, 226, 212, 0.2);
  }
}

@media (max-width: 899px) {
  .timeline-board li + li {
    border-top: 1px solid rgba(232, 226, 212, 0.2);
  }
}

.timeline-board li {
  padding: 1.25rem 1.1rem 1.4rem;
  color: var(--muted);
  font-weight: 500;
  background: linear-gradient(180deg, rgba(232, 226, 212, 0.03), transparent 70%);
  transition: background 0.35s ease, transform 0.35s ease;
}

.timeline-board li:hover {
  background: rgba(61, 143, 138, 0.08);
  transform: translateY(-3px);
}

.timeline-board__date {
  display: block;
  margin-bottom: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--teal);
}

.timeline-board strong {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  color: var(--paper);
}

.timeline-board p {
  margin: 0;
  font-size: 0.92rem;
}

/* Battle pass free track — horizontal board */
.pass-board {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid rgba(232, 226, 212, 0.2);
}

@media (min-width: 720px) {
  .pass-board {
    grid-template-columns: repeat(4, 1fr);
  }

  .pass-board li:nth-child(n + 5) {
    border-top: 1px solid rgba(232, 226, 212, 0.2);
  }

  .pass-board li:not(:nth-child(4n + 1)) {
    border-left: 1px solid rgba(232, 226, 212, 0.2);
  }
}

@media (min-width: 1100px) {
  .pass-board {
    grid-template-columns: repeat(7, 1fr);
  }

  .pass-board li:nth-child(n + 5) {
    border-top: 0;
  }

  .pass-board li:not(:first-child) {
    border-left: 1px solid rgba(232, 226, 212, 0.2);
  }

  .pass-board li:nth-child(4n + 1):not(:first-child) {
    border-left: 1px solid rgba(232, 226, 212, 0.2);
  }
}

@media (max-width: 719px) {
  .pass-board li + li {
    border-top: 1px solid rgba(232, 226, 212, 0.2);
  }
}

.pass-board li {
  padding: 1.25rem 1.05rem 1.4rem;
  color: var(--muted);
  font-weight: 500;
  background: linear-gradient(180deg, rgba(232, 226, 212, 0.03), transparent 70%);
  transition: background 0.35s ease, transform 0.35s ease;
}

.pass-board li:hover {
  background: rgba(61, 143, 138, 0.08);
  transform: translateY(-3px);
}

.pass-board__num {
  display: block;
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--teal);
}

.pass-board strong {
  display: block;
  margin-bottom: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--paper);
  line-height: 1.25;
}

.pass-board p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.4;
}

/* FAQ */
.faq-list {
  margin: 0;
}

.faq-list > div {
  padding: 1.1rem 0;
  border-top: 1px solid rgba(232, 226, 212, 0.16);
}

.faq-list > div:last-child {
  border-bottom: 1px solid rgba(232, 226, 212, 0.16);
}

.faq-list dt {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--paper);
}

.faq-list dd {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
  max-width: 58ch;
}

.faq-list code {
  color: var(--slag);
  font-family: ui-monospace, monospace;
}

/* Seasons — horizontal board */
.season-board {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid rgba(232, 226, 212, 0.2);
}

@media (min-width: 820px) {
  .season-board {
    grid-template-columns: repeat(3, 1fr);
  }

  .season-board li + li {
    border-left: 1px solid rgba(232, 226, 212, 0.2);
  }
}

.season-board li {
  padding: 1.35rem 1.25rem 1.5rem;
  color: var(--muted);
  font-weight: 500;
  background: linear-gradient(180deg, rgba(232, 226, 212, 0.03), transparent 70%);
  transition: background 0.35s ease, transform 0.35s ease;
}

.season-board li:hover {
  background: rgba(61, 143, 138, 0.08);
  transform: translateY(-3px);
}

.season-board__num {
  display: block;
  margin-bottom: 0.85rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--teal);
}

.season-board strong {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--paper);
}

.season-board p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.45;
}

@media (max-width: 819px) {
  .season-board li + li {
    border-top: 1px solid rgba(232, 226, 212, 0.2);
  }
}

/* Build formula */
.build-formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
  margin: 0 0 1.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.95rem, 2.2vw, 1.2rem);
  letter-spacing: -0.01em;
}

.build-formula span:not(.op) {
  padding-bottom: 0.15rem;
  border-bottom: 2px solid var(--copper);
}

.build-formula .op {
  color: var(--teal);
  border: 0;
}

.build-notes {
  margin: 0;
  padding: 0;
  list-style: none;
}

.build-notes li {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(232, 226, 212, 0.14);
  color: var(--muted);
  font-weight: 500;
}

.build-notes li:last-child {
  border-bottom: 1px solid rgba(232, 226, 212, 0.14);
}

.build-notes strong {
  color: var(--slag);
}

/* Connect */
.connect {
  padding-bottom: 3.5rem;
}

.connect-grid {
  margin: 0;
  display: grid;
  gap: 1.5rem 2rem;
}

@media (min-width: 720px) {
  .connect-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.connect-grid dt {
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.35rem;
}

.connect-grid dd {
  margin: 0;
  color: var(--paper);
  font-weight: 500;
}

.connect-grid code {
  font-family: ui-monospace, "IBM Plex Mono", monospace;
  font-size: 1.05rem;
  color: var(--slag);
}

.connect-note {
  margin-top: 1rem;
  color: var(--teal);
  font-weight: 600;
}

.connect-disclaimer {
  margin-top: 1.75rem;
  max-width: 54ch;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 500;
}

.foot {
  width: min(960px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 2rem 0 3rem;
  border-top: 1px solid rgba(232, 226, 212, 0.12);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.foot p {
  margin: 0;
}

@keyframes drift {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to { transform: scale(1.12) translate3d(-1.2%, -0.8%, 0); }
}

@keyframes scan {
  from { transform: translateY(0); }
  to { transform: translateY(4px); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatY {
  from { transform: translate3d(0, 0, 0) scale(1.02); }
  to { transform: translate3d(0, -10px, 0) scale(1.045); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__img,
  .hero__video,
  .hero__scan,
  .hero__content,
  .float-img,
  .planet-figure img {
    animation: none !important;
  }
  .hero__img,
  .hero__video,
  .class-row,
  .float-img,
  .planet-figure {
    transform: none !important;
    opacity: 1;
  }
  .class-row,
  .planet-figure {
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}
