/* --- CONFIGURACIÓN BASE --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none; /* Evita que el usuario seleccione texto accidentalmente */
}

body {
    background-color: #020617; /* Slate-950 */
    color: white;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    overflow: hidden; /* Evita scroll innecesario fuera de los paneles */
    height: 100vh;
}

/* --- FONDO ANIMADO --- */
.background-container {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: move 20s infinite alternate ease-in-out;
}

.shape-1 {
    width: 450px;
    height: 450px;
    background: #1e40af; /* Azul oscuro */
    top: -10%;
    left: -10%;
}

.shape-2 {
    width: 550px;
    height: 550px;
    background: #7e22ce; /* Púrpura */
    bottom: -10%;
    right: -10%;
    animation-duration: 25s;
    animation-delay: -5s;
}

@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(100px, 50px) scale(1.1); }
}
/* Contacto card */

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.2rem;
    border-radius: 18px;
    display: block;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
    border-color: currentColor;
}

/* --- CRISTALMORFISMO (GLASS PANELS) --- */
.glass-panel {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
}

.profile-img-container {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 3px solid rgba(59, 130, 246, 0.4);
    overflow: hidden;
    background: rgba(0, 0, 0, 0.2);
}

.main-btn {
    width: 100%;
    padding: 1rem;
    background: white;
    color: black;
    font-weight: 800;
    border-radius: 20px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.main-btn:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

/* --- REPRODUCTOR DE MÚSICA --- */
.music-card {
    transition: all 0.4s ease;
}

#progress-bar {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    height: 4px;
    border-radius: 10px;
}

#progress-bar::-webkit-slider-thumb {
    appearance: none;
    width: 12px;
    height: 12px;
    background: #3b82f6;
    border-radius: 50%;
}

/* --- VISUALIZADORES (BARS) --- */
.visualizer {
    position: absolute;
    display: flex;
    gap: 2px;
    width: 100%;
    height: 6px;
    left: 0;
}

#vs-top { bottom: 0; }
#vs-bottom, #vs-services, #vs-wa, #vs-tg, #vs-discord, #vs-combo { top: 0; }

.bar {
    flex: 1;
    height: 100%;
    background: rgba(59, 130, 246, 0.5);
    transform-origin: bottom;
    transition: transform 0.1s ease;
}

/* --- SISTEMA DE PANELES --- */
.notification-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem 1.5rem 2rem 1.5rem;
    border-radius: 35px 35px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.notification-panel.active {
    transform: translateY(0);
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 90;
}

.close-btn {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 32px;
    height: 32px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(239, 68, 68, 0.2);
    cursor: pointer;
    font-size: 0.8rem;
}

/* --- BOTONES DE SERVICIOS --- */
.service-btn {
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    font-weight: 700;
    color: white;
    transition: all 0.3s ease;
    text-align: center;
}

.service-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(59, 130, 246, 0.5);
    transform: translateY(-3px);
}

/* --- BOTONES DE PAÍSES Y CONTINENTES --- */
.continent-title {
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.15em;
    margin-bottom: 0.8rem;
    padding-left: 0.6rem;
    border-left: 3px solid currentColor;
    text-transform: uppercase;
}

.country-btn {
    display: block;
    padding: 0.8rem 0.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
    text-align: center;
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
}

.country-btn:hover {
    transform: translateY(-2px);
    border-color: currentColor;
    background: rgba(255, 255, 255, 0.06);
}

/* --- SCROLLBAR PERSONALIZADA --- */
.custom-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.custom-scroll::-webkit-scrollbar {
    width: 4px;
}

.custom-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

/* --- UTILIDADES --- */
.hidden {
    display: none !important;
}

/* --- RESPONSIVE --- */
@media (max-width: 640px) {
    .notification-panel {
        padding: 2.5rem 1rem 1.5rem 1rem;
    }
    
    .grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
