:root {
  --bg: #000000;
  --surface: rgba(12, 24, 22, 0.72);
  --surface-strong: rgba(10, 29, 25, 0.9);
  --text: #eefcf7;
  --muted: #98baaf;
  --accent: #1fbb71;
  --accent-2: #74f9b6;
  --accent-3: #0da364;
  --line: rgba(137, 214, 177, 0.26);
  --glow: 0 0 0.8rem rgba(31, 187, 113, 0.5), 0 0 2rem rgba(116, 249, 182, 0.2);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background-color: #000000;
  background:
    linear-gradient(170deg, rgba(0, 0, 0, 0.94), rgba(3, 8, 11, 0.86)),
    url("assets/fivem-cinematic-bg.svg") center/cover no-repeat fixed;
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 18% 36%, rgba(37, 110, 255, 0.22), rgba(0, 0, 0, 0) 42%),
    radial-gradient(circle at 78% 34%, rgba(255, 59, 108, 0.16), rgba(0, 0, 0, 0) 45%),
    radial-gradient(circle at 74% 18%, rgba(91, 255, 166, 0.14), rgba(0, 0, 0, 0) 36%);
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 3px;
  mix-blend-mode: soft-light;
  opacity: 0.25;
  z-index: -1;
}

.container {
  width: min(1120px, calc(100vw - 2.4rem));
  margin-inline: auto;
}

.scroll-section {
  --section-progress: 0;
  --section-depth: calc((var(--section-progress) - 0.5) * 2);
}

.scroll-section.is-section-active {
  --section-focus-glow: 1;
}

.scroll-layer {
  will-change: transform, opacity, filter;
  transition: transform 0.18s linear, opacity 0.18s linear, filter 0.18s linear;
}

.scroll-layer-primary {
  transform: translate3d(0, calc(var(--section-depth) * -36px), 0) scale(calc(1 - (var(--section-progress) * 0.04)));
}

.scroll-layer-secondary {
  transform: translate3d(0, calc(var(--section-depth) * 28px), 0) scale(calc(0.98 + (var(--section-progress) * 0.035)));
}

.scroll-layer-grid {
  transform: perspective(1400px) rotateX(calc((0.5 - var(--section-progress)) * 10deg)) translate3d(0, calc(var(--section-depth) * 30px), 0);
}

.scroll-layer-support,
.scroll-layer-note {
  transform: translate3d(0, calc(var(--section-depth) * 22px), 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: linear-gradient(to bottom, rgba(5, 14, 11, 0.85), rgba(5, 10, 11, 0.32));
  border-bottom: 1px solid rgba(130, 206, 172, 0.2);
}

.nav {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
}

.logo-mark {
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.55rem;
  border-radius: 0.4rem;
  color: #ffffff;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  box-shadow: var(--glow);
}

.logo-text {
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.08em;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.25rem;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: #ffffff;
}

.btn {
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.15rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 700;
  box-shadow: var(--glow);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn.ghost {
  border-color: var(--line);
  background: rgba(15, 21, 42, 0.62);
  color: var(--text);
  box-shadow: none;
}

.btn-sm {
  padding: 0.65rem 0.9rem;
  font-size: 0.93rem;
}

.btn-wide {
  width: 100%;
}

.hero {
  padding: clamp(3rem, 6vw, 5.5rem) 0 2rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(1.2rem, 2.8vw, 2.3rem);
  align-items: start;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 -2rem 0;
  height: 220px;
  background: radial-gradient(circle at 24% 30%, rgba(47, 109, 255, 0.13), rgba(0, 0, 0, 0) 42%),
    radial-gradient(circle at 74% 24%, rgba(255, 57, 102, 0.11), rgba(0, 0, 0, 0) 40%);
  pointer-events: none;
  filter: blur(18px);
}

.hero {
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  color: var(--accent-2);
  letter-spacing: 0.14em;
  font-size: 0.79rem;
  font-weight: 800;
}

h1 {
  margin: 0.5rem 0 0;
  font-size: clamp(2rem, 5vw, 4.1rem);
  line-height: 1.04;
  max-width: 14ch;
}

.gradient {
  background: linear-gradient(95deg, #ffffff, #7ab3ff 38%, #81f1ff 65%, #d9b3ff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  margin-top: 1rem;
  max-width: 54ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.17rem);
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.status-bar {
  margin-top: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #b6ead1;
  font-size: 0.93rem;
}

.pulse {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50%;
  background: #ffe033;
  box-shadow: 0 0 0 0 rgba(255, 224, 51, 0.8);
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 224, 51, 0.75);
  }
  75% {
    box-shadow: 0 0 0 12px rgba(255, 224, 51, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 224, 51, 0);
  }
}

.hero-card {
  position: relative;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  padding: 1.2rem;
  box-shadow: 0 1.2rem 2.5rem rgba(0, 0, 0, 0.42);
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -20% auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(116, 249, 182, 0.18), rgba(0, 0, 0, 0) 66%);
  filter: blur(12px);
  pointer-events: none;
}

