/* Grunddesign (Dark Mode) */
:root {
    --primary: linear-gradient(135deg, #8b5cf6, #ec4899);
    --secondary: linear-gradient(135deg, #3b82f6, #2dd4bf);
    --bg-dark: #0b0b10;
    --card-bg: rgba(30, 41, 59, 0.7);
    --border: rgba(255, 255, 255, 0.1);
    --text: #f8fafc;
    --neon-purple: #b026ff;
    --neon-cyan: #00e5ff;
    --neon-green: #39ff14;
    --neon-red: #ff264b;
}

body {
    background: #0a0a0f;
    color: var(--text);
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    text-align: center;
    margin: 0;
    padding: 10px;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.15), rgba(59, 130, 246, 0.05), transparent);
    animation: pulseAura 4s infinite alternate;
    pointer-events: none;
    z-index: -1;
}

@keyframes pulseAura {
    from { opacity: 0.4; transform: scale(1); }
    to { opacity: 0.8; transform: scale(1.1); }
}

.container {
    max-width: 500px;
    margin: 20px auto;
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    padding: 25px;
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    position: relative;
}

/* --- MASTER TEMPLATE CYBERPUNK STYLES --- */

.status-bar-cyber {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 20px;
    padding: 0 5px;
}

.badge-cyber {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.badge-purple {
    color: var(--neon-purple);
    border: 1px solid var(--neon-purple);
    box-shadow: 0 0 8px var(--neon-purple);
    text-shadow: 0 0 5px var(--neon-purple);
}

.badge-red {
    color: var(--neon-red);
    border: 1px solid var(--neon-red);
    box-shadow: 0 0 8px var(--neon-red);
    text-shadow: 0 0 5px var(--neon-red);
}

.badge-green {
    color: var(--neon-green);
    border: 1px solid var(--neon-green);
    box-shadow: 0 0 8px var(--neon-green);
    text-shadow: 0 0 5px var(--neon-green);
}

.master-game-card {
    background: #0b0b10;
    border: 2px solid var(--neon-purple);
    border-radius: 24px;
    padding: 30px 20px;
    box-shadow: 0 0 15px var(--neon-purple), inset 0 0 10px var(--neon-purple);
    margin-bottom: 30px;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.theme-tribunal .master-game-card {
    min-height: auto;
    padding: 20px 15px;
}

.card-title-cyan {
    color: var(--neon-cyan);
    font-size: 1.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px var(--neon-cyan);
}

.card-task-text {
    font-size: 1.3rem;
    line-height: 1.5;
    color: #ffffff;
    margin-bottom: 30px;
}

/* Modular Slot: Avatar Row */
.modular-slot-cyber {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 18px;
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

.avatar-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    background: #111118;
}

.avatar-purple { border: 2px solid var(--neon-purple); color: var(--neon-purple); }
.avatar-green { border: 2px solid var(--neon-green); color: var(--neon-green); }
.avatar-red { border: 2px solid var(--neon-red); color: var(--neon-red); }
.avatar-cyan { border: 2px solid var(--neon-cyan); color: var(--neon-cyan); }

.avatar-highlight {
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 12px var(--neon-cyan);
}

.label-highlight {
    color: var(--neon-cyan);
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
}

input, select, button {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    box-sizing: border-box;
}

input, select {
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    border: 1px solid var(--border);
}

button {
    background: var(--primary);
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, filter 0.2s;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

button:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

button:active {
    transform: translateY(0);
}

.spieler-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.spieler-karte {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--neon-purple);
    box-shadow: 0 0 8px var(--neon-purple);
    border-radius: 18px;
    padding: 15px;
    text-align: center;
    transition: 0.3s;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.spieler-karte:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--neon-purple);
}

.avatar-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    margin: 0 auto 8px auto;
    border-radius: 50%;
    border: 2px solid var(--neon-purple);
    overflow: hidden;
    background-color: #374151;
}

.avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spieler-name {
    display: block;
    font-weight: bold;
    font-size: 13px;
    color: var(--text);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.schluck-anzahl {
    background: rgba(251, 191, 36, 0.2);
    color: #fcd34d;
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.getraenke-anzahl {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.spieler-inaktiv {
    opacity: 0.4;
    border-color: #4b5563;
    background-color: #1f2937;
    filter: grayscale(100%);
}

@keyframes aufploppen {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.karten-animation {
    animation: aufploppen 0.3s ease-out;
}

.aktions-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

.btn-erfolg {
    background: linear-gradient(135deg, #10b981, #059669);
}

.btn-fail {
    background: linear-gradient(135deg, #ef4444, #b91c1c);
}

.camera-section {
    margin: 20px 0;
    padding: 15px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    border: 1px dashed #4b5563;
}

#video {
    width: 100%;
    max-width: 400px;
    border-radius: 12px;
    border: 2px solid #4b5563;
    display: none;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

#startCameraBtn {
    border: 2px solid var(--neon-cyan) !important;
    color: var(--neon-cyan) !important;
    box-shadow: 0 0 15px var(--neon-cyan), inset 0 0 5px var(--neon-cyan) !important;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    margin: 20px auto;
    height: 70px;
    display: flex;
    position: relative;
    z-index: 10;
    align-items: center;
    justify-content: center;
    background: rgba(0, 229, 255, 0.05) !important;
}

#snapBtn {
    width: 120px !important;
    height: 120px !important;
    border-radius: 50% !important;
    background: radial-gradient(circle, rgba(176, 38, 255, 0.2), transparent) !important;
    border: 4px solid var(--neon-purple) !important;
    color: var(--neon-purple) !important;
    box-shadow: 0 0 25px var(--neon-purple), inset 0 0 10px var(--neon-purple) !important;
    display: none; /* Wird via JS eingeblendet */
    margin: 15px auto !important;
    position: relative;
    z-index: 11;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 900;
    line-height: 1.2;
    transition: transform 0.1s, box-shadow 0.2s;
}

#snapBtn:active { transform: scale(0.9); }

#photoPreview {
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
    margin-bottom: 15px;
}

.charakter-actions {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    gap: 5px;
    opacity: 0;
    transition: opacity 0.2s;
}

.spieler-karte:hover .charakter-actions {
    opacity: 1;
}

.action-btn {
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 5px;
    color: white;
    padding: 2px 5px;
    cursor: pointer;
    font-size: 12px;
}

.action-btn.delete:hover { background: #ef4444; }
.action-btn.edit:hover { background: #3b82f6; }

.strafe-btn {
    position: relative;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.8) !important;
    border: 3px solid var(--neon-purple) !important;
    box-shadow: 0 0 20px rgba(176, 38, 255, 0.5) !important;
    border-radius: 24px !important;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.strafe-avatar-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5.5rem; /* Massive Emojis */
}

.strafe-avatar-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.spieler-anzeige {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    vertical-align: middle;
    margin: 5px 10px;
}

.spieler-anzeige img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #8b5cf6;
    margin-bottom: 5px;
}

.spieler-anzeige .emoji-display {
    font-size: 50px;
    margin-bottom: 5px;
}

.spieler-name-display {
    font-weight: bold;
    color: #f472b6;
    font-size: 0.9em;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Hauptmenü Styling */
.menu-screen {
    padding: 10px 0;
}

.title-glow {
    /* Existing title-glow for other screens, not the main menu logo */
    font-size: 2.5rem; /* Keep existing size for other screens */
    font-weight: 900; /* Keep existing weight for other screens */
    text-shadow: 0 0 10px var(--neon-cyan), 0 0 20px var(--neon-cyan); /* Keep existing glow for other screens */
    color: #fff; /* Keep existing color for other screens */
}

/* Logo (Top) */
.logo {
    font-size: 5rem; /* Very large */
    font-weight: 900; /* Very bold */
    text-transform: lowercase; /* "neosip" in lowercase */
    margin-bottom: 10px;
    line-height: 1; /* Adjust line height to prevent extra space */
}

.logo-neo {
    color: #8a2be2; /* Neon Purple */
    text-shadow: 0 0 15px #8a2be2, 0 0 30px #8a2be2, 0 0 45px #8a2be2; /* Intense glow */
}

.logo-sip {
    color: #00ffff; /* Neon Cyan */
    text-shadow: 0 0 15px #00ffff, 0 0 30px #00ffff, 0 0 45px #00ffff; /* Intense glow */
}

.logo-line {
    width: 50%; /* 50% of logo width */
    max-width: 200px; /* Cap max width for responsiveness */
    height: 3px;
    background: linear-gradient(to right, #8a2be2, #00ffff); /* Purple to Cyan gradient */
    box-shadow: 0 0 8px #8a2be2, 0 0 15px #00ffff; /* Glow effect */
    margin-bottom: 40px; /* Komprimiert */
}

/* Main Button ("SPIEL STARTEN") */
.btn-main-start {
    width: 580px; /* Massiv vergrößert */
    padding: 45px 55px; /* Deutlich mehr Padding */
    border-radius: 50px; /* Strongly rounded corners */
    background-color: #8a2be2; /* Saturated Purple/Violet */
    color: white;
    font-weight: 900; /* Extra Fett */
    text-transform: uppercase;
    font-size: 3rem; /* Massive Schriftgröße */
    border: none;
    cursor: pointer;
    box-shadow: 0 0 40px rgba(138, 43, 226, 0.8); /* Verstärkter Glow */
    transition: all 0.3s ease;
    margin-bottom: 40px; /* Komprimiert */
}

.btn-main-start:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(138, 43, 226, 1);
}

/* Action Bar (Sub-Buttons) */
.action-bar {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: center;
    gap: 30px; /* Abstand zwischen den Sub-Buttons beibehalten */
    margin-bottom: 70px; /* Um 10px reduziert, um den Banner nach oben zu schieben */
}

.action-bar .nav-btn {
    width: 140px; /* Deutlich vergrößert */
    height: 140px; /* Quadratisch */
    border-radius: 20px; /* Strongly rounded corners */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem; /* Bessere Lesbarkeit */
    font-weight: 800;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.3); /* Very dark/transparent background */
    border: 2px solid; /* Border will be colored per button */
    color: white; /* Default text color, overridden by specific classes */
    transition: all 0.3s ease;
    padding: 0; /* Remove default padding from nav-btn */
}

.action-bar .nav-btn:hover {
    transform: translateY(-3px);
}

.btn-action-green {
    border-color: #22c55e; /* Dark green border */
    color: #39ff14; /* Neon green text */
    box-shadow: 0 0 15px rgba(57, 255, 20, 0.5); /* Neon green glow */
}
.btn-action-green:hover {
    box-shadow: 0 0 25px rgba(57, 255, 20, 0.8);
}

.btn-action-cyan {
    border-color: #008080; /* Dark blue/cyan border */
    color: #00ffff; /* Cyan text */
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5); /* Cyan glow */
}
.btn-action-cyan:hover {
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.8);
}

.btn-action-red {
    border-color: #8b0000; /* Dark red border */
    color: #ff073a; /* Neon red text */
    box-shadow: 0 0 15px rgba(255, 7, 58, 0.5); /* Neon red glow */
}
.btn-action-red:hover {
    box-shadow: 0 0 25px rgba(255, 7, 58, 0.8);
}

.action-icon {
    width: 50px; /* Größeres Icon */
    height: 50px;
    margin-bottom: 10px;
}

/* Ad Banner (Bottom) */
.ad-banner-placeholder {
    position: relative; 
    margin: 0 auto;
    width: 320px; /* Fixed width as per prompt */
    height: 50px; /* Fixed height as per prompt */
    background: rgba(0,0,0,0.6); /* Very dark filling */
    border: 1px dashed #333; /* Dashed dark gray border */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569; /* Dimmed gray text */
    font-size: 0.7rem; /* Small font size */
    letter-spacing: 1px;
    font-family: 'Inter', sans-serif;
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .menu-screen {
        justify-content: flex-start; /* Verhindert das Abschneiden von Inhalten bei vertikalem Überlauf */
        padding-top: 40px;
        padding-bottom: 60px;
        min-height: 100vh;
        height: auto;
    }

    .logo {
        font-size: 3.5rem; /* Smaller on small screens */
    }
    .logo-line {
        max-width: 150px; /* Adjust line width */
        margin-bottom: 30px;
    }
    .btn-main-start {
        width: 95%;
        font-size: 2.2rem; /* Auch auf Mobilgeräten deutlich größer */
        padding: 30px 25px; 
    }
    .action-bar {
        gap: 20px; /* Abstand beibehalten */
        margin-bottom: 15px; /* Platz auf Mobile minimiert */
    }
    .action-bar .nav-btn {
        width: 100px;
        height: 100px;
        font-size: 0.8rem;
    }
    .ad-banner-placeholder {
        width: 90%; /* Make it responsive */
        max-width: 320px; /* Keep max width */
    }

    /* Navigation Buttons für Mobile untereinander stapeln */
    .main-nav {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 20px;
    }

    .main-nav .nav-btn {
        height: auto;
        min-height: 60px;
        padding: 15px;
        font-size: 1rem;
    }
}

.neon-line {
    height: 3px;
    width: 250px;
    background: linear-gradient(to right, transparent, #8b5cf6, #3b82f6, transparent);
    margin: 5px auto 30px auto;
    box-shadow: 0 0 10px #8b5cf6;
}

.main-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
    width: 100%;
}

.main-nav .nav-btn {
    height: auto;
    font-size: 1.1rem;
    margin: 0;
    max-width: none;
    padding: 15px;
}

#startMenue .main-nav .nav-btn {
    aspect-ratio: 1 / 1;
}

