/* =============================================================
   ASTERA LINGUO — style.css
   Palette et typographie alignées sur l'app Flutter :
   - Dégradé de marque : #7C3AED -> #3B82F6 (AppColors.defaultGradient)
   - Police : Nunito (NunitoSans dans l'app), chargée via Google Fonts
   - Surfaces : mintcream clair / bleu-noir profond en sombre (non utilisé
     ici en mode sombre auto, le site reste en thème clair type app)
   ============================================================= */

:root {
  --purple: #7C3AED;
  --blue: #3B82F6;
  --gradient: linear-gradient(135deg, var(--purple), var(--blue));
  --gradient-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(59, 130, 246, 0.12));

  --ink: #1A1D29;
  --ink-soft: #565B72;
  --surface: #F5FFFA;
  --surface-alt: #FFFFFF;
  --line: #E7E9F2;

  --gold: #FFC93C;
  --diamond: #4CC9F0;
  --flame: #FF7A00;
  --success: #34C759;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --shadow-soft: 0 20px 45px -20px rgba(124, 58, 237, 0.35);
  --shadow-card: 0 12px 30px -18px rgba(26, 29, 41, 0.25);

  --container: 1160px;

  --nav-bg: rgba(245, 255, 250, 0.82);
  --locked-bg: #E7E9F2;
  --locked-fg: #AEB4C7;
  /* Bandeau "jeux" : toujours sombre, volontairement indépendant du
     thème clair/sombre du site (contraste fort assumé). */
  --contrast-bg: #12162A;

  color-scheme: light;
}

html[data-theme="dark"] {
  --ink: #F5FFFA;
  --ink-soft: #A8AEC4;
  --surface: #0B0F1A;
  --surface-alt: #151A2B;
  --line: #262C42;
  --gradient-soft: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(59, 130, 246, 0.22));
  --nav-bg: rgba(11, 15, 26, 0.82);
  --locked-bg: #1E2333;
  --locked-fg: #5A6180;
  --shadow-card: 0 12px 30px -16px rgba(0, 0, 0, 0.55);
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Nunito", sans-serif;
  color: var(--ink);
  background: var(--surface);
  font-weight: 600;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 {
  font-weight: 900;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0; color: var(--ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14px;
  color: var(--purple);
  background: rgba(124, 58, 237, 0.1);
  padding: 6px 16px;
  border-radius: 999px;
}

.section {
  padding: 96px 0;
}

.section-head {
  max-width: 620px;
  margin: 0 0 56px;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin-top: 14px;
}

.section-head p {
  margin-top: 16px;
  font-size: 18px;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* -----------------------------------------------------------
   NAV
   ----------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, box-shadow .3s ease;
}

.nav.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 24px -18px rgba(26, 29, 41, 0.3);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 19px;
}

.nav-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-weight: 700;
  color: var(--ink-soft);
}

.nav-links a:hover { color: var(--purple); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-weight: 800;
  font-size: 16px;
  border: none;
  cursor: pointer;
  padding: 15px 28px;
  border-radius: 999px;
  transition: transform .25s ease, box-shadow .25s ease;
}

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

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover { box-shadow: 0 24px 50px -18px rgba(124, 58, 237, 0.5); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--line);
}

.btn-ghost:hover { border-color: var(--purple); color: var(--purple); }

.btn-sm { padding: 10px 20px; font-size: 14px; }

