body {
    background-color: #121212;
    color: #e0e0e0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}
header {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.8)), url('https://images.unsplash.com/photo-1607604276583-eef5d076aa5f?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    padding: 60px 20px;
    text-align: center;
    border-bottom: 3px solid #4CAF50;
}
header h1 {
    font-size: 2.5rem;
    color: #4CAF50;
    margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}
.nav-buttons {
    margin-top: 15px;
}
.btn {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}
.btn:hover { background-color: #45a049; }
.btn-secondary { background-color: #333; border: 1px solid #555; }

/* Dashboard layout voor /stats */
.dashboard-container {
    max-width: 1300px;
    margin: 30px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
}
@media (max-width: 900px) {
    .dashboard-container { grid-template-columns: 1fr; }
}
.sidebar {
    background: #1e1e1e;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
    height: fit-content;
}
.sidebar h3 { color: #4CAF50; margin-top: 0; border-bottom: 2px solid #2c2c2c; padding-bottom: 10px; }
.main-content {
    background: #1e1e1e;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}
.online-indicator {
    height: 10px; width: 10px; background-color: #4CAF50; border-radius: 50%; display: inline-block; box-shadow: 0 0 8px #4CAF50; margin-right: 8px;
}
.offline-indicator {
    height: 10px; width: 10px; background-color: #666; border-radius: 50%; display: inline-block; margin-right: 8px;
}
.fact-box {
    background: #252525;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid #4CAF50;
    font-style: italic;
    font-size: 0.95rem;
}
.search-bar {
    width: 100%; padding: 12px; margin-bottom: 20px; background: #252525; border: 1px solid #333; color: #fff; border-radius: 6px; font-size: 1rem; box-sizing: border-box;
}
.tabs { display: flex; gap: 10px; margin-bottom: 20px; border-bottom: 2px solid #2c2c2c; padding-bottom: 10px; overflow-x: auto; }
.tab-btn { background: #252525; color: #aaa; border: none; padding: 10px 20px; border-radius: 6px; cursor: pointer; font-weight: bold; white-space: nowrap; }
.tab-btn.active, .tab-btn:hover { background: #4CAF50; color: white; }
.tab-content { display: none; }
.tab-content.active { display: block; }
table { width: 100%; border-collapse: collapse; margin-top: 10px; }
th, td { padding: 12px 16px; text-align: left; border-bottom: 1px solid #2c2c2c; }
th { background-color: #252525; color: #fff; font-weight: 600; }
tr:hover { background-color: #252525; cursor: pointer; }
.rank { width: 50px; color: #888; }
.icon-cell { display: flex; align-items: center; gap: 10px; }
.icon-cell img { width: 24px; height: 24px; image-rendering: pixelated; }
.back-link { display: inline-block; margin-bottom: 20px; color: #4CAF50; text-decoration: none; font-weight: 600; }
.back-link:hover { text-decoration: underline; }
