/* ===========================
   Cuchex Music — Custom Styles
   =========================== */

body {
    background-color: #000000;
    color: #e2e2e2;
    overflow-x: hidden;
}

.glass-card {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.neon-glow-primary {
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
}

.neon-glow-primary:hover {
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.6);
}

.grid-pattern {
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
}

.waveform-bar {
    background: linear-gradient(to top, #00dbe7, transparent);
    width: 3px;
    border-radius: 2px;
    animation: bounce 1.5s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% { height: 20px; }
    50% { height: 60px; }
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* ===========================
   RESPONSIVE FIXES
   =========================== */

.mobile-menu-btn {
    display: flex;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(80vw, 320px);
    background: #131313;
    border-left: 1px solid rgba(0, 242, 255, 0.2);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 60;
}

.mobile-drawer.open {
    transform: translateX(0);
}

.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 55;
}

.mobile-drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.hamburger-line {
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.tabs-scroll {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.tabs-scroll::-webkit-scrollbar {
    display: none;
}

/* Nav transparente arriba, solido al hacer scroll */
#main-nav {
    background-color: transparent;
    backdrop-filter: none;
}

#main-nav.scrolled {
    background-color: rgba(19, 19, 19, 0.8);
    backdrop-filter: blur(20px);
    border-bottom-color: rgba(0, 242, 255, 0.2);
    box-shadow: 0 4px 20px rgba(0, 242, 255, 0.15);
}

@media (max-width: 380px) {
    .tab-btn {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        white-space: nowrap;
    }
}

@media (max-width: 360px) {
    .newsletter-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .newsletter-row input {
        border-radius: 0.5rem;
    }

    .newsletter-row button {
        border-radius: 0.5rem;
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
    }
}

@media (max-width: 767px) {
    header.hero {
        padding-top: 7rem;
    }
}