/* ============================================
   RESPONSIVE — KUNGFU SLOTS
   ============================================ */

/* --- Tablet (1024px) --- */
@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }

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

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

  .hero-subtitle {
    max-width: 100%;
  }

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

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

  .hero-visual {
    order: -1;
  }

  .hero-visual-wrapper {
    max-width: 350px;
    margin: 0 auto;
  }

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

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

  .steps-grid .step-card:last-child {
    grid-column: 1 / -1;
    max-width: 400px;
    margin: 0 auto;
  }

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

  .testimonials-grid .testimonial-card:last-child {
    grid-column: 1 / -1;
    max-width: 500px;
    margin: 0 auto;
  }

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

  .progression-content .section-title,
  .progression-content .section-subtitle {
    text-align: center;
  }

  .progression-content .section-subtitle {
    margin: 0 auto 36px;
  }

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

  .leaderboard-info .section-title,
  .leaderboard-info .section-subtitle {
    text-align: center;
  }

  .leaderboard-info .section-subtitle {
    margin: 0 auto 32px;
  }

  .leaderboard-info .btn {
    display: block;
    max-width: 240px;
    margin: 0 auto;
  }

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

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .game-info-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .badges-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .reward-days {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .top-three {
    gap: 16px;
  }

  .top-player {
    min-width: 150px;
    padding: 24px 16px;
  }
}

/* --- Mobile (768px) --- */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .main-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .header-actions .btn-outline {
    display: none;
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

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

  .hero-stats {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }

  .hero-stat {
    align-items: center;
    text-align: center;
  }

  .warrior-silhouette {
    width: 200px;
  }

  .hero-slot-preview {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 24px;
    display: flex;
    justify-content: center;
  }

  .game-showcase,
  .features,
  .how-to-play,
  .social-proof,
  .mini-leaderboard,
  .progression,
  .cta-section {
    padding: 80px 0;
  }

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

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

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

  .steps-grid .step-card:last-child {
    max-width: 100%;
  }

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

  .testimonials-grid .testimonial-card:last-child {
    max-width: 100%;
  }

  .game-info-cards {
    grid-template-columns: 1fr;
  }

  .game-frame-large {
    min-height: 300px;
  }

  .game-actions {
    flex-wrap: wrap;
  }

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

  .reward-days {
    grid-template-columns: repeat(3, 1fr);
  }

  .reward-day:nth-child(7) {
    grid-column: 1 / -1;
  }

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

  .top-three {
    flex-direction: column;
    align-items: center;
  }

  .top-player {
    width: 100%;
    max-width: 280px;
  }

  .top-player.first {
    order: -1;
  }

  .leaderboard-tabs {
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .footer-inline-links {
    flex-wrap: wrap;
    gap: 16px;
  }

  .cta-card {
    padding: 48px 24px;
  }

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

  .notification-toast {
    bottom: 16px;
    right: 16px;
    left: 16px;
    max-width: none;
  }

  .modal-content {
    padding: 28px;
    margin: 16px;
  }

  .belt-progression {
    max-width: 320px;
    margin: 0 auto;
  }

  .leaderboard-table-full {
    overflow-x: auto;
    display: block;
  }

  .leaderboard-table-full table {
    min-width: 500px;
  }
}

/* --- Small Mobile (480px) --- */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.9rem;
  }

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

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

  .section-title {
    font-size: 1.7rem;
  }

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

  .reward-day:nth-child(7) {
    grid-column: 1 / -1;
  }

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

  .xp-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .xp-stat-value {
    font-size: 1.1rem;
  }
}

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

  .fade-in-up,
  .fade-in-right {
    opacity: 1;
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}