/* Configuración global y fuentes retro */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Press Start 2P', monospace;
    background: #0a0a0a;
    color: #ffffff;
    overflow-x: hidden;
}

/* Fondo animado retro */
.retro-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #2d1b69, #8b5cf6, #ec4899, #2d1b69);
    background-size: 400% 400%;
    animation: gradientShift 8s ease-in-out infinite;
    z-index: 1;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Estrellas animadas */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #eee, transparent),
        radial-gradient(2px 2px at 40px 70px, #fff, transparent),
        radial-gradient(1px 1px at 90px 40px, #eee, transparent),
        radial-gradient(1px 1px at 130px 80px, #fff, transparent),
        radial-gradient(2px 2px at 160px 30px, #eee, transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 3s linear infinite;
}

@keyframes sparkle {
    0% { opacity: 0.3; transform: translateY(0px); }
    50% { opacity: 0.8; transform: translateY(-10px); }
    100% { opacity: 0.3; transform: translateY(0px); }
}



/* Tipografía retro */
.retro-title {
    font-family: 'Press Start 2P', monospace;
    /* Sombra para mejor visibilidad */
    text-shadow: 
        2px 2px 0px #000000,
        4px 4px 0px rgba(0,0,0,0.5),
        0 0 10px rgba(0,0,0,0.8);
}



.retro-subtitle {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.8rem;
    line-height: 1.6;
    /* Sombra para mejor contraste */
    text-shadow: 
        2px 2px 0px #000000,
        4px 4px 0px rgba(0,0,0,0.5),
        0 0 10px rgba(0,0,0,0.8);
}

.retro-heading {
    font-family: 'Press Start 2P', monospace;
    text-shadow: 2px 2px 0px #000, 4px 4px 0px rgba(0,0,0,0.5);
}

/* Contenedor de candados */
.locks-container {
    perspective: 1000px;
}

.lock-wrapper {
    text-align: center;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
    margin-bottom: 3rem;
}

.lock-wrapper:hover {
    transform: rotateY(10deg) scale(1.05);
}

/* Estilos de candados */
.lock {
    width: 120px;
    height: 140px;
    margin: 0 auto;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lock-body {
    position: relative;
    width: 100%;
    height: 100%;
}

.lock-shackle {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    border: 8px solid #888;
    border-bottom: none;
    border-radius: 30px 30px 0 0;
    transition: all 0.8s ease;
}

.shackle-left, .shackle-right {
    position: absolute;
    width: 8px;
    height: 30px;
    background: #888;
    top: 30px;
}

.shackle-left {
    left: -8px;
    border-radius: 4px 0 0 4px;
}

.shackle-right {
    right: -8px;
    border-radius: 0 4px 4px 0;
}

.lock-face {
    width: 100%;
    height: 80px;
    background: linear-gradient(145deg, #666, #333);
    border-radius: 15px;
    position: relative;
    border: 3px solid #555;
    box-shadow: 
        0 8px 16px rgba(0,0,0,0.3),
        inset 0 2px 4px rgba(255,255,255,0.1);
}

.keyhole {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #000;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.keyhole::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 12px;
    background: #000;
    border-radius: 0 0 2px 2px;
}

/* Candado desbloqueado */
.lock.unlocked .lock-face {
    background: linear-gradient(145deg, #ec4899, #be185d);
    border-color: #9d174d;
    box-shadow: 
        0 8px 16px rgba(236, 72, 153, 0.3),
        inset 0 2px 4px rgba(255,255,255,0.2),
        0 0 20px rgba(236, 72, 153, 0.5);
    animation: unlockPulse 2s ease-in-out infinite;
}

@keyframes unlockPulse {
    0%, 100% { box-shadow: 0 8px 16px rgba(236, 72, 153, 0.3), inset 0 2px 4px rgba(255,255,255,0.2), 0 0 20px rgba(236, 72, 153, 0.5); }
    50% { box-shadow: 0 8px 16px rgba(236, 72, 153, 0.5), inset 0 2px 4px rgba(255,255,255,0.3), 0 0 30px rgba(236, 72, 153, 0.8); }
}

.unlocked-shackle {
    border-color: #ec4899;
    animation: shackleOpen 1.5s ease-in-out infinite;
    transform: translateX(-50%) rotate(-15deg);
}

@keyframes shackleOpen {
    0%, 100% { transform: translateX(-50%) rotate(-15deg); }
    50% { transform: translateX(-50%) rotate(-20deg) translateY(-5px); }
}

.unlocked-shackle .shackle-left,
.unlocked-shackle .shackle-right {
    background: #ec4899;
}

.unlock-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.8), transparent);
    border-radius: 50%;
    animation: glowPulse 1.5s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

/* Candados bloqueados */
.lock.locked .lock-face {
    background: linear-gradient(145deg, #8b5cf6, #7c3aed);
    border-color: #6d28d9;
    box-shadow: 
        0 8px 16px rgba(139, 92, 246, 0.3),
        inset 0 2px 4px rgba(255,255,255,0.1);
}

.locked-shackle {
    border-color: #8b5cf6;
}

.locked-shackle .shackle-left,
.locked-shackle .shackle-right {
    background: #8b5cf6;
}

/* Etiquetas de candados */
.lock-label {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.7rem;
    text-align: center;
    text-shadow: 2px 2px 0px #000;
}

/* Paneles retro */
.retro-panel {
    background: linear-gradient(145deg, rgba(45, 27, 105, 0.9), rgba(139, 92, 246, 0.9));
    border: 3px solid #ec4899;
    border-radius: 15px;
    box-shadow: 
        0 0 20px rgba(236, 72, 153, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.retro-card {
    background: linear-gradient(145deg, rgba(45, 27, 105, 0.8), rgba(139, 92, 246, 0.8));
    border: 2px solid #ec4899;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.2);
    transition: all 0.3s ease;
}

.retro-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(236, 72, 153, 0.4);
}

/* Barra de progreso */
.progress-bar {
    width: 100%;
    height: 20px;
    background: #333;
    border: 2px solid #ec4899;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    width: 33.33%;
    height: 100%;
    background: linear-gradient(90deg, #ec4899, #8b5cf6);
    animation: progressGlow 2s ease-in-out infinite alternate;
}

@keyframes progressGlow {
    from { box-shadow: 0 0 5px rgba(236, 72, 153, 0.5); }
    to { box-shadow: 0 0 15px rgba(236, 72, 153, 0.8); }
}

/* Display de puntuación */
.score-display {
    font-family: 'Press Start 2P', monospace;
    text-shadow: 
        0 0 5px currentColor,
        2px 2px 0px #000;
    animation: scoreFlicker 3s ease-in-out infinite;
}

@keyframes scoreFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Botón retro */
.retro-button {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.8rem;
    padding: 15px 30px;
    background: linear-gradient(145deg, #ec4899, #8b5cf6);
    border: 3px solid #ffffff;
    border-radius: 10px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 2px 2px 0px #000;
    box-shadow: 
        0 4px 8px rgba(0,0,0,0.3),
        0 0 15px rgba(236, 72, 153, 0.3);
}

.retro-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 12px rgba(0,0,0,0.4),
        0 0 25px rgba(236, 72, 153, 0.5);
    background: linear-gradient(145deg, #8b5cf6, #ec4899);
}

.retro-button:active {
    transform: translateY(0);
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.3),
        0 0 10px rgba(236, 72, 153, 0.3);
}

/* Efectos de hover para secciones */
.section-1, .section-2, .section-3 {
    transition: all 0.5s ease;
}

/* Responsive design */
@media (max-width: 768px) {
    .retro-title {
        font-size: 2rem;
    }
    
    .retro-heading {
        font-size: 1.5rem;
    }
    
    .lock {
        width: 100px;
        height: 120px;
    }
    
    .lock-shackle {
        width: 50px;
        height: 50px;
    }
    
    .retro-button {
        font-size: 0.6rem;
        padding: 12px 24px;
    }
}

/* Estilos para el chocolate */
.chocolate-container {
    text-align: center;
    transform-style: preserve-3d;
    transition: all 0.5s ease;
    margin-bottom: 1rem;
}

.chocolate {
    width: 120px;
    height: 140px;
    margin: 0 auto;
    position: relative;
    cursor: pointer;
    animation: chocolateFloat 3s ease-in-out infinite;
}

@keyframes chocolateFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

.chocolate-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.chocolate-bar {
    width: 100%;
    height: 80px;
    background: linear-gradient(145deg, #8b4513, #654321, #3e2723);
    border-radius: 15px;
    position: relative;
    border: 3px solid #5d4037;
    box-shadow: 
        0 8px 16px rgba(139, 69, 19, 0.4),
        inset 0 2px 4px rgba(255,255,255,0.1),
        0 0 20px rgba(139, 69, 19, 0.3);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2px;
    padding: 8px;
    animation: chocolateGlow 2s ease-in-out infinite alternate;
}

@keyframes chocolateGlow {
    from { box-shadow: 0 8px 16px rgba(139, 69, 19, 0.4), inset 0 2px 4px rgba(255,255,255,0.1), 0 0 20px rgba(139, 69, 19, 0.3); }
    to { box-shadow: 0 8px 16px rgba(139, 69, 19, 0.6), inset 0 2px 4px rgba(255,255,255,0.2), 0 0 30px rgba(139, 69, 19, 0.5); }
}

.chocolate-square {
    background: linear-gradient(145deg, #a0522d, #8b4513);
    border-radius: 4px;
    border: 1px solid #654321;
    position: relative;
    animation: squareShimmer 4s ease-in-out infinite;
}

@keyframes squareShimmer {
    0%, 100% { background: linear-gradient(145deg, #a0522d, #8b4513); }
    50% { background: linear-gradient(145deg, #cd853f, #a0522d); }
}

.chocolate-square::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    border-radius: 2px;
}

.chocolate-shine {
    position: absolute;
    top: 10%;
    left: 20%;
    width: 60%;
    height: 30%;
    background: linear-gradient(135deg, rgba(255,255,255,0.3), transparent);
    border-radius: 50%;
    animation: shineMove 3s ease-in-out infinite;
}

@keyframes shineMove {
    0%, 100% { opacity: 0.3; transform: translateX(0); }
    50% { opacity: 0.6; transform: translateX(10px); }
}

/* Etiqueta del chocolate */
.chocolate-label {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.7rem;
    text-align: center;
    text-shadow: 2px 2px 0px #000;
    animation: labelBounce 2s ease-in-out infinite;
}

@keyframes labelBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Animaciones de transición */
.lock-disappear {
    animation: lockFadeOut 2s ease-in-out forwards;
}

@keyframes lockFadeOut {
    0% { 
        opacity: 1; 
        transform: scale(1) rotate(0deg);
    }
    25% {
        opacity: 0.8;
        transform: scale(1.1) rotate(5deg);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.8) rotate(-5deg);
    }
    75% {
        opacity: 0.2;
        transform: scale(0.5) rotate(10deg);
    }
    100% { 
        opacity: 0; 
        transform: scale(0) rotate(360deg);
        visibility: hidden;
    }
}

.chocolate-appear {
    animation: chocolateAppear 2s ease-in-out forwards;
}

@keyframes chocolateAppear {
    0% { 
        opacity: 0; 
        transform: scale(0) rotate(-180deg);
    }
    25% {
        opacity: 0.3;
        transform: scale(0.5) rotate(-90deg);
    }
    50% {
        opacity: 0.6;
        transform: scale(0.8) rotate(-45deg);
    }
    75% {
        opacity: 0.9;
        transform: scale(1.1) rotate(0deg);
    }
    100% { 
        opacity: 1; 
        transform: scale(1) rotate(0deg);
    }
}

/* Estilos para foto polaroid */
.polaroid-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.polaroid {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(236, 72, 153, 0.4);
    padding: 15px 15px 40px 15px;
    transform: rotate(-2deg);
    transition: all 0.3s ease;
    animation: polaroidFloat 3s ease-in-out infinite;
}

.polaroid:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(236, 72, 153, 0.6);
}

.polaroid-photo {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, #f8fafc, #e2e8f0);
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
}

.heart-icon {
    font-size: 2rem;
    animation: heartBeat 2s ease-in-out infinite;
}

.polaroid-text {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Press Start 2P', monospace;
    font-size: 0.5rem;
    color: #374151;
    text-align: center;
}

.polaroid-label {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.7rem;
    text-align: center;
    text-shadow: 2px 2px 0px #000;
    animation: labelBounce 2s ease-in-out infinite;
}

/* Animaciones para polaroid */
.polaroid-appear {
    animation: polaroidAppear 2s ease-out forwards;
}

@keyframes polaroidAppear {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-90deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(-45deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(-2deg);
    }
}

@keyframes polaroidFloat {
    0%, 100% {
        transform: rotate(-2deg) translateY(0px);
    }
    50% {
        transform: rotate(-1deg) translateY(-5px);
    }
}

@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* === ESTILOS PARA COLLAR === */
.necklace-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.necklace {
    position: relative;
    width: 60px;
    height: 80px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b, #d97706);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 20px rgba(251, 191, 36, 0.6),
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2);
    border: 2px solid #f59e0b;
    transition: all 0.3s ease;
    transform: rotate(0deg);
}

.necklace::before {
    content: '';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 20px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #d1d5db 10%, 
        #9ca3af 20%, 
        #d1d5db 30%, 
        #9ca3af 40%, 
        #d1d5db 50%, 
        #9ca3af 60%, 
        #d1d5db 70%, 
        #9ca3af 80%, 
        #d1d5db 90%, 
        transparent 100%);
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.necklace::after {
    content: '💎';
    font-size: 2rem;
    animation: necklaceSparkle 2s ease-in-out infinite;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.8));
}

.necklace-placeholder {
    font-size: 1.5rem;
    color: #f59e0b;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.8);
    animation: necklaceGlow 2s ease-in-out infinite alternate;
}

.necklace-text {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Press Start 2P', monospace;
    font-size: 0.5rem;
    color: #fbbf24;
    text-shadow: 
        2px 2px 0px #d97706,
        0 0 10px rgba(251, 191, 36, 0.8);
    white-space: nowrap;
    animation: necklaceTextGlow 3s ease-in-out infinite;
}

.necklace-label {
    font-family: 'Press Start 2P', monospace;
    font-size: 0.7rem;
    text-align: center;
    text-shadow: 2px 2px 0px #000;
    animation: labelBounce 2s ease-in-out infinite;
}

/* Clases de estado para collar */
.necklace-appear {
    animation: necklaceAppear 2s ease-out forwards, necklaceFloat 4s ease-in-out infinite 2s;
}

.necklace-container:hover .necklace {
    transform: scale(1.05);
    box-shadow: 
        0 0 30px rgba(251, 191, 36, 0.8),
        inset 0 2px 4px rgba(255, 255, 255, 0.4),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3);
}

.necklace-container:hover .necklace::after {
    animation: necklaceSparkle 1s ease-in-out infinite, heartBeat 0.8s ease-in-out infinite;
}

/* Animaciones para collar */
@keyframes necklaceAppear {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-15deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

@keyframes necklaceFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(3deg);
    }
}

@keyframes necklaceSparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.8));
    }
    25% {
        transform: scale(1.1) rotate(5deg);
        filter: drop-shadow(0 0 15px rgba(251, 191, 36, 1));
    }
    50% {
        transform: scale(1.05) rotate(-3deg);
        filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.9));
    }
    75% {
        transform: scale(1.08) rotate(2deg);
        filter: drop-shadow(0 0 18px rgba(251, 191, 36, 1));
    }
}

