/* ============================================
   MUMI GAMES - Main Stylesheet
   Playful, colorful design for kids' game studio
   ============================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&family=Nunito:wght@400;600;700;800&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --color-coral: #FF6B6B;
  --color-teal: #4ECDC4;
  --color-yellow: #FFE66D;
  --color-purple: #A78BFA;
  --color-pink: #FF8C94;
  --color-orange: #FFA62B;
  --color-green: #6BCB77;
  --color-blue: #45B7D1;
  --color-bg: #FFF8F0;
  --color-bg-alt: #FFFFFF;
  --color-dark: #2D3436;
  --color-text: #4A4A4A;
  --color-text-light: #7A7A7A;
  --font-heading: 'Baloo 2', cursive;
  --font-body: 'Nunito', sans-serif;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  --shadow-card: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-card-hover: 0 16px 40px rgba(0,0,0,0.14);
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-dark);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ---------- Utility ---------- */
.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  text-align: center;
  margin-bottom: 0.5em;
}

.section-subtitle {
  text-align: center;
  font-size: 1.15rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--color-coral);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255,107,107,0.35);
}
.btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 30px rgba(255,107,107,0.5);
}

.btn-secondary {
  background: var(--color-teal);
  color: #fff;
  box-shadow: 0 6px 20px rgba(78,205,196,0.35);
}
.btn-secondary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 30px rgba(78,205,196,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--color-coral);
  border: 3px solid var(--color-coral);
}
.btn-outline:hover {
  background: var(--color-coral);
  color: #fff;
  transform: translateY(-3px);
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 12px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  padding: 8px 0;
}

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

.nav-logo img {
  height: 52px;
  transition: var(--transition);
}

.navbar.scrolled .nav-logo img {
  height: 42px;
}

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

.nav-links a {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  transition: var(--transition);
  position: relative;
}

.navbar.scrolled .nav-links a {
  color: var(--color-dark);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--color-yellow);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta .btn {
  padding: 10px 24px;
  font-size: 0.95rem;
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

.navbar.scrolled .nav-toggle span {
  background: var(--color-dark);
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--color-coral) 0%, var(--color-purple) 50%, var(--color-blue) 100%);
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}

.hero-shape:nth-child(1) {
  width: 300px; height: 300px;
  background: var(--color-yellow);
  top: -50px; left: -80px;
  animation: floatShape 8s ease-in-out infinite;
}

.hero-shape:nth-child(2) {
  width: 200px; height: 200px;
  background: var(--color-teal);
  top: 20%; right: -40px;
  animation: floatShape 6s ease-in-out infinite 1s;
}

.hero-shape:nth-child(3) {
  width: 150px; height: 150px;
  background: var(--color-pink);
  bottom: 10%; left: 10%;
  animation: floatShape 7s ease-in-out infinite 2s;
}

.hero-shape:nth-child(4) {
  width: 100px; height: 100px;
  background: #fff;
  top: 40%; left: 30%;
  animation: floatShape 5s ease-in-out infinite 0.5s;
}

.hero-shape:nth-child(5) {
  width: 250px; height: 250px;
  background: var(--color-orange);
  bottom: -60px; right: 15%;
  animation: floatShape 9s ease-in-out infinite 3s;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  color: #fff;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-content h1 span {
  display: block;
  background: linear-gradient(90deg, var(--color-yellow), #FFD93D);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-illustration {
  width: 100%;
  max-width: 500px;
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-illustration img {
  width: 100%;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
}

/* Blob behind illustration */
.hero-blob {
  position: absolute;
  width: 110%;
  height: 110%;
  background: rgba(255,255,255,0.1);
  border-radius: 50% 40% 60% 45% / 55% 50% 45% 50%;
  animation: morphBlob 10s ease-in-out infinite;
}

/* ---------- Wave Divider ---------- */
.wave-divider {
  width: 100%;
  line-height: 0;
  margin-top: -2px;
}

.wave-divider svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* ---------- Games Section ---------- */
.games-section {
  padding: 80px 0 100px;
  background: var(--color-bg);
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
}

.game-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.game-card:hover {
  transform: translateY(-10px) rotate(-1deg);
  box-shadow: var(--shadow-card-hover);
}

.game-card-image {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.game-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.game-card:hover .game-card-image img {
  transform: scale(1.08);
}

.game-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(6px);
  padding: 4px 14px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-coral);
}

.game-card-body {
  padding: 24px;
}

.game-card-body h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.game-card-body p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 16px;
}

.game-card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.game-tag {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--color-bg);
}

.game-tag.age { color: var(--color-purple); }
.game-tag.category { color: var(--color-teal); }

/* Colored top borders per card */
.game-card:nth-child(1) .game-card-image { background: var(--color-coral); }
.game-card:nth-child(2) .game-card-image { background: var(--color-teal); }
.game-card:nth-child(3) .game-card-image { background: var(--color-purple); }
.game-card:nth-child(4) .game-card-image { background: var(--color-yellow); }
.game-card:nth-child(5) .game-card-image { background: var(--color-orange); }
.game-card:nth-child(6) .game-card-image { background: var(--color-green); }

/* "See all games" button */
.games-cta {
  text-align: center;
  margin-top: 48px;
}

/* ---------- About Section ---------- */
.about-section {
  padding: 100px 0;
  background: var(--color-bg-alt);
  position: relative;
  overflow: hidden;
}