.hero-card h2 {
  margin: 0;
  font-size: 1rem;
  color: #b8e6cf;
}

.event-title {
  margin: 0.7rem 0 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.event-time {
  margin: 0.25rem 0 1rem;
  color: var(--accent-2);
  font-weight: 700;
}

.hero-card ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
  color: var(--muted);
}

.story-section {
  margin-top: 2.8rem;
}

.section-bridge {
  min-height: 92vh;
  display: grid;
  place-items: center;
  position: relative;
}

.bridge-frame {
  width: min(860px, 100%);
  padding: clamp(1.4rem, 3vw, 2.1rem);
  border-radius: 1.2rem;
  border: 1px solid rgba(137, 214, 177, 0.16);
  background:
    linear-gradient(180deg, rgba(7, 12, 18, 0.88), rgba(4, 7, 11, 0.96)),
    radial-gradient(circle at 20% 30%, rgba(47, 109, 255, 0.16), rgba(0, 0, 0, 0) 32%),
    radial-gradient(circle at 80% 40%, rgba(255, 57, 102, 0.14), rgba(0, 0, 0, 0) 30%);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.38);
  text-align: center;
  overflow: hidden;
}

.bridge-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.bridge-frame h2 {
  margin: 0.55rem auto 0;
  max-width: 15ch;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.02;
}

.bridge-frame p:last-of-type {
  margin: 0.9rem auto 0;
  max-width: 52ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.bridge-track {
  position: relative;
  width: min(560px, 100%);
  height: 10px;
  margin: 1.5rem auto 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.bridge-track span {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--section-progress) * 100%);
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(47, 109, 255, 0.95), rgba(116, 249, 182, 0.95), rgba(255, 224, 51, 0.95));
  box-shadow: 0 0 1rem rgba(116, 249, 182, 0.4);
}

.bridge-track-reverse span {
  inset: 0 0 0 auto;
}

.hero-bridge {
  margin-top: -0.5rem;
}

.join-bridge {
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
}

.hero-bridge .bridge-frame {
  transform: translate3d(0, calc((0.5 - var(--section-progress)) * 90px), 0)
    scale(calc(0.92 + (var(--section-progress) * 0.1)));
  opacity: calc(0.24 + (var(--section-progress) * 0.76));
}

.join-bridge .bridge-frame {
  transform: translate3d(0, calc((0.5 - var(--section-progress)) * -90px), 0)
    scale(calc(0.92 + (var(--section-progress) * 0.1)));
  opacity: calc(0.24 + (var(--section-progress) * 0.76));
}

.hero.scroll-section {
  margin-bottom: 1rem;
}

.hero.scroll-section .hero-copy {
  opacity: calc(1 - (var(--section-progress) * 0.18));
}

.hero.scroll-section .hero-card {
  opacity: calc(1 - (var(--section-progress) * 0.14));
}

.story-section.scroll-section {
  margin-top: 0.6rem;
}

.story-section.scroll-section .story-intro {
  opacity: calc(0.52 + (var(--section-progress) * 0.48));
}

.join.scroll-section .join-copy {
  opacity: calc(0.58 + (var(--section-progress) * 0.42));
}

.join.scroll-section .join-actions {
  opacity: calc(0.4 + (var(--section-progress) * 0.6));
}

.join-takeover {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background:
    radial-gradient(circle at 16% 22%, rgba(24, 54, 118, 0.26), rgba(0, 0, 0, 0) 38%),
    radial-gradient(circle at 86% 35%, rgba(88, 16, 44, 0.24), rgba(0, 0, 0, 0) 36%),
    radial-gradient(circle at 50% 120%, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0) 48%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.985), rgba(0, 0, 0, 1));
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.join-takeover.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.join-takeover-inner {
  width: min(860px, 100%);
  display: grid;
  gap: clamp(1.2rem, 2.6vw, 2rem);
  text-align: center;
  font-family: "Manrope", "Inter", system-ui, sans-serif;
  text-transform: lowercase;
  padding: clamp(1rem, 2vw, 1.6rem) 0;
}

