/* ============================================================
   VAVADA KASYNO — Responsive Stylesheet
   Mobile-first breakpoints: 375 / 768 / 1024 / 1440px
   ============================================================ */

/* ============================================================
   Base (Mobile: < 768px)
   ============================================================ */

/* Header */
.header__nav {
  display: none;
}

.hamburger {
  display: flex;
}

.header__actions .btn-nav {
  display: none;
}

/* Hero */
.hero {
  min-height: auto;
  padding-top: calc(var(--header-height) + var(--space-lg));
  padding-bottom: var(--space-2xl);
}

.hero__inner {
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding: var(--space-lg) var(--space-md);
}

.hero__content {
  text-align: center;
  max-width: 100%;
}

.hero__badge {
  display: inline-flex;
  font-size: 0.7rem;
}

.hero__subtitle {
  font-size: 1rem;
  margin-left: auto;
  margin-right: auto;
}

.hero__subtitle::first-letter {
  font-size: 2.6rem;
}

.hero__buttons {
  justify-content: center;
}

.hero__trust {
  justify-content: center;
  gap: var(--space-sm);
}

.hero__trust-item {
  font-size: 0.78rem;
}

.hero__visual {
  order: -1;
}

.hero__watermark {
  font-size: 60vw;
  top: 0;
  right: -10%;
}

/* Features */
.features {
  padding: var(--space-3xl) 0;
  clip-path: polygon(0 0, 100% 2%, 100% 100%, 0 98%);
}

.features__grid {
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

/* Stats */
.stats__inner {
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.stat:not(:last-child)::after {
  display: none;
}

.stat__number {
  font-size: 2rem;
}

/* Bonuses */
.bonuses {
  padding: var(--space-3xl) 0;
}

.bonuses__grid {
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

/* Games */
.games {
  padding: var(--space-3xl) 0;
}

.games__grid {
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}

.game-card--tall,
.game-card--short {
  height: 240px;
}

.games__tabs {
  overflow-x: auto;
  flex-wrap: nowrap;
  justify-content: flex-start;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.games__tabs::-webkit-scrollbar {
  display: none;
}

/* Payments */
.payments {
  padding: var(--space-3xl) 0;
}

.payments__grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

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

/* Footer */
.footer__main {
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  padding: var(--space-2xl) 0;
  text-align: center;
}

.footer__brand {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__social {
  justify-content: center;
}

.footer__links {
  align-items: center;
}

.footer__legal-inner {
  flex-direction: column;
  text-align: center;
}

.footer__legal-links {
  justify-content: center;
}

/* ============================================================
   Tablet (>= 768px)
   ============================================================ */
@media (min-width: 768px) {
  .hero__inner {
    padding: var(--space-2xl) var(--space-md);
  }

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

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

  .bonuses__grid .bonus-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }

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

  .game-card--tall {
    height: 300px;
  }
  .game-card--short {
    height: 240px;
  }

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

  .footer__main {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }

  .footer__brand {
    align-items: flex-start;
  }

  .footer__social {
    justify-content: flex-start;
  }

  .footer__links {
    align-items: flex-start;
  }

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

  .stat:not(:last-child)::after {
    display: block;
  }
}

/* ============================================================
   Desktop Small (>= 1024px)
   ============================================================ */
@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }

  .header__nav {
    display: flex;
  }

  .header__actions .btn-nav {
    display: inline-flex;
  }

  .hero {
    min-height: 100vh;
    padding-bottom: 0;
  }

  .hero__inner {
    grid-template-columns: 55fr 45fr;
    padding: var(--space-3xl) var(--space-md);
  }

  .hero__content {
    text-align: left;
  }

  .hero__buttons {
    justify-content: flex-start;
  }

  .hero__trust {
    justify-content: flex-start;
  }

  .hero__visual {
    order: 0;
  }

  .features {
    padding: var(--space-4xl) 0;
    clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%);
  }

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

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

  .bonuses__grid .bonus-card:last-child {
    grid-column: auto;
    max-width: 100%;
  }

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

  .game-card--tall {
    height: 340px;
  }
  .game-card--short {
    height: 260px;
  }

  .payments__grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  .footer__main {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }

  .footer__legal-inner {
    flex-direction: row;
  }
}

/* ============================================================
   Desktop Large (>= 1440px)
   ============================================================ */
@media (min-width: 1440px) {
  .container {
    max-width: 1360px;
  }

  .hero__inner {
    max-width: 1360px;
  }

  .hero__subtitle {
    font-size: 1.2rem;
  }

  .features__grid {
    gap: var(--space-xl);
  }

  .bonuses__grid {
    gap: var(--space-xl);
  }

  .games__grid {
    gap: var(--space-xl);
  }
}

/* ============================================================
   Cursor follower: hide on touch devices
   ============================================================ */
@media (hover: none), (pointer: coarse) {
  .cursor-dot {
    display: none !important;
  }
}

/* ============================================================
   Landscape phones
   ============================================================ */
@media (max-width: 767px) and (orientation: landscape) {
  .hero {
    min-height: auto;
  }

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

  .stat:not(:last-child)::after {
    display: block;
  }
}
