/* ═══════════════════════════════════════════════════════════════════
   Fax-Hunter VoIP — game.css
   ALL rules scoped under #fax-game-wrapper for WordPress safety.
   Internal canvas logic-resolution: 1280×720 (handled via JS).
═══════════════════════════════════════════════════════════════════ */

/* 🌟🌟 Google Fonts import 🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟🌟 */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;600;700;900&family=Share+Tech+Mono&family=Press+Start+2P&display=swap');

/* ── Reset & wrapper ─────────────────────────────────────────────── */
#fax-game-wrapper *,
#fax-game-wrapper *::before,
#fax-game-wrapper *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

#fax-game-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    background: #0a0c14;
    font-family: 'Exo 2', 'Segoe UI', Arial, sans-serif;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 0 0 2px #1a2a4a,
        0 0 40px rgba(0, 120, 255, 0.25),
        0 20px 60px rgba(0, 0, 0, 0.7);
    user-select: none;
}

/* ── HUD bar above canvas ────────────────────────────────────────── */
#fax-hud {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 10px 16px;
    background: rgba(5, 8, 18, 0.85);
    border-bottom: 1px solid rgba(0, 180, 200, 0.12);
    /* Add some margin to separate it slightly from the canvas below */
    margin-bottom: 12px;
}

.fax-hud-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(0, 229, 255, 0.18);
    border-radius: 10px;
    padding: 6px 22px;
    min-width: 90px;
    backdrop-filter: blur(4px);
}

.fax-hud-val {
    font-family: 'Exo 2', 'Segoe UI', Arial, sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #00e5ff;
    line-height: 1;
    letter-spacing: 1px;
}

#fax-hud-timer .fax-hud-val {
    color: #ffffff;
}

#fax-hud-timer .fax-hud-val.urgent {
    color: #ff4444;
    animation: fax-pulse-urgent 0.5s ease-in-out infinite alternate;
}

@keyframes fax-pulse-urgent {
    from { opacity: 1; }
    to   { opacity: 0.5; }
}

.fax-hud-lbl {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.4);
    margin-top: 2px;
    text-transform: uppercase;
}

/* ── Canvas container ────────────────────────────────────────────── */
#fax-game-wrapper #fax-canvas-container {
    display: block;
    width: 100%;
    line-height: 0;
    position: relative;
}

#fax-game-wrapper #fax-canvas {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    /* Custom SVG Cursor: Ein weißes Fadenkreuz mit leichtem Drop-Shadow, damit es IMMER sichtbar bleibt (egal ob auf hell oder ganz schwarz) */
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M16 4v24M4 16h24' stroke='white' stroke-width='2' stroke-linecap='round' filter='drop-shadow(0px 0px 3px rgba(0,0,0,1))'/%3E%3C/svg%3E") 16 16, crosshair;
    image-rendering: crisp-edges;
}

/* ── Game Over / Start Overlay ───────────────────────────────────── */
#fax-game-wrapper #fax-overlay {
    display: none;       /* shown via JS */
    position: absolute;
    inset: 0;
    z-index: 100;
    background: rgba(5, 5, 12, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

#fax-game-wrapper #fax-overlay.fax-overlay-visible {
    display: flex;
}

#fax-game-wrapper #fax-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    padding: 44px 40px;
    max-width: 620px;
    width: 90%;
    background: rgba(9, 10, 16, 0.95);
    border: 2px solid #00f3ff;
    border-radius: 20px;
    box-shadow: 
        0 0 35px rgba(0, 240, 255, 0.35),
        inset 0 0 20px rgba(0, 240, 255, 0.15),
        0 20px 50px rgba(0, 0, 0, 0.8);
    color: #ffffff;
    animation: fax-overlay-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes fax-overlay-in {
    from { transform: scale(0.8) translateY(30px); opacity: 0; }
    to   { transform: scale(1)   translateY(0);    opacity: 1; }
}

/* ── Game Over Title ──────────────────────────────────────────── */
#fax-game-wrapper .fax-go-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    font-family: 'Courier New', monospace;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #00f3ff;
    text-align: center;
    text-shadow: 
        0 0 15px #00f3ff,
        3px 3px 0px #ff007f;
}

/* ── Stats row ───────────────────────────────────────────────────── */
#fax-game-wrapper .fax-go-stats {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}

#fax-game-wrapper .fax-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(0, 243, 255, 0.3);
    box-shadow: inset 0 0 12px rgba(0, 243, 255, 0.08);
    border-radius: 14px;
    padding: 18px 28px;
    min-width: 120px;
    flex: 1;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

