:root {
  --bg: #02030a;
  --bg-soft: #050615;
  --bg-alt: #050717;
  --panel: #06071b;
  --panel-alt: #090a21;
  --accent: #b35bff;
  --accent-soft: #d3b6ff;
  --accent-hot: #ff57d2;
  --text: #f4f4ff;
  --text-soft: #a6a2c0;
  --border-soft: rgba(148, 163, 184, 0.4);
  --border-strong: rgba(209, 213, 219, 0.7);
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-deep: 0 28px 80px rgba(0, 0, 0, 1);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.95);
  --transition-fast: 150ms ease-out;
}

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

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #02030a;
  color: var(--text);
  overflow-x: hidden;
}

#scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.05) 0px,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: soft-light;
  opacity: 0.28;
  z-index: 60;
}

#static-noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: url("https://upload.wikimedia.org/wikipedia/commons/5/58/Noise_texture.png");
  background-size: 260px 260px;
  opacity: 0.05;
  z-index: 59;
}

.starfield {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -2;
}

.starfield-back {
  background:
    radial-gradient(circle at 10% 20%, rgba(56, 189, 248, 0.05), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(236, 72, 153, 0.08), transparent 65%),
    radial-gradient(circle at 50% 120%, rgba(79, 70, 229, 0.18), transparent 70%);
}

.starfield-front {
  z-index: -1;
}

.star {
  position: absolute;
  border-radius: 999px;
  background: #ffffff;
  opacity: 0.2;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.9));
  animation-name: star-twinkle;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.star-small {
  width: 1px;
  height: 1px;
}

.star-medium {
  width: 2px;
  height: 2px;
}

.star-large {
  width: 3px;
  height: 3px;
}

.star-purple {
  background: #e879f9;
  filter: drop-shadow(0 0 8px rgba(216, 180, 254, 0.9));
}

.star-cyan {
  background: #7dd3fc;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.9));
}

.cosmic-frame {
  position: fixed;
  left: 16px;
  right: 16px;
  height: 1px;
  background-image: linear-gradient(
    to right,
    transparent 0%,
    rgba(180, 83, 255, 0.85) 20%,
    rgba(59, 130, 246, 0.9) 50%,
    rgba(180, 83, 255, 0.85) 80%,
    transparent 100%
  );
  opacity: 0.4;
  z-index: 40;
}

.cosmic-frame-top {
  top: 14px;
}

.cosmic-frame-bottom {
  bottom: 14px;
}

.cosmic-rail {
  position: fixed;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background-image: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(148, 163, 184, 0.9) 20%,
    rgba(148, 27, 255, 0.9) 50%,
    rgba(148, 163, 184, 0.9) 80%,
    transparent 100%
  );
  opacity: 0.3;
  z-index: 39;
}

.cosmic-rail-left {
  left: 14px;
}

.cosmic-rail-right {
  right: 14px;
}

.inner {
  max-width: 1120px;
  margin: 0 auto;
  padding-inline: 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.88));
  border-bottom: 1px solid rgba(148, 85, 247, 0.9);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 10px;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  position: relative;
  width: 46px;
  height: 46px;
  background:
    radial-gradient(circle at 25% 15%, var(--accent-soft), var(--panel-alt));
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(244, 244, 245, 0.18);
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.9);
  overflow: hidden;
}

.brand-logo-orbit {
  position: absolute;
  inset: 6px;
  border-radius: 999px;
  border: 1px solid rgba(251, 244, 255, 0.4);
  mix-blend-mode: screen;
}

.brand-logo-core {
  position: absolute;
  width: 60%;
  height: 60%;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, var(--accent-hot), var(--accent));
  filter: blur(1px);
  opacity: 0.7;
}

.brand-logo-text {
  position: relative;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f9f5ff;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-title {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-subtitle {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.site-nav a {
  color: var(--text-soft);
  text-decoration: none;
  padding: 6px 11px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: var(--transition-fast);
}

.site-nav a:hover {
  color: var(--text);
  border-color: var(--border-soft);
  background: rgba(12, 10, 30, 0.96);
}

.nav-pill {
  border-color: rgba(236, 72, 153, 0.8);
  background: radial-gradient(circle at top, #831843, #020011);
  color: #fdf4ff;
}

.hero {
  padding-block: 52px 44px;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.85), transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: center;
}

.hero-left {
  position: relative;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-soft);
  margin-bottom: 12px;
}

.hero-kicker::before {
  content: "◆";
  font-size: 0.6rem;
  opacity: 0.8;
}

.hero-title {
  font-size: clamp(2.25rem, 3.1vw, 2.9rem);
  line-height: 1.08;
  margin: 0 0 10px;
}

.hero-title-line {
  display: block;
}

.hero-title-highlighted {
  position: relative;
}

.hero-highlight {
  color: var(--accent-soft);
  text-shadow: 0 0 18px rgba(236, 72, 153, 0.9);
}

.hero-subtitle {
  font-size: 0.96rem;
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 36rem;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-fast);
}

.btn-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, #7c3aed, #b35bff);
  color: #fdf4ff;
  border-color: rgba(244, 244, 245, 0.18);
  box-shadow: 0 22px 65px rgba(15, 23, 42, 1);
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 28px 90px rgba(15, 23, 42, 1);
}