/* -----------------------------------------------------------
   HERO
   ----------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 60px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .55;
  z-index: 0;
  animation: float-orb 14s ease-in-out infinite;
}

.hero-orb.one {
  width: 420px; height: 420px;
  top: -140px; left: -120px;
  background: radial-gradient(circle, var(--purple), transparent 70%);
}

.hero-orb.two {
  width: 380px; height: 380px;
  top: 60px; right: -140px;
  background: radial-gradient(circle, var(--blue), transparent 70%);
  animation-delay: -6s;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, 32px) scale(1.08); }
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(38px, 5.4vw, 58px);
}

.hero-copy .gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p.lead {
  margin-top: 22px;
  font-size: 19px;
  max-width: 480px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--contrast-bg);
  color: #fff;
  padding: 12px 22px;
  border-radius: 16px;
  transition: transform .25s ease;
  position: relative;
  overflow: hidden;
}

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

.store-badge svg { width: 26px; height: 26px; flex-shrink: 0; }

.store-badge .store-text { line-height: 1.2; }
.store-badge .store-text small { display: block; font-size: 11px; opacity: .75; font-weight: 600; }
.store-badge .store-text strong { font-size: 17px; font-weight: 800; }

.hero-stats {
  margin-top: 40px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-size: 26px;
  font-weight: 900;
}

.hero-stats div span {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 700;
}

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

.phone {
  width: 280px;
  height: 570px;
  border-radius: 42px;
  background: var(--gradient);
  padding: 14px;
  box-shadow: var(--shadow-soft);
  animation: phone-drift 6s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

@keyframes phone-drift {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-14px) rotate(1deg); }
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--surface-alt);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 22px 18px;
  gap: 16px;
}

.phone-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.1);
  color: var(--purple);
}

.phone-chip.gold { background: rgba(255, 201, 60, .2); color: #B4780A; }
.phone-chip.diamond { background: rgba(76, 201, 240, .2); color: #0E7EA8; }

.phone-path {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  position: relative;
}

.path-node {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  box-shadow: var(--shadow-card);
}

.path-node.active {
  background: var(--gradient);
  transform: scale(1.15);
  animation: pulse-node 1.8s ease-in-out infinite;
}

.path-node.done { background: var(--success); }
.path-node.locked { background: var(--locked-bg); color: var(--locked-fg); box-shadow: none; }

@keyframes pulse-node {
  0%, 100% { box-shadow: 0 0 0 0 rgba(124, 58, 237, .45); }
  50% { box-shadow: 0 0 0 14px rgba(124, 58, 237, 0); }
}

.floating-badge {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14px;
  z-index: 2;
  animation: badge-float 5s ease-in-out infinite;
}

.floating-badge.badge-1 { top: 12%; left: -10px; animation-delay: 0s; }
.floating-badge.badge-2 { bottom: 16%; right: -18px; animation-delay: -2.4s; }

@keyframes badge-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* -----------------------------------------------------------
   LOGO STRIP (langues)
   ----------------------------------------------------------- */
.lang-strip {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lang-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.lang-strip p {
  font-weight: 800;
  color: var(--ink);
  font-size: 14px;
  white-space: nowrap;
}

.lang-flags {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  align-items: center;
}

.lang-flags span {
  font-size: 13px;
  font-weight: 800;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
}

/* -----------------------------------------------------------
   FEATURE GRID
   ----------------------------------------------------------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  background: var(--gradient-soft);
}

.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 15px; }

/* -----------------------------------------------------------
   GAMES SECTION (bandeau sombre, contraste)
   ----------------------------------------------------------- */
.games {
  background: var(--contrast-bg);
  color: #fff;
  border-radius: 40px;
  margin: 0 24px;
  padding: 72px 48px;
  position: relative;
  overflow: hidden;
}

.games::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(124, 58, 237, .35), transparent 45%),
              radial-gradient(circle at 85% 80%, rgba(59, 130, 246, .3), transparent 45%);
}

.games .container { position: relative; z-index: 1; max-width: 1040px; }

.games .section-head p { color: rgba(255,255,255,.7); }
.games .eyebrow { background: rgba(255,255,255,.12); color: #fff; }

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.game-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 26px;
}

.game-card .tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  color: var(--success);
  background: rgba(52, 199, 89, .18);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.game-card h3 { font-size: 18px; margin-bottom: 8px; color: #fff; }
.game-card p { color: rgba(255,255,255,.65); font-size: 14px; }

/* -----------------------------------------------------------
   QI SECTION
   ----------------------------------------------------------- */
.qi {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}

.qi-visual {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.qi-shape {
  width: 70%;
  aspect-ratio: 1;
  position: relative;
}

.qi-shape span {
  position: absolute;
  border-radius: 14px;
  background: var(--gradient);
  animation: qi-rotate 8s linear infinite;
}

.qi-shape span:nth-child(1) { width: 40%; height: 40%; top: 0; left: 0; opacity: .9; }
.qi-shape span:nth-child(2) { width: 30%; height: 30%; top: 10%; right: 0; opacity: .7; animation-delay: -2s; }
.qi-shape span:nth-child(3) { width: 34%; height: 34%; bottom: 0; left: 10%; opacity: .8; animation-delay: -4s; }
.qi-shape span:nth-child(4) { width: 24%; height: 24%; bottom: 6%; right: 8%; opacity: .6; animation-delay: -6s; }

@keyframes qi-rotate {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(12deg); }
}

.qi-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.qi-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  color: var(--ink-soft);
  font-weight: 600;
}

.qi-list li b { color: var(--ink); font-weight: 800; }

.check-dot {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  margin-top: 1px;
}

/* -----------------------------------------------------------
   HONESTY / POSITIONING STRIP
   ----------------------------------------------------------- */
.honest {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
}

.honest .emoji {
  font-size: 40px;
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: var(--gradient-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.honest h3 { font-size: 20px; margin-bottom: 8px; }
.honest p { font-size: 15px; }

/* -----------------------------------------------------------
   PERMISSIONS
   ----------------------------------------------------------- */
.perm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.perm-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--surface-alt);
}

.perm-card .card-icon { margin-bottom: 0; flex-shrink: 0; }
.perm-card h4 { font-size: 16px; margin-bottom: 6px; }
.perm-card p { font-size: 14px; }

