/*
  Battleground Sensitivity — marketing site styles.

  Mirrors the in-app Amber Gold palette (see Color.kt) so the website
  feels like a continuation of the app, not a different brand. Every
  page uses the same tokens to stay consistent: legal pages reuse the
  card/divider treatment from the landing.

  Mobile-first because Play Store reviewers and most real visitors hit
  this from a phone. Desktop reads as a wider single column rather
  than a multi-column dashboard.
*/

:root {
  --bg: #0A0A0A;
  --surface: #161616;
  --card: #1F1F1F;
  --card-raised: #262421;
  --accent: #C89B3C;
  --accent-light: #D4A644;
  --accent-dark: #A07B2E;
  --accent-info: #6B8E9A;
  --text-primary: #F0ECE2;
  --text-secondary: #7A7468;
  --divider: #2A2520;
  --success: #5B9A5D;
  --error: #CF4444;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --max-width: 980px;
  --content-width: 760px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

a:hover {
  border-bottom-color: var(--accent);
}

/* ─── Navigation ─────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--divider);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary);
  border: 0;
}

.brand-icon {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--accent-light), var(--accent-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg);
  font-weight: 800;
  font-size: 14px;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-size: 13px;
}

.nav-links a {
  color: var(--text-secondary);
  border: 0;
}

.nav-links a:hover {
  color: var(--text-primary);
}

/* ─── Hero ───────────────────────────────────────────────────────── */

.hero {
  padding: 80px 20px 60px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(200, 155, 60, 0.08), transparent 60%);
}

.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 18px;
  padding: 5px 12px;
  border: 1px solid rgba(200, 155, 60, 0.3);
  border-radius: 999px;
  background: rgba(200, 155, 60, 0.05);
}

.hero h1 {
  font-size: clamp(28px, 6vw, 48px);
  line-height: 1.15;
  font-weight: 700;
  max-width: 760px;
  margin: 0 auto 16px;
  letter-spacing: -0.01em;
}

.hero h1 .gold {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border: 0;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-light), var(--accent-dark));
  color: var(--bg);
}

.btn-secondary {
  background: var(--card);
  color: var(--text-primary);
  border: 1px solid var(--divider);
}

.hero-meta {
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 8px;
}

/* ─── Section ────────────────────────────────────────────────────── */

.section {
  padding: 60px 20px;
  border-top: 1px solid var(--divider);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.6;
}

/* ─── Features grid ──────────────────────────────────────────────── */

.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 700px) {
  .features {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1000px) {
  .features {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.feature {
  background: var(--card);
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.feature:hover {
  border-color: rgba(200, 155, 60, 0.4);
  transform: translateY(-2px);
}

.feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(200, 155, 60, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 18px;
  margin-bottom: 14px;
}

.feature h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}

.feature p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ─── Highlight bar (e.g. how rewards work) ──────────────────────── */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 700px) {
  .steps {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.step {
  background: var(--card-raised);
  border-radius: var(--radius-md);
  padding: 22px;
  border: 1px solid var(--divider);
}

.step-num {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}

.step h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}

.step p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ─── Privacy / Terms / Trademark long-form pages ─────────────────── */

.legal {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 50px 20px 80px;
}

.legal h1 {
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.legal .meta {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 19px;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.legal h3 {
  font-size: 15px;
  font-weight: 600;
  margin-top: 22px;
  margin-bottom: 8px;
  color: var(--accent);
}

.legal p {
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.7;
}

.legal ul {
  margin-bottom: 14px;
  padding-left: 22px;
}

.legal li {
  font-size: 14.5px;
  color: var(--text-primary);
  line-height: 1.65;
  margin-bottom: 6px;
}

.legal li::marker {
  color: var(--accent);
}

.legal strong {
  color: var(--text-primary);
  font-weight: 600;
}

.legal code {
  font-family: var(--font-mono);
  background: var(--card);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 13px;
}

.legal a {
  border-bottom-color: rgba(200, 155, 60, 0.4);
}

.legal-callout {
  background: rgba(200, 155, 60, 0.08);
  border: 1px solid rgba(200, 155, 60, 0.25);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin: 22px 0;
}

.legal-callout p:last-child {
  margin-bottom: 0;
}

/* ─── Footer ─────────────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--divider);
  padding: 36px 20px;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer .links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
  font-size: 13px;
}

.footer .links a {
  color: var(--text-secondary);
  border: 0;
}

.footer .links a:hover {
  color: var(--text-primary);
}

.footer .disclaimer {
  font-size: 11px;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.6;
}

.footer .copy {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 12px;
  opacity: 0.7;
}

/* ─── Utility ────────────────────────────────────────────────────── */

.text-accent { color: var(--accent); }
.text-muted { color: var(--text-secondary); }
.text-error { color: var(--error); }
