/* =============================================
   Dafabet Theme - Responsive Stylesheet
   ============================================= */

@media (max-width: 1400px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
    }
}

@media (max-width: 1200px) {
    .promo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .nav-list > li > a {
        padding: 14px 15px;
        font-size: 13px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .content-layout {
        grid-template-columns: 1fr;
    }

    .sidebar {
        display: none;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-slide {
        height: 300px;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

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

    .single-post {
        padding: 20px;
    }

    .post-title {
        font-size: 26px;
    }

    .page-banner h1 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .header-top .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .login-form {
        display: none;
    }

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

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        width: 100%;
    }

    .nav-menu.active {
        display: block;
    }

    .main-nav .container {
        flex-wrap: wrap;
    }

    .nav-list {
        flex-direction: column;
        width: 100%;
    }

    .nav-list > li > a {
        padding: 12px 15px;
        border-bottom: 1px solid #333;
        font-size: 14px;
    }

    .nav-list .sub-menu {
        position: static;
        border: none;
        box-shadow: none;
        background: #1a1a1a;
    }

    .nav-list > li:hover > .sub-menu {
        display: block;
    }

    .nav-list .sub-menu li a {
        padding-left: 30px;
    }

    .promo-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-title {
        font-size: 24px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-slide {
        height: 250px;
    }

    .hero-swiper .swiper-button-next,
    .hero-swiper .swiper-button-prev {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 22px;
    }

    .promo-section,
    .games-section {
        padding: 40px 0;
    }

    .error-code {
        font-size: 80px;
    }

    .error-title {
        font-size: 24px;
    }

    .site-footer {
        margin-top: 40px;
    }

    .page-banner {
        padding: 25px 0;
    }

    .page-banner h1 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: 1fr;
    }

    .btn-hero-cta {
        padding: 10px 25px;
        font-size: 14px;
    }

    .hero-slide {
        height: 200px;
    }

    .hero-title {
        font-size: 20px;
    }

    .hero-subtitle {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .page-banner h1 {
        font-size: 20px;
    }

    .post-title {
        font-size: 22px;
    }

    .single-post {
        padding: 15px;
    }

    .post-content {
        font-size: 15px;
    }

    .error-code {
        font-size: 60px;
    }

    .error-actions .btn-hero-cta {
        padding: 10px 20px;
        font-size: 14px;
    }

    .container {
        padding: 0 10px;
    }

    .promo-card-img,
    .promo-card-img.placeholder {
        height: 150px;
    }

    .sponsors-scroll {
        animation: none;
    }

    .footer-bottom {
        padding: 15px 0;
    }
}