#fax-game-wrapper .fax-stat:hover {
    transform: translateY(-3px);
    border-color: #00f3ff;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3), inset 0 0 15px rgba(0, 243, 255, 0.15);
}

#fax-game-wrapper .fax-stat-val {
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 900;
    color: #ffffff;
    font-family: 'Share Tech Mono', monospace;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

#fax-game-wrapper .fax-stat-lbl {
    font-size: 12px;
    font-weight: 700;
    color: rgba(0, 243, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ── CTA Text ───────────────────────────────────────────────── */
#fax-game-wrapper .fax-go-cta-text {
    font-size: clamp(15px, 2.2vw, 20px);
    color: #8fa3bc;
    text-align: center;
    line-height: 1.7;
    max-width: 520px;
    padding: 20px 24px;
    background: rgba(0, 180, 185, 0.06);
    border-left: 3px solid #00b4b9;
    border-radius: 0 10px 10px 0;
}

#fax-game-wrapper .fax-go-cta-text strong {
    color: #00b4b9;   /* brand teal */
    font-weight: 700;
}

/* ── Buttons ─────────────────────────────────────────────────────── */
#fax-game-wrapper .fax-go-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

#fax-game-wrapper .fax-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: clamp(14px, 1.8vw, 17px);
    font-weight: 700;
    font-family: 'Exo 2', 'Segoe UI', Arial, sans-serif;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition:
        transform      0.18s cubic-bezier(0.175, 0.885, 0.32, 1.4),
        box-shadow     0.18s ease,
        filter         0.18s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

#fax-game-wrapper .fax-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 100%);
    pointer-events: none;
}

#fax-game-wrapper .fax-btn:hover {
    transform: translateY(-3px) scale(1.03);
    filter: brightness(1.15);
}

#fax-game-wrapper .fax-btn:active {
    transform: translateY(0) scale(0.97);
    filter: brightness(0.95);
}

/* Primary: Restart */
#fax-game-wrapper .fax-btn-primary {
    background: linear-gradient(135deg, #ff007f 0%, #b30059 100%);
    color: #ffffff;
    font-family: 'Courier New', monospace;
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 900;
    letter-spacing: 1.5px;
    padding: 16px 36px;
    border-radius: 12px;
    border: 1px solid #ff66b2;
    box-shadow: 
        0 0 25px rgba(255, 0, 127, 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

#fax-game-wrapper .fax-btn-primary:hover {
    box-shadow: 
        0 0 40px rgba(255, 0, 127, 0.9),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* CTA: VoIP offer — amber brand accent */
#fax-game-wrapper .fax-btn-cta {
    background: linear-gradient(135deg, #f5a31a 0%, #c27d00 100%);
    color: #ffffff;
    box-shadow:
        0 6px 24px rgba(245, 163, 26, 0.4),
        inset 0 1px 0 rgba(255,255,255,0.18);
    animation: fax-pulse-cta 2s ease-in-out infinite;
}

@keyframes fax-pulse-cta {
    0%, 100% { box-shadow: 0 6px 24px rgba(245, 163, 26, 0.4), inset 0 1px 0 rgba(255,255,255,0.18); }
    50%       { box-shadow: 0 8px 36px rgba(245, 163, 26, 0.7), inset 0 1px 0 rgba(255,255,255,0.22); }
}

#fax-game-wrapper .fax-btn-cta:hover {
    animation: none;
    box-shadow:
        0 12px 40px rgba(245, 163, 26, 0.75),
        inset 0 1px 0 rgba(255,255,255,0.22);
}

/* ── Responsive breakpoints ──────────────────────────────────────── */
@media (max-width: 768px) {
    #fax-game-wrapper #fax-overlay-content {
        padding: 32px 20px;
        gap: 24px;
    }

    #fax-game-wrapper .fax-go-stats {
        gap: 12px;
    }

    #fax-game-wrapper .fax-stat {
        padding: 14px 20px;
        min-width: 90px;
    }

    #fax-game-wrapper .fax-go-buttons {
        flex-direction: column;
        width: 100%;
    }

    #fax-game-wrapper .fax-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    #fax-game-wrapper .fax-go-cta-text {
        font-size: 14px;
        padding: 14px 16px;
    }
}

/* ========================================================
   NEON ARCADE CHROME CABINET (Glatte, leuchtende Cyberpunk-Optik)
   ======================================================== */

:root {
    --neon-cyan: #00F0FF;
    --neon-magenta: #FF007F;
    --cab-bg: #090a10;
    
    /* Weicher, spiegelnder Chrom-Verlauf (Glossy Metallic) */
    --chrome-glossy: linear-gradient(
        180deg,
        #e2e3e8 0%,
        #8a8c99 15%,
        #4a4d55 50%,
        #2a2a35 85%,
        #1a1c23 100%
    );
}

