/* Login Page Styles */

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

body[data-theme="light"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Animated background particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    pointer-events: all;
    cursor: pointer;
    will-change: transform, opacity;
    transition: opacity 0.1s ease;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Robot mascot */
.robot-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
}

.robot {
    width: 400px;
    height: 400px;
    position: relative;
}

.robot-head {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    border-radius: 40px;
    position: relative;
    margin: 0 auto;
    border: 3px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(255, 255, 255, 0.1);
}

.robot-antenna {
    width: 4px;
    height: 40px;
    background: rgba(255, 255, 255, 0.6);
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.robot-antenna-ball {
    width: 16px;
    height: 16px;
    background: #5865f2;
    border-radius: 50%;
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px #5865f2, 0 0 40px #5865f2;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 0 20px #5865f2, 0 0 40px #5865f2;
    }
    50% {
        transform: translateX(-50%) scale(1.2);
        box-shadow: 0 0 30px #5865f2, 0 0 60px #5865f2;
    }
}

.robot-eyes {
    display: flex;
    gap: 40px;
    justify-content: center;
    margin-top: 60px;
}

.robot-eye {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.robot-pupil {
    width: 25px;
    height: 25px;
    background: #5865f2;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.1s ease;
}

.robot-mouth {
    width: 80px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.9);
    border-top: none;
    border-radius: 0 0 40px 40px;
    margin: 30px auto 0;
}

/* Login content */
.login-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem;
    animation: slideInRight 0.6s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.login-content {
    max-width: 600px;
    width: 100%;
    min-width: 400px;
}

.login-box {
    background: transparent;
    padding: 0;
}

body[data-theme="dark"] .login-box {
    background: transparent;
}

/* Language Toggle */
.language-toggle-login {
    position: fixed;
    top: 2rem;
    left: 2rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
}

.language-toggle-login:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.theme-toggle svg {
    color: white;
}

body[data-theme="dark"] .theme-toggle svg {
    color: white;
}

/* Logo container */
.logo-container {
    text-align: left;
    margin-bottom: 2.5rem;
    padding-left: 0.25rem;
}

/* Shield icon wrapper */
.logo-shield {
    width: 105px;
    height: 105px;
    padding: 1.2rem;
    border-radius: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);

    border: 2px solid rgba(255, 255, 255, 0.28);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.18),
        inset 0 0 12px rgba(255, 255, 255, 0.05);

    margin-bottom: 1.75rem;
}

.logo-shield svg {
    width: 58px;
    height: 58px;
    color: #fff;
}

/* Title */
.login-box h1 {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;

    text-shadow:
        0 3px 18px rgba(0, 0, 0, 0.25),
        0 0 10px rgba(255, 255, 255, 0.1);

    line-height: 1.15;
}

body[data-theme="dark"] .login-box h1 {
    color: #fff;
}

/* Info text */
.login-box p {
    font-size: 1.05rem;
    line-height: 1.55;
    margin-bottom: 2.2rem;

    color: rgba(255, 255, 255, 0.92);

    max-width: 90%;
    overflow-wrap: break-word;
}


body[data-theme="dark"] .login-box p {
    color: rgba(255, 255, 255, 0.9);
}

.discord-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: white;
    color: #5865f2;
    padding: 1.2rem 3rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    border: none;
}

.discord-button:hover {
    background: #f8f9fa;
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.discord-button svg {
    width: 24px;
    height: 24px;
}

.support-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.support-link:hover {
    color: white;
    transform: translateX(5px);
}

.support-link svg {
    width: 18px;
    height: 18px;
}

.features {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.2));
}

.feature-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    white-space: nowrap;
}

body[data-theme="dark"] .feature-text {
    color: rgba(255, 255, 255, 0.9);
}

/* Add smooth transitions to particles */
.particle {
    transition: opacity 0.3s ease;
}

.particle:hover {
    opacity: 0.3;
}

/* Responsive */
@media (max-width: 1024px) {
    body {
        grid-template-columns: 1fr;
    }

    .robot-container {
        display: none;
    }

    .login-container {
        padding: 2rem;
    }

    .login-content {
        min-width: 320px;
    }

    .login-box h1 {
        font-size: 2.2rem;
    }

    .features {
        gap: 1rem;
    }

    .logo-container {
        text-align: center;
    }

    .logo-shield {
        margin: 0 auto 1.5rem;
    }
}

@media (max-width: 768px) {
    .login-container {
        padding: 1.5rem;
    }

    .login-content {
        min-width: 280px;
    }

    .login-box h1 {
        font-size: 1.8rem;
    }

    .login-box p {
        font-size: 0.9rem;
    }

    .discord-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .features {
        gap: 0.75rem;
    }

    .feature-text {
        font-size: 0.85rem;
    }
}