.btn-ghost {
  border-color: var(--border-soft);
  background: rgba(10, 8, 28, 0.96);
  color: var(--text-soft);
}

.btn-ghost:hover {
  border-color: var(--accent-soft);
  color: var(--text);
}

.btn-chevron {
  font-size: 1.08rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(12, 10, 30, 0.98);
  font-size: 0.76rem;
  color: var(--text-soft);
}

.chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}

.chip-dot-green {
  background: #4ade80;
}

.chip-dot-magenta {
  background: var(--accent);
}

.chip-dot-cyan {
  background: #38bdf8;
}

.hero-right {
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 450px;
  border-radius: var(--radius-lg);
  padding: 18px 18px 14px;
  background:
    radial-gradient(circle at top, rgba(30, 64, 175, 0.4), transparent 60%),
    radial-gradient(circle at bottom, rgba(30, 64, 175, 0.25), transparent 60%),
    rgba(8, 7, 22, 0.98);
  border: 1px solid rgba(148, 85, 247, 0.9);
  box-shadow: var(--shadow-deep);
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0% 0%, rgba(236, 72, 153, 0.16), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(56, 189, 248, 0.14), transparent 55%);
  opacity: 0.6;
  mix-blend-mode: screen;
  pointer-events: none;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  color: var(--text-soft);
  position: relative;
  z-index: 1;
}

.hero-card-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #4ade80;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.4);
}

.status-dot-experimental {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #facc15;
  box-shadow: 0 0 0 4px rgba(250, 204, 21, 0.4);
}

.hero-card-pill-experimental {
  border-color: rgba(250, 204, 21, 0.4);
  color: #ffffff;
}


.hero-card-title {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-soft);
}

.hero-card-pill {
  align-items: center;
  gap: 81px;
  padding: 5px 9px;
  border-radius: var(--radius-pill);
  border: 3px solid rgba(244, 244, 245, 0.3);
  background: rgba(12, 10, 30, 0.96);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ffffff;
}

.hero-card-pill-dot {
  opacity: 0.7;
}

.orbit-visual {
  position: relative;
  margin-top: 6px;
  border-radius: 18px;
  padding: 18px;
  background: radial-gradient(circle at center, #020618, #02030a 70%);
  border: 1px solid rgba(63, 63, 70, 1);
  overflow: hidden;
  height: 160px;
  box-shadow: var(--shadow-soft);
}

.orbit-layer {
  position: absolute;
  inset: 0;
}

.orbit-layer-grid {
  background-image: linear-gradient(
      rgba(24, 24, 35, 0.9) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(24, 24, 35, 0.9) 1px,
      transparent 1px
    );
  background-size: 18px 18px;
  opacity: 0.18;
}

.orbit-layer-arc {
  background:
    radial-gradient(circle at 20% 0%, rgba(236, 72, 153, 0.22), transparent 60%),
    radial-gradient(circle at 80% 100%, rgba(56, 189, 248, 0.2), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.7;
}

.orbit-ring {
  position: absolute;
  inset: 20px 18px;
  border-radius: 999px;
  border: 1px solid rgba(180, 83, 255, 0.6);
}

.orbit-ring-outer {
  animation: orbit-ring-spin 32s linear infinite;
}

.orbit-ring-inner {
  inset: 34px 44px;
  border-style: dashed;
  opacity: 0.7;
  animation: orbit-ring-spin 22s linear reverse infinite;
}

.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  background: var(--accent-soft);
  box-shadow: 0 0 32px rgba(219, 39, 119, 0.95);
}

.orbit-body {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.9);
}

.orbit-body-1 {
  animation: orbit-path-1 16s linear infinite;
}

.orbit-body-2 {
  animation: orbit-path-2 22s linear infinite;
}

.orbit-body-3 {
  animation: orbit-path-3 30s linear infinite;
}

.orbit-rift {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 11px;
  border-radius: 999px;
  background: rgba(3, 4, 9, 0.98);
  border: 1px solid rgba(31, 41, 55, 1);
  box-shadow: 0 0 18px rgba(15, 23, 42, 0.9);
}

.orbit-label {
  position: absolute;
  top: 10px;
  right: 18px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(226, 232, 240, 0.9);
  background: rgba(15, 23, 42, 0.9);
  border-radius: 999px;
  padding: 3px 10px;
  border: 1px solid rgba(148, 163, 184, 0.6);
}

.hero-card-footer {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
}

.hero-card-stat {
  padding: 6px 8px;
  border-radius: 12px;
  background: rgba(12, 10, 30, 0.96);
  border: 1px solid rgba(63, 63, 70, 0.95);
  font-size: 0.8rem;
}

.stat-label {
  color: var(--text-soft);
}

.stat-value {
  color: var(--accent-soft);
}

.section {
  padding-block: 42px 36px;
  background: transparent;
}

.section-alt {
  background:
    radial-gradient(circle at left, rgba(15, 23, 42, 0.8), transparent 60%),
    rgba(6, 6, 20, 0.98);
  border-block: 1px solid rgba(15, 23, 42, 1);
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr);
  gap: 28px;
}

