:root {
    --brand-black: #000000;
    --brand-green: #8CD600;
    /* Verde Manzana */
    --brand-grey: #333333;
    --glass-bg: rgba(51, 51, 51, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-color: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--brand-black);
    color: var(--text-color);
    overflow: hidden;
    /* Prevent scrollbars from background zoom */
    height: 100vh;
    display: flex;
    flex-direction: column;
}

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

.background-image {
    width: 100%;
    height: 100%;
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    /* Blur effect */
    animation: zoomEffect 20s infinite alternate;
    /* Slow zoom */
}

@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.2);
    }
}

/* Mobile Header */
.mobile-header {
    display: none;
    /* Hidden on desktop */
    background-color: #1a1a1a;
    /* Dark grey almost black */
    border-bottom: 2px solid var(--brand-green);
    padding: 10px 20px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.header-logo {
    height: 40px;
    width: auto;
}

/* Main Container */
.main-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

/* Main Title */
.main-title {
    font-family: 'Varela Round', sans-serif;
    color: white;
    font-size: 2.2rem;
    /* Reduced size */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.slogan {
    font-family: 'DM Sans', sans-serif;
    color: var(--brand-green);
    font-size: 0.9rem;
    margin-top: -15px;
    margin-bottom: 25px;
    text-align: center;
    letter-spacing: 1px;
}

/* Glass Box */
.glass-box {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    height: 300px;
    /* Square */
    transition: transform 0.4s ease, box-shadow 0.4s ease, background-color 0.4s ease;
    /* Smooth transition */
}

.glass-box:hover {
    transform: scale(1.05);
    /* Slight zoom */
    box-shadow: 0 8px 32px 0 rgba(255, 255, 255, 0.2);
    /* White glow shadow */
    background: rgba(255, 255, 255, 0.15);
    /* Slightly lighter background */
    border-color: rgba(255, 255, 255, 0.3);
}

.main-logo {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

/* Player Controls */
.player-controls {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
    background: rgba(0, 0, 0, 0.6);
    padding: 15px 30px;
    border-radius: 50px;
    border: 1px solid var(--brand-green);
}

.control-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    color: var(--brand-green);
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

#volume-slider {
    width: 100px;
    accent-color: var(--brand-green);
}

/* Live Button */
.live-btn {
    background-color: #ff0000;
    color: white;
    border: NONE;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    animation: glow 1.5s infinite alternate;
    cursor: default;
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
        filter: brightness(1);
    }

    to {
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.9);
        filter: brightness(1.2);
    }
}

.dot {
    width: 10px;
    height: 10px;
    background-color: white;
    border-radius: 50%;
    display: inline-block;
}

/* Social Media Icons */
.social-icons {
    display: flex;
    flex-direction: row;
    /* Explicitly horizontal */
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    /* Remove underlines */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    /* Subtle background */
}

.copyright {
    color: white;
    font-size: 0.8rem;
    margin-top: 20px;
    text-align: center;
    font-family: 'DM Sans', sans-serif;
    opacity: 0.8;
}

.social-icons a:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    /* White glow */
    background: rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
    z-index: 100;
}

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

/* Responsiveness */
@media (max-width: 768px) {
    .mobile-header {
        display: flex;
        padding: 15px 20px;
    }

    .header-logo {
        height: 50px;
    }

    .main-title {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }

    .slogan {
        font-size: 0.75rem;
        margin-bottom: 20px;
    }

    .glass-box {
        width: 220px;
        height: 220px;
        padding: 20px;
        margin-bottom: 20px;
    }

    .player-controls {
        padding: 10px 20px;
        gap: 15px;
        margin-bottom: 20px;
    }

    .control-btn {
        font-size: 1.5rem;
        width: 40px;
        height: 40px;
    }

    .volume-container {
        gap: 5px;
    }

    #volume-slider {
        width: 80px;
    }

    .live-btn {
        padding: 8px 18px;
        font-size: 0.85rem;
    }

    .social-icons {
        gap: 15px;
        margin-top: 15px;
    }

    .social-icons a {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .copyright {
        font-size: 0.7rem;
        margin-top: 15px;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }

    .audio-visualizer {
        height: 60px;
    }
}

/* Audio Visualizer */
/* Audio Visualizer */
.audio-visualizer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 2px;
    padding-bottom: 0;
    z-index: 5;
    /* border-top removed as requested */
    border-top: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    overflow: hidden;
}

.audio-visualizer.active {
    opacity: 1;
}

.bar {
    width: 10px;
    height: 10px;
    background: var(--brand-green);
    border-radius: 5px 5px 0 0;
    opacity: 0.8;
    box-shadow: 0 0 5px var(--brand-green);
    flex-grow: 1;
    /* Ensure they fill space */
}

.audio-visualizer.active .bar {
    animation-name: wave;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    animation-direction: alternate;
    /* Duration and delay set by JS */
}

@keyframes wave {
    0% {
        height: 5%;
    }

    100% {
        height: 80%;
    }
}