/* Global Header and Footer Styles */
.header {
    background: #222; /* Darker background to match leaderboard */
    padding: 20px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333; /* Matches leaderboard border */
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ff344d; /* Red border to match leaderboard avatars */
    object-fit: cover;
}

.logo-name {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #ff344d; /* Red hover color to match leaderboard */
}

.global-footer {
    background: #222;
    padding: 40px 0;
    border-top: 1px solid #333;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    flex-wrap: wrap;
}

.footer-logo img {
    max-width: 150px;
    margin-bottom: 10px;
}

.footer-text {
    color: #ccc;
    font-size: 14px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff344d; /* Gold hover effect */
}

/* Responsive Design */
@media (max-width: 991px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links ul {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .logo-name {
        font-size: 20px;
    }

    .nav-menu a {
        font-size: 14px;
    }

    .logo-img {
        width: 32px;
        height: 32px;
    }

    .footer-text {
        font-size: 12px;
    }

    .footer-links a {
        font-size: 12px;
    }

    .footer-logo img {
        max-width: 120px;
    }
}