/* -----------------------------------------------------------
   CTA FINAL
   ----------------------------------------------------------- */
.cta {
  background: var(--gradient);
  border-radius: 40px;
  margin: 0 24px;
  padding: 72px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(255,255,255,.18), transparent 55%);
}

.cta * { position: relative; z-index: 1; }

.cta h2 { color: #fff; font-size: clamp(28px, 4vw, 40px); }
.cta p { color: rgba(255,255,255,.85); margin-top: 14px; font-size: 17px; }

.cta-actions {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta .store-badge { background: rgba(255,255,255,.16); backdrop-filter: blur(6px); }
.cta .btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.cta .btn-ghost:hover { border-color: #fff; }

/* -----------------------------------------------------------
   FOOTER
   ----------------------------------------------------------- */
.footer {
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--line);
}

.footer-brand .nav-brand { margin-bottom: 14px; }
.footer-brand p { font-size: 14px; max-width: 260px; }

.footer-col h5 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ink-soft);
  margin-bottom: 16px;
  font-weight: 800;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; font-weight: 700; color: var(--ink-soft); }
.footer-col a:hover { color: var(--purple); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
}

.footer-bottom p { font-size: 13px; }

.made-by {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}

.made-by img { width: auto; height: 22px; border-radius: 0; }

/* -----------------------------------------------------------
   PRIVACY PAGE
   ----------------------------------------------------------- */
.legal-hero {
  padding: 64px 0 40px;
  text-align: center;
}

.legal-hero h1 { font-size: clamp(30px, 4vw, 42px); }
.legal-hero p { margin-top: 14px; font-size: 15px; }

.legal-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.legal-tab {
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  background: var(--surface-alt);
  color: var(--ink-soft);
  transition: all .2s ease;
}

.legal-tab.active {
  background: var(--gradient);
  color: #fff;
  border-color: transparent;
}

.legal-body {
  max-width: 780px;
  margin: 0 auto;
  padding-bottom: 96px;
}

.legal-panel { display: none; }
.legal-panel.active { display: block; animation: fade-in .35s ease; }

@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.legal-panel h2 {
  font-size: 22px;
  margin-top: 40px;
  margin-bottom: 14px;
}

.legal-panel h2:first-child { margin-top: 0; }

.legal-panel p, .legal-panel li {
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}

.legal-panel ul { padding-left: 20px; }
.legal-panel strong { color: var(--ink); }

.legal-updated {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  color: var(--purple);
  background: rgba(124, 58, 237, .1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 8px;
}

/* -----------------------------------------------------------
   ICÔNES SVG (aucun emoji dans tout le site)
   ----------------------------------------------------------- */
.icon {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
  vertical-align: -0.18em;
  flex-shrink: 0;
}

.eyebrow .icon { width: 15px; height: 15px; }

.card-icon .icon, .perm-card .card-icon .icon { width: 26px; height: 26px; }

.path-node .icon { width: 22px; height: 22px; }

.floating-badge .icon { width: 15px; height: 15px; }

.phone-chip .icon { width: 13px; height: 13px; }

.check-dot .icon { width: 13px; height: 13px; }

.honest .emoji .icon { width: 34px; height: 34px; }

/* -----------------------------------------------------------
   THÈME CLAIR / SOMBRE — bouton bascule
   ----------------------------------------------------------- */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface-alt);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform .25s ease, border-color .25s ease;
  flex-shrink: 0;
}

.theme-toggle:hover { transform: translateY(-2px); border-color: var(--purple); }

.theme-toggle .icon { width: 19px; height: 19px; }

.theme-toggle .icon-moon { display: none; }

html[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: inline-block; }

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

/* -----------------------------------------------------------
   BADGE OFFLINE
   ----------------------------------------------------------- */
.offline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: var(--success);
  background: rgba(52, 199, 89, .14);
  padding: 8px 16px;
  border-radius: 999px;
  margin-top: 18px;
}

/* -----------------------------------------------------------
   COMMUNAUTÉ (Telegram / WhatsApp)
   ----------------------------------------------------------- */
.community-grid {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.community-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-alt);
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.community-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }

.community-card .icon { width: 24px; height: 24px; }

.community-card.telegram .icon { color: #2AABEE; }
.community-card.whatsapp .icon { color: #25D366; }

/* -----------------------------------------------------------
   RESPONSIVE
   ----------------------------------------------------------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-copy p.lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 20px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
  .qi { grid-template-columns: 1fr; }
  .perm-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .nav-links { display: none; }
  .grid { grid-template-columns: 1fr; }
  .games-grid { grid-template-columns: 1fr; }
  .games, .cta { margin: 0 12px; padding: 48px 24px; border-radius: 28px; }
  .honest { grid-template-columns: 1fr; text-align: center; }
  .honest .emoji { margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .phone { width: 240px; height: 490px; }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}