.about-deco {
  position: absolute;
  border-radius: 50%;
  opacity: 0.07;
}

.about-deco:nth-child(1) {
  width: 400px; height: 400px;
  background: var(--color-teal);
  top: -100px; right: -100px;
}

.about-deco:nth-child(2) {
  width: 250px; height: 250px;
  background: var(--color-yellow);
  bottom: -50px; left: -50px;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.about-visual {
  position: relative;
}

.about-image-wrapper {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
}

.about-image-wrapper::before {
  content: '';
  display: block;
  padding-top: 100%;
  background: linear-gradient(135deg, var(--color-yellow) 0%, var(--color-orange) 100%);
}

/* Floating stats card over the about image */
.about-stat-float {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 20px 28px;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.about-stat-float .stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-coral);
  line-height: 1;
}

.about-stat-float .stat-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-weight: 600;
}

.about-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.about-content h2 span {
  color: var(--color-coral);
}

.about-content p {
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: var(--color-text-light);
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.value-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.value-icon.coral { background: rgba(255,107,107,0.12); }
.value-icon.teal { background: rgba(78,205,196,0.12); }
.value-icon.purple { background: rgba(167,139,250,0.12); }
.value-icon.yellow { background: rgba(255,230,109,0.2); }

.value-item h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.value-item p {
  font-size: 0.88rem !important;
  margin-bottom: 0 !important;
}

/* ---------- Features / Why Mumi ---------- */
.features-section {
  padding: 100px 0;
  background: var(--color-bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.feature-card {
  text-align: center;
  padding: 40px 28px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

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

.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2.2rem;
}

.feature-card:nth-child(1) .feature-icon { background: rgba(255,107,107,0.12); }
.feature-card:nth-child(2) .feature-icon { background: rgba(78,205,196,0.12); }
.feature-card:nth-child(3) .feature-icon { background: rgba(167,139,250,0.12); }
.feature-card:nth-child(4) .feature-icon { background: rgba(255,166,43,0.12); }

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
}

/* ---------- Parents Section ---------- */
.parents-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #f0f7ff 0%, #fef3f2 100%);
  position: relative;
}

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

.parents-content h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.parents-content > p {
  color: var(--color-text-light);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.safety-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.safety-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
  transition: var(--transition);
}

.safety-item:hover {
  transform: translateX(6px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.safety-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  background: rgba(78,205,196,0.12);
}

.safety-item h4 {
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.safety-item p {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

.parents-visual {
  display: flex;
  justify-content: center;
}

.parents-illustration {
  max-width: 400px;
  width: 100%;
}

.parents-illustration svg {
  width: 100%;
}

/* ---------- Newsletter / CTA Section ---------- */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--color-coral) 0%, var(--color-purple) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}

.cta-shape:nth-child(1) { width: 200px; height: 200px; top: -50px; left: 10%; }
.cta-shape:nth-child(2) { width: 150px; height: 150px; bottom: -30px; right: 5%; }
.cta-shape:nth-child(3) { width: 80px; height: 80px; top: 30%; right: 20%; }

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: #fff;
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  max-width: 550px;
  margin: 0 auto 36px;
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}

.cta-form input[type="email"] {
  flex: 1;
  padding: 14px 24px;
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.cta-form button {
  padding: 14px 32px;
  background: var(--color-yellow);
  color: var(--color-dark);
  border: none;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.cta-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255,230,109,0.4);
}

.cta-privacy {
  margin-top: 14px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-dark);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.95rem;
  max-width: 280px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--color-coral);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  padding: 4px 0;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--color-coral);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

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

.footer-bottom-links a:hover {
  color: var(--color-coral);
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Keyframe Animations ---------- */
@keyframes floatShape {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(15px, -20px) rotate(5deg); }
  66% { transform: translate(-10px, 10px) rotate(-3deg); }
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes morphBlob {
  0%, 100% { border-radius: 50% 40% 60% 45% / 55% 50% 45% 50%; }
  25% { border-radius: 40% 55% 45% 60% / 50% 45% 55% 48%; }
  50% { border-radius: 55% 45% 50% 40% / 45% 55% 48% 52%; }
  75% { border-radius: 45% 50% 55% 48% / 52% 40% 50% 55%; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ---------- Mobile Menu Overlay ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, var(--color-coral), var(--color-purple));
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateX(100%);
  transition: transform 0.4s ease;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  transition: var(--transition);
}

.mobile-menu a:hover {
  transform: scale(1.1);
  color: var(--color-yellow);
}

.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-coral);
  color: #fff;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255,107,107,0.4);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 100;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(255,107,107,0.5);
}

/* ============================================
         RESPONSIVE BREAKPOINTS
   ============================================ */

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-content p { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-illustration { max-width: 350px; }
  .about-inner { grid-template-columns: 1fr; gap: 50px; }
  .about-visual { order: -1; max-width: 400px; margin: 0 auto; }
  .parents-inner { grid-template-columns: 1fr; }
  .parents-visual { order: -1; max-width: 320px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 100px 0 60px; }
  .hero-content h1 { font-size: clamp(2rem, 8vw, 3rem); }
  .games-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .about-values { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .cta-form { flex-direction: column; }
  .cta-form button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-social { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-illustration { max-width: 260px; }
  .section-title { font-size: 1.8rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
}
