:root {
    --bg: #05050a;
    --bg2: #0a0a15;
    --primary: #c41e3a;
    --primary-dim: rgba(196, 30, 58, 0.15);
    --accent: #ffd700;
    --accent-dim: rgba(255, 215, 0, 0.2);
    --text: #f0f0f5;
    --text-dim: #8a8a9a;
    --border: rgba(255, 255, 255, 0.08);
    --panel: rgba(15, 15, 25, 0.85);
    --panel-hover: rgba(25, 25, 40, 0.95);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    --red: #ff3344;
    --green: #22cc44;
}

/* ── FORCE DARK BACKGROUND ── */
body {
    background-color: var(--bg) !important;
    color: var(--text);
}

.bg-wrap {
    background: var(--bg) !important;
}

.bg-slide {
    opacity: 0.6 !important; /* Etwas dunkler für bessere Lesbarkeit */
}

/* ── CHRISTMAS SPECIAL: SNOWFALL ANIMATION ── */
body::after {
    content: "";
    position: fixed;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(4px 4px at 20px 30px, #fff, rgba(0,0,0,0)),
        radial-gradient(3px 3px at 40px 70px, #fff, rgba(0,0,0,0)),
        radial-gradient(5px 5px at 50px 160px, #fff, rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 40px, #fff, rgba(0,0,0,0)),
        radial-gradient(4px 4px at 150px 110px, #fff, rgba(0,0,0,0));
    background-size: 200px 200px;
    animation: snow 10s linear infinite;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.3;
}

@keyframes snow {
    from { transform: translateY(0); }
    to { transform: translateY(200px); }
}

/* ── PREMIUM STYLING ── */
.pro-card, .stat-box, .dashboard-module, .hero-srv-card {
    background: var(--panel) !important;
    border: 1px solid var(--border) !important;
    border-radius: 14px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(20px);
}

.pro-tab.active, .btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #880011 100%) !important;
    color: #fff !important;
    box-shadow: 0 5px 20px rgba(196, 30, 58, 0.4);
    border: none;
}

.logo-text {
    background: linear-gradient(90deg, #fff, var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── BOMBASTIC BLACK & GOLD HEADER ── */
.site-header {
    background: #05050a !important;
    border-bottom: 2px solid var(--accent);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 1000;
}

.nav-link {
    font-family: 'Orbitron', sans-serif !important;
    font-weight: 900 !important;
    font-size: 11px !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text) !important;
    padding: 10px 15px !important;
    transition: all 0.3s ease !important;
    position: relative;
    z-index: 10;
}

.nav-link:hover {
    color: var(--accent) !important;
    text-shadow: 0 0 15px var(--accent);
    transform: translateY(-2px);
}

/* ── CHRISTMAS DECO: MODULES ── */
.dashboard-module, .stat-box, .pro-card, .hero-srv-card {
    position: relative;
    overflow: visible;
}

/* Kleine Mütze links - Sauber ausgeblendet */
.dashboard-module::before, .stat-box::before, .pro-card::before, .hero-srv-card::before {
    content: "";
    position: absolute;
    top: -15px;
    left: -15px;
    width: 45px;
    height: 45px;
    background: url('santa_hat.png') no-repeat center;
    background-size: contain;
    z-index: 100;
    pointer-events: none;
    mix-blend-mode: screen; /* Macht schwarzen Hintergrund unsichtbar! */
}

/* Kugeln rechts - Sauber ausgeblendet */
.dashboard-module::after, .stat-box::after, .pro-card::after, .hero-srv-card::after {
    content: "";
    position: absolute;
    top: -8px;
    right: -8px;
    width: 35px;
    height: 35px;
    background: url('balls.png') no-repeat center;
    background-size: contain;
    z-index: 100;
    pointer-events: none;
    mix-blend-mode: screen; /* Macht schwarzen Hintergrund unsichtbar! */
    opacity: 0.9;
}

/* ── FESTIVE HIGHLIGHTS ── */
.nav-link:hover {
    color: #fff !important;
    background: rgba(255, 215, 0, 0.1);
    transform: scale(1.05);
    text-shadow: 0 0 15px #ffd700;
}

.sidebar-title {
    color: var(--accent);
    border-left: 3px solid var(--primary);
    padding-left: 12px;
}

/* ── 404 ERROR PAGE ── */
.error-page-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 40px 20px;
  text-align: center;
  font-family: var(--font-main, 'Rajdhani', sans-serif);
}

.error-visual {
  position: relative;
  margin-bottom: 40px;
  max-width: 600px;
  width: 100%;
}

.error-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 0 50px rgba(232, 35, 42, 0.3);
  border: 1px solid rgba(232, 35, 42, 0.2);
}

.error-glitch-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 120px;
  font-weight: 900;
  color: #fff;
  font-family: var(--font-title, 'Orbitron', sans-serif);
  text-shadow: 0 0 20px rgba(232, 35, 42, 0.8);
  letter-spacing: 10px;
  pointer-events: none;
}

.error-title {
  font-family: var(--font-title, 'Orbitron', sans-serif);
  font-size: 48px;
  font-weight: 900;
  color: var(--primary, #e8232a);
  margin: 0 0 15px 0;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.error-message {
  font-size: 18px;
  color: var(--text-dim, #aaa);
  max-width: 500px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.error-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
}

@media (max-width: 768px) {
  .error-glitch-text { font-size: 80px; }
  .error-title { font-size: 32px; }
  .error-actions { flex-direction: column; }
}

