/* Boisterous Buttons! — marketing site
   Palette lifted directly from the app's own asset catalog (BgGradientTop/
   Bottom, BlockFillActive) so the site reads as the same product. */

:root {
  --bg-top:      #06091a;
  --bg-bottom:   #0d1528;
  --card-bg:     #10192e;
  --card-border: #1f2c4d;
  --text:        #eef1fb;
  --text-dim:    #a7b0c9;
  --green:       #4add80;
  --purple:      #af78ff;
  --purple-deep: #7c3aed;
  --orange:      #ff8c2e;
  --blue:        #4f9dff;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 55%, var(--bg-bottom) 100%);
  line-height: 1.55;
}

h1, h2, h3 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em 0;
}

p { margin: 0 0 1em 0; }
ul, ol { margin: 0; padding-left: 1.25em; }
li { margin-bottom: 0.4em; }

a { color: var(--blue); }

/* ───────────────────────── Hero ───────────────────────── */

.hero {
  padding: 0 0 64px 0;
  background:
    radial-gradient(ellipse 900px 500px at 50% -10%, rgba(74, 221, 128, 0.12), transparent 60%),
    radial-gradient(ellipse 700px 400px at 85% 10%, rgba(175, 120, 255, 0.10), transparent 55%);
  border-bottom: 1px solid var(--card-border);
}

.topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.1rem;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.navlinks {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.navlinks a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.navlinks a:hover { color: var(--text); }

.hero-content {
  max-width: 720px;
  margin: 40px auto 0 auto;
  padding: 0 24px;
  text-align: center;
}

.hero-icon {
  width: 108px;
  height: 108px;
  border-radius: 26px;
  box-shadow: 0 20px 60px rgba(74, 221, 128, 0.25), 0 4px 16px rgba(0,0,0,0.4);
}

.hero-content h1 {
  font-size: 3rem;
  margin: 24px 0 8px 0;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  color: var(--text-dim);
  font-size: 1.15rem;
  max-width: 520px;
  margin: 0 auto 24px auto;
}

.hero-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.pill {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.pill-green  { background: rgba(74, 221, 128, 0.12); color: var(--green);  border-color: rgba(74, 221, 128, 0.35); }
.pill-purple { background: rgba(175, 120, 255, 0.12); color: var(--purple); border-color: rgba(175, 120, 255, 0.35); }
.pill-orange { background: rgba(255, 140, 46, 0.12); color: var(--orange); border-color: rgba(255, 140, 46, 0.35); }

/* ───────────────────────── Sections ───────────────────────── */

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 24px;
}

.section.alt {
  background: rgba(255, 255, 255, 0.015);
  max-width: 100%;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}

.section.alt > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 10px;
}

.section .lead {
  text-align: center;
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 auto 40px auto;
  font-size: 1.02rem;
}

/* ───────────────────────── Cards ───────────────────────── */

.card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, 1fr);
}

.card-grid.three { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 24px;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.card p { color: var(--text-dim); margin-bottom: 0.6em; }
.card p:last-child { margin-bottom: 0; }

.card .bullet-list { margin-bottom: 1em; }
.card .bullet-list:last-child { margin-bottom: 0; }
.card .bullet-list li { color: var(--text-dim); }
.card .bullet-list strong { color: var(--text); }

/* Mode cards */

.mode-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

.mode-emoji { font-size: 1.6rem; }

.mode-head h3 { margin: 0; font-size: 1.15rem; }

/* Version badges — v1/Beta/Alpha, also used inline in the modes lead text */

.tag-v {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-transform: none;
  letter-spacing: 0;
}

.mode-head .tag-v { margin-left: auto; }

.tag-v.v1    { background: rgba(74, 221, 128, 0.14);  color: var(--green);  border-color: rgba(74, 221, 128, 0.4); }
.tag-v.beta  { background: rgba(255, 140, 46, 0.14);  color: var(--orange); border-color: rgba(255, 140, 46, 0.4); }
.tag-v.alpha { background: rgba(167, 176, 201, 0.14); color: var(--text-dim); border-color: rgba(167, 176, 201, 0.35); }

.mode-tag {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.phase-list {
  color: var(--text-dim);
  margin: 0.6em 0 1em 0;
}

.phase-list strong { color: var(--text); }

/* Buff cards */

.buff-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.buff-head h3 { margin: 0; font-size: 1.05rem; }

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.tag-s { background: rgba(255, 140, 46, 0.18); color: var(--orange); border: 1px solid rgba(255, 140, 46, 0.4); }
.tag-a { background: rgba(175, 120, 255, 0.18); color: var(--purple); border: 1px solid rgba(175, 120, 255, 0.4); }

/* Tables */

.mission-table, .lb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin-top: 8px;
}

.mission-table th, .mission-table td,
.lb-table td {
  text-align: left;
  padding: 9px 8px;
  border-bottom: 1px solid var(--card-border);
  color: var(--text-dim);
}

.mission-table th {
  color: var(--text);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.mission-table td:last-child, .mission-table th:last-child {
  text-align: right;
  color: var(--green);
  font-weight: 700;
}

.lb-table tr:last-child td { border-bottom: none; }
.lb-table td:first-child { color: var(--text); font-weight: 700; white-space: nowrap; }

.lb-note {
  display: block;
  font-size: 0.74rem;
  color: var(--text-dim);
  font-weight: 400;
}

/* Achievements */

.badge-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 40px;
}

.badge-row img {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* ───────────────────────── Footer ───────────────────────── */

.footer {
  text-align: center;
  padding: 48px 24px 60px 24px;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.footer-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  margin-bottom: 12px;
}

/* ───────────────────────── Responsive ───────────────────────── */

@media (max-width: 760px) {
  .navlinks { display: none; }
  .hero-content h1 { font-size: 2.2rem; }
  .card-grid, .card-grid.three { grid-template-columns: 1fr; }
  .section { padding: 52px 20px; }
  .mission-table, .lb-table { font-size: 0.82rem; }
}
