:root {
  --navy: #020512;
  --navy-soft: #0B1026;
  --accent: #2563EB;
  --accent-strong: #1D4ED8;
  --green: #059669;
  --text: #0F172A;
  --muted: #475569;
  --faint: #94A3B8;
  --line: #E2E8F0;
  --bg: #FFFFFF;
  --bg-alt: #F8FAFC;
  --radius: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.site-nav { display: flex; gap: 24px; font-size: 15px; font-weight: 500; }
.site-nav a { color: var(--muted); }
.site-nav a:hover { color: var(--accent); text-decoration: none; }
@media (max-width: 640px) { .site-nav { display: none; } }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(ellipse at 70% 20%, #14204d 0%, var(--navy) 55%);
  color: #FFFFFF;
  overflow: hidden;
}
.hero .container {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px;
  align-items: center; padding-top: 72px; padding-bottom: 72px;
}
@media (max-width: 800px) {
  .hero .container { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 48px; }
}
.hero-badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(37, 99, 235, 0.18); border: 1px solid rgba(96, 145, 255, 0.45);
  color: #A9C4FF; font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.hero h1 { font-size: clamp(40px, 6vw, 60px); font-weight: 900; line-height: 1.1; }
.hero .tagline {
  font-size: clamp(20px, 3vw, 26px); font-weight: 600; color: #93B4F8;
  margin-top: 8px; margin-bottom: 20px;
}
.hero p.lead { font-size: 17px; color: #C7D2E8; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 12px;
  font-size: 16px; font-weight: 700;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #FFFFFF; }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { border: 1px solid rgba(255,255,255,0.35); color: #E6ECF8; }
.btn-ghost:hover { border-color: #FFFFFF; }
.hero-art { display: flex; justify-content: center; }
.hero-art img {
  width: min(380px, 85%); border-radius: 24px;
  box-shadow: 0 24px 70px rgba(37, 99, 235, 0.35);
}

/* ---------- Games strip ---------- */
.games { background: var(--navy); padding: 22px 0 34px; }
.games .container { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.game-chip {
  padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 600;
  color: #C7D2E8; border: 1px solid rgba(147, 180, 248, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section.alt { background: var(--bg-alt); }
.section-title { font-size: clamp(28px, 4vw, 36px); font-weight: 800; text-align: center; }
.section-sub { text-align: center; color: var(--muted); max-width: 620px; margin: 12px auto 0; font-size: 17px; }

/* ---------- Features ---------- */
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px;
}
@media (max-width: 860px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px;
}
.feature-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: #EFF4FF; color: var(--accent); margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.feature-card p { font-size: 15px; color: var(--muted); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: center; padding: 0 12px; }
.step-num {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #FFFFFF; font-size: 22px; font-weight: 800;
}
.step h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--muted); }

/* ---------- Privacy section ---------- */
.privacy-box {
  margin-top: 44px; text-align: center;
  background: var(--navy); color: #E6ECF8; border-radius: 22px; padding: 44px 40px;
}
@media (max-width: 800px) { .privacy-box { padding: 32px 24px; } }
.privacy-box h3 { font-size: 24px; font-weight: 800; color: #FFFFFF; margin-bottom: 12px; }
.privacy-box p { color: #AAB8D4; font-size: 15px; max-width: 560px; margin: 0 auto; }
.privacy-links { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 16px; font-weight: 600; justify-content: center; }
.privacy-links a { color: #93B4F8; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 44px 0; }
.footer-top {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 14px; font-weight: 500; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--accent); }
.footer-meta { margin-top: 22px; font-size: 13px; color: var(--faint); }

/* ---------- Legal pages ---------- */
.legal-main { max-width: 760px; margin: 0 auto; padding: 56px 24px 72px; }
.legal-main h1 { font-size: clamp(30px, 4vw, 38px); font-weight: 800; margin-bottom: 12px; }
.legal-intro { color: var(--muted); font-size: 16px; margin-bottom: 26px; }
.legal-notice {
  background: #EFF4FF; border: 1px solid #C7D8FE; border-radius: 12px;
  padding: 16px 18px; font-size: 15px; color: #1E3A8A; margin-bottom: 34px;
}
.legal-main h2 { font-size: 20px; font-weight: 700; margin: 32px 0 8px; }
.legal-main p { font-size: 15.5px; color: #334155; }
.legal-contact { margin-top: 10px; font-weight: 600; }
.legal-note { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }
