/* Huereka — landing + privacy page styles.
 * Color palette mirrors the in-game premium modal pattern:
 *  - Deep slate-blue bg
 *  - Warm off-white text (#F2EEE6)
 *  - Muted gold accent (#D4A843)
 *  - Bebas Neue display titles + DM Sans body + DM Mono numerals
 */

:root {
  --bg: #0F172A;            /* slate-900 */
  --bg-elevated: #1E293B;   /* slate-800 — cards / sections */
  --bg-frame: #334155;      /* slate-700 — modal-style cards */
  --text: #F2EEE6;          /* warm off-white */
  --text-dim: rgba(242, 238, 230, 0.70);
  --text-mute: rgba(242, 238, 230, 0.45);
  --gold: #D4A843;          /* primary accent */
  --gold-dim: rgba(212, 168, 67, 0.60);
  --gold-tint: rgba(212, 168, 67, 0.10);
  --gold-tint-border: rgba(212, 168, 67, 0.22);
  --gold-deep: #9A6E1E;     /* darker gold for gradients */
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.45);
  --radius-card: 28px;
  --radius-btn: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Subtle vignette */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212, 168, 67, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(212, 168, 67, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

a { color: var(--gold); text-decoration: none; transition: color 120ms ease; }
a:hover { color: #E8BB58; }

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------------------------------------------------------------------------
 * Header / nav
 * ------------------------------------------------------------------------- */

.site-header {
  padding: 24px 0;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
  background: rgba(15, 23, 42, 0.75);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Bebas Neue', system-ui, sans-serif;
  font-size: 28px;
  letter-spacing: 0.04em;
  color: var(--text);
}
.brand img { width: 36px; height: 36px; border-radius: 8px; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a { color: var(--text-dim); font-size: 16px; }
.nav-links a:hover { color: var(--text); }

/* ---------------------------------------------------------------------------
 * Hero
 * ------------------------------------------------------------------------- */

.hero {
  padding: 96px 0 64px;
  text-align: center;
}

.hero-icon {
  width: 168px;
  height: 168px;
  border-radius: 36px;
  margin: 0 auto 36px;
  display: block;
  box-shadow: 0 30px 80px rgba(212, 168, 67, 0.18), 0 6px 30px rgba(0, 0, 0, 0.4);
}

.hero h1 {
  font-family: 'Bebas Neue', system-ui, sans-serif;
  font-size: clamp(72px, 14vw, 152px);
  letter-spacing: 0.02em;
  line-height: 0.9;
  margin-bottom: 24px;
  background: linear-gradient(180deg, var(--text) 0%, rgba(242, 238, 230, 0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-accent {
  display: inline-block;
  width: 88px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 0 auto 28px;
}

.hero-tagline {
  font-size: clamp(18px, 2.4vw, 22px);
  color: var(--text-dim);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.5;
}

/* Download buttons */
.download-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  background: #000;
  color: #fff !important;
  border-radius: 14px;
  font-size: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  min-width: 220px;
  transition: transform 120ms ease, border-color 120ms ease;
}
.dl-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}
.dl-btn svg { flex-shrink: 0; }
.dl-btn .dl-label { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.dl-btn .dl-small { font-size: 11px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.05em; }
.dl-btn .dl-large { font-family: 'DM Sans', sans-serif; font-size: 19px; font-weight: 500; line-height: 1; }
.dl-btn.disabled {
  opacity: 0.55;
  pointer-events: none;
  cursor: not-allowed;
}
.dl-btn.disabled .dl-small::before { content: "Coming soon — "; }

/* ---------------------------------------------------------------------------
 * About / Features
 * ------------------------------------------------------------------------- */

section { padding: 80px 0; }

.section-title {
  font-family: 'Bebas Neue', system-ui, sans-serif;
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: 0.02em;
  text-align: center;
  margin-bottom: 16px;
}

.section-accent {
  display: block;
  width: 64px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 0 auto 48px;
}

.about-text {
  font-size: 20px;
  color: var(--text-dim);
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  line-height: 1.7;
}

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

.feature-card {
  background: var(--bg-frame);
  border-radius: var(--radius-card);
  padding: 36px 28px;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.feature-card .icon-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--gold-tint);
  border: 1px solid var(--gold-tint-border);
  color: var(--gold);
  font-size: 26px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: 'Bebas Neue', system-ui, sans-serif;
  font-size: 26px;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  color: var(--text);
}

.feature-card p {
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.6;
}

/* ---------------------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px 0 64px;
  margin-top: 64px;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 28px;
  justify-content: center;
  list-style: none;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-dim);
  font-size: 15px;
}

.footer-credit {
  color: var(--text-mute);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.footer-credit small { font-family: 'DM Mono', monospace; font-size: 12px; opacity: 0.7; }

/* ---------------------------------------------------------------------------
 * Privacy page
 * ------------------------------------------------------------------------- */

.policy {
  padding: 64px 0;
}

.policy h1 {
  font-family: 'Bebas Neue', system-ui, sans-serif;
  font-size: clamp(52px, 8vw, 88px);
  letter-spacing: 0.02em;
  margin-bottom: 8px;
  text-align: center;
}
.policy .last-updated {
  text-align: center;
  color: var(--text-mute);
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  margin-bottom: 48px;
}

.policy h2 {
  font-family: 'Bebas Neue', system-ui, sans-serif;
  font-size: 30px;
  letter-spacing: 0.04em;
  margin: 56px 0 16px;
  color: var(--gold);
}

.policy h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--text);
}

.policy p, .policy li {
  color: var(--text-dim);
  margin-bottom: 14px;
}

.policy ul, .policy ol {
  margin: 0 0 20px 28px;
}

.policy strong { color: var(--text); }
.policy a { border-bottom: 1px dashed var(--gold-dim); }
.policy a:hover { border-bottom-color: var(--gold); }

.policy-callout {
  background: var(--gold-tint);
  border: 1px solid var(--gold-tint-border);
  border-radius: 16px;
  padding: 20px 24px;
  margin: 24px 0;
  color: var(--text-dim);
}
