:root {
  --bg-deep: #110729;
  --bg-panel: #1d1042;
  --bg-panel-alt: #271559;
  --border-comic: #070212;
  --lime: #cffa70;
  --lime-vivid: #9df52c;
  --gold: #ffd84d;
  --cyan: #4de2f7;
  --pink: #ff5b94;
  --cream: #f8f2e6;
  --muted: #cfc4e8;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shadow-comic: 0 8px 0 #070212;
  --font-display: "Trebuchet MS", "Arial Rounded MT Bold", "Segoe UI", system-ui, sans-serif;
  --font-body: "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg-deep);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

.cosmos-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, rgba(157, 245, 44, 0.14), transparent 36%),
    radial-gradient(circle at 82% 22%, rgba(255, 91, 148, 0.18), transparent 40%),
    radial-gradient(circle at 55% 78%, rgba(77, 226, 247, 0.12), transparent 44%),
    radial-gradient(2px 2px at 14% 28%, rgba(255, 255, 255, 0.65), transparent),
    radial-gradient(2px 2px at 42% 14%, rgba(207, 250, 112, 0.7), transparent),
    radial-gradient(2px 2px at 72% 46%, rgba(255, 216, 77, 0.65), transparent),
    radial-gradient(1.5px 1.5px at 88% 68%, rgba(255, 255, 255, 0.55), transparent),
    radial-gradient(2px 2px at 26% 74%, rgba(255, 255, 255, 0.55), transparent),
    linear-gradient(180deg, #160938 0%, #110729 55%, #0c041e 100%);
}

picture {
  display: block;
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-copy,
.hero-visual,
.ascent-copy,
.ascent-preview,
.feature-card,
.play-card-main {
  min-width: 0;
}

a {
  color: var(--lime);
}

code {
  font-family: Consolas, "Courier New", monospace;
  background: rgba(255, 255, 255, 0.09);
  padding: 0.15rem 0.45rem;
  border-radius: 8px;
  color: var(--gold);
  font-size: 0.92em;
}

.container {
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(17, 7, 41, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--border-comic);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--cream);
}

.brand-icon {
  border-radius: 12px;
  border: 2px solid var(--lime);
  box-shadow: 0 3px 0 var(--border-comic);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--lime);
}

.brand-text small {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--cream);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--lime);
  color: #130829;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border-radius: 12px;
  border: 2px solid var(--lime);
  background: var(--bg-panel);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: var(--lime);
}

.hero {
  padding: 2.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2.25rem;
}

.pill-badge {
  display: inline-block;
  max-width: 100%;
  font-size: clamp(0.68rem, 2.6vw, 0.78rem);
  font-weight: 800;
  letter-spacing: 0.07em;
  color: #130829;
  background: var(--gold);
  border: 3px solid var(--border-comic);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  box-shadow: 0 4px 0 var(--border-comic);
  margin-bottom: 1rem;
}

.hero-logo-wrap {
  display: block;
  width: 100%;
  max-width: 430px;
  margin-bottom: 0.5rem;
}

.hero-logo {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.55));
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  color: var(--lime);
  letter-spacing: 0.03em;
  margin: 0.25rem 0 0.45rem;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 900;
  color: var(--gold);
  margin: 0 0 0.9rem;
  text-shadow: 0 3px 0 var(--border-comic);
}

.hero-desc {
  font-size: 1.04rem;
  color: var(--muted);
  margin: 0 0 1.6rem;
  max-width: 58ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.85rem 1.4rem;
  border-radius: 16px;
  border: 3px solid var(--border-comic);
  box-shadow: 0 5px 0 var(--border-comic);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--border-comic);
}

.btn-primary {
  background: linear-gradient(180deg, var(--lime) 0%, var(--lime-vivid) 100%);
  color: #130829;
}

.btn-secondary {
  background: var(--bg-panel-alt);
  color: var(--cream);
}

.hero-visual {
  position: relative;
}

.art-frame {
  position: relative;
  background: var(--bg-panel);
  border: 4px solid var(--border-comic);
  border-radius: var(--radius-lg);
  padding: 0.65rem;
  box-shadow: 0 12px 0 var(--border-comic), 0 22px 45px rgba(0, 0, 0, 0.55);
  animation: hoverFloat 5.5s ease-in-out infinite;
}