/* --- WARDROBE (GARDEROBE) SPECIFIC STYLES --- */

.wardrobe-subtitle {
    color: var(--neon-purple);
    text-shadow: 0 0 10px var(--neon-purple);
    font-size: 0.9rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin-top: -10px;
    margin-bottom: 30px;
}

.creation-card {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--neon-cyan) !important;
    box-shadow: 0 0 20px var(--neon-cyan), inset 0 0 15px var(--neon-cyan) !important;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#photoPreview {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 2px solid var(--neon-purple);
}

.creation-label {
    color: var(--neon-cyan);
    font-size: 0.7rem;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: block;
}

.photo-circle-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid var(--neon-cyan);
    margin: 0 auto 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 229, 255, 0.05);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.photo-circle-placeholder i, .photo-circle-placeholder span.plus-icon {
    font-size: 2.5rem;
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

.name-input-cyber {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--neon-cyan);
    border-radius: 12px;
    color: white;
    padding: 12px;
    width: 90%;
    text-align: center;
    outline: none;
}

.mini-char-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    overflow-x: auto;
    padding: 10px 0;
}

.mini-char-card {
    min-width: 120px;
    height: 145px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--neon-purple);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.initial-circle {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    border: 1px solid var(--neon-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--neon-purple);
    margin-bottom: 5px;
    font-size: 1.1rem;
    overflow: hidden;
}

