/* =============================================
   CSS STYLING - Orbit Shot
   ============================================= */

/* Grundlegendes Reset und Vollbild-Setup */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

body {
    background: #0a0a1a;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Canvas füllt den gesamten Bildschirm */
#gameCanvas {
    display: block;
    width: 100%;
    height: 100%;
    touch-action: none;
}

/* Score-Anzeige oben links */
#scoreDisplay {
    position: fixed;
    top: max(20px, env(safe-area-inset-top));
    left: max(20px, env(safe-area-inset-left));
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(0, 200, 255, 0.8);
    z-index: 10;
    pointer-events: none;
}

/* Game Over Overlay */
#gameOverOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

#gameOverOverlay.active {
    display: flex;
}

#gameOverText {
    color: #ff4444;
    font-size: 48px;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(255, 68, 68, 0.8);
    margin-bottom: 20px;
}

#finalScore {
    color: #ffffff;
    font-size: 28px;
    margin-bottom: 40px;
}

#restartHint {
    color: #00ccff;
    font-size: 20px;
    animation: pulse 1.5s ease-in-out infinite;
}

/* Pulsierender Effekt für den Neustart-Hinweis */
@keyframes pulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}