@keyframes necklaceGlow {
    0% {
        text-shadow: 0 0 10px rgba(251, 191, 36, 0.8);
    }
    100% {
        text-shadow: 0 0 20px rgba(251, 191, 36, 1), 0 0 30px rgba(251, 191, 36, 0.6);
    }
}

@keyframes necklaceTextGlow {
    0%, 100% {
        text-shadow: 
            2px 2px 0px #d97706,
            0 0 10px rgba(251, 191, 36, 0.8);
    }
    50% {
        text-shadow: 
            2px 2px 0px #d97706,
            0 0 20px rgba(251, 191, 36, 1),
            0 0 30px rgba(251, 191, 36, 0.6);
    }
}

/* Efectos de partículas de chocolate */
.chocolate-particle {
    position: fixed;
    width: 6px;
    height: 6px;
    background: #8b4513;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000;
    box-shadow: 0 0 8px #8b4513;
    animation: chocolateParticleFloat 3s ease-out forwards;
}

@keyframes chocolateParticleFloat {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.5) translateY(-100px);
    }
}

/* === ESTILOS PARA BOTÓN ABRIR === */
.open-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    position: relative;
}

.open-button {
    position: relative;
    background: linear-gradient(135deg, #8b5cf6, #ec4899, #f59e0b);
    border: none;
    border-radius: 15px;
    padding: 1rem 2.5rem;
    font-family: 'Press Start 2P', monospace;
    font-size: 1rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 0 20px rgba(139, 92, 246, 0.6),
        0 4px 15px rgba(0, 0, 0, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    z-index: 10;
}

.open-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.open-button:hover::before {
    left: 100%;
}

.open-button:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 30px rgba(139, 92, 246, 0.8),
        0 6px 20px rgba(0, 0, 0, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.open-button:active {
    transform: scale(0.98);
}

.button-text {
    position: relative;
    z-index: 2;
}

.button-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3), transparent);
    border-radius: 50%;
    animation: buttonGlow 2s ease-in-out infinite alternate;
    z-index: 1;
}

