:root {
  --bg: #05070d;
  --bg-elevated: rgba(14, 19, 31, 0.88);
  --bg-soft: rgba(18, 23, 38, 0.8);
  --card: rgba(14, 20, 31, 0.86);
  --card-strong: rgba(16, 22, 36, 0.96);
  --line: rgba(112, 129, 168, 0.2);
  --line-strong: rgba(163, 50, 58, 0.42);
  --text: #f4f7fb;
  --muted: #a4adbf;
  --red: #9a1118;
  --red-bright: #d71b27;
  --gold: #d6a63d;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(141, 17, 24, 0.24), transparent 26%),
    radial-gradient(circle at 88% 14%, rgba(214, 166, 61, 0.08), transparent 18%),
    linear-gradient(180deg, #06080f 0%, #04060b 100%);
  color: var(--text);
  min-height: 100vh;
}

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

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to bottom, rgba(255,255,255,0.18), transparent 85%);
}

.site-shell {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at center, rgba(126, 16, 24, 0.12), transparent 35%),
    radial-gradient(circle at 50% 0%, rgba(154, 17, 24, 0.12), transparent 32%);
  filter: blur(14px);
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.section {
  position: relative;
  padding: 92px 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(4, 6, 11, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.2), rgba(255,255,255,0.04));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1), 0 12px 30px rgba(0,0,0,0.35);
  color: #ffffff;
  font-weight: 900;
  letter-spacing: 0.06em;
  font-size: 1.4rem;
  text-shadow: 0 2px 0 rgba(0,0,0,0.32);
}

.brand-logo {
  height: 52px;
  width: auto;
  display: block;
}

.footer-logo {
  height: 44px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 999px;
  transition: 180ms ease;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255,255,255,0.05);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: white;
  border-radius: 999px;
}

.hero {
  padding-top: 74px;
}

.hero-grid,
.split-grid,
.support-grid,
.footer-wrap,
.cta-card,
.nav-wrap {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(154, 17, 24, 0.18);
  border: 1px solid rgba(215, 27, 39, 0.25);
  color: #ffd5d8;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.hero h1,
.page-hero h1,
.section-heading h2,
.panel h2,
.cta-card h2,
.roadmap-card h2,
.support-card h2 {
  margin: 0;
  line-height: 0.96;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  letter-spacing: -0.06em;
}

.hero-text,
.section-heading p,
.panel p,
.cta-card p,
.roadmap-card p,
.support-card p,
.page-hero p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-text {
  max-width: 650px;
  margin: 22px 0 0;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(180deg, var(--red-bright), var(--red));
  color: white;
  box-shadow: 0 18px 38px rgba(154, 17, 24, 0.32);
}

.button-secondary {
  color: white;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
}

.full-width {
  width: 100%;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-points span,
.check-list li,
.stat-card,
.download-card,
.feature-card,
.panel,
.stats-panel,
.roadmap-card,
.support-card,
.cta-card {
  border: 1px solid rgba(255,255,255,0.08);
}

.hero-points span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  color: #d7ddeb;
  font-weight: 600;
  font-size: 0.94rem;
}

.hero-visual {
  position: relative;
  min-height: 640px;
}

.screen-card {
  position: absolute;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(16, 22, 36, 0.94), rgba(10, 14, 24, 0.96));
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.large-card {
  top: 0;
  left: 0;
  width: 82%;
  transform: rotate(-2.4deg);
}

.floating-card {
  right: 0;
  bottom: 36px;
  width: 54%;
  transform: rotate(4deg);
}

.screen-card img {
  width: 100%;
  height: auto;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading h2 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.05em;
  margin-top: 4px;
}

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

.feature-card,
.download-card,
.panel,
.stats-panel,
.roadmap-card,
.support-card,
.cta-card {
  background: linear-gradient(180deg, rgba(19, 25, 41, 0.92), rgba(10, 14, 24, 0.94));
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.feature-card,
.download-card,
.panel,
.support-card,
.roadmap-card {
  padding: 24px;
}

.feature-card h3,
.platform-title {
  margin: 18px 0 10px;
  font-size: 1.25rem;
}

.feature-card p,
.download-card p,
.roadmap-card li,
.support-card p {
  color: var(--muted);
  line-height: 1.7;
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: white;
  background: linear-gradient(180deg, rgba(215, 27, 39, 0.9), rgba(154, 17, 24, 0.9));
  box-shadow: 0 12px 26px rgba(154, 17, 24, 0.25);
}

.alt-section {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0));
}

