:root {
  --bg-deep: #071923;
  --bg-mid: #0d2d3c;
  --bg-soft: #12485b;
  --sun: #ffd166;
  --pop-coral: #ff6b6b;
  --mint: #2ec4b6;
  --ink: #f6f7f8;
  --muted: #bdd6df;
  --card: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.2);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(255, 209, 102, 0.2), transparent 35%),
    radial-gradient(circle at 85% 20%, rgba(46, 196, 182, 0.2), transparent 30%),
    radial-gradient(circle at 50% 90%, rgba(255, 107, 107, 0.2), transparent 35%),
    linear-gradient(140deg, var(--bg-deep), var(--bg-mid) 45%, var(--bg-soft));
  background-attachment: fixed;
  line-height: 1.6;
}

.page-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px 56px;
}

.topbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  letter-spacing: 0.6px;
  color: var(--ink);
  text-decoration: none;
}

.logo-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 10px rgba(255, 209, 102, 0.2);
}

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

.nav-link {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--border);
  background: var(--card);
  padding: 8px 14px;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.18);
}

.hero {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(6, 22, 31, 0.45);
  box-shadow: var(--shadow);
  padding: 38px 28px;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  right: -60px;
  top: -60px;
  background: radial-gradient(circle at center, rgba(255, 209, 102, 0.6), transparent 72%);
  pointer-events: none;
}

.kicker {
  display: inline-block;
  margin: 0 0 12px;
  color: var(--sun);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
}

h1,
h2 {
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  margin-bottom: 14px;
}

.hero p {
  max-width: 700px;
  color: var(--muted);
  margin-top: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  text-decoration: none;
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  cursor: pointer;
}

.button.primary {
  color: #0d1b2a;
  background: var(--sun);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid var(--border);
}

.section-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 24px;
}

.card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.card h3 {
  margin-top: 0;
}

.promo-cards .card {
  min-height: 180px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.badge {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.1);
  color: #f4fff9;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 0.84rem;
  letter-spacing: 0.3px;
}

.timeline,
.download {
  margin-top: 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(7, 19, 28, 0.56);
  box-shadow: var(--shadow);
  padding: 24px;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.timeline-grid div {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}

.timeline-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.privacy-wrap,
.ads-wrap {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(7, 19, 28, 0.56);
  box-shadow: var(--shadow);
  padding: 26px;
}

.privacy-wrap ul {
  margin-top: 0;
  color: var(--muted);
}

.privacy-wrap li {
  margin-bottom: 4px;
}

.inline-link {
  color: #d9fff6;
}

pre.ads-code {
  margin: 0;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.3);
  color: #dffaf5;
  overflow-x: auto;
}

.footer {
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

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

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

@media (max-width: 700px) {
  .page-shell {
    padding: 18px 14px 34px;
  }

  .hero,
  .privacy-wrap,
  .ads-wrap {
    padding: 22px 16px;
  }
}
