:root {
  --bg: #0e1420;
  --text: #f8f3eb;
  --muted: #d5dbea;
  --line: rgba(255, 255, 255, 0.18);
  --panel: rgba(11, 18, 32, 0.34);
  --panel-strong: rgba(9, 15, 27, 0.46);
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
  --orange: #ffb365;
  --blue: #8dc7ff;
  --green: #9be0a2;
  --max-width: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 220px;
  margin: -110px 0 0 -110px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 60;
  background: radial-gradient(circle, rgba(255, 179, 101, 0.22), rgba(141, 199, 255, 0.12) 45%, rgba(141, 199, 255, 0) 72%);
  mix-blend-mode: screen;
  opacity: 0.75;
}

.ambient-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10;
  overflow: hidden;
}

.sparkle {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(255, 192, 129, 0.65) 52%, rgba(255, 192, 129, 0) 80%);
  animation: driftUp linear forwards;
}

.sparkle--heart {
  width: auto;
  height: auto;
  background: none;
  font-size: 14px;
  color: rgba(255, 199, 210, 0.88);
  text-shadow: 0 0 18px rgba(255, 199, 210, 0.3);
}

.site-nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  width: min(calc(100% - 2rem), 1180px);
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(9, 14, 25, 0.42);
  backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

.site-nav__brand {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.site-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  color: rgba(248, 243, 235, 0.86);
  font-size: 0.95rem;
}

.site-nav__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.site-nav__links a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-nav__links a:hover,
.site-nav__links a:focus-visible {
  color: white;
  transform: translateY(-1px);
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.nav-button:hover,
.nav-button:focus-visible {
  transform: translateY(-1px);
  filter: saturate(1.05);
}

.nav-button--join {
  color: #0f1625;
  background: linear-gradient(135deg, var(--blue), var(--orange));
}

.nav-button--buy {
  color: white;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
}

.story-section {
  position: relative;
  min-height: 96svh;
  display: flex;
  align-items: flex-end;
  background-color: #0d1420;
  background-image: var(--bg-image);
  background-repeat: no-repeat;
  background-position: var(--bg-position, center center);
  background-size: cover;
  overflow: hidden;
}

.story-section + .story-section {
  margin-top: -6svh;
}

.story-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  pointer-events: none;
  background: linear-gradient(to top, rgba(6, 10, 20, 0.46), rgba(6, 10, 20, 0));
}

.story-section--hero {
  min-height: 100svh;
  padding-top: 6rem;
  align-items: center;
}

.story-section--final {
  align-items: center;
}

.section-shell {
  position: relative;
  z-index: 2;
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  padding: 7rem 0 5rem;
  display: grid;
  gap: 1.5rem;
}

.section-shell--hero {
  grid-template-columns: minmax(0, 660px) minmax(260px, 320px);
  align-items: center;
}

.section-shell--split {
  grid-template-columns: minmax(0, 620px) minmax(300px, 380px);
  justify-content: space-between;
  align-items: end;
}

.section-shell--center {
  max-width: 760px;
  justify-items: center;
}

.content-panel,
.micro-card,
.chat-bubble {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(9px);
  box-shadow: var(--shadow);
}

.content-panel {
  max-width: 700px;
  padding: 1.6rem 1.7rem;
  border-radius: 28px;
}

.content-panel--hero {
  padding: 1.9rem 2rem 1.75rem;
}

.content-panel--tight {
  padding: 1.25rem 1.3rem;
}

.content-panel--center {
  text-align: center;
}

.hero-side,
.stack-panel {
  display: grid;
  gap: 0.85rem;
}

.micro-card {
  padding: 1rem 1.05rem;
  border-radius: 20px;
}

.micro-card__label,
.eyebrow,
.panel-kicker,
.panel-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.73rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.micro-card strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1rem;
  line-height: 1.45;
}

.eyebrow {
  margin: 0 0 0.85rem;
}

h1,
h2,
.big-quote,
.final-quote {
  margin: 0;
  font-family: "Georgia", "Times New Roman", serif;
  font-weight: 700;
  line-height: 0.98;
}

h1 {
  font-size: clamp(4.2rem, 12vw, 7rem);
}

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