.split-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 20px;
  align-items: stretch;
}

.panel {
  padding: 28px;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}

.check-list li {
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  padding: 16px 18px;
}

.stats-panel {
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 190px;
  padding: 22px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(214, 166, 61, 0.12), transparent 35%),
    linear-gradient(180deg, rgba(24, 31, 51, 0.95), rgba(11, 15, 26, 0.98));
}

.stat-card strong {
  font-size: 1.7rem;
  letter-spacing: -0.03em;
}

.stat-card span {
  color: var(--muted);
  margin-top: 8px;
}

.download-grid {
  grid-template-columns: repeat(3, 1fr);
}

.download-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.download-unified {
  display: grid;
  gap: 22px;
  padding: 30px;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at top left, rgba(154, 17, 24, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(19, 25, 41, 0.94), rgba(10, 14, 24, 0.97));
  box-shadow: var(--shadow);
}

.download-unified-top {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: start;
}

.download-unified-copy h3 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3rem);
  letter-spacing: -0.05em;
}

.download-unified-copy p,
.download-selected-panel p,
.platform-option-copy span,
.download-selection-badge span {
  color: var(--muted);
  line-height: 1.7;
}

.download-badge {
  margin-bottom: 16px;
}

.download-selection-badge {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 100%;
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at top right, rgba(214, 166, 61, 0.11), transparent 34%),
    linear-gradient(180deg, rgba(21, 28, 46, 0.98), rgba(10, 15, 26, 0.98));
}

.download-selection-badge strong {
  display: block;
  font-size: clamp(1.65rem, 4vw, 2.4rem);
  letter-spacing: -0.04em;
}

.download-selection-icon,
.platform-option-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  background: linear-gradient(180deg, rgba(215, 27, 39, 0.92), rgba(154, 17, 24, 0.92));
  box-shadow: 0 18px 34px rgba(154, 17, 24, 0.28);
}

.download-selection-icon {
  width: 94px;
  height: 94px;
  border-radius: 28px;
}

.platform-option-icon {
  width: 56px;
  height: 56px;
  border-radius: 18px;
}

.download-selection-icon svg,
.platform-option-icon svg {
  width: 50%;
  height: 50%;
  display: block;
  margin: 0 auto;
  fill: currentColor;
}

.platform-selector {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.platform-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.08);
  background:
    linear-gradient(180deg, rgba(21, 28, 46, 0.98), rgba(10, 15, 26, 0.98));
  color: white;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.platform-option:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.14);
}

.platform-option.is-selected {
  border-color: rgba(215, 27, 39, 0.34);
  background:
    radial-gradient(circle at top left, rgba(154, 17, 24, 0.18), transparent 34%),
    linear-gradient(180deg, rgba(22, 28, 45, 0.98), rgba(10, 14, 24, 0.98));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.platform-option-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.platform-option-copy strong {
  font-size: 1.12rem;
  letter-spacing: -0.02em;
}

.platform-option-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(154, 17, 24, 0.18);
  border: 1px solid rgba(215, 27, 39, 0.28);
  color: #ffd9dc;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.download-unified-footer {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: center;
}

.download-selected-panel {
  padding: 22px 24px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.035);
}

.download-selected-meta {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(154, 17, 24, 0.18);
  border: 1px solid rgba(215, 27, 39, 0.28);
  color: #ffd9dc;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.download-selected-panel h4 {
  margin: 14px 0 10px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -0.04em;
}

.download-actions-stack {
  justify-content: flex-end;
}

.page-hero {
  padding-top: 74px;
  padding-bottom: 42px;
}

.page-hero-copy {
  max-width: 820px;
}

.page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  letter-spacing: -0.06em;
}

.roadmap-list {
  display: grid;
  gap: 18px;
}

.roadmap-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  align-items: start;
}

.roadmap-phase {
  position: sticky;
  top: 106px;
  height: fit-content;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(154, 17, 24, 0.16);
  border: 1px solid rgba(215, 27, 39, 0.26);
  color: #ffe1e3;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.roadmap-card ul {
  margin: 20px 0 0;
  padding-left: 18px;
}