.gas-glow {
  position: absolute;
  inset: -14px;
  border-radius: 30px;
  background: radial-gradient(circle, rgba(157, 245, 44, 0.22), transparent 65%);
  z-index: -1;
}

.hero-art {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.art-caption {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.7rem 0.45rem 0.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--lime);
}

.caption-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--lime-vivid);
  box-shadow: 0 0 10px var(--lime-vivid);
  flex-shrink: 0;
}

.section {
  padding: 3rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.025);
  border-top: 2px solid rgba(255, 255, 255, 0.06);
  border-bottom: 2px solid rgba(255, 255, 255, 0.06);
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.2rem;
}

.section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 0.35rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 2.5rem);
  color: var(--gold);
  margin: 0 0 0.5rem;
  text-shadow: 0 4px 0 var(--border-comic);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.feature-card {
  background: var(--bg-panel);
  border: 3px solid var(--border-comic);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  box-shadow: var(--shadow-comic);
  transition: transform 0.18s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  border: 3px solid var(--border-comic);
  margin-bottom: 0.9rem;
  color: #130829;
}

.icon-badge svg {
  width: 24px;
  height: 24px;
}

.accent-lime .icon-badge {
  background: var(--lime);
}

.accent-gold .icon-badge {
  background: var(--gold);
}

.accent-cyan .icon-badge {
  background: var(--cyan);
}

.accent-pink .icon-badge {
  background: var(--pink);
  color: #fff;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 0.45rem;
  color: var(--cream);
}

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

.ascent-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--bg-panel);
  border: 3px solid var(--border-comic);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-comic);
}

.ascent-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
  color: var(--lime);
  margin: 0 0 0.5rem;
}

.ascent-copy p {
  margin: 0 0 1.15rem;
  color: var(--muted);
}

.zone-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.zone-pill {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--cream);
  background: var(--bg-panel-alt);
  border: 2px solid var(--border-comic);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--border-comic);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.zone-pill.is-active,
.zone-pill:hover {
  background: var(--gold);
  color: #130829;
}

.ascent-preview {
  background: #140931;
  border: 3px solid var(--border-comic);
  border-radius: var(--radius-md);
  padding: 1.4rem;
}

.ascent-preview h3 {
  font-family: var(--font-display);
  color: var(--gold);
  margin: 0 0 0.5rem;
}

.ascent-preview p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.meta-chips span {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(207, 250, 112, 0.14);
  border: 1px solid rgba(207, 250, 112, 0.45);
  color: var(--lime);
}

.play-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.75rem;
  background: linear-gradient(135deg, var(--bg-panel-alt) 0%, var(--bg-panel) 100%);
  border: 4px solid var(--border-comic);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-comic);
}

.play-card-main {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.play-app-icon {
  width: 104px;
  height: 104px;
  border-radius: 22px;
  border: 3px solid var(--lime);
  box-shadow: 0 5px 0 var(--border-comic);
  flex-shrink: 0;
}

.status-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 216, 77, 0.16);
  border: 1px solid var(--gold);
  color: var(--gold);
  margin-bottom: 0.45rem;
}

.play-card-main h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  margin: 0 0 0.4rem;
  color: var(--cream);
}

.play-desc {
  margin: 0 0 0.5rem;
  color: var(--muted);
  max-width: 56ch;
}

.package-line {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.play-card-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.btn-play-disabled {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.35rem;
  border-radius: 16px;
  border: 3px solid var(--border-comic);
  background: #2f2357;
  color: var(--muted);
  cursor: not-allowed;
  opacity: 0.92;
  box-shadow: 0 4px 0 var(--border-comic);
  text-align: left;
}

.btn-play-disabled small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.btn-play-disabled strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--cream);
}

.play-note {
  font-size: 0.82rem;
  color: var(--muted);
  text-align: center;
  max-width: 26ch;
}

.site-footer {
  border-top: 3px solid var(--border-comic);
  background: #0c041e;
  padding: 2rem 0 2.5rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-title {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--lime);
}

.footer-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  font-weight: 700;
  font-size: 0.92rem;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

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

@media (max-width: 960px) {
  .hero-grid,
  .ascent-box {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .play-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #170a37;
    border-bottom: 3px solid var(--border-comic);
    padding: 0.75rem 1rem 1rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .play-card-main {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .art-frame {
    animation: none;
  }
}