.join-takeover h2 {
  margin: 0;
  font-size: clamp(2rem, 8vw, 5.8rem);
  line-height: 0.9;
  letter-spacing: -0.02em;
  font-weight: 300;
  color: #f2f8f5;
  text-shadow: 0 0 28px rgba(79, 119, 186, 0.22), 0 0 48px rgba(88, 16, 44, 0.24);
}

.join-takeover p {
  margin: 0 auto;
  max-width: 52ch;
  color: rgba(208, 228, 222, 0.82);
  font-size: clamp(1rem, 1.9vw, 1.28rem);
  font-weight: 300;
  line-height: 1.75;
}

.join-takeover-actions {
  margin-top: clamp(0.6rem, 2vw, 1.1rem);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(0.8rem, 1.8vw, 1.3rem);
  flex-wrap: wrap;
}

.join-takeover .btn {
  min-width: 190px;
  padding: 0.92rem 1.26rem;
}

.join-takeover .btn.ghost {
  background: rgba(6, 12, 16, 0.82);
  border: 1px solid rgba(116, 154, 184, 0.34);
  color: #e6efeb;
}

.join-takeover .btn.ghost:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  filter: none;
  transform: none;
}

.join-takeover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, 0.78) 100%);
  pointer-events: none;
}

.story-intro {
  max-width: 60ch;
}

.story-intro h2 {
  margin: 0.45rem 0 0;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.02;
}

.story-intro p:last-child {
  margin: 0.95rem 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.story-shell {
  margin-top: 1.4rem;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.2rem;
  align-items: start;
}

.story-stage {
  position: sticky;
  top: 106px;
}

.story-stage-frame {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(137, 214, 177, 0.18);
  border-radius: 1.25rem;
  padding: 1.35rem;
  background:
    linear-gradient(180deg, rgba(8, 18, 24, 0.94), rgba(6, 12, 18, 0.96)),
    radial-gradient(circle at 22% 20%, rgba(47, 109, 255, 0.24), rgba(0, 0, 0, 0) 30%),
    radial-gradient(circle at 78% 28%, rgba(255, 57, 102, 0.2), rgba(0, 0, 0, 0) 28%);
  box-shadow: 0 1.4rem 2.8rem rgba(0, 0, 0, 0.38);
}

.story-stage-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(116, 249, 182, 0.06), rgba(0, 0, 0, 0) 35%),
    linear-gradient(transparent 0%, rgba(255, 255, 255, 0.03) 48%, transparent 100%);
  pointer-events: none;
}

.story-visual {
  position: absolute;
  inset: 1.35rem;
  display: grid;
  align-content: end;
  gap: 0.85rem;
  opacity: 0;
  transform: translateY(36px) scale(0.98);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.story-visual::before {
  content: "";
  position: absolute;
  inset: 0 0 auto auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  filter: blur(10px);
  opacity: 0.7;
}

.story-visual[data-scene="cpd"]::before {
  background: radial-gradient(circle, rgba(47, 109, 255, 0.45), rgba(0, 0, 0, 0) 70%);
}

.story-visual[data-scene="rcso"]::before {
  background: radial-gradient(circle, rgba(95, 255, 194, 0.3), rgba(0, 0, 0, 0) 70%);
}

.story-visual[data-scene="civilian"]::before {
  background: radial-gradient(circle, rgba(255, 185, 76, 0.32), rgba(0, 0, 0, 0) 70%);
}

.story-visual[data-scene="lore"]::before {
  background: radial-gradient(circle, rgba(255, 57, 102, 0.35), rgba(0, 0, 0, 0) 70%);
}

.story-visual.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.story-kicker {
  margin: 0;
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.story-visual h3 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.02;
  max-width: 10ch;
}

.story-visual p {
  margin: 0;
  max-width: 38ch;
  color: #d8efe5;
}

.story-meta {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.story-meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.46rem 0.68rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e7fff3;
  font-size: 0.82rem;
  font-weight: 600;
}

.story-lights {
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(7, 14, 20, 0.78)),
    linear-gradient(90deg, rgba(47, 109, 255, 0.18), rgba(255, 255, 255, 0), rgba(255, 57, 102, 0.14));
  filter: blur(0.2px);
}

.story-steps {
  display: grid;
  gap: 1rem;
}

.story-step {
  min-height: 72vh;
  display: grid;
  align-content: center;
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(137, 214, 177, 0.12);
  background: rgba(9, 18, 21, 0.45);
  opacity: 0.45;
  transform: scale(0.97);
  transition: opacity 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}

.story-step.is-active {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(137, 214, 177, 0.28);
}

.story-step::after {
  content: "";
  position: absolute;
  inset: auto 1.25rem 1rem 1.25rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(116, 249, 182, 0.35), rgba(116, 249, 182, 0));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.story-step {
  position: relative;
}