.roadmap-card li + li {
  margin-top: 10px;
}

.support-focus-section {
  padding-top: 20px;
}

.support-hero-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  padding: 30px;
  border-radius: 32px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  background:
    radial-gradient(circle at top left, rgba(154, 17, 24, 0.24), transparent 36%),
    linear-gradient(180deg, rgba(19, 25, 41, 0.94), rgba(10, 14, 24, 0.96));
}

.support-hero-copy h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.05em;
  margin: 0;
}

.support-hero-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.support-actions {
  margin-top: 24px;
}

.fundraiser-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.fundraiser-meta > div,
.support-mini-card {
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.035);
}

.fundraiser-meta > div {
  padding: 18px;
}

.fundraiser-label {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.fundraiser-value {
  display: block;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  letter-spacing: -0.04em;
}

.progress-wrap {
  margin-top: 22px;
}

.progress-bar {
  height: 18px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.3);
}

.progress-fill {
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(215, 27, 39, 0.95), rgba(214, 166, 61, 0.95));
  box-shadow: 0 12px 30px rgba(154, 17, 24, 0.28);
  transition: width 900ms cubic-bezier(.2,.8,.2,1);
}

.progress-caption {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.95rem;
}

.support-side-panel {
  display: grid;
  gap: 18px;
}

.support-mini-card {
  padding: 24px;
}

.support-mini-card h3 {
  margin: 16px 0 10px;
  font-size: 1.2rem;
}

.support-mini-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.support-mini-accent {
  background:
    radial-gradient(circle at top right, rgba(214, 166, 61, 0.12), transparent 40%),
    rgba(255,255,255,0.035);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.cta-section {
  padding-top: 32px;
}

.cta-card {
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background:
    radial-gradient(circle at top left, rgba(154, 17, 24, 0.22), transparent 32%),
    linear-gradient(180deg, rgba(21, 27, 43, 0.98), rgba(10, 14, 23, 0.98));
}

.footer {
  padding: 30px 0 46px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand {
  margin-bottom: 12px;
}

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

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

.footer-links a {
  text-decoration: none;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 999px;
}

.footer-links a:hover {
  color: white;
  background: rgba(255,255,255,0.05);
}

.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 200ms; }

@media (max-width: 1080px) {
  .hero-grid,
  .split-grid,
  .download-grid,
  .feature-grid,
  .support-grid,
  .roadmap-item,
  .cta-card,
  .support-hero-card,
  .download-spotlight {
    grid-template-columns: 1fr;
  }

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

  .fundraiser-meta {
    grid-template-columns: 1fr;
  }

  .download-grid,
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .download-grid-expanded {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 720px;
  }

  .roadmap-phase {
    position: static;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 72px 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 22px;
    background: rgba(10, 13, 22, 0.96);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-visual {
    min-height: 500px;
  }

  .large-card {
    width: 92%;
  }

  .floating-card {
    width: 66%;
    bottom: 16px;
  }

  .feature-grid,
  .download-grid,
  .support-grid,
  .stats-panel,
  .fundraiser-meta,
  .download-grid-expanded {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .cta-actions,
  .footer-wrap,
  .progress-caption,
  .other-versions-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .download-selection-badge {
    min-height: 0;
  }

  .download-selection-icon {
    width: 78px;
    height: 78px;
  }
}

.support-live-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.live-pill::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.45);
}

.live-pill-active {
  color: #fff3d0;
  border-color: rgba(255, 90, 90, 0.36);
  background: linear-gradient(180deg, rgba(140, 18, 18, 0.28), rgba(78, 9, 9, 0.18));
}

.live-pill-active::before {
  background: #ff5d5d;
  box-shadow: 0 0 14px rgba(255, 78, 78, 0.8);
}

.recent-support-list {
  display: grid;
  gap: 10px;
}

.supporter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

.supporter-row strong {
  color: var(--text);
  font-size: 0.97rem;
}

.supporter-row span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.84rem;
}

.supporter-row-empty {
  justify-content: flex-start;
  color: var(--muted);
}

@media (max-width: 760px) {
  .support-live-row {
    flex-direction: column;
    align-items: flex-start;
  }
}