/* --- 1. FUENTE --- */
@font-face {
    font-family: 'CoolveticaCustom';
    src: url('coolvetica/Coolvetica Rg Cond.otf') format('opentype');
}

/* --- 2. GLOBAL --- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0; padding: 0;
    background: #000 url("fondo.jpg") no-repeat center center fixed;
    background-size: cover;
    color: white;
    font-family: 'CoolveticaCustom', Arial, sans-serif;
    overflow-x: hidden;
}

/* --- 3. MENÚ --- */
.menu-superior {
    position: fixed; top: 0; width: 100%;
    background: rgba(0, 0, 0, 0.95);
    padding: 22px 0; text-align: center;
    z-index: 10000; border-bottom: 2px solid #A80D46;
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}
.nav-header-movil {
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    width: 100%;
}
.nav-logo-movil {
    font-size: 1.3rem;
    color: #9BC4CF;
    letter-spacing: 2px;
}
.btn-hamburguesa {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 26px;
    padding: 0;
}
.barra-linea {
    width: 100%;
    height: 3px;
    background-color: #9BC4CF;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.nav-links a {
    color: #9BC4CF; text-decoration: none; font-size: 16px;
    letter-spacing: 2px; margin: 0 15px; text-transform: uppercase;
    transition: 0.3s;
}
.nav-links a:hover { color: #fff; text-shadow: 0 0 10px #9BC4CF; }
.separador { color: #444; margin: 0 5px; }

/* --- 4. PORTADA --- */
.contenedor-principal {
    height: 100vh; display: flex; justify-content: center;
    align-items: center; position: relative; overflow: hidden;
}
.hero { text-align: center; z-index: 10; width: 100%; }
.titulo-banda { font-size: clamp(60px, 12vw, 120px); text-transform: uppercase; margin: 0; text-shadow: 6px 6px 0px #000; }
.contenedor-boton { width: 100%; display: flex; justify-content: center; }

/* CONTENEDOR BOTÓN SECUNDARIO (PRÓXIMA FECHA / ENTRADAS) */
.contenedor-boton-secundario {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* REPARACIÓN TIPOGRAFÍA BOTONES */
.boton-tickets, #btn-juego-principal {
    display: inline-block; padding: 18px 60px; margin-top: 50px;
    border: 3px solid #A80D46; color: white; text-decoration: none;
    background: rgba(0,0,0,0.7); transition: 0.4s; text-transform: uppercase;
    font-family: 'CoolveticaCustom', Arial, sans-serif !important;
    cursor: pointer;
    font-size: 1.1rem;
    letter-spacing: 1px;
}
.boton-tickets:hover { background: #A80D46 !important; transform: scale(1.05); }

/* BOTÓN ROSA DESTACADO (MISMO TAMAÑO Y TIPOGRAFÍA) */
.boton-rosa {
    background: #A80D46 !important;
    border: 3px solid #A80D46 !important;
    color: white !important;
}
.boton-rosa:hover {
    background: #c71255 !important;
    border-color: #c71255 !important;
    box-shadow: 0 0 25px rgba(168, 13, 70, 0.8);
    transform: scale(1.05);
}

.boton-tickets-hero-rosa {
    margin-top: 0 !important;
}

/* --- 5. ZEPPELIN --- */
.zeppelin-animado {
    position: absolute; top: 22%; width: 260px; z-index: 1;
    left: -350px; animation: vueloHorizontal 40s linear infinite;
}
@keyframes vueloHorizontal { 0% { transform: translateX(0); } 100% { transform: translateX(calc(100vw + 700px)); } }

/* --- 6. PRÓXIMAS FECHAS --- */
.seccion-fechas {
    padding: 100px 20px;
    background: rgba(0,0,0,0.9);
    border-top: 2px solid #A80D46;
    text-align: center;
}
.contenido-fechas {
    max-width: 900px;
    margin: 0 auto;
}
.tarjeta-fecha {
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid #222;
    border-left: 5px solid #A80D46;
    padding: 30px 40px;
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: 0.3s;
}
.tarjeta-fecha:hover {
    border-color: #A80D46;
    box-shadow: 0 0 30px rgba(168, 13, 70, 0.3);
}
.info-fecha {
    display: flex;
    align-items: center;
    gap: 30px;
    text-align: left;
}
.dia-fecha {
    font-size: 2.8rem;
    color: #9BC4CF;
    letter-spacing: 2px;
}
.detalle-show h3 {
    margin: 0;
    font-size: 1.6rem;
    color: #fff;
    letter-spacing: 1px;
}
.detalle-show p {
    margin: 6px 0 0 0;
    font-family: monospace;
    font-size: 1.15rem;
    color: #ccc;
}
.boton-tickets-fecha {
    margin-top: 0 !important;
    white-space: nowrap;
}

/* --- 7. HISTORIA --- */
.seccion-historia { padding: 100px 20px; background: rgba(0,0,0,0.85); display: flex; justify-content: center; }
.bloque-texto { max-width: 800px; border-left: 4px solid #A80D46; padding-left: 30px; font-family: monospace; font-size: 1.2rem; }
.nota-final { color: #A80D46; font-weight: bold; margin-top: 20px; display: block; }

/* --- 8. ROSTROS --- */
.seccion-rostros { position: relative; padding: 100px 20px; min-height: 900px; background: rgba(0,0,0,0.8); }
.titulo-seccion { font-size: 3rem; color: #9BC4CF; text-align: center; margin-bottom: 80px; }
.galeria-desordenada { position: relative; max-width: 1000px; margin: 0 auto; height: 750px; }
.foto-rostro { 
    position: absolute; background: #0a0a0a; padding: 10px 10px 40px 10px; 
    border: 1px solid #222; transition: 0.4s ease-out; cursor: pointer;
}
.foto-rostro img { width: 230px; height: 300px; object-fit: cover; filter: grayscale(1); transition: 0.4s; }
.foto-rostro span { display: block; text-align: center; color: #A80D46; margin-top: 10px; }

.foto-rostro:hover { transform: rotate(0deg) scale(1.15) !important; z-index: 1000; border-color: #A80D46; box-shadow: 0 10px 30px rgba(168, 13, 70, 0.4); }
.foto-rostro:hover img { filter: grayscale(0); }

.f1 { top: 0; left: 5%; transform: rotate(-6deg); }
.f2 { top: 60px; left: 45%; transform: rotate(5deg); }
.f3 { top: 380px; left: 12%; transform: rotate(8deg); }
.f4 { top: 340px; left: 62%; transform: rotate(-7deg); }

/* --- 9. DISCOGRAFÍA --- */
.seccion-discografia { padding: 100px 20px; text-align: center; background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url("fondo_discografia.jpeg") no-repeat center center; background-size: cover; border-top: 2px solid #A80D46; }
.contenedor-album { position: relative; width: 320px; height: 320px; margin: 120px auto; transition: transform 0.5s ease; cursor: pointer; }
.contenedor-album:hover { transform: scale(1.05); }

.portada-album { position: relative; z-index: 10; width: 100%; height: 100%; border: 1px solid #333; background: #000; box-shadow: 0 10px 50px rgba(0,0,0,0.8); }
.portada-album img { width: 100%; height: 100%; object-fit: cover; }

.disco { position: absolute; width: 290px; height: 290px; top: 15px; left: 15px; z-index: 5; transition: 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.disco img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(0.8) brightness(0.7); transition: 0.5s; }

.contenedor-album:hover .spotify { transform: translateX(-250px) rotate(-25deg); }
.spotify:hover img { filter: grayscale(0) brightness(1.1) drop-shadow(0 0 25px #1DB954); }
.contenedor-album:hover .youtube { transform: translateX(250px) rotate(25deg); }
.youtube:hover img { filter: grayscale(0) brightness(1.1) drop-shadow(0 0 25px #FF0000); }

/* --- 10. MERCH (PERCHERO CURVO INTEGRADO) --- */
.seccion-merch { padding: 100px 20px; background: rgba(5,5,5,0.95); text-align: center; overflow: hidden; border-top: 3px solid #A80D46; }
.flecha-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(168, 13, 70, 0.6); color: white; border: none; width: 50px; height: 50px; cursor: pointer; z-index: 20; font-size: 1.5rem; transition: 0.3s; border-radius: 50%; }
.flecha-nav:hover { background: #A80D46; scale: 1.1; }
.prev { left: 20px; } .next { right: 20px; }

.escena-merch { position: relative; max-width: 1200px; margin: 80px auto; perspective: 1500px; }

.perchero-estructura { position: absolute; width: 100%; height: 500px; top: -40px; pointer-events: none; z-index: 1; display: flex; justify-content: center; }
.barra-superior { width: 95%; height: 450px; border: 8px solid #222; border-bottom: none; border-radius: 200px 200px 0 0; position: absolute; top: 0; box-shadow: inset 0 10px 20px rgba(0,0,0,0.5); }
.pata-izq, .pata-der { position: absolute; width: 8px; height: 150px; background: #1a1a1a; bottom: -150px; }
.pata-izq { left: 2.5%; } .pata-der { right: 2.5%; }

.perchero-estructura::after { content: ""; position: absolute; width: 85%; height: 400px; border: 6px solid #151515; border-bottom: none; border-radius: 180px 180px 0 0; top: 20px; z-index: -1; opacity: 0.5; }

.slider-merch { display: flex; overflow-x: scroll; scroll-snap-type: x mandatory; gap: 80px; padding: 40px 100px; scrollbar-width: none; }
.slider-merch::-webkit-scrollbar { display: none; }

.item-colgante { 
    flex: 0 0 320px; 
    scroll-snap-align: center; 
    transition: 0.5s; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

.percha { 
    width: 40px; 
    height: 20px; 
    border: 3px solid #444; 
    border-bottom: none; 
    border-radius: 20px 20px 0 0; 
    margin: 0 auto -5px auto; 
    position: relative; 
    z-index: 2;
}

.percha::after { 
    content: ""; 
    position: absolute; 
    top: -10px; 
    left: 50%; 
    width: 2px; 
    height: 10px; 
    background: #444; 
}

.item-colgante img { 
    width: 100%; 
    height: auto; 
    filter: drop-shadow(10px 20px 20px #000); 
    cursor: pointer; 
    transition: 0.4s ease;
    position: relative;
    z-index: 1;
}

.item-colgante img:hover { 
    filter: drop-shadow(0 0 20px rgba(168, 13, 70, 0.8)) drop-shadow(0 0 40px rgba(168, 13, 70, 0.4)); 
    transform: scale(1.02); 
}

/* CD 3D */
.contenedor-cd-3d { display: flex; flex-direction: column; align-items: center; perspective: 1000px; margin-top: 50px; touch-action: none; }
.caja-3d { width: 250px; height: 230px; position: relative; transform-style: preserve-3d; transform: rotateY(-25deg) rotateX(10deg); transition: 1s ease-in-out; cursor: grab; }
.caja-3d:active { cursor: grabbing; }
.caja-3d:hover { transform: rotateY(335deg) rotateX(0deg); }
.cara { position: absolute; background: #111; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; backface-visibility: hidden; }
.frontal { width: 250px; height: 230px; transform: translateZ(10px); }
.frontal img { width: 100%; height: 100%; object-fit: cover; }
.trasera { width: 250px; height: 230px; transform: translateZ(-10px) rotateY(180deg); }
.trasera img { width: 100%; height: 100%; object-fit: cover; }
.lateral { width: 20px; height: 230px; left: -10px; transform: rotateY(-90deg); background: #000; font-size: 10px; color: #888; writing-mode: vertical-rl; text-align: center; }

/* --- 11. BLOG --- */
.seccion-blog { padding: 100px 20px; min-height: 100vh; position: relative; background: #0a0a0a; border-top: 3px solid #A80D46; clear: both; z-index: 5; overflow: hidden; }
.contenedor-notas { position: relative; max-width: 1100px; margin: 60px auto; height: 700px; }
.nota-suelta { position: absolute; font-family: monospace !important; font-size: 1.15rem; color: #dbdbdb; max-width: 280px; line-height: 1.5; transition: 0.3s; }
.nota-suelta:hover { color: #fff; transform: scale(1.1) rotate(0deg) !important; text-shadow: 0 0 10px #A80D46; z-index: 100; }

.n1 { top: 5%; left: 5%; transform: rotate(-2deg); }
.n2 { top: 15%; right: 10%; transform: rotate(3deg); }
.n3 { top: 40%; left: 30%; transform: rotate(-1deg); }
.n4 { bottom: 25%; left: 10%; transform: rotate(4deg); }
.n5 { bottom: 10%; right: 15%; transform: rotate(-3deg); }
.n6 { bottom: 5%; left: 45%; }

/* --- 12. MÓVIL (DESPLEGABLE / HAMBURGUESA) --- */
@media (max-width: 768px) {
    html, body { overflow-x: hidden; width: 100%; position: relative; }
    
    .menu-superior { 
        padding: 14px 0; 
    }
    .nav-header-movil {
        display: flex;
    }
    .separador { 
        display: none; 
    }
    .nav-links { 
        display: none;
        flex-direction: column; 
        align-items: center; 
        width: 100%;
        padding: 20px 0 10px 0;
        gap: 16px;
        background: rgba(0, 0, 0, 0.98);
        border-top: 1px solid #222;
        margin-top: 12px;
        animation: fadeInMenu 0.3s ease-out;
    }
    .menu-superior.menu-abierto .nav-links {
        display: flex;
    }
    .menu-superior.menu-abierto .btn-hamburguesa .barra-linea:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .menu-superior.menu-abierto .btn-hamburguesa .barra-linea:nth-child(2) {
        opacity: 0;
    }
    .menu-superior.menu-abierto .btn-hamburguesa .barra-linea:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links a { 
        display: block; 
        font-size: 15px; 
        margin: 0; 
        letter-spacing: 2px;
        padding: 8px 16px;
        width: 100%;
        text-align: center;
    }
    .nav-links a:hover {
        background: rgba(168, 13, 70, 0.2);
    }

    @keyframes fadeInMenu {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .tarjeta-fecha { 
        flex-direction: column; 
        text-align: center; 
        padding: 25px 20px; 
        width: 100%;
        box-sizing: border-box;
    }
    .info-fecha { 
        flex-direction: column; 
        gap: 10px; 
        text-align: center; 
        width: 100%;
    }
    .dia-fecha { font-size: 2.2rem; }
    .boton-tickets-fecha { 
        width: 100% !important; 
        max-width: 280px; 
        padding: 14px 20px !important; 
        margin: 20px auto 0 auto !important; 
        box-sizing: border-box !important;
        font-size: 1rem !important;
    }
    .boton-tickets-hero-rosa {
        width: 90%;
        max-width: 320px;
        padding: 14px 20px !important;
        box-sizing: border-box !important;
    }

    .seccion-rostros { min-height: 1500px; padding: 60px 0; }
    .galeria-desordenada { height: auto; display: flex; flex-direction: column; align-items: center; max-width: 100%; margin: 0; }
    .foto-rostro { position: relative !important; top: auto !important; left: auto !important; margin: 15px 0; width: 230px; }
    
    /* REPARACIÓN DISCOGRAFÍA MÓVIL: SALEN POR ARRIBA Y ABAJO */
    .seccion-discografia { padding: 100px 0; }
    .contenedor-album { width: 240px; height: 240px; margin: 180px auto; }
    .disco { width: 220px; height: 220px; transform: translateX(0) translateY(0) !important; }
    .contenedor-album.activado .spotify { transform: translateY(-160px) rotate(-10deg) !important; }
    .contenedor-album.activado .youtube { transform: translateY(160px) rotate(10deg) !important; }

    .barra-superior { width: 110%; left: -5%; border-radius: 100px 100px 0 0; height: 400px; }
    .item-colgante { flex: 0 0 85vw; }
    
    /* REPARACIÓN CD 3D MÓVIL: PERMITIR MOVIMIENTO */
    .contenedor-cd-3d { margin-top: 20px; }
    .caja-3d { transform: scale(0.7) rotateY(-25deg) rotateX(10deg); touch-action: none; pointer-events: auto; }
}


/* --- REPARACIONES Y EXTRAS AL FINAL --- */

body.juego-en-curso { overflow: hidden !important; touch-action: none; }

#canvasJuego { display: block; width: 100%; height: 100%; }

/* ESTÉTICA PARTICULAS */
.particula { position: absolute; border-radius: 50%; pointer-events: none; z-index: 20005; }
.sangre {
    background: #A80D46;
    box-shadow: 0 0 10px #ff0000;
    animation: explotarSangre 1.2s ease-out forwards;
}
.liquido-boss {
    background: #4B2E1E;
    box-shadow: 0 0 15px #2A180D;
    animation: explotarBoss 1.2s ease-out forwards;
}
@keyframes explotarSangre {
    0% { transform: scale(1.5); opacity: 1; }
    100% { transform: translate(var(--dx), var(--dy)) scale(0.2); opacity: 0; }
}
@keyframes explotarBoss {
    0% { transform: scale(1.5); opacity: 1; }
    100% { transform: translate(var(--dx), var(--dy)) scale(0.2); opacity: 0; }
}

/* --- REPARACIÓN ESTÉTICA: JUEGO --- */

#start-screen .boton-tickets {
    font-family: 'CoolveticaCustom', Arial, sans-serif !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.titulo-juego-3d {
    font-size: clamp(40px, 8vw, 80px);
    font-family: 'CoolveticaCustom', Arial, sans-serif;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 
        0 1px 0 #ccc, 
        0 2px 0 #c9c9c9, 
        0 3px 0 #bbb, 
        0 4px 0 #b9b9b9, 
        0 5px 0 #aaa, 
        0 6px 1px rgba(0,0,0,.1), 
        0 10px 10px rgba(0,0,0,.2);
    transform: rotateX(20deg);
}