.story-step.is-active::after {
  opacity: 1;
}

.story-step-index {
  margin: 0;
  color: #ffe680;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.story-step h3 {
  margin: 0.45rem 0 0;
  font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.story-step p:last-child {
  margin: 0.8rem 0 0;
  max-width: 42ch;
  color: var(--muted);
  font-size: 1rem;
}

.roadmap {
  margin-top: 2.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.3rem;
  overflow: hidden;
}

.roadmap::before {
  content: "";
  position: absolute;
  inset: -20% auto auto -10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(47, 109, 255, 0.16), rgba(0, 0, 0, 0) 70%);
  filter: blur(10px);
  pointer-events: none;
}

.roadmap {
  position: relative;
}

.roadmap h2,
.join h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
}

.roadmap-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.roadmap-status {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 224, 51, 0.25);
  background: rgba(255, 224, 51, 0.08);
  color: #ffe680;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
}

.roadmap-intro {
  margin: 0.85rem 0 0;
  max-width: 58ch;
  color: #d2f2e0;
  font-size: 1.02rem;
}

.timeline {
  margin-top: 1rem;
  display: grid;
  gap: 0.9rem;
}

.roadmap-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.2rem;
}

.point {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.roadmap-phase {
  display: grid;
  gap: 0.95rem;
  padding: 1.05rem;
  background: rgba(8, 18, 23, 0.72);
  border: 1px solid rgba(137, 214, 177, 0.18);
  border-radius: 0.95rem;
  transform: translate3d(0, calc((1 - var(--section-progress)) * 18px), 0)
    scale(calc(0.96 + (var(--section-progress) * 0.04)));
  opacity: calc(0.68 + (var(--section-progress) * 0.32));
  transition: transform 0.22s linear, opacity 0.22s linear, border-color 0.22s linear;
}

.roadmap-phase:nth-child(odd) {
  transform: translate3d(0, calc((1 - var(--section-progress)) * 18px), 0)
    rotateZ(calc((0.5 - var(--section-progress)) * 1.2deg))
    scale(calc(0.96 + (var(--section-progress) * 0.04)));
}

.roadmap-phase:nth-child(even) {
  transform: translate3d(0, calc((1 - var(--section-progress)) * 22px), 0)
    rotateZ(calc((var(--section-progress) - 0.5) * 1.2deg))
    scale(calc(0.96 + (var(--section-progress) * 0.04)));
}

.phase-top {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: center;
}

.phase-top h3 {
  margin: 0;
  font-size: 1.05rem;
}

.phase-top .dot {
  margin-top: 0.2rem;
}

.phase-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.phase-badge.in-progress {
  background: rgba(255, 224, 51, 0.12);
  border: 1px solid rgba(255, 224, 51, 0.3);
  color: #ffe680;
}

.phase-badge.planned,
.phase-badge.ongoing {
  background: rgba(133, 185, 165, 0.12);
  border: 1px solid rgba(133, 185, 165, 0.24);
  color: #d6f1e5;
}

.phase-goal {
  margin: 0;
  color: #f1fff8;
  font-weight: 600;
}

.phase-block {
  display: grid;
  gap: 0.45rem;
}

.phase-label {
  color: var(--accent-2);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.roadmap-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
  display: grid;
  gap: 0.28rem;
}

.roadmap-support {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.roadmap-panel,
.roadmap-note {
  background: rgba(8, 18, 23, 0.72);
  border: 1px solid rgba(137, 214, 177, 0.18);
  border-radius: 0.95rem;
  padding: 1rem;
}

.roadmap-panel h3,
.roadmap-note h3 {
  margin: 0;
}

.roadmap-panel p,
.roadmap-note p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.roadmap-note {
  margin-top: 1rem;
}

.dot {
  width: 0.85rem;
  height: 0.85rem;
  margin-top: 0.4rem;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  box-shadow: var(--glow);
  flex-shrink: 0;
}

.point h3 {
  margin: 0;
  font-size: 1.04rem;
}

.point p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.join {
  margin-top: 2.4rem;
  margin-bottom: 2.4rem;
  text-align: center;
  background: linear-gradient(150deg, rgba(23, 39, 52, 0.58), rgba(8, 18, 24, 0.84));
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.6rem 1rem;
  position: relative;
  overflow: hidden;
}

.join::before {
  content: "";
  position: absolute;
  inset: -10% auto auto 8%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(47, 109, 255, 0.16), rgba(0, 0, 0, 0) 66%);
  filter: blur(10px);
  pointer-events: none;
}

.join::after {
  content: "";
  position: absolute;
  inset: auto 6% -18% auto;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(116, 249, 182, 0.16), rgba(0, 0, 0, 0) 66%);
  filter: blur(12px);
  pointer-events: none;
}

