* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000000;
    color: #ccc;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    background: #0a0a0a;
    padding: 20px 0;
    border-bottom: 1px solid #222;
    margin-bottom: 30px;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #aaa;
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.nav a:hover {
    color: #aaa;
}

.nav a.active {
    color: #aaa;
    border-bottom: 2px solid #444;
}

/* Cards */
.card {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
}

.card-header {
    color: #aaa;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #222;
}

/* Grid */
.grid {
    display: grid;
    gap: 20px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Stats boxes */
.stat-box {
    background: #111;
    padding: 20px;
    border-radius: 4px;
    border-left: 3px solid #444;
    text-align: center;
}

.stat-value {
    font-size: 32px;
    font-weight: bold;
    color: #aaa;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 14px;
    text-transform: uppercase;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #1a1a1a;
}

th {
    background: #111;
    color: #aaa;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 12px;
}

tbody tr {
    transition: background 0.2s;
}

tbody tr:hover {
    background: #111;
}

.rank {
    color: #666;
    font-weight: bold;
}

.rank-1 { color: #FFD700; }
.rank-2 { color: #C0C0C0; }
.rank-3 { color: #CD7F32; }

.time {
    color: #aaa;
    font-family: monospace;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background: #222;
    color: #aaa;
    text-decoration: none;
    border: 1px solid #333;
    border-radius: 3px;
    transition: all 0.2s;
    cursor: pointer;
}

.btn:hover {
    background: #2a2a2a;
    border-color: #444;
}

.btn-primary {
    background: #333;
    border-color: #444;
}

.btn-primary:hover {
    background: #3a3a3a;
}

/* Forms */
select, input {
    background: #111;
    color: #ccc;
    border: 1px solid #333;
    padding: 10px;
    border-radius: 3px;
    width: 100%;
    font-size: 14px;
}

select:focus, input:focus {
    outline: none;
    border-color: #444;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
    border-top: 1px solid #1a1a1a;
    color: #555;
}

.footer a {
    color: #666;
    text-decoration: none;
}

.footer a:hover {
    color: #888;
}

/* Server status */
.server-status {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00ff00;
    margin-right: 8px;
    animation: pulse 2s infinite;
}

.server-status.offline {
    background: #ff0000;
    animation: none;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Utility classes */
.text-center { text-align: center; }
.text-muted { color: #666; }
.mb-20 { margin-bottom: 20px; }
.mt-20 { margin-top: 20px; }
