:root {
  --deep-space: #0b1026;
  --midnight: #10193a;
  --nebula: #1a2b5e;
  --cosmic-purple: #2d1b4e;
  --surface: #162044;
  --surface-highlight: #1e2d63;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.75);
  --text-muted: rgba(255, 255, 255, 0.5);
  --amber: #ffb347;
  --coral: #ff6b6b;
  --gold: #ffd700;
  --violet: #8b5cf6;
  --pink: #ff4ecd;
  --cyan: #22d3ee;
  --radius: 24px;
  --radius-sm: 16px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, sans-serif;
  background: linear-gradient(135deg, var(--deep-space) 0%, var(--midnight) 50%, var(--cosmic-purple) 100%);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

.stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    radial-gradient(circle at 80% 40%, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    radial-gradient(circle at 50% 80%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 240px 240px, 320px 320px, 180px 180px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(11, 16, 38, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
}

.logo-emoji {
  font-size: 1.75rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber), var(--coral));
  color: #0b1026;
}

.btn-glow {
  box-shadow: 0 8px 28px rgba(255, 179, 71, 0.35);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-large {
  padding: 18px 36px;
  font-size: 1.1rem;
}

/* Hero */
.hero {
  padding: 80px 0 100px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-copy {
  max-width: 560px;
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 78, 205, 0.15);
  border: 1px solid rgba(255, 78, 205, 0.3);
  color: var(--pink);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

h1 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 20px;
}

.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.microcopy {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Phone mockup */
.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #1e2d63, #0b1026);
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow), 0 0 80px rgba(139, 92, 246, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: rotate(-3deg);
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #162044 0%, #0b1026 100%);
  border-radius: 30px;
  overflow: hidden;
  padding: 24px;
}

.screen-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mode-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.mode-card {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mode-card span {
  font-size: 1.8rem;
}

.mode-card.general { background: rgba(245, 158, 11, 0.2); }
.mode-card.adult { background: rgba(139, 92, 246, 0.2); }
.mode-card.couple { background: rgba(225, 29, 72, 0.2); }
.mode-card.premium { background: rgba(255, 215, 0, 0.2); }

/* Sections */
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 60px;
}

h2 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin: 0 0 12px;
}

.section-head p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin: 0;
}

.games, .how {
  padding: 80px 0;
}

/* Game cards */
.game-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.game-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 179, 71, 0.4);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.game-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.game-card h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.25rem;
  margin: 0 0 8px;
}

.game-card p {
  color: var(--text-secondary);
  margin: 0;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  text-align: center;
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--pink));
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.step h3 {
  font-family: 'Nunito', sans-serif;
  margin: 0 0 8px;
}

.step p {
  color: var(--text-secondary);
  margin: 0;
}

/* CTA */
.cta {
  padding: 100px 0;
}

.cta-inner {
  text-align: center;
  padding: 80px 24px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(255, 78, 205, 0.1));
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cta-inner p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin: 0 0 32px;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
}

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

.copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    max-width: 100%;
    order: 1;
  }

  .hero-visual {
    order: 0;
  }

  .hero-actions {
    justify-content: center;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(11, 16, 38, 0.95);
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav.open {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 48px 0 64px;
  }

  .phone-mockup {
    width: 220px;
    height: 440px;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .game-cards {
    grid-template-columns: 1fr;
  }
}

/* ── Android download badge ───────────────────────────────────────────────── */
.download-badges {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.download-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, transform 0.1s;
  backdrop-filter: blur(8px);
}

.download-badge:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 96, 86, 0.6);
  transform: translateY(-2px);
}

.download-badge svg {
  flex-shrink: 0;
  opacity: 0.85;
}

.badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.badge-label {
  font-size: 11px;
  opacity: 0.65;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-platform {
  font-size: 16px;
  font-weight: 700;
  font-family: var(--font-display, 'Poppins', sans-serif);
}

/* CTA multi-button layout */
.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 8px;
}
