        :root {
            /* Hetzelfde thema als de login pagina */
            --glass-bg: rgba(20, 20, 20, 0.85);
            --glass-panel: rgba(255, 255, 255, 0.03);
            --glass-border: rgba(255, 255, 255, 0.1);
            --accent-gold: #ffd700;
            --accent-red: #e74c3c;
            --accent-green: #2ecc71;
            --accent-blue: #3498db;
            --text-main: #e0e0e0;
            --text-muted: #999;
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }

        body {
            font-family: 'Roboto', sans-serif;
            background-image: url('http://images.unsplash.com/photo-1486006920555-c77dcf18193c?q=80&w=1992&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            min-height: 100vh;
            color: var(--text-main);
            padding-bottom: 40px; /* Ruimte voor footer */
        }

        /* --- LAYOUT GRID --- */
        .app-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        /* --- HEADER --- */
        .game-header {
            background: var(--glass-bg);
            backdrop-filter: blur(12px);
            border: 1px solid var(--glass-border);
            border-radius: 12px;
            padding: 15px 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        }

        .logo h1 {
            font-family: 'Rajdhani', sans-serif;
            font-size: 2rem;
            text-transform: uppercase;
            color: #fff;
            margin: 0;
            letter-spacing: 2px;
        }
        .logo span { color: var(--accent-gold); }

        .top-actions {
            display: flex;
            gap: 15px;
        }

        .action-btn {
            background: rgba(255,255,255,0.05);
            border: 1px solid var(--glass-border);
            color: #fff;
            padding: 8px 15px;
            border-radius: 6px;
            text-decoration: none;
            font-family: 'Rajdhani', sans-serif;
            font-weight: 600;
            transition: all 0.3s;
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 0.9rem;
        }
        .action-btn:hover {
            background: var(--accent-gold);
            color: #000;
            border-color: var(--accent-gold);
        }
        .action-btn.logout:hover {
            background: var(--accent-red);
            color: #fff;
            border-color: var(--accent-red);
        }

        /* --- MAIN GRID (3 Kolommen) --- */
        .game-grid {
            display: grid;
            grid-template-columns: 240px 1fr 240px; /* Links, Midden, Rechts */
            gap: 20px;
            align-items: start;
        }

        /* Algemene Panel Styling */
        .panel {
            background: var(--glass-bg);
            backdrop-filter: blur(12px);
            border: 1px solid var(--glass-border);
            border-radius: 10px;
            overflow: hidden;
            margin-bottom: 20px;
        }
        .panel:last-child { margin-bottom: 0; }

        .panel-header {
            background: rgba(255, 255, 255, 0.05);
            padding: 12px 15px;
            font-family: 'Rajdhani', sans-serif;
            font-weight: 700;
            text-transform: uppercase;
            color: var(--accent-gold);
            border-bottom: 1px solid var(--glass-border);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        /* --- LINKER KOLOM (NAVIGATIE) --- */
        .nav-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        .nav-list li {
            border-bottom: 1px solid rgba(255,255,255,0.03);
        }
        .nav-list a {
            display: block;
            padding: 10px 15px;
            color: var(--text-muted);
            text-decoration: none;
            font-size: 0.9rem;
            transition: 0.2s;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        .nav-list a i { width: 20px; text-align: center; }
        .nav-list a:hover {
            background: rgba(255, 215, 0, 0.1);
            color: #fff;
            padding-left: 20px;
            border-left: 3px solid var(--accent-gold);
        }
        .badge {
            background: var(--accent-red);
            color: #fff;
            font-size: 0.7rem;
            padding: 2px 6px;
            border-radius: 4px;
            margin-left: auto;
        }

        /* --- MIDDEN KOLOM (CONTENT) --- */
        .content-area {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .welcome-banner {
            background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), rgba(0,0,0,0));
            border-left: 4px solid var(--accent-gold);
            padding: 15px;
            border-radius: 4px;
            margin-bottom: 5px;
            font-size: 0.95rem;
        }

        /* Cooldown Bars in Table */
        .mini-progress {
            width: 100px;
            height: 6px;
            background: rgba(255,255,255,0.1);
            border-radius: 3px;
            overflow: hidden;
            display: inline-block;
            vertical-align: middle;
            margin-right: 8px;
        }
        .mini-fill { height: 100%; border-radius: 3px; }

        /* --- RECHTER KOLOM (STATS) --- */
        
        /* Profile Box */
        .profile-header {
            padding: 20px;
            text-align: center;
            border-bottom: 1px solid var(--glass-border);
            background: rgba(0,0,0,0.2);
        }
        .avatar-circle {
            width: 80px;
            height: 80px;
            background: #222;
            border: 2px solid var(--accent-gold);
            border-radius: 50%;
            margin: 0 auto 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: var(--accent-gold);
            box-shadow: 0 0 15px rgba(255,215,0,0.2);
        }
        .player-name {
            font-family: 'Rajdhani', sans-serif;
            font-size: 1.2rem;
            font-weight: 700;
            color: #fff;
        }
        .player-rank {
            color: var(--accent-gold);
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* Stats List */
        .stats-list {
            padding: 15px;
        }
        .stat-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 12px;
            font-size: 0.9rem;
        }
        .stat-item span:first-child { color: var(--text-muted); }
        .stat-item span:last-child { color: #fff; font-weight: 600; font-family: 'Rajdhani', sans-serif; }

        /* Progress Bars */
        .bar-container {
            margin-bottom: 15px;
        }
        .bar-label {
            display: flex;
            justify-content: space-between;
            font-size: 0.8rem;
            margin-bottom: 5px;
            color: #ccc;
        }
        .progress-track {
            height: 8px;
            background: rgba(0,0,0,0.4);
            border-radius: 4px;
            overflow: hidden;
            border: 1px solid rgba(255,255,255,0.05);
        }
        .progress-bar {
            height: 100%;
            border-radius: 4px;
            box-shadow: 0 0 10px rgba(0,0,0,0.3);
        }
        
        /* Kleuren */
        .bg-red { background: linear-gradient(90deg, #c0392b, #e74c3c); }
        .bg-green { background: linear-gradient(90deg, #27ae60, #2ecc71); }
        .bg-blue { background: linear-gradient(90deg, #2980b9, #3498db); }
        .bg-gold { background: linear-gradient(90deg, #b7950b, #f1c40f); }

        .text-green { color: var(--accent-green) !important; }
        .text-red { color: var(--accent-red) !important; }

        /* Footer */
        .footer {
            text-align: center;
            margin-top: 30px;
            color: #fff;
            font-size: 0.8rem;
            font-family: 'Rajdhani', sans-serif;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* Responsive */
        @media (max-width: 992px) {
            .game-grid {
                grid-template-columns: 1fr; /* Alles onder elkaar op mobiel/tablet */
            }
            .app-container { padding: 10px; }
            .nav-list { display: flex; flex-wrap: wrap; }
            .nav-list a { border-bottom: none; border-right: 1px solid var(--glass-border); flex: 1; justify-content: center;}
            .panel { margin-bottom: 15px; }
        }
		
/* =========================
   PANEL 50% LAYOUT
   ========================= */

/* =========================================
   FIX: layout mag NIET door 50/50 panels breken
   -> Forceer normale flow voor de hoofdcontent
   ========================================= */
#page-content,
.content-area{
  display: block !important;
}

/* =========================================
   50/50 panels: enkel deze naast elkaar
   Gebruik: <div class="panel panel-half">...</div>
   ========================================= */
.panel.panel-half{
  display: inline-block;
  vertical-align: top;
  width: calc(50% - 12px);
  margin: 0 0 24px 0;
}

/* 2de kolom krijgt links spacing */
.panel.panel-half:nth-of-type(2n){
  margin-left: 20px;
}

/* Full width panels blijven full width en starten op nieuwe lijn */
.panel:not(.panel-half){
  display: block;
  width: 100%;
  margin-bottom: 24px;
  clear: both;
}

/* Mobiel: alles onder elkaar */
@media (max-width: 900px){
  .panel.panel-half{
    width: 100%;
    margin-left: 0 !important;
  }
}

.panel .content p{
  padding: 10px 14px 5px 14px;
  color: #999;
}

.stats-header {
            font-family: 'Rajdhani', sans-serif;
            font-size: 1.4rem;
            text-transform: uppercase;
            border-bottom: 1px solid var(--glass-border);
            padding-bottom: 10px;
            margin-bottom: 20px;
            color: #fff;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .stat-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 12px;
            font-size: 0.9rem;
            border-bottom: 1px solid rgba(255,255,255,0.03);
            padding-bottom: 4px;
        }

        .stat-label { color: var(--text-muted); }
        .stat-value { font-weight: bold; color: #fff; font-family: 'Rajdhani', sans-serif; letter-spacing: 0.5px; }
		
a { color: #DDD; }
a:hover { color: var(--accent-gold); }
p.space { margin-top: 10px; margin-bottom: 10px; }