/* Äußerer Automat (Cabinet Background) */
#arcade-machine-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: transparent;
    /* Subtiles Neon-Leuchten im Hintergrund der Maschine */
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(0, 240, 255, 0.05), transparent 35%),
        radial-gradient(circle at 85% 50%, rgba(255, 0, 127, 0.05), transparent 35%);
    padding: 40px 20px;
    font-family: 'Press Start 2P', 'Exo 2', monospace;
    max-width: 1600px; /* Erweitert, damit die Rahmen das Spiel nicht schrumpfen */
    margin: 30px auto;
    gap: 25px;
}

/* Basis-Klasse für die glänzenden Chrom-Gehäuse (Weiche Ecken) */
.chrome-panel {
    background: var(--chrome-glossy);
    border-radius: 20px; /* Schöne glatte Rundungen */
    padding: 6px;
    box-shadow: 
        0 15px 35px rgba(0,0,0,0.8), /* Tiefer Schatten nach außen */
        inset 0 2px 4px rgba(255,255,255,0.8), /* Starke Lichtkante oben */
        inset 0 -4px 6px rgba(0,0,0,0.6); /* Eigenschatten unten */
    position: relative;
}

/* ========================================================
   1. Top Bar (Header Panel)
   ======================================================== */
#arcade-top-bar {
    width: 90%;
    max-width: 1000px;
}

.top-bar-screen {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #050508;
    border-radius: 12px; /* Angepasst an den schmaleren 27px Rahmen (27 - 15 = 12) */
    padding: 12px 24px;
    width: 100%;
    overflow: hidden;
    
    /* Der geteilte Neon-Rahmen */
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
}

/* Der leuchtende Gradient-Rand für den Top-Screen */
.top-bar-screen::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    z-index: -1;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta));
    box-shadow: 
        0 0 15px rgba(0, 240, 255, 0.6), 
        inset 0 0 10px rgba(0, 240, 255, 0.4);
}

#arcade-score {
    color: var(--neon-cyan);
    /* Scharfe Kontur plus minimaler Glow statt starkem Verwischen */
    text-shadow: 2px 2px 0px rgba(0,0,0,0.8), 0 0 5px var(--neon-cyan);
    font-size: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
}

#arcade-time {
    color: var(--neon-magenta);
    text-shadow: 2px 2px 0px rgba(0,0,0,0.8), 0 0 5px var(--neon-magenta);
    font-size: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 12px;
}



/* ========================================================
   2. Main Game Frame
   ======================================================== */




/* ========================================================
   3. Bottom Bar (Ammo Panel)
   ======================================================== */
#arcade-bottom-bar {
    width: 100%;
}

.ammo-screen {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #050508;
    border-radius: 12px;
    padding: 10px 20px;
    width: 100%;
    min-height: 65px;
    overflow: hidden;
    position: relative;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.ammo-screen::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    z-index: -1;
    background: linear-gradient(90deg, var(--neon-magenta), var(--neon-cyan));
    box-shadow: 
        0 0 15px rgba(255, 0, 127, 0.6), 
        inset 0 0 10px rgba(255, 0, 127, 0.4);
}

#arcade-ammo-container {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    min-width: 195px;
}

/* 2D Cyan Arcade Patronen-Icon mit dunkler Kontur (Runder Patronenkopf) */
.arcade-bullet {
    width: 20px;
    height: 45px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 45' width='20' height='45'%3E%3Cpath d='M 3,14 C 3,5 6,2 10,2 C 14,2 17,5 17,14 L 17,39 L 19,39 L 19,43 L 1,43 L 1,39 L 3,39 Z' fill='%2300f3ff' stroke='%23050810' stroke-width='2' stroke-linejoin='round'/%3E%3Cline x1='3' y1='15' x2='17' y2='15' stroke='%23050810' stroke-width='2'/%3E%3C/svg%3E") no-repeat center center;
    background-size: contain;
    filter: drop-shadow(0 0 6px rgba(0, 243, 255, 0.7));
    transition: transform 0.15s ease, filter 0.15s ease;
}

/* Verbrauchter Schuss (solange noch Rest-Munition da ist -> Cyan Umrandung) */
.arcade-bullet.empty {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 45' width='20' height='45'%3E%3Cpath d='M 3,14 C 3,5 6,2 10,2 C 14,2 17,5 17,14 L 17,39 L 19,39 L 19,43 L 1,43 L 1,39 L 3,39 Z' fill='none' stroke='%2300f3ff' stroke-width='2' stroke-linejoin='round'/%3E%3Cline x1='3' y1='15' x2='17' y2='15' stroke='%2300f3ff' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center center;
    background-size: contain;
    filter: drop-shadow(0 0 4px rgba(0, 243, 255, 0.4));
    opacity: 0.7;
}

