/* ============================================================
   RESPONSIVE.CSS — moonatriggerfun.quest
   Mobile-first responsive breakpoints
   ============================================================ */

/* ── TABLET: max-width 1024px ── */
@media (max-width: 1024px) {
  :root {
    --section-spacing-desktop: var(--section-spacing-tablet);
    --container-padding: 20px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 80px var(--container-padding) 60px;
    text-align: center;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

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

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    order: -1;
  }

  .slot-shrine {
    width: 300px;
    height: 320px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-text-col .section-title {
    text-align: center;
  }

  .about-text-col .section-eyebrow {
    text-align: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-info .section-title {
    text-align: center;
  }

  .contact-cards {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 24px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .nav-list {
    gap: 24px;
  }
}

/* ── SMALL TABLET: max-width 768px ── */
@media (max-width: 768px) {
  :root {
    --section-spacing-desktop: var(--section-spacing-mobile);
    --container-padding: 16px;
  }

  /* Header */
  .main-nav,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  /* Drawer overlay active display */
  .drawer-overlay {
    display: block;
  }

  /* Hero */
  .hero-section {
    padding-top: 80px;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .slot-shrine {
    width: 260px;
    height: 280px;
  }

  .slot-machine-preview {
    width: 220px;
    padding: 18px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  /* Game frame */
  .game-frame-container {
    aspect-ratio: 4 / 3;
  }

  .frame-ornament {
    font-size: 1.2rem;
  }

  /* Page hero */
  .page-hero {
    padding: 140px 0 60px;
  }

  /* Footer */
  .footer-inner {
    padding: 48px 0 32px;
  }

  .footer-nav {
    flex-direction: column;
    gap: 32px;
  }

  /* Section title */
  .section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
  }

  /* Legal */
  .legal-notice {
    flex-direction: column;
    gap: 12px;
  }

  /* Contact form */
  .contact-form {
    padding: 28px 20px;
  }

  /* About visual */
  .about-visual-scene {
    font-size: 2.5rem;
    gap: 16px;
  }

  .about-scene-icon--lg {
    font-size: 3.2rem;
  }

  /* Hero actions */
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-large {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

/* ── MOBILE: max-width 480px ── */
@media (max-width: 480px) {
  .logo-text {
    font-size: 0.85rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }

  .page-hero-title {
    font-size: clamp(1.6rem, 8vw, 2.4rem);
  }

  .slot-shrine {
    width: 220px;
    height: 240px;
  }

  .slot-machine-preview {
    width: 190px;
    padding: 14px;
  }

  .reel {
    height: 56px;
    font-size: 1.5rem;
  }

  .feature-card {
    padding: 28px 20px;
  }

  .legal-links {
    gap: 16px;
  }

  .game-frame-container {
    aspect-ratio: 1 / 1;
  }

  .cta-banner {
    padding: 60px 0;
  }

  .footer-nav {
    gap: 24px;
  }

  .about-visual-card {
    padding: 32px 24px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .hero-disclaimer {
    font-size: 0.7rem;
    text-align: center;
  }
}

/* ── LARGE DESKTOP: min-width 1400px ── */
@media (min-width: 1400px) {
  :root {
    --container-padding: 40px;
  }

  .hero-title {
    font-size: 4.2rem;
  }

  .slot-shrine {
    width: 420px;
    height: 460px;
  }

  .slot-machine-preview {
    width: 300px;
  }
}

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

  #snow-canvas {
    display: none;
  }
}
/* ============================================================
   END RESPONSIVE.CSS
   ============================================================ */