/* ===================================
   PAGE DE CONNEXION - MEPHIAHOST
   =================================== */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
}

/* Background */
.login-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(59, 130, 246, 0.12), transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(59, 130, 246, 0.08), transparent 50%);
}

.bg-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
    background-size: 120px 120px, 180px 180px;
    animation: float 25s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Container principal */
.login-container {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

/* Carte de connexion */
.login-card {
    background: rgba(15, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    padding: 32px;
    max-width: 420px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    position: relative;
    /* SUPPRESSION COMPLÈTE DU HOVER */
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), transparent);
}

/* Header de connexion */
.login-header {
    text-align: center;
    margin-bottom: 28px;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.logo-container {
    position: relative;
    width: 40px;
    height: 40px;
}

.logo-image {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    padding: 0;
    display: block;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    color: white;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.25);
}

.login-logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
}

.login-subtitle {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Contenu de connexion */
.login-content h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 8px;
    text-align: center;
}

.login-description {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
    margin-bottom: 24px;
}

/* Bouton Discord */
.discord-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: #5865f2;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 24px;
    border: none;
    cursor: pointer;
}

.discord-login-btn:hover {
    background: #4752c4;
    box-shadow: 0 4px 16px rgba(88, 101, 242, 0.25);
}

.discord-icon {
    width: 20px;
    height: 20px;
}

/* Avantages */
.login-benefits {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: rgba(59, 130, 246, 0.04);
    border: 1px solid rgba(59, 130, 246, 0.08);
    border-radius: 8px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.benefit-item:hover {
    background: rgba(59, 130, 246, 0.08);
    border-color: rgba(59, 130, 246, 0.15);
}

.benefit-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.benefit-item span {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Statistiques */
.login-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue-light);
    line-height: 1;
    margin-bottom: 3px;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-gray);
    font-weight: 500;
    line-height: 1.2;
}

/* Footer */
.login-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.login-footer p {
    color: var(--text-gray);
    font-size: 0.8rem;
    line-height: 1.4;
}

.login-footer a {
    color: var(--primary-blue-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.login-footer a:hover {
    color: var(--primary-blue);
}

/* Retour au site */
.back-to-site {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 100;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(15, 15, 30, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.15);
    border-radius: 8px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    line-height: 1;
    height: auto;
}

.back-link::before {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23e5e7eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 19-7-7 7-7'/%3E%3Cpath d='M19 12H5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    flex-shrink: 0;
}

.back-link:hover {
    background: rgba(59, 130, 246, 0.08);
    color: var(--text-white);
    /* Effet de contour animé violet */
    border: 1px solid #8b5cf6;
    box-shadow: 
        0 0 15px rgba(139, 92, 246, 0.4),
        0 0 30px rgba(139, 92, 246, 0.2);
    animation: purpleGlowSmall 2s ease-in-out infinite alternate;
}

@keyframes purpleGlowSmall {
    0% {
        border-color: #8b5cf6;
        box-shadow: 
            0 0 15px rgba(139, 92, 246, 0.4),
            0 0 30px rgba(139, 92, 246, 0.2);
    }
    100% {
        border-color: #a855f7;
        box-shadow: 
            0 0 20px rgba(168, 85, 247, 0.6),
            0 0 40px rgba(168, 85, 247, 0.3);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .login-page {
        padding: 15px;
        align-items: flex-start;
        padding-top: 60px;
    }
    
    .login-container {
        padding: 0;
    }
    
    .login-card {
        padding: 24px 20px;
        margin: 0;
        max-width: 100%;
        border-radius: 12px;
    }
    
    .login-logo {
        gap: 10px;
        margin-bottom: 16px;
    }
    
    .login-logo h1 {
        font-size: 1.3rem;
    }
    
    .logo-container {
        width: 36px;
        height: 36px;
    }
    
    .logo-image {
        width: 36px;
        height: 36px;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    
    .login-content h2 {
        font-size: 1.2rem;
    }
    
    .login-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .discord-login-btn {
        padding: 12px 18px;
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .login-stats {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 16px 0;
    }
    
    .stat {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        padding: 8px 12px;
        background: rgba(59, 130, 246, 0.04);
        border-radius: 6px;
    }
    
    .stat-number {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .benefit-item {
        padding: 12px;
    }
    
    .benefit-icon {
        width: 28px;
        height: 28px;
    }
    
    .benefit-item span {
        font-size: 0.85rem;
    }
    
    .back-to-site {
        position: static;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .back-link {
        display: inline-flex;
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    .back-link::before {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .login-page {
        padding: 10px;
        padding-top: 40px;
    }
    
    .login-card {
        padding: 20px 16px;
        border-radius: 10px;
    }
    
    .login-header {
        margin-bottom: 20px;
    }
    
    .login-logo {
        flex-direction: column;
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .login-logo h1 {
        font-size: 1.2rem;
    }
    
    .login-subtitle {
        font-size: 0.8rem;
    }
    
    .login-content h2 {
        font-size: 1.1rem;
        margin-bottom: 6px;
    }
    
    .login-description {
        font-size: 0.85rem;
        margin-bottom: 18px;
    }
    
    .discord-login-btn {
        padding: 12px 16px;
        font-size: 0.85rem;
        gap: 8px;
    }
    
    .discord-icon {
        width: 18px;
        height: 18px;
    }
    
    .login-benefits {
        gap: 8px;
        margin-bottom: 18px;
    }
    
    .benefit-item {
        padding: 10px;
        gap: 8px;
    }
    
    .benefit-icon {
        width: 24px;
        height: 24px;
    }
    
    .benefit-item span {
        font-size: 0.8rem;
    }
    
    .login-stats {
        padding: 12px 0;
    }
    
    .stat {
        padding: 6px 10px;
    }
    
    .stat-number {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .login-footer {
        margin-top: 18px;
        padding-top: 16px;
    }
    
    .login-footer p {
        font-size: 0.75rem;
    }
}

/* Animations subtiles - SUPPRIMÉES LES MOUVEMENTS */
.login-card {
    animation: fadeIn 0.5s ease-out;
}

/* SUPPRESSION COMPLÈTE DE TOUS LES EFFETS HOVER SUR LA CARTE */
.login-card:hover {
    transform: none !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25) !important;
    background: rgba(15, 15, 30, 0.85) !important;
    /* Effet de contour animé violet */
    border: 1px solid #8b5cf6 !important;
    box-shadow: 
        0 0 20px rgba(139, 92, 246, 0.4),
        0 0 40px rgba(139, 92, 246, 0.2),
        0 20px 60px rgba(0, 0, 0, 0.25) !important;
    animation: purpleGlow 2s ease-in-out infinite alternate !important;
}

@keyframes purpleGlow {
    0% {
        border-color: #8b5cf6;
        box-shadow: 
            0 0 20px rgba(139, 92, 246, 0.4),
            0 0 40px rgba(139, 92, 246, 0.2),
            0 20px 60px rgba(0, 0, 0, 0.25);
    }
    100% {
        border-color: #a855f7;
        box-shadow: 
            0 0 30px rgba(168, 85, 247, 0.6),
            0 0 60px rgba(168, 85, 247, 0.3),
            0 20px 60px rgba(0, 0, 0, 0.25);
    }
}

/* Force la carte à rester statique */
.login-card {
    transform: none !important;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Suppression des animations de mouvement */
.benefit-item {
    /* Animation supprimée */
}

.stat {
    /* Animation supprimée */
}