/* Estilos para la foto polaroid */
.polaroid-container {
    position: relative;
    width: 150px;
    height: 180px;
}

.polaroid {
    width: 100%;
    height: 100%;
    background: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.polaroid-image {
    width: 120px;
    height: 120px;
    background: #eee;
    border: 1px solid #ddd;
}

.polaroid-caption {
    margin-top: 10px;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.7rem;
    color: #333;
}

/* Estilos para el collar */
.necklace-container {
    position: relative;
    width: 150px;
    height: 150px;
}

.necklace {
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" shape-rendering="crispEdges"><path stroke="#888" d="M12 11h8M11 12h1M20 12h1M10 13h1M21 13h1M10 14h1M21 14h1M10 15h1M21 15h1M11 16h1M20 16h1M12 17h8" /><path stroke="#000" d="M13 18h6M14 19h4M15 20h2" /><path fill="#F00" d="M14 14h4v1h-4zM13 15h6v1h-6zM13 16h6v1h-6zM14 17h4v1h-4z" /><path fill="#F88" d="M15 15h2v1h-2z" /></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* === ESTILOS PARA AGUJERO NEGRO === */
.black-hole-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    transition: all 0.5s ease;
}

.black-hole-container.hidden {
    display: none;
}

.black-hole-appear {
    animation: blackHoleAppear 1s ease-out forwards;
}

.black-hole {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: radial-gradient(circle, #000000, #1a1a1a, #000000);
    box-shadow: 
        0 0 50px rgba(139, 92, 246, 0.8),
        0 0 100px rgba(236, 72, 153, 0.6),
        inset 0 0 20px rgba(0, 0, 0, 0.9);
    animation: blackHoleRotate 2s linear infinite;
}

.black-hole-grow {
    animation: blackHoleGrow 4s ease-in forwards, blackHoleRotate 2s linear infinite;
}

.event-horizon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: #000000;
    box-shadow: inset 0 0 20px rgba(139, 92, 246, 0.5);
}

.accretion-disk {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(139, 92, 246, 0.3),
        rgba(236, 72, 153, 0.4),
        rgba(245, 158, 11, 0.3),
        transparent
    );
    animation: accretionDiskRotate 1s linear infinite;
}

