/* SilverGrove Hub - Responsive Style */

@media (max-width: 992px) {
    .header-container {
        flex-wrap: wrap;
        /* gap: 15px; */
    }

    .search-bar {
        order: 3;
        max-width: 100%;
        margin: 10px 0 0;
    }

    .hero-banner h1 {
        font-size: 32px;
    }

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

@media (max-width: 768px) {
    .header-container {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .search-bar {
        order: 3;
        width: 100% !important;
        flex: 0 0 100%;
        max-width: 100%;
        /* margin: 15px 0 0; */
    }

    .mobile-menu-btn {
        order: 2;
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
    }

    .logo {
        order: 1;
    }

    .nav-links {
        display: none !important;
    }

    .search-suggestions {
        width: 100%;
        left: 0;
        right: 0;
    }

    .hero-features {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 15px;
    }

    .game-info {
        padding: 8px;
    }

    .game-name {
        font-size: 14px;
    }

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

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

    .hero-banner h1 {
        font-size: 24px;
    }

    .hero-banner p {
        font-size: 14px;
    }

    .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
}

/* Mobile Navigation Drawer */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--primary-color);
    z-index: 2000;
    padding: 30px 20px;
    transition: var(--transition);
    box-shadow: 5px 0 15px rgba(0,0,0,0.3);
}

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

.mobile-nav ul li {
    margin-bottom: 20px;
}

.mobile-nav ul li a {
    color: white;
    font-size: 18px;
    font-weight: 500;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 1500;
    display: none;
}

.overlay.active {
    display: block;
}