.initial-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-btn {
    height: 100px;
    font-size: 1.4rem;
    border-radius: 20px;
    width: 100%;
    max-width: 350px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    padding: 0 15px;
    padding-bottom: 4px; /* Einheitlicher optischer Nudge nach oben für alle Cyber-Buttons */
}

.btn-save-char {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--neon-purple);
    color: var(--neon-purple);
    height: 60px;
    box-shadow: none;
    margin-bottom: 15px;
}

.btn-back-green {
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid var(--neon-green);
    color: var(--neon-green);
    box-shadow: 0 0 15px var(--neon-green);
    height: 60px;
    /* Nutzt jetzt die Basis-Zentrierung von .nav-btn */
}

.footer-ad-placeholder {
    border: 1px dashed rgba(255, 255, 255, 0.2);
    padding: 15px;
    margin-top: 20px;
    font-size: 0.7rem;
    color: #475569;
    letter-spacing: 1px;
}

.btn-cyber-purple {
    background: rgba(139, 92, 246, 0.3);
    border: 2px solid #8b5cf6;
    box-shadow: 0 0 20px #8b5cf6;
    color: #fff;
}

.btn-cyber-green {
    background: rgba(16, 185, 129, 0.3);
    border: 2px solid #10b981;
    box-shadow: 0 0 15px #10b981;
    color: #fff;
}

.btn-cyber-red {
    background: rgba(255, 38, 75, 0.3);
    border: 2px solid var(--neon-red);
    box-shadow: 0 0 15px var(--neon-red);
    color: #fff;
    /* Extrem-Padding entfernt, nutzt Basis-Zentrierung */
}

.navigation-area-cyber {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 25px 0;
    width: 100%;
}

.help-circle-mini {
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 50%;
    background: rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    cursor: pointer;
    font-weight: bold;
}

/* Hilfe-Button speziell im Hauptmenü auf Banner-Höhe ausrichten */
#startMenue .help-circle-mini {
    position: absolute;
    right: 20px;
    bottom: 60px; /* Ebenfalls 10px nach oben gerückt, um bündig mit dem Banner zu bleiben */
}

.active-guests-section {
    margin-top: 30px;
    width: 100%;
}

.cyber-separator {
    border: 0;
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    margin-bottom: 15px;
}

.horizontal-player-row {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    padding: 10px 5px;
    scrollbar-width: none; /* Hide scrollbar for clean look */
}
.horizontal-player-row::-webkit-scrollbar { display: none; }

.btn-cyber-blue {
    background: rgba(6, 182, 212, 0.3);
    border: 2px solid #06b6d4;
    box-shadow: 0 0 15px #06b6d4;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.game-grid button {
    height: 100px;
    margin-bottom: 0 !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    padding: 10px;
    line-height: 1.2;
}

/* Roulette Pfeil Styling */
.wheel-wrapper {
    position: relative;
    width: 320px;
    height: 320px;
    max-width: 100%;
    box-sizing: border-box;
    margin: 40px auto;
    border: 10px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(139, 92, 246, 0.3), inset 0 0 20px rgba(0,0,0,0.5);
    background: #1e293b;
}

.wheel-pointer {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 50px;
    z-index: 10;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.8));
}

