body {
    font-family: 'Orbitron', sans-serif;
}
#game-container {
    box-shadow: 0 0 30px rgba(156, 39, 176, 0.7);
    transform-style: preserve-3d;
    perspective: 1000px;
}
#player {
    box-shadow: 0 0 15px rgba(236, 72, 153, 0.9);
    transition: transform 0.05s ease-out;
    z-index: 10;
}
.obstacle {
    position: absolute;
    background: linear-gradient(to bottom, #8B5CF6, #7C3AED);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.8);
    border-radius: 4px;
    z-index: 5;
}

.teleport-effect {
    position: absolute;
    width: 16px;
    height: 16px;
    background: radial-gradient(circle, #EC4899, transparent 70%);
    border-radius: 50%;
    animation: teleportFade 0.3s ease-out forwards;
    z-index: 20;
}

@keyframes teleportFade {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}
#middle-wall {
    background: repeating-linear-gradient(
        to bottom,
        transparent,
        transparent 10px,
        rgba(139, 92, 246, 0.8) 10px,
        rgba(139, 92, 246, 0.8) 20px
    );
}
.jump-effect {
    animation: jumpEffect 0.2s ease-out;
}

@keyframes jumpEffect {
    0% { transform: scale(1) translateZ(0); opacity: 1; }
    50% { transform: scale(1.5) translateZ(50px); opacity: 0.7; }
    100% { transform: scale(1) translateZ(0); opacity: 1; }
}
.death-effect {
    animation: deathEffect 0.5s ease-out;
}

@keyframes deathEffect {
    0% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(2) rotate(180deg); background: #ff0000; }
    100% { transform: scale(3) rotate(360deg); opacity: 0; }
}
