:root {
    --bg: #000;
    --text: #e0e0e0;
    --muted: #9aa0a6;
    --accent: #00ffcc;
    --warn: #ffcc00;
}

/* Basis */
html,
body {
    height: 100%;
    margin: 0;
    font-family: "Orbitron", sans-serif;
    background: url('https://images.hdqwalls.com/wallpapers/starrupture-4k-0h.jpg') no-repeat center center fixed;
    background-size: cover;
    color: var(--text);
}

/* Warnbanner */
.warning-banner {
    background: var(--warn);
    color: #000;
    font-weight: bold;
    text-align: center;
    padding: 12px;
    font-size: 1em;
    border-bottom: 2px solid #222;
    box-shadow: 0 0 12px rgba(255, 204, 0, 0.6);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Content Box */
.waiting-box {
    background: rgba(17, 17, 17, 0.85);
    border: 1px solid #222;
    border-radius: 12px;
    padding: 40px;
    max-width: 600px;
    margin: 10% auto;
    text-align: center;
    box-shadow: 0 0 25px rgba(0, 255, 204, 0.3);
}

.waiting-box h1 {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;

    /* Deutschlandfarben im dunklen Neon-Stil */
   /* background: linear-gradient(90deg, #111 0%, #8b0000 45%, #ffcc00 100%);*/
   color: #ededed;
    /*-webkit-background-clip: text;*/
    background-clip: text;

    /* Dezente Glow-Animation */
  /*  animation: flagPulse 3s infinite alternate;*/
}

@keyframes flagPulse {
    from {
        text-shadow: 0 0 8px rgba(255, 204, 0, 0.3);
    }

    to {
        text-shadow: 0 0 18px rgba(139, 0, 0, 0.5);
    }
}


.waiting-box p {
    color: var(--muted);
    font-size: 1.2em;
    margin-bottom: 30px;
}

/* Animation Loader */
.game-loader {
    width: 80px;
    height: 80px;
    border: 4px solid var(--accent);
    border-top-color: transparent;
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s linear infinite, glow 2s infinite alternate;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px var(--accent);
    }

    to {
        box-shadow: 0 0 30px var(--accent);
    }
}

/* Loader */
#loader {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader-core {
    text-align: center;
}

.loader-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--accent);
    border-top-color: transparent;
    margin: 0 auto 12px;
    animation: spin 1s linear infinite;
}

.loader-text {
    color: var(--accent);
    font-size: 1.2em;
    text-shadow: 0 0 12px var(--accent);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}