/* ===========================
   RESPONSIVE BREAKPOINTS
   Mobile-first approach
=========================== */

/* ===========================
   LARGE DESKTOP (1400px+)
=========================== */
@media (min-width: 1400px) {
  .container {
    padding: 0 32px;
  }

  .hero-headline {
    font-size: 4.4rem;
  }

  .game-iframe-wrapper iframe {
    height: 680px;
  }
}

/* ===========================
   DESKTOP (1200px - 1399px)
   Default styles apply
=========================== */
@media (max-width: 1199px) {
  :root {
    --section-gap-desktop: 90px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 36px;
  }

  .footer-grid .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .hero-split {
    gap: 40px;
  }

  .about-strip {
    gap: 48px;
  }
}

/* ===========================
   TABLET (768px - 1024px)
=========================== */
@media (max-width: 1024px) {
  :root {
    --section-gap-desktop: 80px;
  }

  .header-top-bar { display: none; }

  /* Nav */
  .nav-links { display: none; }
  .btn-enter.desktop-only { display: none; }
  .mobile-toggle { display: flex; }

  /* Hero */
  .hero-split {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
    padding: 50px 0 60px;
  }

  .hero-content {
    align-items: center;
  }

  .hero-description {
    margin: 0 auto;
  }

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

  .hero-disclaimer {
    text-align: center;
    margin: 0 auto;
  }

  .game-temple-frame {
    max-width: 440px;
    margin: 0 auto;
    aspect-ratio: 3/2;
  }

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

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

  .about-strip {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .about-visual {
    max-width: 480px;
    margin: 0 auto;
    aspect-ratio: 16/9;
  }

  .about-feature-list {
    text-align: left;
  }

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

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

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

  .footer-grid .footer-brand {
    grid-column: 1 / -1;
  }

  .resp-banner {
    flex-direction: column;
    text-align: center;
    padding: 40px 32px;
    gap: 24px;
  }

  .game-iframe-wrapper iframe {
    height: 540px;
  }

  .temple-pillar {
    display: none;
  }
}

/* ===========================
   MOBILE LARGE (640px - 767px)
=========================== */
@media (max-width: 767px) {
  :root {
    --section-gap-desktop: var(--section-gap-mobile);
  }

  .container {
    padding: 0 20px;
  }

  /* Typography adjustments */
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.3rem; }

  /* Header */
  .header-inner {
    padding: 16px 20px;
  }

  .site-header.scrolled .header-inner {
    padding: 12px 20px;
  }

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

  .hero-split {
    padding: 40px 0 50px;
    gap: 36px;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .btn-lg {
    width: 100%;
    max-width: 320px;
  }

  .game-temple-frame {
    max-width: 360px;
    aspect-ratio: 4/3;
  }

  /* Section headers */
  .section-header {
    margin-bottom: 48px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Stats */
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item {
    padding: 24px 16px;
  }

  .stat-value {
    font-size: 1.8rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    text-align: center;
  }

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

  /* Contact form */
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form-card {
    padding: 32px 24px;
  }

  /* Resp banner */
  .resp-banner {
    padding: 32px 24px;
  }

  /* Game */
  .game-iframe-wrapper iframe {
    height: 440px;
  }

  .game-meta-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 16px 20px;
  }

  /* Vine overlays */
  .vine-overlay {
    width: 70px;
    height: 70px;
  }

  /* Resp tools */
  .resp-tools-grid {
    grid-template-columns: 1fr;
  }

  /* Legal */
  .legal-content {
    padding: 0;
  }

  /* Timeline */
  .timeline {
    padding-left: 32px;
  }
}

/* ===========================
   MOBILE SMALL (max 480px)
=========================== */
@media (max-width: 480px) {
  :root {
    --section-gap-desktop: 60px;
  }

  h1 { font-size: 1.95rem; }
  h2 { font-size: 1.6rem; }

  .container {
    padding: 0 16px;
  }

  .hero-badge span {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
  }

  .logo-text .brand-name {
    font-size: 0.9rem;
  }

  .logo-text .brand-sub {
    font-size: 0.6rem;
  }

  .game-iframe-wrapper iframe {
    height: 380px;
  }

  .stone-card {
    padding: 24px 20px;
  }

  .stats-row {
    grid-template-columns: 1fr 1fr;
  }

  .stat-value {
    font-size: 1.6rem;
  }

  .page-hero {
    padding: 120px 0 50px;
  }

  .contact-info-card {
    padding: 28px 20px;
  }

  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }

  .footer-brand-desc {
    font-size: 0.82rem;
  }

  .footer-legal {
    font-size: 0.72rem;
  }

  .btn {
    padding: 13px 24px;
    font-size: 0.9rem;
  }

  .btn-lg {
    padding: 15px 28px;
    font-size: 0.95rem;
  }
}

/* ===========================
   LANDSCAPE MOBILE
=========================== */
@media (max-width: 767px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding-top: 80px;
  }

  .hero-split {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    text-align: left;
  }

  .hero-content {
    align-items: flex-start;
  }

  .hero-ctas {
    justify-content: flex-start;
  }

  .hero-disclaimer {
    text-align: left;
    margin: 0;
  }

  .game-temple-frame {
    max-width: 100%;
    aspect-ratio: 4/3;
  }
}

/* ===========================
   HIGH RESOLUTION
=========================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .site-header .header-inner {
    backdrop-filter: blur(20px);
  }
}

/* ===========================
   PRINT
=========================== */
@media print {
  .site-header,
  .mobile-toggle,
  .scroll-top,
  .btn-enter,
  .ambient-mist,
  .hero-particles {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  .container {
    max-width: 100%;
  }
}

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

  .scroll-behavior {
    scroll-behavior: auto;
  }
}