/* Magazin komplett leer (0 Schuss übrig -> Violett/Magenta Umrandung & Pulsieren) */
.arcade-bullet.empty.mag-empty {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 45' width='20' height='45'%3E%3Cpath d='M 3,14 C 3,5 6,2 10,2 C 14,2 17,5 17,14 L 17,39 L 19,39 L 19,43 L 1,43 L 1,39 L 3,39 Z' fill='none' stroke='%23ff007f' stroke-width='2' stroke-linejoin='round'/%3E%3Cline x1='3' y1='15' x2='17' y2='15' stroke='%23ff007f' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat center center;
    background-size: contain;
    opacity: 1;
    filter: drop-shadow(0 0 5px rgba(255, 0, 127, 0.6));
    animation: fax-bullet-empty-pulse 1.2s ease-in-out infinite alternate;
}

@keyframes fax-bullet-empty-pulse {
    0% {
        filter: drop-shadow(0 0 3px rgba(255, 0, 127, 0.4));
        opacity: 0.5;
    }
    100% {
        filter: drop-shadow(0 0 12px #ff007f);
        opacity: 1;
    }
}

.arcade-bullet.empty.empty-click {
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 45' width='20' height='45'%3E%3Cpath d='M 3,14 C 3,5 6,2 10,2 C 14,2 17,5 17,14 L 17,39 L 19,39 L 19,43 L 1,43 L 1,39 L 3,39 Z' fill='%23ff007f' stroke='%23ffffff' stroke-width='2' stroke-linejoin='round'/%3E%3Cline x1='3' y1='15' x2='17' y2='15' stroke='%23ffffff' stroke-width='2'/%3E%3C/svg%3E") no-repeat center center !important;
    background-size: contain !important;
    filter: drop-shadow(0 0 18px #ff007f) !important;
    animation: none !important;
    opacity: 1 !important;
}

/* Reload Hinweistext über der Munitionsanzeige */
#arcade-reload-hint {
    position: absolute;
    top: -38px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-family: 'Share Tech Mono', 'Courier New', monospace;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    background: rgba(10, 5, 20, 0.9);
    border: 1px solid #ff007f;
    border-radius: 8px;
    padding: 4px 14px;
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.7), inset 0 0 8px rgba(255, 0, 127, 0.4);
    pointer-events: none;
    z-index: 200;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    display: none;
}

#arcade-reload-hint.visible {
    display: block;
    opacity: 1;
    animation: reload-hint-glow 0.8s ease-in-out infinite alternate;
}

#arcade-reload-hint span.highlight {
    color: #00f3ff;
    text-shadow: 0 0 8px #00f3ff;
}

@keyframes reload-hint-glow {
    0% {
        box-shadow: 0 0 10px rgba(255, 0, 127, 0.5), inset 0 0 5px rgba(255, 0, 127, 0.3);
        transform: translateX(-50%) translateY(0);
    }
    100% {
        box-shadow: 0 0 22px rgba(255, 0, 127, 0.95), 0 0 12px rgba(0, 243, 255, 0.8), inset 0 0 10px rgba(255, 0, 127, 0.6);
        transform: translateX(-50%) translateY(-2px);
    }
}

/* ========================================================
   16-BIT ROUNDED CHROME CABINET
   ======================================================== */

/* 1. Der 16-Bit Arcade-Rahmen (Rund, aber harte Metall-Kanten!) */


/* 2. Der innere Rahmen (Das Monitor-Glas) */


/* 3. Überschreiben der alten weichen Ecken des Spiels */


/* 1. Der detailreiche, feine 16-Bit Chrom-Rahmen */


/* 2. Der innere Rahmen (Das versenkte Monitor-Glas) */

/* 1. Der äußere Rahmen (Licht von oben links) */


/* 2. Der innere Rahmen (Das versenkte Glas - UMGEKEHRTES Licht!) */


/* 3. WICHTIG: Überschreiben der alten weichen Ecken des Spiel-Wrappers */

.canvas-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; /* Stelle sicher, dass die Spielfläche maximal groß bleibt */
}

