/* ============================================================
   crzy-monkey-slot | responsive.css
   © 2026 nexirastudio.life
   Mobile-first responsive overrides
   ============================================================ */

/* ============================================================
   TABLET — max 1024px
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --section-gap-desktop: var(--section-gap-tablet);
    --padding-desktop: var(--padding-tablet);
  }

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

  .hero-headline {
    font-size: var(--font-size-4xl);
  }

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

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

  .hero-visual {
    order: -1;
  }

  .hero-scroll-hint {
    display: none;
  }

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

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

  /* Terrain */
  .terrain-inner {
    flex-direction: column;
    text-align: center;
    padding: 48px 40px;
  }

  .terrain-deco {
    justify-content: center;
  }

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

  .footer-disclaimer-block {
    grid-column: 1 / -1;
  }

  /* About */
  .about-split {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Game Details */
  .game-details-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Rules */
  .rules-layout {
    grid-template-columns: 1fr;
  }

  .rules-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
  }

  .toc-title {
    width: 100%;
    margin-bottom: 0;
  }

  .toc-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }

  /* Contact */
  .contact-layout {
    grid-template-columns: 1fr;
  }

  /* RG Principles */
  .rg-principles-grid {
    grid-template-columns: 1fr;
  }

  /* Section titles */
  .section-title {
    font-size: var(--font-size-3xl);
  }

  .page-hero-title {
    font-size: var(--font-size-3xl);
  }

  /* Howit grid */
  .howit-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ============================================================
   MOBILE — max 768px
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-gap-desktop: var(--section-gap-mobile);
    --padding-desktop: var(--padding-mobile);
    --header-height: 64px;
  }

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

  .mobile-toggle {
    display: flex;
  }

  /* Hero */
  .hero-headline {
    font-size: 2.25rem;
  }

  .monkey-emoji-big {
    font-size: 60px;
  }

  .monkey-frame {
    padding: 28px 20px;
  }

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

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

  /* Terrain */
  .terrain-inner {
    padding: 36px 28px;
  }

  .terrain-headline {
    font-size: var(--font-size-2xl);
  }

  /* RG Brief */
  .rg-brief-inner {
    flex-direction: column;
    padding: 32px 24px;
  }

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

  .footer-disclaimer-block {
    grid-column: 1;
  }

  /* Section titles */
  .section-title {
    font-size: var(--font-size-2xl);
  }

  .section-title-sm {
    font-size: var(--font-size-2xl);
  }

  .page-hero-title {
    font-size: var(--font-size-2xl);
  }

  .hero-badge {
    font-size: 0.65rem;
  }

  /* Game Details */
  .game-details-grid {
    grid-template-columns: 1fr;
  }

  /* CTA block */
  .cta-block {
    padding: 40px 24px;
  }

  .cta-block h2 {
    font-size: var(--font-size-2xl);
  }

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

  /* Game frame aspect */
  .game-frame-wrap,
  .game-full-frame {
    aspect-ratio: 4 / 3;
  }

  /* Symbol table */
  .symbol-row {
    grid-template-columns: 48px 1fr 80px;
    gap: 8px;
    padding: 10px 12px;
  }

  /* RG Principles */
  .rg-principles-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    max-width: 300px;
  }

  /* Section label */
  .section-sub {
    font-size: var(--font-size-base);
    margin-bottom: 32px;
  }

  /* RG links */
  .rg-links {
    flex-direction: column;
  }

  .rg-links .btn {
    text-align: center;
    justify-content: center;
  }

  /* Terrain deco */
  .terrain-deco {
    display: none;
  }

  /* CTA block actions */
  .cta-block-actions {
    flex-direction: column;
    align-items: center;
  }

  /* Contact quick links */
  .contact-info-wrap {
    order: -1;
  }

  /* RG brief icon */
  .rg-icon-large {
    font-size: 2.5rem;
  }

  /* Game panel actions */
  .game-panel-actions {
    flex-direction: column;
    gap: 12px;
  }

  .game-panel-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Game full meta */
  .game-full-meta {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================================
   SMALL MOBILE — max 400px
   ============================================================ */
@media (max-width: 400px) {
  .hero-headline {
    font-size: 1.85rem;
  }

  .logo-text {
    font-size: 0.95rem;
  }

  .mobile-menu {
    width: 100%;
  }

  .monkey-reels {
    gap: 6px;
  }

  .reel-mini {
    width: 44px;
    height: 52px;
    font-size: 1.5rem;
  }
}
/* ============================================================
   END responsive.css
   ============================================================ */