/* Base styles for the game */
body {
    margin: 0;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
    background-color: #0a0a2a;
    color: white;
}

/* Cursor verstecken während des Spiels */
body.game-active {
    cursor: none;
}

#gameContainer {
    position: relative;
    width: 100vw;
    height: 100vh;
}

#canvas {
    position: absolute;
    top: 0;
    left: 0;
}

#ui {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; /* Extend UI container to full height */
    padding: 20px;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 10;
}

#progressContainer {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    overflow: hidden;
    z-index: 10;
    pointer-events: none;
}

#progressBar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff6ec4, #7873f5);
    border-radius: 4px;
    transition: width 0.3s;
}

#bgParticles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#startParticles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 19;
}



.particle {
    position: absolute;
    background-color: white;
    border-radius: 50%;
    opacity: 0.6;
    pointer-events: none;
}