:root {
    --bs-primary: #3498db;
    --bs-secondary: #6c757d;
    --bs-success: #27ae60;
    --bs-danger: #e74c3c;
    --bs-warning: #f39c12;
    --bs-info: #17a2b8;
    --bs-light: #f8f9fa;
    --bs-dark: #2c3e50;
}

body {
    background-color: var(--bs-light);
    padding-top: 76px; /* Account for sticky navbar */
}

.navbar-custom {
    background-color: var(--bs-dark) !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar-custom .navbar-brand {
    color: white !important;
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-custom .navbar-nav .nav-link {
    color: rgba(255,255,255,0.8) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.navbar-custom .navbar-nav .nav-link:hover,
.navbar-custom .navbar-nav .nav-link.active {
    color: white !important;
    background-color: var(--bs-primary);
}

.hero-section {
    background: linear-gradient(135deg, var(--bs-dark), var(--bs-primary));
    color: white;
    padding: 4rem 0;
    margin-bottom: 3rem;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-section .lead {
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.section-title {
    color: var(--bs-dark);
    border-bottom: 3px solid var(--bs-primary);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    font-weight: bold;
}

.stats-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: none;
}

.stats-card:hover {
    transform: translateY(-5px);
}

.stats-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--bs-primary);
}

.table-rankings {
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.table-rankings thead th {
    background-color: var(--bs-dark);
    color: white;
    border: none;
    font-weight: 600;
    padding: 1rem;
}

.table-rankings tbody td {
    padding: 1rem;
    vertical-align: middle;
}

.table-rankings tbody tr:hover {
    background-color: rgba(52, 152, 219, 0.1);
}

.player-rank {
    background-color: var(--bs-primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.player-rank.top-3 {
    background: linear-gradient(135deg, #f39c12, #e67e22);
}

.rate-badge {
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
}

.location-badge {
    background-color: rgba(52, 152, 219, 0.1);
    color: var(--bs-primary);
    border: 1px solid var(--bs-primary);
}

.shift-badge {
    background-color: rgba(39, 174, 96, 0.1);
    color: var(--bs-success);
    border: 1px solid var(--bs-success);
}

.welcome-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.feature-icon {
    font-size: 3rem;
    color: var(--bs-primary);
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section .lead {
        font-size: 1.1rem;
    }
    
    .stats-number {
        font-size: 2rem;
    }
}