/* ===== MAIN HEADER ===== */
.main-header {
    background: linear-gradient(135deg, #0a0a0a 50%, #3d3c3c 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    min-height: 70px;
    height: 70px;
    display: block;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    height: 70px;
}

/* ===== LOGO ===== */
.header-logo {
    flex-shrink: 0;
    height: 70px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.5rem;
    transition: transform 0.2s ease;
    height: 70px;
}

.logo-link:hover {
    transform: scale(1.05);
    color: white;
}

.logo-icon {
    font-size: 1.75rem;
}

.logo-text {
    letter-spacing: -0.02em;
}

/* ===== NAVIGATION ===== */
.header-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    background: #3FB185;
    backdrop-filter: blur(10px);
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-link.active {
    background: #3FB185;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: white;
    border-radius: 2px 2px 0 0;
}

.nav-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.nav-text {
    white-space: nowrap;
}

.nav-link-notifications {
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    background: #dc3545;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* ===== USER SECTION ===== */
.header-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.user-name {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.logout-link,
.login-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    min-width: 40px;
    height: 40px;
}

.logout-link:hover,
.login-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.logout-icon {
    font-size: 1.25rem;
}

.login-link {
    padding: 0.5rem 1rem;
    min-width: auto;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header-container {
        padding: 1rem;
        gap: 1rem;
    }

    .logo-text {
        display: none;
    }

    .nav-text {
        display: none;
    }

    .nav-link {
        padding: 0.75rem;
        min-width: 44px;
        justify-content: center;
    }

    .user-name {
        display: none;
    }

    .header-nav {
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0.75rem;
    }

    .logo-icon {
        font-size: 1.5rem;
    }
}

.card-login {
    background: rgba(38, 40, 48, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: white;
}
.card-body-login{
    margin: 0 auto;
}.mon-bouton-steam {
    background: linear-gradient(45deg, #00b0ff, #009ecc);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
}