
body {
    background-color: #040308;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
    user-select: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
#pantalla {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle at center, #150933 0%, #020105 100%);
    position: relative;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.9);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}
.oculto { display: none !important; }
.glass-panel {
    position: absolute;
    width: 380px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    text-align: center;
    color: white;
    z-index: 75;
}
.neon-text { color: #ff2a6d; text-shadow: 0 0 10px #ff2a6d; margin-top: 0; }
#marcador {
    position: absolute;
    top: 25px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 0 0 10px #ff2a6d;
    z-index: 100;
}
.objeto-cae {
    position: absolute;
    font-size: 32px;
    cursor: pointer;
    z-index: 50;
    animation: caer linear forwards;
    transition: transform 0.2s;
}
.objeto-cae:hover { transform: scale(1.3); }
.btn-choice, #btn-siguiente-recuerdo {
    display: block;
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-choice:hover, #btn-siguiente-recuerdo:hover {
    background: #00f2fe;
    color: #000;
    box-shadow: 0 0 15px #00f2fe;
}
#tarro {
    font-size: 95px;
    cursor: pointer;
    z-index: 60;
    filter: drop-shadow(0 0 25px #00f2fe);
    animation: flotarSuave 2s infinite ease-in-out;
}
.sacudir { animation: sacudida 0.3s ease-in-out !important; }
.frase-tarro {
    position: absolute;
    font-weight: bold;
    font-size: 18px;
    color: #00f2fe;
    text-shadow: 0 0 10px #00f2fe, 0 0 20px #fff;
    pointer-events: none;
    z-index: 70;
    white-space: nowrap;
    animation: flotarFrase 2.5s forwards ease-out;
}
.tarjeta-hologram {
    position: relative;
    width: 300px;
    height: 190px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
    z-index: 80;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    animation: suaveEntrada 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.tarjeta-hologram::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 16px; padding: 2px;
    background: linear-gradient(135deg, #ff2a6d, #00f2fe);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0.6;
}
.nucleo-energia {
    width: 50px; height: 50px;
    background: radial-gradient(circle, #ff2a6d 0%, #9b5de5 100%);
    border-radius: 50%; cursor: pointer; z-index: 85;
    display: flex; justify-content: center; align-items: center;
    box-shadow: 0 0 25px #ff2a6d;
    animation: pulsoNucleo 1.5s infinite ease-in-out;
}
.nucleo-energia::after { content: '❤'; color: #fff; font-size: 20px; }
.mensaje-neon {
    position: absolute; font-size: 22px; font-weight: 800; color: #ffffff;
    text-align: center; text-transform: uppercase; letter-spacing: 2px;
    opacity: 0; transform: scale(0.6); transition: all 0.6s ease;
    text-shadow: 0 0 10px #ff2a6d, 0 0 20px #ff2a6d; z-index: 82;
}
.tarjeta-desbloqueada { background: rgba(255, 2a, 109, 0.08); box-shadow: 0 0 50px rgba(255, 42, 109, 0.3); }
.tarjeta-desbloqueada .nucleo-energia { transform: scale(0); opacity: 0; }
.tarjeta-desbloqueada .mensaje-neon { opacity: 1; transform: scale(1); }
.desvanecer-holograma { opacity: 0 !important; transform: scale(0.3) translateY(-80px) !important; }
.particula-flor, .fuego-artificial { position: absolute; border-radius: 50%; pointer-events: none; }
.particula-flor { z-index: 90; animation: estallidoFlor 1.5s forwards cubic-bezier(0.1, 0.8, 0.25, 1); }
.fuego-artificial { z-index: 5; animation: estallidoCohete 1.2s forwards cubic-bezier(0.1, 0.8, 0.2, 1); }
#beso-emoji { position: absolute; font-size: 75px; opacity: 0; pointer-events: none; z-index: 110; }
.lanzar-beso { animation: volarBeso 1.8s cubic-bezier(0.19, 1, 0.22, 1) forwards; }

@keyframes caer { 0% { transform: translateY(-50px); opacity: 0; } 10% { opacity: 1; } 100% { transform: translateY(560px); opacity: 0; } }
@keyframes flotarSuave { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes sacudida { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
@keyframes suaveEntrada { 0% { opacity: 0; transform: scale(0.4) translateY(60px); } 100% { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes pulsoNucleo { 0%, 100% { box-shadow: 0 0 20px #ff2a6d; } 50% { box-shadow: 0 0 35px #ff2a6d, 0 0 20px #00f2fe; } }
@keyframes flotarFrase { 0% { transform: translate(0,0) scale(0.5); opacity: 0; } 20% { opacity: 1; transform: translate(var(--fx), -40px) scale(1.1); } 100% { transform: translate(var(--fx), -160px) scale(0.8); opacity: 0; } }
@keyframes estallidoFlor { 0% { transform: translate(0, 0) scale(1.5); opacity: 1; } 100% { transform: translate(var(--mx), var(--my)) translateY(30px) scale(0); opacity: 0; } }
@keyframes estallidoCohete { 0% { transform: translate(0, 0) scale(1); opacity: 1; } 100% { transform: translate(var(--fx), var(--fy)) scale(0); opacity: 0; } }
@keyframes volarBeso { 0% { transform: scale(0) rotate(-20deg); opacity: 0; } 20% { opacity: 1; transform: scale(1); } 100% { transform: scale(6.5) translateY(-40px); opacity: 0; filter: blur(4px); } }