/* 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;
}



/* 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 {
        background: url('https://www.transparenttextures.com/patterns/black-linen.png'), radial-gradient(circle at center, #800000 0%, #300000 100%);
        min-height: 100vh;
        overflow: hidden; /* Prevent scrolling */
    }

    .main-content, .player-bar, .main-header, .whatsapp-float.desktop-only, #single-text-slider-container {
        display: none !important;
    }

    .mobile-player-view {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly; /* Distribute space evenly */
        align-items: center;
        height: 100vh; /* Take full viewport height */
        padding: 10px;
        box-sizing: border-box;
    }

    .mobile-top-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

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

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

    .mobile-status-bar {
        text-align: center;
        width: 100%;
        color: white;
        font-weight: bold;
        text-transform: uppercase;
        font-size: 16px;
    }
    
    .mobile-album-art {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .art-container {
        width: 65vw; /* Slightly smaller */
        max-width: 280px;
        aspect-ratio: 1/1;
        background: linear-gradient(135deg, #D30000, #800000);
        border-radius: 20px;
        border: 4px solid #FFD700;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
        padding: 15px;
    }

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

    .mobile-track-info {
        text-align: center;
    }

    .mobile-track-info h2 {
        font-size: 18px; /* Slightly smaller */
        font-weight: 900;
        text-transform: uppercase;
        color: white;
        text-shadow: 2px 2px 0px #000;
    }

    .mobile-controls {
        display: flex;
        justify-content: space-around;
        align-items: center;
        width: 100%;
        max-width: 350px;
    }

    .mobile-controls .control-btn {
        font-size: 20px; /* Slightly smaller */
    }

    .mobile-controls .play-btn-mobile {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }

    .mobile-footer-socials {
        display: flex;
        justify-content: center;
        gap: 20px;
        width: 100%;
    }

    .mobile-footer-socials a {
        color: white;
        font-size: 18px; /* Slightly smaller */
    }
}

/* New Single Text Slider Styles */
#single-text-slider-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('slider.png'); /* Imagen de fondo */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    z-index: -1;
    overflow: hidden; /* Para que el logo no se salga */
    perspective: 1000px; /* Para el efecto 3D */
}

#single-text-slider-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Capa negra con 60% de opacidad */
    z-index: -1; /* Detrás del contenido pero encima de la imagen de fondo */
}

.logo-background {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.1; /* Logo tenue */
    z-index: -1; /* Detrás del texto */
}

.logo-background img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    animation: logoPulse 5s infinite alternate;
}

.text-3d {
    position: relative;
    font-size: 3em;
    font-weight: 900;
    color: #FFD700; /* Amarillo */
    text-shadow: 
        -1px -1px 0 #D30000,  
        1px -1px 0 #D30000,
        -1px 1px 0 #D30000,
        1px 1px 0 #D30000,
        2px 2px 0px rgba(0,0,0,0.5); /* Sombra para efecto 3D */
    transform-style: preserve-3d;
    animation: textFloat 10s infinite ease-in-out;
    line-height: 1.2;
}

.text-3d span {
    display: block;
    transform: translateZ(0);
    animation: letterRotate 10s infinite ease-in-out;
}

/* Keyframe Animations */
@keyframes logoPulse {
    from { transform: scale(1); opacity: 0.1; }
    to { transform: scale(1.1); opacity: 0.15; }
}

@keyframes textFloat {
    0% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
    25% { transform: translateY(-10px) rotateX(5deg) rotateY(5deg); }
    50% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
    75% { transform: translateY(10px) rotateX(-5deg) rotateY(-5deg); }
    100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
}

@keyframes letterRotate {
    0% { transform: rotateY(0deg); }
    50% { transform: rotateY(10deg); }
    100% { transform: rotateY(0deg); }
}
