/* ── Google Fonts ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@700&family=Inter:wght@400;500;600&display=swap');

/* ── Design tokens ────────────────────────────────────────────────────────── */
:root {
  --bg:               #0B2535;
  --surface:          #0D2D3F;
  --surface-hi:       #163A4F;
  --border:           #2A5568;
  --accent:           #2DC5C5;
  --accent-dim:       #1A7878;
  --text-primary:     #FFFFFF;
  --text-secondary:   #6BBFBF;
  --text-muted:       #3A6070;

  --font-serif:       'EB Garamond', Georgia, serif;
  --font-sans:        'Inter', system-ui, -apple-system, sans-serif;

  --radius-card:      16px;
  --radius-btn:       12px;
  --max-width:        960px;
  --section-gap:      32px;
}

/* ── Reset ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── Layout helpers ───────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header / nav ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(11, 37, 53, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  line-height: 1;
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; opacity: 0.85; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--text-primary); text-decoration: none; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  padding: 88px 0 80px;
  text-align: center;
}

.hero-icon {
  width: 108px;
  height: 108px;
  border-radius: 24px;
  margin: 0 auto 32px;
  display: block;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.hero-icon-placeholder {
  width: 108px;
  height: 108px;
  border-radius: 24px;
  margin: 0 auto 32px;
  background: var(--surface-hi);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-wordmark {
  font-family: var(--font-serif);
  font-size: 72px;
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.hero-tagline {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 44px;
  letter-spacing: 0.01em;
}

.store-badges {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--radius-btn);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
  text-decoration: none;
  cursor: pointer;
}
.store-badge:hover {
  background: var(--surface-hi);
  border-color: var(--accent-dim);
  text-decoration: none;
  transform: translateY(-1px);
}

.store-badge svg {
  flex-shrink: 0;
  color: var(--text-secondary);
}

.store-badge-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
}

.store-badge-sub {
  font-size: 10px;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.store-badge-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1;
}

/* ── Section shared ───────────────────────────────────────────────────────── */
.section {
  padding: var(--section-gap) 0;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  text-align: center;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 48px;
  text-align: center;
}

/* ── Games grid ───────────────────────────────────────────────────────────── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.game-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 28px 26px;
  transition: background 0.15s, transform 0.12s;
}
.game-card:hover {
  background: var(--surface-hi);
  transform: translateY(-2px);
}

.game-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.game-icon {
  width: 28px;
  height: 28px;
  color: #0B2535;
}

.game-card-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}

.game-card-name {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.1;
}

.game-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.game-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.tag {
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--surface-hi);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  letter-spacing: 0.02em;
}

/* ── Divider ──────────────────────────────────────────────────────────────── */
.divider {
  display: none;
}

/* ── Features strip ───────────────────────────────────────────────────────── */
.features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  text-align: center;
}

.feature-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  color: var(--accent);
}

.feature-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-wordmark {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text-primary); text-decoration: none; }

/* ── Privacy policy page ──────────────────────────────────────────────────── */
.policy-hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 56px;
}

.policy-hero-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.policy-hero-title {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 14px;
}

.policy-hero-meta {
  font-size: 14px;
  color: var(--text-secondary);
}

.policy-body {
  max-width: 680px;
  padding-bottom: 96px;
}

.policy-body h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.2px;
  color: var(--text-primary);
  margin-top: 52px;
  margin-bottom: 14px;
}

.policy-body p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
}

.policy-body ul {
  list-style: none;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.policy-body ul li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  padding-left: 18px;
  position: relative;
}
.policy-body ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent-dim);
}

.policy-body a { color: var(--accent); }

.policy-callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 18px 20px;
  margin: 24px 0;
}

.policy-callout p {
  margin-bottom: 0;
  font-size: 14px;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 680px) {
  :root { --section-gap: 24px; }

  .hero { padding: 60px 0 56px; }
  .hero-wordmark { font-size: 52px; }
  .hero-tagline { font-size: 16px; }

  .section-title { font-size: 28px; }

  .games-grid { grid-template-columns: 1fr; }
  .features-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; align-items: flex-start; }

  .policy-hero-title { font-size: 34px; }

  .nav-links { gap: 16px; }
}

@media (max-width: 400px) {
  .store-badges { flex-direction: column; align-items: center; }
  .store-badge { width: 100%; max-width: 280px; justify-content: center; }
}
