/* ==========================================================================
   ZB368 LIVE SPORTS - RESPONSIVE STYLESHEET
   Breakpoints: 1024px (Tablet Landscape), 768px (Tablet/Mobile), 480px (Small Mobile)
   ========================================================================== */

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

    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

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

    .hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 70px; /* Chừa khoảng trống cho thanh floating bar ở chân mobile */
    }

    .floating-mobile-bar {
        display: block;
    }

    .top-links {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #0d121c;
        flex-direction: column;
        align-items: flex-start;
        padding: 30px 24px;
        gap: 20px;
        transition: left 0.3s ease;
        border-top: 1px solid var(--border-color);
        z-index: 99;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        font-size: 1.1rem;
        width: 100%;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .mobile-toggle {
        display: block;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-section {
        padding: 40px 0;
    }

    .hero-title {
        font-size: 1.85rem;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .hero-highlights {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .highlight-num {
        font-size: 1.25rem;
    }

    .features-grid,
    .tournaments-grid,
    .predictions-grid,
    .promo-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .odds-table-container {
        overflow-x: auto;
    }

    .odds-table {
        min-width: 600px;
    }

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

    .seo-article {
        padding: 24px 16px;
    }

    .seo-article h2 {
        font-size: 1.35rem;
    }

    .seo-article h3 {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    .odds-quick-grid {
        grid-template-columns: 1fr;
    }

    .team-name {
        font-size: 0.78rem;
    }

    .match-vs {
        font-size: 0.85rem;
    }
}