/* Die Nadel (Weißes Dreieck) */
.wheel-pointer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 35px solid #ef4444;
}

.drink-plus-btn {
    position: absolute;
    bottom: 35px;
    right: 5px;
    width: 40px !important;
    height: 30px !important;
    padding: 0 !important;
    font-size: 12px !important;
    background: #10b981 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
    z-index: 10;
}

/* Schuss Animation */
.shot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: none;
    z-index: 100;
    overflow: hidden;
}

.revolver {
    position: absolute;
    left: -100px;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);
    font-size: 80px;
    transition: left 0.3s ease-out;
}

.revolver.active {
    left: 10px;
    animation: recoil 0.2s ease;
}

.bullet {
    position: absolute;
    left: 80px;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: #f59e0b;
    border: 3px solid white;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 15px #f59e0b;
    z-index: 101;
}

.bullet #bulletContent img, .bullet #bulletContent .emoji-display {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.bullet.fly {
    display: flex;
    animation: bulletFly 0.8s cubic-bezier(0.12, 0, 0.39, 0) forwards;
}

@keyframes recoil {
    0% { transform: translateY(-50%) scaleX(-1) rotate(0deg); }
    50% { transform: translateY(-50%) scaleX(-1) rotate(-20deg); }
    100% { transform: translateY(-50%) scaleX(-1) rotate(0deg); }
}

@keyframes bulletFly {
    0% { left: 80px; opacity: 1; transform: translateY(-50%) scale(0.5); }
    100% { left: 400px; opacity: 0; transform: translateY(-50%) scale(2); }
}

.mute-toggle {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid var(--border) !important;
    border-radius: 50% !important;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px !important;
}

/* --- GAME MODE REDESIGN --- */

.hero-mode-card {
    background: linear-gradient(145deg, rgba(176, 38, 255, 0.15), rgba(0, 0, 0, 0.6));
    border: 3px solid var(--neon-purple);
    box-shadow: 0 0 25px var(--neon-purple), inset 0 0 15px var(--neon-purple);
    border-radius: 28px;
    padding: 25px;
    margin-bottom: 30px;
    width: 100%;
    box-sizing: border-box;
    cursor: pointer;
    transition: transform 0.2s;
}
.hero-mode-card:active { transform: scale(0.98); }

.hero-config-unit {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    padding: 15px;
    margin-top: 20px;
    border: 1px solid rgba(176, 38, 255, 0.3);
}

.game-carousel {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 10px 5px 25px 5px;
    margin-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--neon-purple) rgba(0, 0, 0, 0.3);
}

.game-carousel::-webkit-scrollbar {
    height: 8px;
    display: block;
}

.game-carousel::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
}

.game-carousel::-webkit-scrollbar-thumb {
    background: var(--neon-purple);
    border-radius: 10px;
    box-shadow: 0 0 10px var(--neon-purple);
}

.game-mode-card {
    flex: 0 0 140px;
    height: 180px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    scroll-snap-align: start;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-purple { border-color: var(--neon-purple); box-shadow: 0 0 12px var(--neon-purple); color: var(--neon-purple); }
.card-cyan { border-color: var(--neon-cyan); box-shadow: 0 0 12px var(--neon-cyan); color: var(--neon-cyan); }
.card-green { border-color: var(--neon-green); box-shadow: 0 0 12px var(--neon-green); color: var(--neon-green); }
.card-red { border-color: var(--neon-red); box-shadow: 0 0 12px var(--neon-red); color: var(--neon-red); }

.game-mode-card .mode-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}
.game-mode-card .mode-title {
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    padding: 0 5px;
}

.random-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.selected-game-animation {
    animation: celebrate 0.5s ease infinite alternate;
}

@keyframes celebrate {
    from { transform: scale(1); filter: brightness(1); }
    to { transform: scale(1.2); filter: brightness(1.5); }
}

.aktions-box-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.btn-drink-huge {
    background: transparent !important;
    border: 3px solid var(--neon-red) !important;
    color: var(--neon-red) !important;
    box-shadow: 0 0 20px var(--neon-red) !important;
    font-size: 1.6rem !important;
    padding: 20px !important;
    height: auto !important;
    border-radius: 15px !important;
    text-transform: uppercase;
}

.btn-skip-tiny {
    background: #4b5563 !important;
    font-size: 0.9rem !important;
    padding: 10px !important;
    width: 50% !important;
    opacity: 0.7;
    box-shadow: none !important;
}

.selected-for-drink {
    opacity: 0.3 !important;
    filter: grayscale(100%);
    pointer-events: none;
}