@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
    --bg-main: #070a12;
    --bg-surface: #0c111d;
    --bg-card: rgba(16, 23, 38, 0.72);
    --border-subtle: rgba(255, 255, 255, 0.07);
    --border-accent: rgba(6, 182, 212, 0.3);
    
    --accent-cyan: #06b6d4;
    --accent-purple: #8b5cf6;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --accent-rose: #f43f5e;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: radial-gradient(circle at 15% 10%, rgba(139, 92, 246, 0.08), transparent 35%),
                radial-gradient(circle at 85% 85%, rgba(6, 182, 212, 0.08), transparent 40%),
                #070a12 !important;
    color: #e2e8f0;
}

.font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Premium High-End Glassmorphism */
.glass-panel {
    background: linear-gradient(135deg, rgba(16, 24, 40, 0.78) 0%, rgba(11, 16, 28, 0.82) 100%) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.glass-panel:hover {
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.glass-card {
    background: linear-gradient(135deg, rgba(22, 32, 54, 0.5) 0%, rgba(15, 22, 38, 0.55) 100%) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: linear-gradient(135deg, rgba(28, 41, 68, 0.6) 0%, rgba(18, 27, 46, 0.65) 100%) !important;
    border-color: rgba(6, 182, 212, 0.35) !important;
    box-shadow: 0 8px 30px -4px rgba(6, 182, 212, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* Master Control Top Bar */
#masterControlBar {
    background: linear-gradient(90deg, rgba(46, 16, 101, 0.95) 0%, rgba(15, 23, 42, 0.95) 50%, rgba(8, 51, 68, 0.95) 100%) !important;
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.35) !important;
    box-shadow: 0 4px 24px -2px rgba(0, 0, 0, 0.5);
}

/* Glowing Accent Effects */
.glow-cyan {
    box-shadow: 0 0 25px -4px rgba(6, 182, 212, 0.45);
}

.glow-purple {
    box-shadow: 0 0 25px -4px rgba(139, 92, 246, 0.45);
}

.glow-emerald {
    box-shadow: 0 0 25px -4px rgba(16, 185, 129, 0.45);
}

/* Modern Nav Item Links */
.nav-item {
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid transparent;
    white-space: nowrap !important;
}

.nav-item div {
    white-space: nowrap !important;
    display: flex !important;
    align-items: center !important;
}

.nav-item span {
    white-space: nowrap !important;
}

.nav-item:hover {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, rgba(6, 182, 212, 0.06) 100%) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.nav-item.active {
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.18) 0%, rgba(139, 92, 246, 0.15) 100%) !important;
    border: 1px solid rgba(6, 182, 212, 0.45) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px -2px rgba(6, 182, 212, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* Tabellen & Listen Farbkorrektur */
table thead th {
    background: rgba(12, 17, 29, 0.8) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
}

table tbody tr {
    transition: background-color 0.15s ease;
}

table tbody tr:hover {
    background: rgba(6, 182, 212, 0.05) !important;
}

/* Inputs & Form Elements */
input[type="text"], input[type="password"], input[type="number"], select, textarea {
    background: rgba(10, 15, 26, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    color: #f1f5f9 !important;
    transition: all 0.2s ease;
}

input[type="text"]:focus, input[type="password"]:focus, input[type="number"]:focus, select:focus, textarea:focus {
    border-color: #06b6d4 !important;
    box-shadow: 0 0 16px -2px rgba(6, 182, 212, 0.35) !important;
    outline: none !important;
}

/* Scrollbars - Global Dark Minimalist */
* {
    scrollbar-width: thin;
    scrollbar-color: #1e293b #070a12;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #070a12 !important;
}
::-webkit-scrollbar-thumb {
    background: #1e293b !important;
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #06b6d4 !important;
}

/* Sidebar Navigation Scrollbar komplett verstecken (Unsichtbar, aber scrollbar) */
aside, aside nav, .sidebar-nav {
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE and Edge */
}
aside::-webkit-scrollbar, aside nav::-webkit-scrollbar, .sidebar-nav::-webkit-scrollbar {
    display: none !important; /* Chrome, Safari, Opera */
    width: 0 !important;
    height: 0 !important;
}

/* Live Status Pips */
.pip-online {
    box-shadow: 0 0 12px #10b981;
}
.pip-ingame {
    box-shadow: 0 0 12px #8b5cf6;
}

/* Premium Update Modal Animations & Shimmer */
@keyframes shimmerWave {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

.animate-shimmer {
    animation: shimmerWave 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 25px -5px rgba(6, 182, 212, 0.4), inset 0 0 15px rgba(6, 182, 212, 0.2); }
    50% { box-shadow: 0 0 35px 2px rgba(139, 92, 246, 0.5), inset 0 0 25px rgba(139, 92, 246, 0.25); }
}

.pulse-glow-border {
    animation: pulseGlow 3s infinite ease-in-out;
}