/* Der Rahmen ohne den äußersten dunklen Rand, die Gesamtbreite passt sich an */
.arcade-frame {
    padding: 30px; 
    background-color: #070a0f;
    border-radius: 54px;
    width: 100%; /* Spielfläche ausfüllen */
    position: relative;
    overflow: hidden;
    
    /* Der äußerste Rand (0 0 0 2px #28354f) wurde entfernt, alle weiteren Werte nach außen verschoben */
    box-shadow:
        /* Outer Glows (Kundenwunsch: links cyan, rechts violett) */
        -20px 0 40px -10px rgba(0, 243, 255, 0.4),
        20px 0 40px -10px rgba(255, 0, 127, 0.4),

        /* 3D-Licht und Schatten über die Bänder gelegt */
        inset -16px -16px 24px rgba(0, 0, 0, 0.2), /* Dunkler unten rechts */
        inset 16px 16px 24px rgba(255, 255, 255, 0.15), /* Heller oben links */
        
        inset 0 0 0 4px #1a2233,
        inset 0 0 0 8px #3b4b66,
        inset 0 0 0 12px #9baecf,
        inset 0 0 0 16px #6a7f9e,
        inset 0 0 0 21px #3b4b66,
        inset 0 0 0 26px #1e273a,
        inset 0 0 0 30px #090c14,
        
        0 0 30px rgba(0, 243, 255, 0.15);
}

/* Der Canvas mit der sauberen inneren 30px-Rundung */
#arcade-machine-wrapper #fax-game-wrapper {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    background-color: #000000 !important;
    border-radius: 24px !important;
    overflow: hidden !important; /* Verhindert, dass das Canvas an den Ecken übersteht */
    border: none !important;
    box-shadow: none !important;
}

#fax-game-wrapper #fax-canvas {
    border-radius: 24px;
}

/* Der schmalere Rahmen für die Top-Bar (50% der Dicke des Hauptrahmens) */
.arcade-frame-mini {
    padding: 15px; 
    background-color: #070a0f;
    border-radius: 27px;
    width: 100%;
    position: relative;
    overflow: hidden;
    
    box-shadow:
        /* 3D-Licht und Schatten */
        inset -8px -8px 12px rgba(0, 0, 0, 0.2), 
        inset 8px 8px 12px rgba(255, 255, 255, 0.15),
        
        /* Glanzbänder (genau halbe Dicke) */
        inset 0 0 0 2px #1a2233,
        inset 0 0 0 4px #3b4b66,
        inset 0 0 0 6px #9baecf,
        inset 0 0 0 8px #6a7f9e,
        inset 0 0 0 11px #3b4b66,
        inset 0 0 0 13px #1e273a,
        inset 0 0 0 15px #090c14,
        
        0 0 15px rgba(0, 243, 255, 0.15);
}
\n
/* Die äußere 2-farbige Neon-Röhre um die Top Bar */
.neon-outer-pipe {
    position: absolute;
    inset: -14px; /* Abstand zur Top Bar */
    pointer-events: none;
    z-index: 1; /* Hinter der Top Bar */
}

.neon-outer-pipe::before,
.neon-outer-pipe::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 50%;
    border: 4px solid #fff; /* Heller Neon-Kern */
}

/* Linke Seite: Cyan */
.neon-outer-pipe::before {
    left: 0;
    border-right: none;
    border-radius: 41px 0 0 41px;
    border-color: #d4ffff;
    box-shadow: 
        0 0 10px #00f3ff,
        0 0 20px #00f3ff,
        0 0 45px rgba(0, 243, 255, 0.7), /* Extra weite Wolke, füllt die Ecken optisch auf */
        inset 0 0 10px #00f3ff,
        inset 0 0 20px #00f3ff;
}

/* Rechte Seite: Magenta */
.neon-outer-pipe::after {
    right: 0;
    border-left: none;
    border-radius: 0 41px 41px 0;
    border-color: #ffd4eb;
    box-shadow: 
        0 0 10px #ff007f,
        0 0 20px #ff007f,
        0 0 45px rgba(255, 0, 127, 0.7), /* Extra weite Wolke, füllt die Ecken optisch auf */
        inset 0 0 10px #ff007f,
        inset 0 0 20px #ff007f;
}


    100% {
        box-shadow: 
            0 0 15px #ff007f, 0 0 35px #ff007f, 0 0 60px #ff007f, 0 0 80px rgba(255, 0, 127, 0.4),
            inset 0 0 15px #ff007f, inset 0 0 30px #ff007f;
    }
}
\n\n
.highscore-table { width: 100%; max-width: 400px; margin: 0 auto; border-collapse: collapse; font-family: monospace; font-size: 18px; color: #fff; }
.highscore-table th { color: #00f3ff; border-bottom: 1px solid #00f3ff; padding: 5px; }
.highscore-table td { padding: 5px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); }