/* === ESTILOS PARA REPRODUCTOR DE VIDEO === */
.video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    transition: all 0.5s ease;
}

.video-container.hidden {
    display: none;
}

.video-appear {
    animation: videoAppear 1s ease-out forwards;
}

.video-disappear {
    animation: videoDisappear 0.5s ease-in forwards;
}

.video-wrapper {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: linear-gradient(135deg, #1f2937, #374151);
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 
        0 0 30px rgba(139, 92, 246, 0.6),
        0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid #8b5cf6;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    background: #000000;
}

.video-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10001;
}

.close-video {
    background: rgba(239, 68, 68, 0.8);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.close-video:hover {
    background: rgba(239, 68, 68, 1);
    transform: scale(1.1);
}

/* === ANIMACIONES === */
@keyframes buttonGlow {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes blackHoleAppear {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes blackHoleGrow {
    0% {
        width: 50px;
        height: 50px;
    }
    50% {
        width: 200px;
        height: 200px;
    }
    100% {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
    }
}

@keyframes blackHoleRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes accretionDiskRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes videoAppear {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes videoDisappear {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.8);
    }
}

@media (max-width: 480px) {
    .retro-title {
        font-size: 1.5rem;
    }
    
    .locks-container {
        gap: 1rem;
    }
    
    .lock {
        width: 80px;
        height: 100px;
    }
    
    .lock-face {
        height: 60px;
    }
}