/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: white;
    background-color: #000;
    overflow: hidden; /* Prevent scroll on desktop main view */
    height: 100vh;
    width: 100vw;
}

/* Video Background Slider */
.video-background-slider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.bg-video.active {
    opacity: 1;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay */
}

/* Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 30px; /* Reduced padding */
    background: #000; /* Solid black background */
    border-bottom: 2px solid #D30000; /* Red border to match theme */
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    height: 80px; /* Explicit smaller height */
}

.menu-icon {
    font-size: 20px; /* Slightly smaller icon */
    color: #D30000; /* Red from image */
    cursor: pointer;
}

.logo-container .header-logo {
    height: 90px; /* Reduced from 120px */
    transition: height 0.3s ease;
    margin-top: 5px;
}

.social-icons a {
    color: white;
    margin-left: 15px;
    font-size: 18px;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    transition: transform 0.2s;
}

.social-icons a:hover {
    transform: scale(1.1);
}

.social-icons .fa-facebook-f { background: #D30000; padding: 8px; border-radius: 50%; }
.social-icons .fa-instagram { background: #D30000; padding: 8px; border-radius: 50%; }
.social-icons .fa-tiktok { background: #D30000; padding: 8px; border-radius: 50%; }

/* Main Content (Desktop) */
.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 100px); /* Minus footer height */
    position: relative;
    z-index: 1;
}

.center-logo img {
    max-width: 600px;
    width: 80%;
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.5));
}

/* Player Bar (Desktop Footer) */
.player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px; /* Fixed height for footer */
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 20;
    border-top: 2px solid #333;
}

.player-left {
    display: flex;
    align-items: center;
    height: 100%;
    flex: 1;
}

.al-aire-badge {
    background-color: #D30000;
    color: white;
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
}

.al-aire-badge i {
    margin-right: 10px;
}

.player-info {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.player-info img {
    height: 60px;
    width: 60px;
    object-fit: contain;
    background: #222;
    border-radius: 5px;
    margin-right: 15px;
}

.track-name {
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
}

.player-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex: 1;
}

.control-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: color 0.2s;
}

.control-btn:hover {
    color: #D30000;
}

.play-btn-large {
    font-size: 30px;
    background: #D30000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 10px rgba(211, 0, 0, 0.5);
}

.play-btn-large:hover {
    color: white;
    transform: scale(1.05);
}

.player-right {
    display: flex;
    align-items: center;
    height: 100%;
    flex: 2; /* Give more space to the banner */
    justify-content: flex-end;
    position: relative;
    background: #000; /* Ensure background is black */
}

.banner-slider {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    max-width: 100%; /* Fill the available space */
}

.banner-slider .slide {
    width: 100%;
    height: 100%;
    display: none;
}

.banner-slider .slide.active {
    display: block;
    height: 100%;
}

.banner-slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.whatsapp-float {
    position: fixed;
    bottom: 150px; /* Moved up from 120px */
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 30;
    transition: transform 0.2s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Mobile View Hidden by Default on Desktop */
.mobile-player-view {
    display: none;
}

/* =========================================
   MEDIA QUERIES (Mobile Layout)
   ========================================= */
@media (max-width: 768px) {
    body {
        /* Red textured background */
        background: url('https://www.transparenttextures.com/patterns/black-linen.png'), radial-gradient(circle at center, #800000 0%, #300000 100%);
        height: 100vh;
        overflow: hidden;
    }

    /* Hide Desktop Elements */
    .video-background-slider,
    .main-content,
    .player-bar,
    .main-header, /* Hide desktop header */
    .whatsapp-float.desktop-only {
        display: none !important;
    }

    /* Show Mobile Player View */
    .mobile-player-view {
        display: flex;
        flex-direction: column;
        height: 100vh;
        width: 100%;
        padding: 10px 20px;
        position: relative;
    }

    /* Mobile Top Bar */
    .mobile-top-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 10px 0;
    }

    .mobile-menu-icon {
        font-size: 28px;
        color: #D30000;
    }

    .mobile-logo img {
        height: 40px;
    }

    /* Status Bar (Al Aire) */
    .mobile-status-bar {
        text-align: center;
        margin-bottom: 10px;
    }

    .al-aire-indicator {
        display: inline-block;
        color: white;
        font-weight: bold;
        text-transform: uppercase;
        font-size: 16px;
        letter-spacing: 1px;
    }
    
    .al-aire-indicator i {
        margin-right: 5px;
    }

    /* Mobile Album Art */
    .mobile-album-art {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        margin: 10px 0;
    }

    .art-container {
        width: 80vw; /* Responsive width */
        max-width: 320px;
        aspect-ratio: 1/1; /* Square */
        background: linear-gradient(135deg, #D30000, #800000);
        border-radius: 20px;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 4px solid #FFD700; /* Yellow border */
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
        padding: 20px;
    }

    .art-container img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /* Track Info */
    .mobile-track-info {
        text-align: center;
        margin: 10px 0 20px 0;
    }

    .mobile-track-info h2 {
        font-size: 22px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: white;
        text-shadow: 2px 2px 0px #000;
    }

    /* Controls */
    .mobile-controls {
        display: flex;
        justify-content: space-between; /* Spread out */
        align-items: center;
        width: 100%;
        padding: 0 20px;
        margin-bottom: 30px;
    }

    .mobile-controls .control-btn {
        font-size: 24px;
        color: white;
        background: none;
        border: none;
        cursor: pointer;
    }

    .mobile-controls .play-btn-mobile {
        width: 65px;
        height: 65px;
        font-size: 28px;
        background-color: #FFD700; /* Yellow play button */
        color: #000;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
        margin: 0 10px;
    }
    
    .mobile-controls .play-btn-mobile i {
        margin-left: 4px; /* Optical adjustment for play icon */
    }

    /* Footer Socials (Mobile) */
    .mobile-footer-socials {
        display: flex;
        justify-content: center;
        gap: 30px;
        width: 100%;
        padding-bottom: 20px;
        margin-top: auto;
    }

    .mobile-footer-socials a {
        color: white;
        font-size: 22px;
        transition: color 0.3s;
    }
    
    .mobile-footer-socials a:hover {
        color: #FFD700;
    }
}
