/* ==========================================================================
   Wild Robin Casino — Responsief
   Breakpoints: 1200, 1024, 768, 560, 420
   ========================================================================== */

/* ---------- ≤ 1200px ---------- */
@media (max-width: 1200px) {
  .nav__link { padding: 10px 11px; font-size: 13px; }
  .game-card { flex-basis: calc((100% - 60px) / 4); }
}

/* ---------- ≤ 1024px — tablet ---------- */
@media (max-width: 1024px) {
  :root { --header-h: 72px; }

  .brand-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .brand-media {
    max-width: 360px;
    margin-inline: auto;
  }
  .features {
    max-width: 500px;
    margin-inline: auto;
    margin-top: 28px;
  }
  .game-card { flex-basis: calc((100% - 40px) / 3); }

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

/* ---------- ≤ 768px — mobiel ---------- */
@media (max-width: 768px) {
  :root {
    --header-h: 68px;
    --sticky-h: 70px;
  }
  body { font-size: 15px; }
  .header-inner { gap: 12px; }
  .brand__logo-svg { height: 38px; }
  .brand__name { font-size: 15px; }

  /* Mobile drawer nav */
  .nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    background: rgba(76,175,80,0.08);
    border: 1px solid rgba(76,175,80,0.25);
    color: var(--wr-green-bright);
    cursor: pointer;
    flex-shrink: 0;
  }

  .nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(86vw, 340px);
    background: linear-gradient(180deg, #0a0f07 0%, #131d0e 100%);
    border-left: 1px solid rgba(76, 175, 80, 0.2);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 80px 20px 28px;
    transform: translateX(100%);
    transition: transform 320ms var(--ease-out);
    z-index: 99;
    overflow-y: auto;
    box-shadow: -20px 0 50px -10px rgba(0,0,0,0.7);
    margin-left: 0;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__close {
    display: inline-flex;
    position: absolute;
    top: 18px; right: 18px;
    width: 38px; height: 38px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(76,175,80,0.08);
    border: 1px solid rgba(76,175,80,0.2);
    color: var(--wr-text-soft);
    cursor: pointer;
    font-size: 20px;
    font-weight: 300;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    margin-bottom: 24px;
  }
  .nav__link {
    padding: 13px 16px;
    font-size: 15px;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid rgba(76,175,80,0.08);
  }
  .nav__link::after { display: none; }

  .nav__actions {
    flex-direction: column;
    gap: 10px;
    margin-left: 0;
    margin-top: 8px;
  }
  .nav__actions .btn { justify-content: center; width: 100%; }

  .nav__backdrop { display: block; }

  /* Hero */
  .hero__stats .stat:not(:last-child) {
    padding-right: clamp(16px, 4vw, 36px);
  }
  .hero h1 { font-size: clamp(30px, 9vw, 52px); }

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

  /* Slider */
  .game-card { flex-basis: calc((100% - 20px) / 2); }
  .slider__btn--prev { left: -14px; }
  .slider__btn--next { right: -14px; }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-about { max-width: 100%; }
  .footer-bottom__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* ---------- ≤ 560px ---------- */
@media (max-width: 560px) {
  .hero__stats { gap: 16px; }
  .hero__stats .stat:not(:last-child) {
    border-right: none;
    padding-right: 0;
  }
  .hero__stats { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { justify-content: center; }

  .slider__btn { width: 38px; height: 38px; }
  .slider__btn--prev { left: -8px; }
  .slider__btn--next { right: -8px; }

  .sticky-promo__offer { display: none; }
  .sticky-promo__name { font-size: 14px; }
}

/* ---------- ≤ 420px ---------- */
@media (max-width: 420px) {
  .btn--lg { padding: 13px 24px; font-size: 14px; }
  .game-card { flex-basis: calc(100% - 0px); }
  .hero h1 { font-size: 28px; }
  .brand__name span { display: none; }
}