.hero-subheadline {
  margin: 0.8rem 0 1.15rem;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.section-copy,
.big-quote {
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.72;
}

.section-copy p,
.big-quote,
.final-quote {
  margin: 0 0 0.55rem;
}

.simple-list {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  line-height: 1.7;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 162px;
  padding: 0.95rem 1.3rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translateY(-2px);
  filter: saturate(1.06);
}

.cta-button--primary {
  color: #0f1625;
  background: linear-gradient(135deg, var(--blue), var(--orange));
  box-shadow: 0 16px 34px rgba(255, 179, 101, 0.26);
}

.cta-button--secondary {
  color: white;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.panel-kicker {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.panel-pill {
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.progress-list {
  display: grid;
  gap: 1rem;
}

.progress-item__meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
  font-weight: 700;
}

.progress-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--orange), var(--green));
  box-shadow: 0 0 24px rgba(255, 179, 101, 0.34);
  transition: width 1.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.chat-bubbles {
  display: grid;
  gap: 0.8rem;
}

.chat-bubble {
  max-width: 250px;
  padding: 0.95rem 1rem;
  border-radius: 22px 22px 22px 8px;
  animation: breathe 6s ease-in-out infinite;
}

.chat-bubble:nth-child(even) {
  margin-left: auto;
  border-radius: 22px 22px 8px 22px;
}

.missions-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.mission-card {
  display: grid;
  place-items: center;
  min-height: 110px;
  text-align: center;
  font-weight: 700;
}

.mission-card:last-child {
  grid-column: 1 / -1;
}

.big-quote {
  margin: 1.1rem 0 0.25rem;
  font-size: clamp(1.7rem, 3vw, 2.75rem);
}

.stat-line {
  padding: 0.9rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-line:last-child {
  border-bottom: 0;
}

.stat-line strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 2.3rem;
  font-family: "Georgia", "Times New Roman", serif;
}

.final-quote {
  margin-top: 1rem;
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.ticker {
  position: sticky;
  bottom: 0;
  z-index: 70;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(9, 14, 25, 0.82);
  backdrop-filter: blur(10px);
}

.ticker__track {
  display: flex;
  gap: 2rem;
  width: max-content;
  padding: 0.95rem 0;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: tickerScroll 24s linear infinite;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 1.2rem 3rem;
  background: #090e18;
}

.site-footer__brand {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.site-footer__copy {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

.site-footer__links {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(248, 243, 235, 0.88);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .section-shell--hero,
  .section-shell--split {
    grid-template-columns: 1fr;
  }

  .hero-side {
    max-width: 420px;
  }
}

@media (max-width: 720px) {
  .site-nav {
    top: 0.6rem;
    width: calc(100% - 1rem);
    padding: 0.8rem 0.9rem;
    border-radius: 28px;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav__links {
    gap: 0.7rem 0.9rem;
    font-size: 0.92rem;
  }

  .site-nav__actions {
    width: 100%;
  }

  .nav-button {
    flex: 1 1 0;
    min-width: 0;
  }

  .story-section {
    min-height: 92svh;
    background-size: cover;
    background-position: center center;
  }

  .story-section + .story-section {
    margin-top: -3.5rem;
  }

  .section-shell {
    width: calc(100% - 1rem);
    padding: 8rem 0 3rem;
  }

  .story-section--hero .section-shell {
    padding-top: 9rem;
  }

  .content-panel {
    padding: 1.25rem;
    border-radius: 24px;
  }

  h1 {
    font-size: clamp(3.4rem, 18vw, 5rem);
  }

  h2 {
    font-size: clamp(2.3rem, 12vw, 3.5rem);
  }

  .missions-grid {
    grid-template-columns: 1fr;
  }

  .mission-card:last-child {
    grid-column: auto;
  }

  .ticker__track {
    font-size: 0.72rem;
    gap: 1.4rem;
  }

  .cursor-glow {
    display: none;
  }
}

@keyframes tickerScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes driftUp {
  0% {
    transform: translate3d(0, 0, 0) scale(0.8);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  100% {
    transform: translate3d(var(--drift-x, 0), calc(-1 * var(--drift-y, 120px)), 0) scale(1.05);
    opacity: 0;
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
