/* ═══════════════════════════════════════════════════════
   SUDOKU RUSH — Web · pedromonedero.net/sudokurush/
═══════════════════════════════════════════════════════ */

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

:root {
  --bg:        #0e1912;
  --surface:   #16231a;
  --surface-2: #1e2e23;
  --border:    rgba(120,180,130,0.12);
  --primary:   #52b788;
  --primary-d: #3d9268;
  --accent:    #f4d03f;
  --text:      #dce8de;
  --muted:     #7a9882;
  --r:         10px;
  --r-lg:      20px;
  --sh:        0 8px 32px rgba(0,0,0,0.5);
  --max-w:     1100px;
}

html  { scroll-behavior: smooth; }
body  { font-family: system-ui,-apple-system,sans-serif; background:var(--bg); color:var(--text); line-height:1.65; font-size:16px; }
h1,h2,h3 { font-family: Georgia,'Times New Roman',serif; line-height:1.2; }
a { color:var(--primary); text-decoration:none; }
a:hover { opacity:.8; }
img { display:block; }

/* ── HEADER ── */
header {
  position: sticky; top:0; z-index:100;
  background: rgba(14,25,18,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
nav {
  max-width:var(--max-w); margin:0 auto; padding:13px 24px;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.nav-brand {
  display:flex; align-items:center; gap:10px;
  font-family:Georgia,serif; font-size:1.1rem; font-weight:bold; color:var(--text);
}
.nav-brand img { width:34px; height:34px; border-radius:8px; }
.nav-links { display:flex; align-items:center; gap:18px; }
.nav-links a { color:var(--muted); font-size:.9rem; transition:color .2s; }
.nav-links a:hover { color:var(--text); }

/* Language picker */
.lang-picker { position:relative; }
.lang-current {
  background:var(--surface-2); border:1px solid var(--border); border-radius:8px;
  padding:6px 12px; cursor:pointer; font-size:.87rem; color:var(--text);
  display:flex; align-items:center; gap:6px; user-select:none; transition:background .15s;
}
.lang-current:hover { background:var(--surface); }
.lang-current .arrow { font-size:.7rem; color:var(--muted); transition:transform .15s; }
.lang-picker.open .arrow { transform:rotate(180deg); }
.lang-dropdown {
  display:none; position:absolute; right:0; top:calc(100% + 6px);
  background:var(--surface-2); border:1px solid var(--border); border-radius:var(--r);
  padding:6px; min-width:170px; box-shadow:var(--sh);
  flex-direction:column; gap:2px; z-index:200;
}
.lang-picker.open .lang-dropdown { display:flex; }
.lang-opt {
  display:flex; align-items:center; gap:8px; padding:8px 12px;
  border-radius:6px; cursor:pointer; font-size:.87rem; color:var(--text);
  transition:background .15s;
}
.lang-opt:hover { background:var(--surface); }
.lang-opt.active { color:var(--primary); font-weight:600; }

/* ── HERO ── */
.hero {
  padding:90px 24px 80px; text-align:center;
  background:radial-gradient(ellipse 80% 55% at 50% 0%, rgba(82,183,136,.13) 0%, transparent 70%);
}
.hero-logo {
  width:116px; height:116px; border-radius:22px;
  box-shadow:0 16px 48px rgba(0,0,0,.65);
  animation:logo-float 4s ease-in-out infinite;
  margin:0 auto 28px;
}
@keyframes logo-float {
  0%,100% { transform:translateY(0); }
  50%      { transform:translateY(-9px); }
}
.hero h1 {
  font-size:clamp(2.2rem,6vw,3.8rem); color:var(--text); margin-bottom:12px;
}
.hero h1 em { font-style:italic; color:var(--primary); }
.hero-tagline { font-size:clamp(1rem,2.5vw,1.2rem); color:var(--muted); margin-bottom:22px; }
.hero-pills {
  display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-bottom:36px;
}
.pill {
  background:var(--surface-2); border:1px solid var(--border);
  border-radius:999px; padding:5px 14px; font-size:.82rem; color:var(--muted);
}
.pill.hi { background:rgba(82,183,136,.13); border-color:rgba(82,183,136,.3); color:var(--primary); }

/* Google Play badge */
.play-badge {
  display:inline-flex; align-items:center; gap:12px;
  background:var(--primary); color:#0e1912;
  border-radius:var(--r-lg); padding:14px 30px;
  font-weight:700; font-size:1rem;
  box-shadow:0 4px 22px rgba(82,183,136,.45);
  transition:transform .15s, box-shadow .15s;
  text-decoration:none;
}
.play-badge:hover { transform:translateY(-2px); box-shadow:0 8px 30px rgba(82,183,136,.55); opacity:1; }
.play-badge svg { width:22px; height:22px; flex-shrink:0; }

/* ── SECTION COMMON ── */
section { padding:80px 24px; }
.container { max-width:var(--max-w); margin:0 auto; }
.section-title {
  text-align:center; font-size:clamp(1.45rem,3.5vw,2.1rem);
  margin-bottom:48px; color:var(--text);
}

/* ── FEATURES ── */
.features { background:var(--surface); }
.features-grid {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px; max-width:var(--max-w); margin:0 auto;
}
.feature-card {
  background:var(--surface-2); border:1px solid var(--border);
  border-radius:var(--r-lg); padding:28px 22px; text-align:center;
  transition:transform .2s, box-shadow .2s;
}
.feature-card:hover { transform:translateY(-4px); box-shadow:var(--sh); }
.feature-icon { font-size:2.2rem; margin-bottom:14px; }
.feature-card h3 { font-size:1rem; margin-bottom:8px; }
.feature-card p { font-size:.87rem; color:var(--muted); line-height:1.55; }

/* ── HOW TO PLAY ── */
.steps {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:28px; max-width:900px; margin:0 auto;
}
.step { display:flex; gap:18px; align-items:flex-start; }
.step-num {
  width:42px; height:42px; border-radius:50%; background:var(--primary);
  color:#0e1912; font-weight:800; font-size:1.1rem;
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.step-body h3 { font-size:1rem; margin-bottom:6px; }
.step-body p  { font-size:.87rem; color:var(--muted); }

/* ── SCREENSHOTS ── */
.screenshots { background:var(--surface); text-align:center; }
.screenshots-row {
  display:flex; gap:20px; justify-content:center;
  flex-wrap:wrap; margin-top:40px;
}
.phone-frame {
  width:175px; height:310px; border-radius:22px;
  border:2px solid var(--border); background:var(--surface-2);
  overflow:hidden; box-shadow:var(--sh);
  display:flex; align-items:center; justify-content:center;
  color:var(--muted); font-size:.78rem; text-align:center; padding:10px;
}
.phone-frame img { width:100%; height:100%; object-fit:cover; }

/* ── DOWNLOAD CTA ── */
.download-cta {
  text-align:center;
  background:radial-gradient(ellipse 70% 80% at 50% 50%, rgba(82,183,136,.1) 0%, transparent 70%);
}
.download-cta h2 { font-size:clamp(1.55rem,4vw,2.5rem); margin-bottom:14px; }
.download-cta p  { color:var(--muted); margin-bottom:34px; font-size:1.05rem; }

/* ── FOOTER ── */
footer {
  background:var(--surface); border-top:1px solid var(--border);
  padding:28px 24px; text-align:center; color:var(--muted); font-size:.84rem;
}
.footer-inner { display:flex; flex-wrap:wrap; justify-content:center; gap:14px; align-items:center; }
footer a { color:var(--muted); transition:color .2s; }
footer a:hover { color:var(--primary); }
.footer-dot { opacity:.35; }

/* ── PRIVACY PAGE ── */
.privacy-wrap { max-width:780px; margin:0 auto; padding:60px 24px 100px; }
.privacy-wrap h1 { font-size:clamp(1.7rem,4vw,2.4rem); margin-bottom:6px; }
.privacy-updated { color:var(--muted); font-size:.87rem; margin-bottom:50px; }
.privacy-section { margin-bottom:40px; }
.privacy-section h2 {
  font-size:1.15rem; color:var(--primary); margin-bottom:12px;
  padding-bottom:8px; border-bottom:1px solid var(--border);
}
.privacy-section p  { font-size:.95rem; color:var(--text); line-height:1.72; margin-bottom:10px; }
.privacy-section ul { padding-left:20px; margin-bottom:10px; }
.privacy-section li { font-size:.95rem; color:var(--text); line-height:1.72; margin-bottom:4px; }
.privacy-section a  { color:var(--primary); }

/* ── RESPONSIVE ── */
@media (max-width:640px) {
  .hero { padding:65px 18px 56px; }
  .hero-logo { width:88px; height:88px; }
  nav { padding:11px 16px; }
  .nav-brand span { display:none; }
}
