/* ===== PREVENT HORIZONTAL SCROLL ===== */
html, body {
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
}

* {
    max-width: 100%;
    box-sizing: border-box;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

.container {
    overflow: hidden;
}

/* Fix for any overflowing elements */
.hero-container,
.featured-grid,
.store-grid,
.gallery-grid,
.listen-grid,
.watch-grid,
.video-grid,
.albums-grid,
.influences-grid,
.streaming-grid,
.contact-wrapper,
.faq-grid,
.player-wrapper {
    overflow: hidden;
}

/* ===== TABLETS & SMALL LAPTOPS ===== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-image img {
        max-width: 400px;
        margin: 0 auto;
    }

    .featured-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .featured-artwork img {
        margin: 0 auto;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(13, 10, 8, 0.98);
        backdrop-filter: blur(8px);
        border-bottom: 1px solid rgba(212, 197, 181, 0.06);
        padding: 1rem 1.5rem;
        transform: scaleY(0);
        transform-origin: top center;
        opacity: 0;
        visibility: hidden;
        transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    }

    .main-nav.active {
        transform: scaleY(1);
        opacity: 1;
        visibility: visible;
    }

    .nav-list {
        flex-direction: column;
        gap: 1.25rem;
        align-items: stretch;
    }

    .nav-list a {
        display: block;
        padding: 0.5rem 0;
        font-size: 1.1rem;
    }

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

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

    .section-title {
        font-size: 1.8rem;
    }

    .listen-grid {
        grid-template-columns: 1fr; /* Stack vertically on mobile */
        gap: 0.75rem;
    }

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

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

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

    .newsletter-form {
        flex-direction: column;
        align-items: center;
    }

    .newsletter-form input {
        width: 100%;
        min-width: unset;
    }
}

/* ===== SMALL MOBILE ===== */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .listen-grid {
        grid-template-columns: 1fr; /* Keep stacked on small mobile */
        gap: 0.5rem;
    }

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

    .store-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin: 0 auto;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .featured-links .btn {
        width: 100%;
    }

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

    .footer-social {
        gap: 1rem;
    }
}
/* Mobile */
@media (max-width: 768px) {
    .hero-section {
        min-height: 500px;
        padding: 2rem 0 3rem;
    }
    
    .hero-section::before {
        opacity: 0.2;
        background-position: center 30%;
    }
    
    .hero-section::after {
        background: rgba(17, 13, 10, 0.7);
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: auto;
        padding: 1.5rem 0 2.5rem;
    }
    
    .hero-section::before {
        opacity: 0.15;
    }
}