/* ==========================================================================
   TABLET (max-width: 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  :root {
    --max-width: 95%;
  }

  section {
    padding: 70px 0;
  }

  .container {
    padding: 0 24px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

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

  .hero-text h1 {
    font-size: 3.5rem;
  }

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

  .game-wrapper {
    height: 600px;
    aspect-ratio: auto;
  }

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

/* ==========================================================================
   MOBILE (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  section {
    padding: 50px 0;
  }

  .container {
    padding: 0 16px;
  }

  .nav-links, .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  /* Mobile Menu Panel */
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--iron);
    padding: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
  }

  .nav-cta.active {
    display: flex;
    position: fixed;
    top: calc(var(--header-height) + 200px);
    left: 0;
    width: 100%;
    padding: 24px;
    background: var(--iron);
    justify-content: center;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .game-wrapper {
    height: 500px;
    padding: 8px;
  }

  .feature-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 2.5rem;
  }

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

  .page-hero h1 {
    font-size: 2.5rem;
  }

  .content-box {
    padding: 24px 16px;
  }
}