/* ==========================================================================
   Big Bass Hub — Responsive Stylesheet
   Breakpoints:
   - Desktop (>= 1024px) — default (in main.css / components.css)
   - Tablet (768px - 1023px)
   - Mobile (< 768px)
   - Small mobile (< 400px)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tablet (768px - 1023px)
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  :root {
    --container-padding: 1.25rem;
    --header-height: 64px;
  }

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

  .header__burger {
    display: inline-flex;
  }

  .header__cta {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer__column:first-child {
    grid-column: 1 / -1;
  }

  /* Slot catalog */
  .slot-catalog {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
  }

  /* Casino grid */
  .casino-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
  }

  /* Hero */
  .hero {
    min-height: 420px;
  }

  /* Slot hero */
  .slot-hero__stats {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  }

  /* Similar slots */
  .similar-slots {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }

  /* Filter chips - smaller */
  .filter-panel__chip {
    padding: 0.4rem 0.8rem;
    font-size: 0.825rem;
  }
}

/* --------------------------------------------------------------------------
   Mobile (< 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  :root {
    --container-padding: 1rem;
    --header-height: 60px;
  }

  /* Typography smaller on mobile */
  html {
    font-size: 15px;
  }

  section {
    padding: 2.5rem 0;
  }

  /* Header */
  .header__logo {
    font-size: 1.15rem;
  }

  .header__logo-icon {
    width: 32px;
    height: 32px;
  }

  .header__cta {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }

  /* Mobile menu */
  .header__mobile-cta {
    font-size: 0.95rem;
  }

  /* Footer */
  .footer {
    padding: 2rem 0 1rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer__column:first-child {
    grid-column: auto;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

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

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

  /* Slot catalog - 1 col */
  .slot-catalog {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Casino grid - 1 col */
  .casino-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Filter panel */
  .filter-panel {
    padding: 1.25rem;
  }

  .filter-panel__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .filter-panel__chips {
    gap: 0.4rem;
  }

  .filter-panel__chip {
    padding: 0.35rem 0.75rem;
    font-size: 0.8rem;
  }

  /* Hero */
  .hero {
    min-height: 380px;
    padding-top: calc(var(--header-height) + 2rem);
    padding-bottom: 2rem;
  }

  .hero__subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero__badges {
    gap: 0.5rem;
    margin-bottom: 1.5rem;
  }

  .hero__badge {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }

  .hero__cta {
    padding: 0.875rem 1.5rem;
    font-size: 0.95rem;
    width: 100%;
    max-width: 360px;
    justify-content: center;
  }

  /* Home sections */
  .home-section {
    padding: 2.5rem 0;
  }

  .home-section__header {
    margin-bottom: 1.75rem;
  }

  /* Slot hero */
  .slot-hero {
    padding-top: calc(var(--header-height) + 1.5rem);
    padding-bottom: 2rem;
  }

  .slot-hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .slot-stat {
    padding: 0.625rem 0.75rem;
  }

  .slot-stat__value {
    font-size: 1.05rem;
  }

  /* Comparison table - horizontal scroll */
  .comparison-table th,
  .comparison-table td {
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
  }

  /* CTA bonus */
  .cta-bonus {
    padding: 2rem 1.25rem;
  }

  .cta-bonus__text {
    font-size: 0.95rem;
  }

  .cta-bonus__cta {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* CTA promo */
  .cta-promo {
    padding: 1.25rem;
  }

  .cta-promo__code-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .cta-promo__code {
    font-size: 1.25rem;
    text-align: center;
  }

  .cta-promo__copy-btn {
    justify-content: center;
  }

  .cta-promo__cta {
    width: 100%;
    justify-content: center;
  }

  /* Demo frame buttons */
  .demo-frame__buttons {
    gap: 0.5rem;
  }

  .demo-frame__btn {
    padding: 0.625rem 1.15rem;
    font-size: 0.875rem;
  }

  .demo-frame__title {
    font-size: 1.05rem;
  }

  /* Video */
  .video-embed__play-btn {
    width: 56px;
    height: 56px;
  }

  .video-embed__play-btn svg {
    width: 22px;
    height: 22px;
  }

  /* Slider arrows smaller */
  .slider__arrow {
    width: 40px;
    height: 40px;
  }

  .slider__arrow--prev {
    left: 0.5rem;
  }

  .slider__arrow--next {
    right: 0.5rem;
  }

  /* Lightbox */
  .lightbox {
    padding: 1rem;
  }

  .lightbox__close {
    top: 0.5rem;
    right: 0.5rem;
    width: 40px;
    height: 40px;
  }

  /* FAQ */
  .faq__question {
    font-size: 0.975rem;
    padding: 1rem 0;
  }

  /* Article */
  .article {
    padding: 1.5rem var(--container-padding);
    padding-top: calc(var(--header-height) + 1.5rem);
  }

  .article__content {
    font-size: 0.975rem;
  }

  .article__content h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
  }

  .article__content h3 {
    font-size: 1.15rem;
  }

  /* Service pages */
  .service-page {
    padding: 1.5rem var(--container-padding);
    padding-top: calc(var(--header-height) + 1.5rem);
  }

  /* Similar slots - 1-2 cols */
  .similar-slots {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }

  /* Back to top */
  .back-to-top {
    bottom: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
  }

  /* Cookie banner */
  .cookie-banner {
    bottom: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
    padding: 1rem;
  }

  .cookie-banner__actions {
    flex-direction: column;
  }

  .cookie-banner__btn {
    width: 100%;
    justify-content: center;
  }

  /* Sticky nav */
  .sticky-nav__list {
    gap: 0.25rem;
  }

  .sticky-nav__link {
    padding: 0.4rem 0.75rem;
    font-size: 0.825rem;
  }
}

/* --------------------------------------------------------------------------
   Small Mobile (< 400px)
   -------------------------------------------------------------------------- */
@media (max-width: 399px) {
  :root {
    --container-padding: 0.875rem;
  }

  /* Hero smaller */
  .hero {
    min-height: 340px;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .hero__subtitle {
    font-size: 0.9rem;
  }

  /* Slot card tighter */
  .slot-card__content {
    padding: 1rem;
  }

  .slot-card__name {
    font-size: 1rem;
  }

  .slot-card__stats {
    padding: 0.5rem 0;
  }

  .slot-card__stat-value {
    font-size: 0.875rem;
  }

  .slot-card__actions {
    flex-direction: column;
  }

  .slot-card__btn {
    width: 100%;
  }

  /* Filter chips tinier */
  .filter-panel__chip {
    padding: 0.3rem 0.65rem;
    font-size: 0.75rem;
  }

  /* Slot hero stats */
  .slot-hero__stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }

  /* Casino card */
  .casino-card {
    padding: 1.25rem;
  }

  /* Comparison table - very tight */
  .comparison-table th,
  .comparison-table td {
    padding: 0.5rem 0.625rem;
    font-size: 0.8rem;
  }

  /* Hero CTA */
  .hero__cta {
    font-size: 0.875rem;
    padding: 0.75rem 1.25rem;
  }

  /* Demo frame buttons stacked */
  .demo-frame__buttons {
    flex-direction: column;
    width: 100%;
    padding: 0 1rem;
  }

  .demo-frame__btn {
    width: 100%;
    justify-content: center;
  }

  /* Headings */
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  /* Logo */
  .header__logo-text {
    display: none;
  }

  .header__cta {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
  }
}

/* --------------------------------------------------------------------------
   Print styles
   -------------------------------------------------------------------------- */
@media print {
  .header,
  .footer,
  .back-to-top,
  .cookie-banner,
  .sticky-nav,
  .filter-panel,
  .hero__cta,
  .cta-bonus,
  .cta-promo__cta,
  .demo-frame,
  .video-embed,
  .slider__arrow,
  .slider__dots {
    display: none !important;
  }

  body {
    background: #FFFFFF;
    color: #000000;
  }

  body::before,
  body::after {
    display: none;
  }

  .slot-card,
  .casino-card {
    page-break-inside: avoid;
    border: 1px solid #CCC;
    background: #FFF;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  h1, h2, h3, h4 {
    color: #000;
    page-break-after: avoid;
  }
}

/* --------------------------------------------------------------------------
   Orientation / hover support
   -------------------------------------------------------------------------- */
@media (hover: none) {
  /* Disable hover effects on touch devices */
  .slot-card:hover {
    transform: none;
  }

  .casino-card:hover {
    transform: none;
  }

  .footer__link:hover {
    padding-left: 0;
  }
}
