* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #1a1a1a;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 20px;
}

.login-form {
    padding: 50px 40px;
    text-align: center;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    gap: 15px;
}

.logo-image {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: brightness(1.1);
}

.logo-text {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 2px;
}

h2 {
    font-size: 28px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
}

.subtitle {
    color: #888888;
    font-size: 16px;
    margin-bottom: 40px;
}

.login-options {
    width: 100%;
    margin-bottom: 40px;
}

.discord-login {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 24px;
    background: #ffffff;
    color: #000000;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    gap: 12px;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.discord-login:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.discord-login i {
    font-size: 20px;
    color: #5865f2;
}

.separator {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

.footer-text {
    color: #666666;
    font-size: 14px;
    line-height: 1.5;
}

.footer-text p {
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.footer-text a {
    color: #888888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-text a:hover {
    color: #ffffff;
}

/* Loading Animation */
.loading {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #333333;
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .login-container {
        padding: 15px;
        max-width: 380px;
    }
    
    .login-form {
        padding: 40px 30px;
    }
    
    .logo-image {
        width: 50px;
        height: 50px;
    }
    
    .logo-text {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .login-form {
        padding: 30px 20px;
    }
    
    .logo {
        flex-direction: column;
        gap: 10px;
    }
    
    .logo-text {
        font-size: 24px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 8px;
    }
}