.section-heading {
  align-self: flex-start;
}

.section-title {
  font-size: 1.12rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--accent-soft);
}

.section-kicker {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.section-body p {
  font-size: 0.9rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 12px;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.label-pill {
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(51, 65, 85, 1);
  background: rgba(15, 23, 42, 0.98);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-soft);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card {
  border-radius: 18px;
  padding: 14px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(51, 65, 85, 1);
  box-shadow: var(--shadow-soft);
}

.feature-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at top, var(--accent-soft), var(--accent));
  color: #020005;
  font-size: 1rem;
}

.feature-title {
  font-size: 0.96rem;
  font-weight: 500;
  margin-top: 10px;
}

.feature-text {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.feature-meta {
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--accent-soft);
}

.ages-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.6fr);
  gap: 22px;
}

.age-selector {
  display: grid;
  gap: 8px;
}

.age-chip {
  width: 100%;
  text-align: left;
  border-radius: 14px;
  padding: 9px 11px;
  border: 1px solid rgba(30, 64, 175, 0.7);
  background: rgba(15, 23, 42, 0.98);
  color: var(--text-soft);
  font-size: 0.84rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.age-label {
  font-size: 0.78rem;
}

.age-tier {
  font-size: 0.74rem;
  opacity: 0.8;
}

.age-chip.active {
  border-color: rgba(236, 72, 153, 0.9);
  background-color: #05071a;
  color: #f5f3ff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.98);
}

.age-panel {
  border-radius: 20px;
  padding: 16px;
  background: radial-gradient(circle at top, rgba(15, 23, 42, 0.8), transparent 60%), rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(51, 65, 85, 1);
  box-shadow: var(--shadow-deep);
  min-height: 210px;
  position: relative;
  overflow: hidden;
}

.age-panel::before {
  content: "";
  position: absolute;
  inset: -60%;
  background:
    radial-gradient(circle at 0% 0%, rgba(148, 163, 184, 0.18), transparent 60%),
    radial-gradient(circle at 100% 100%, rgba(148, 163, 184, 0.18), transparent 60%);
  mix-blend-mode: screen;
  opacity: 0.4;
  pointer-events: none;
}

.age-panel-inner {
  position: relative;
  z-index: 1;
}

.age-title {
  font-size: 1.02rem;
  margin-bottom: 6px;
  color: var(--accent-soft);
}

.age-text {
  font-size: 0.86rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 10px;
}

.age-list {
  list-style: square;
  padding-left: 18px;
  margin: 0;
  font-size: 0.83rem;
  color: var(--text-soft);
  display: grid;
  gap: 4px;
}

.age-panel-inner.hidden {
  display: none;
}

.download-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.2fr);
  gap: 22px;
}

.download-buttons {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.download-card {
  border-radius: 18px;
  padding: 14px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(51, 65, 85, 1);
  box-shadow: var(--shadow-soft);
  font-size: 0.84rem;
}

.download-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.35);
  padding-block: 5px;
}

.download-label {
  color: var(--text-soft);
}

.download-value {
  font-weight: 500;
}

.download-note {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.community-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.4fr);
  gap: 22px;
}

.community-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.community-pills {
  display: grid;
  gap: 10px;
}

.community-pill {
  border-radius: 16px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid rgba(51, 65, 85, 1);
  box-shadow: var(--shadow-soft);
}

.pill-header {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--accent-soft);
  margin-bottom: 4px;
}

.pill-body {
  color: var(--text-soft);
}

.site-footer {
  background-color: #02030a;
  border-top: 1px solid rgba(15, 23, 42, 1);
  padding-block: 12px 18px;
  font-size: 0.8rem;
  color: var(--text-soft);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-dot {
  color: #52525b;
}

.footer-right {
  display: flex;
  gap: 10px;
}

.footer-right a {
  color: var(--text-soft);
  text-decoration: none;
}

.footer-right a:hover {
  color: var(--accent-soft);
}

@keyframes orbit-ring-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbit-path-1 {
  from {
    transform: rotate(0deg) translateX(34px) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(34px) rotate(-360deg);
  }
}

@keyframes orbit-path-2 {
  from {
    transform: rotate(0deg) translateX(48px) rotate(0deg);
  }
  to {
    transform: rotate(-360deg) translateX(48px) rotate(-360deg);
  }
}

@keyframes orbit-path-3 {
  from {
    transform: rotate(0deg) translateX(62px) rotate(0deg);
  }
  to {
    transform: rotate(360deg) translateX(62px) rotate(-360deg);
  }
}

@keyframes star-twinkle {
  0% {
    opacity: 0.0;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.2);
  }
  100% {
    opacity: 0.1;
    transform: scale(0.9);
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .section-grid,
  .ages-layout,
  .download-grid,
  .community-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    display: none;
  }

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

  .hero {
    padding-block: 32px 28px;
  }
}

@media (max-width: 720px) {
  .inner {
    padding-inline: 16px;
  }

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

  .hero-card {
    padding: 16px 14px 12px;
  }

  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
