/* THEME: DARK (Default) */
:root {
    --bg-color: #121212;
    --card-bg: #1e1e1e;
    --text-color: #e0e0e0;
    --text-muted: #a0a0a0;
    --primary-color: #00c3ff;
    --accent-color: #ff9500;
    --border-color: #333333;
    --success-color: #00e676;
    --danger-color: #ff1744;
}

body {
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 195, 255, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 149, 0, 0.05) 0%, transparent 20%);
}

h1 {
    text-shadow: 0 0 15px rgba(0, 195, 255, 0.3);
}

/* Specific overrides for Dark Mode aesthetics */
.nav-link:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: #121212;
    box-shadow: 0 0 15px rgba(0, 195, 255, 0.3);
}

.race-list-item:hover {
    border-color: var(--accent-color);
    background-color: #252525;
}

.performer-card {
    background: linear-gradient(145deg, #1e1e1e, #252525);
}

.performer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--success-color);
}

.race-header {
    background: linear-gradient(135deg, #1e1e1e 0%, #252525 100%);
    border-bottom: 2px solid var(--primary-color);
}

th {
    background-color: rgba(255, 255, 255, 0.03);
}

tr:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Timeline specific gradients */
.timeline-line {
    background: linear-gradient(90deg,
            rgba(0, 195, 255, 0.1) 0%,
            rgba(0, 195, 255, 1) 15%,
            rgba(0, 195, 255, 1) 85%,
            rgba(0, 195, 255, 0.1) 100%);
}

.timeline-marker {
    box-shadow: 0 0 10px rgba(0, 195, 255, 0.5);
}

.timeline-item:hover .timeline-marker {
    box-shadow: 0 0 20px rgba(0, 195, 255, 0.8);
}

.timeline-date {
    background: rgba(30, 30, 30, 0.8);
    color: var(--primary-color);
}

/* Podium specific gradients */
.podium-item.rank-1 {
    background: linear-gradient(to bottom, rgba(255, 215, 0, 0.1), var(--card-bg));
}

.profile-header {
    background-image: linear-gradient(to bottom, rgba(0, 195, 255, 0.05), transparent);
}

/* Styles for unranked players */
tr.is-unranked {
    opacity: 0.6;
}

tr.is-unranked:hover {
    opacity: 1;
}

.unranked-separator td {
    border-bottom: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
}