/* ========= RESPONSIVE STYLES ========= */

/* Desktop Large */
@media screen and (min-width: 1920px) {
  .games-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Desktop Medium */
@media screen and (min-width: 1280px) and (max-width: 1919px) {
  .games-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Laptop */
@media (max-width: 1400px) {
  .games-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Tablet Landscape */
@media (max-width: 1200px) {
  .games-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .footer-top {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* Tablet Portrait */
@media (max-width: 1024px) {
  .games-grid, .sports-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-section {
    grid-template-columns: 1fr;
  }
  
  .astro-slider__slide {
    padding: 0 40px;
  }
  
  .astro-slider__title {
    font-size: 42px;
  }
  
  .astro-slider__content {
    max-width: 50%;
  }
  
  .astro-slider__image {
    width: 45%;
  }
}

/* Mobile Landscape / Small Tablet */
@media (max-width: 992px) {
  .sidebar {
    width: 260px !important;
    transform: translateX(-100%);
    transition: transform .3s ease;
    z-index: 100;
  }
  
  .sidebar.open {
    transform: translateX(0);
  }
  
  .main-content {
    margin-left: 0 !important;
  }
  
  .main-content.expanded {
    margin-left: 0 !important;
  }
  
  .games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer {
    margin-left: 0;
  }
  
  .footer.expanded {
    margin-left: 0;
  }
}

/* Mobile Large */
@media (max-width: 768px) {
  .header-right {
    gap: 12px;
  }
  
  .header-func__container {
    flex-direction: column;
    gap: 20px;
  }
  
  .header-func__search-container {
    max-width: 100%;
  }
  
  .header-func__buttons-container {
    width: 100%;
    justify-content: center;
  }
  
  .seo-content h1 {
    font-size: 28px;
  }
  
  .seo-content h2 {
    font-size: 24px;
    margin: 36px 0 20px;
  }
  
  .seo-content h3 {
    font-size: 18px;
  }
  
  .seo-content p {
    font-size: 15px;
    text-align: left;
  }
  
  .games-grid, .sports-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .astro-slider {
    height: 450px;
    margin: 0 16px 32px;
    width: calc(100% - 32px);
  }
  
  .astro-slider__slide {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding: 30px 20px;
  }
  
  .astro-slider__content {
    max-width: 100%;
    margin-bottom: 20px;
  }
  
  .astro-slider__title {
    font-size: 32px;
    margin-bottom: 20px;
  }
  
  .astro-slider__image {
    width: 100%;
    max-width: 100%;
    height: 40%;
  }
  
  .astro-slider__nav {
    width: 40px;
    height: 40px;
  }
  
  .astro-slider__nav--prev {
    left: 10px;
  }
  
  .astro-slider__nav--next {
    right: 10px;
  }
  
  .bo_title {
    font-size: 32px;
  }
  
  .bo_amount {
    font-size: 28px;
  }
  
  .pm_title {
    font-size: 28px;
  }
  
  .cat-nav-btn {
    min-width: 120px;
    padding: 12px 16px;
    font-size: 11px;
  }
  
  .cat-nav-icon {
    width: 20px;
    height: 20px;
  }
  
  .language-switcher {
    margin-left: 0;
    margin-top: 16px;
    width: 100%;
  }
  
  .current-lang {
    justify-content: center;
  }
  
  .lang-dropdown {
    left: 0;
    right: 0;
    width: 100%;
  }
  
  .age-restriction {
    flex-direction: column;
    text-align: center;
    font-size: 12px;
  }
}

/* Mobile Medium */
@media (max-width: 640px) {
  .games-grid, .sports-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .search-bar {
    display: none;
  }
  
  .btn-login {
    display: none;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }
  
  .sidebar {
    width: 240px !important;
  }
  
  .footer {
    padding: 32px 16px 16px;
  }
}

/* Mobile Small */
@media (max-width: 480px) {
  .astro-slider {
    height: 400px;
  }
  
  .astro-slider__badge {
    padding: 6px 15px;
  }
  
  .astro-slider__badge-text {
    font-size: 12px;
  }
  
  .astro-slider__title {
    font-size: 28px;
  }
  
  .astro-slider__subtitle {
    font-size: 16px;
  }
  
  .astro-slider__button {
    padding: 10px 25px;
  }
  
  .astro-slider__button-text {
    font-size: 14px;
  }
  
  .astro-slider__indicators {
    bottom: 20px;
  }
  
  .pm_trust_item {
    font-size: 12px;
  }
  
  .pm_trust_icon {
    width: 20px;
    height: 20px;
  }
  
  .pm_section_title {
    font-size: 24px;
  }
}