.join-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 1rem;
}

.scroll-section.is-section-active .join-shell,
.scroll-section.is-section-active .roadmap-grid,
.scroll-section.is-section-active .hero-card,
.scroll-section.is-section-active .story-stage-frame,
.scroll-section.is-section-active .bridge-frame {
  filter: saturate(1.04) brightness(1.02);
}

.join p {
  margin: 0.65rem auto 0;
  max-width: 52ch;
  color: #d0f1e1;
}

.join-actions {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.join-copy {
  max-width: 58ch;
  margin-inline: auto;
}

.site-footer {
  border-top: 1px solid rgba(136, 216, 170, 0.2);
  padding: 1.2rem 0 2rem;
  color: #85b9a5;
  font-size: 0.9rem;
}

.admin {
  margin-top: 2.4rem;
  margin-bottom: 2.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.3rem;
}

.admin > p {
  margin: 0.55rem 0 0.95rem;
  color: var(--muted);
}

.admin-form {
  display: grid;
  gap: 0.85rem;
}

.admin-form label {
  display: grid;
  gap: 0.4rem;
  color: #d3f2e4;
  font-weight: 600;
  font-size: 0.92rem;
}

.admin-form input,
.admin-form textarea {
  width: 100%;
  border: 1px solid rgba(143, 228, 186, 0.35);
  background: rgba(7, 18, 15, 0.78);
  color: #e9fff5;
  border-radius: 0.65rem;
  padding: 0.68rem 0.75rem;
  font: inherit;
}

.admin-form textarea {
  resize: vertical;
  min-height: 100px;
}

.admin-form input:focus,
.admin-form textarea:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 2px rgba(116, 249, 182, 0.2);
}

.admin-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.admin-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.admin-note {
  margin: 0.1rem 0 0;
  min-height: 1.3rem;
  color: #a9f2cd;
  font-size: 0.89rem;
}

.admin-page main {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.gate {
  max-width: 520px;
  margin: 1.8rem auto 0;
  background: var(--surface-strong);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem;
  box-shadow: 0 1rem 2.2rem rgba(0, 0, 0, 0.4);
}

.gate h2 {
  margin: 0;
}

.gate p {
  margin: 0.55rem 0 0.95rem;
  color: var(--muted);
}

.gate-form {
  display: grid;
  gap: 0.75rem;
}

.gate-form input {
  width: 100%;
  border: 1px solid rgba(143, 228, 186, 0.35);
  background: rgba(7, 18, 15, 0.78);
  color: #e9fff5;
  border-radius: 0.65rem;
  padding: 0.72rem 0.75rem;
  font: inherit;
}

.gate-form input:focus {
  outline: none;
  border-color: var(--accent-2);
  box-shadow: 0 0 0 2px rgba(116, 249, 182, 0.2);
}

.gate-note {
  margin: 0;
  min-height: 1.2rem;
  color: #ffb8c8;
  font-size: 0.9rem;
}

.is-hidden {
  display: none;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .story-shell,
  .roadmap-grid,
  .roadmap-support {
    grid-template-columns: 1fr;
  }

  .roadmap-header {
    flex-direction: column;
  }

  .story-stage {
    position: relative;
    top: 0;
  }

  .section-bridge {
    min-height: auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .hero-bridge .bridge-frame,
  .join-bridge .bridge-frame {
    transform: none;
    opacity: 1;
  }

  .scroll-layer,
  .scroll-layer-grid,
  .scroll-layer-support,
  .scroll-layer-note,
  .roadmap-phase,
  .roadmap-phase:nth-child(odd),
  .roadmap-phase:nth-child(even) {
    transform: none;
    opacity: 1;
  }

  .story-step {
    min-height: auto;
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(1120px, calc(100vw - 1.4rem));
  }

  .roadmap-grid,
  .roadmap-support {
    grid-template-columns: 1fr;
  }

  .story-stage-frame {
    min-height: 440px;
  }

  .story-visual {
    inset: 1rem;
  }

  .story-meta span {
    width: 100%;
    justify-content: center;
  }

  .join-takeover h2 {
    font-size: clamp(2rem, 12vw, 3.4rem);
  }

  .join-takeover .btn,
  .join-takeover .btn.ghost {
    width: 100%;
  }

  .btn,
  .btn.ghost {
    width: 100%;
  }

  .admin-row {
    grid-template-columns: 1fr;
  }
}
