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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden;
    height: 100vh;
    position: relative;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/background.jpg') center/cover no-repeat;
    z-index: -1;
}

.background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(3px);
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 40px;
    padding: 65px 55px;
    box-shadow:
        0 25px 100px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset,
        0 0 60px rgba(255, 255, 255, 0.05) inset;
    border: 2px solid rgba(255, 255, 255, 0.2);
    max-width: 500px;
    width: 100%;
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo-container {
    margin-bottom: 40px;
    display: flex;
    justify-content: center;
    position: relative;
}

.logo {
    width: 130px;
    height: 130px;
    background: url('../images/logo.png') center/contain no-repeat;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: all 0.4s ease;
}

.logo:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.4);
}

/* Texte du logo (caché si vous utilisez une image PNG) */
.logo-text {
    font-size: 28px;
    font-weight: 900;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
    display: none; /* Masquer le texte quand vous utilisez une image */
}

.dashboard-title {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.welcome-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-bottom: 50px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.steam-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    color: white;
    padding: 20px 60px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow:
        0 12px 40px rgba(88, 101, 242, 0.45),
        0 0 0 2px rgba(255, 255, 255, 0.15) inset,
        0 8px 20px rgba(0, 0, 0, 0.2);
    border: none;
    width: 100%;
    max-width: 100%;
    margin: 0 auto 40px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.steam-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent);
    transition: left 0.6s ease;
}

.steam-button:hover::before {
    left: 100%;
}

.steam-button:hover {
    background: linear-gradient(135deg, #4752c4 0%, #3c45a5 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 18px 50px rgba(88, 101, 242, 0.6),
        0 0 0 2px rgba(255, 255, 255, 0.25) inset,
        0 12px 30px rgba(0, 0, 0, 0.3);
}

.steam-button:active {
    transform: translateY(-2px) scale(1.01);
    transition: all 0.1s ease;
}

.steam-icon {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.footer-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
    line-height: 1.8;
    margin-top: 10px;
}

.footer-text p {
    margin-bottom: 8px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.disclaimer {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 10px;
    font-style: italic;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.corner-label {
    position: fixed;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    z-index: 1000;
}

/* Responsive */
@media (max-width: 768px) {
    .login-card {
        padding: 40px 30px;
    }

    .dashboard-title {
        font-size: 32px;
    }

    .logo {
        width: 110px;
        height: 110px;
    }

    .logo-text {
        font-size: 24px;
    }

    .steam-button {
        padding: 16px 40px;
        font-size: 14px;
    }
}
