/* Configuración Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: radial-gradient(circle, #2c3e50 0%, #000000 100%);
    color: white;
    overflow: hidden;
}

/* Títulos */
h1 { font-weight: 800; font-size: 40px; text-transform: uppercase; letter-spacing: 5px; margin-bottom: 5px; }
p { margin-bottom: 30px; opacity: 0.7; font-weight: 300; }

/* Estación de Batería */
.drum-station {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 1000px;
}

.row {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    gap: 20px;
}

/* Estilo General de los Tambores/Platos */
.name {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 6px solid #333;
    cursor: pointer;
    transition: all 0.08s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    background: #444;
    user-select: none;
    width: 100px;
    height: 100px;
}

.name h2 { font-size: 24px; margin: 0; }
.name h3 { font-size: 10px; text-transform: uppercase; margin-top: 2px; }

/* --- POSICIONAMIENTO REAL --- */

/* 1. Platos (Arriba) */
.plates .plate {
    background: radial-gradient(circle, #ffd700, #b8860b) !important;
    border: 4px solid #856d05 !important;
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
}

/* 2. Toms (Centro) */
.toms .name {
    background: radial-gradient(circle, #2980b9, #1a5276);
    width: 110px;
    height: 110px;
}

/* 3. El Corazón (Base) */
.heart { gap: 30px; }

/* El Bombo (Céntrico y Grande) */
.kick {
    width: 200px !important;
    height: 200px !important;
    background: radial-gradient(circle, #444, #111) !important;
    border: 10px solid #222 !important;
    z-index: 2;
}

/* La Caja (A la izquierda, blanca/metal) */
.heart .name[id="74"] {
    background: radial-gradient(circle, #ffffff, #bdc3c7) !important;
    color: #333;
    width: 130px;
    height: 130px;
}

/* --- ANIMACIONES --- */

.animate {
    transform: scale(0.92) translateY(8px) !important;
    box-shadow: 0 0 40px rgba(255,255,255,0.6) !important;
    filter: brightness(1.3);
}

/* Vibración de la Caja (Snare) */
@keyframes snare-shake {
    0% { transform: translate(1px, 1px); }
    50% { transform: translate(-2px, -1px); }
    100% { transform: translate(0); }
}

.snare-vibration {
    animation: snare-shake 0.1s infinite;
    border-color: #f1c40f !important;
}
.btn-return {
    background-color: #ff4757; /* Un rojo vibrante */
    color: white;
    padding: 15px 30px;
    font-size: 20px;
    font-family: Arial, sans-serif;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.2s;
}

.btn-return:hover {
    transform: scale(1.1); /* Se agranda un poquito al pasar el ratón */
    background-color: #ff6b81;
}
/* Clase para ocultar */
    .hidden { display: none !important; }

    /* Contenedor principal */
    #modal-victoria {
        position: fixed; top: 0; left: 0; width: 100%; height: 100%;
        z-index: 9999; display: flex; justify-content: center; align-items: center;
        font-family: 'Arial', sans-serif;
    }

    /* Fondo oscuro desenfocado */
    .modal-fondo {
        position: absolute; width: 100%; height: 100%;
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(5px);
    }

    /* Caja del mensaje */
    .modal-caja {
        position: relative; width: 400px;
        background: linear-gradient(135deg, #2a0044 0%, #000000 100%);
        border: 3px solid #ae00ff; /* Borde morado neón */
        border-radius: 20px; padding: 30px; text-align: center; color: white;
        box-shadow: 0 0 30px #ae00ff, 0 0 10px #00ffff inset;
        animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .modal-icono { font-size: 50px; margin-bottom: 15px; text-shadow: 0 0 20px #fff; }

    .modal-caja h2 {
        color: #00ffff; margin: 0 0 15px 0; text-transform: uppercase; letter-spacing: 1px;
    }

    .modal-caja p { font-size: 1.1rem; line-height: 1.5; color: #e0e0e0; margin-bottom: 25px; }

    /* Botón bonito */
    #btn-volver {
        background: linear-gradient(45deg, #ff0055, #ff5500);
        color: white; border: none; padding: 15px 30px;
        font-size: 1.1rem; font-weight: bold; border-radius: 50px;
        cursor: pointer; box-shadow: 0 0 15px #ff0055;
        transition: transform 0.2s; text-decoration: none; display: inline-block;
    }
    #btn-volver:hover { transform: scale(1.1); box-shadow: 0 0 25px #ff0055; }

    @keyframes popIn { 0% { transform: scale(0); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
</style>