/* Page de Login - Thème BotAtraxi */

.login-page {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    overflow: hidden;
    position: relative;
}

/* Background Animation */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    transition: all 3s cubic-bezier(0.4, 0, 0.2, 1);
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    top: 10%;
    left: 10%;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--gradient-accent);
    bottom: 10%;
    right: 10%;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--success), var(--primary));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Login Container */
.login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    padding: var(--space-8);
}

.login-card {
    background: var(--glass-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-12);
    box-shadow: var(--shadow-glass);
    animation: fadeInUp 0.6s ease-out;
}

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

/* Logo Section */
.login-logo {
    text-align: center;
    margin-bottom: var(--space-8);
}

.login-logo .logo-img {
    width: 80px;
    height: 80px;
    margin-bottom: var(--space-4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.logo-title {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-2);
}

.logo-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 400;
}

/* Login Content */
.login-content {
    margin-bottom: var(--space-8);
}

.login-title {
    color: var(--text-primary);
    font-size: 1.75rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--space-4);
}

.login-description {
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.6;
    margin-bottom: var(--space-8);
}

/* Twitch Button */
.btn-twitch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    width: 100%;
    padding: var(--space-4) var(--space-6);
    background: #9146ff;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(145, 70, 255, 0.3);
}

.btn-twitch:hover {
    background: #7c3aed;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(145, 70, 255, 0.5);
}

.btn-twitch:active {
    transform: translateY(0);
}

.twitch-icon {
    width: 24px;
    height: 24px;
}

/* Features List */
.login-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-top: var(--space-8);
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-icon {
    font-size: 1.5rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(102, 126, 234, 0.1);
    border-radius: var(--radius-sm);
}

.feature-text {
    flex: 1;
}

/* Footer */
.login-footer {
    text-align: center;
    padding-top: var(--space-6);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .login-container {
        padding: var(--space-4);
    }

    .login-card {
        padding: var(--space-8);
    }

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

    .login-title {
        font-size: 1.5rem;
    }

    .gradient-orb {
        filter: blur(60px);
    }

    .orb-1, .orb-2 {
        width: 300px;
        height: 300px;
    }

    .orb-3 {
        width: 200px;
        height: 200px;
    }
}

/* Animation pour les éléments qui apparaissent */
.login-features .feature-item {
    animation: fadeInLeft 0.5s ease-out backwards;
}

.login-features .feature-item:nth-child(1) {
    animation-delay: 0.2s;
}

.login-features .feature-item:nth-child(2) {
    animation-delay: 0.3s;
}

.login-features .feature-item:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

