:root {
    --app-bg: #0f0f12;
    --panel-bg: #1a1a20;
    --snap-purple: #F1DAFD;
    --snap-glow: rgba(241, 218, 253, 0.25);
    --text-high: #ffffff;
    --text-muted: #a1a1aa;
    --discord-blurple: #5865F2;
    --transition: all 0.2s ease-in-out;
}

body {
    background-color: var(--app-bg);
    color: var(--text-high);
    font-family: 'Fredoka', sans-serif;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(241, 218, 253, 0.05) 0%, transparent 50%);
}

.login-wrapper {
    width: 90%;
    max-width: 420px;
}

.login-card {
    background: var(--panel-bg);
    padding: 50px 30px;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.login-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    border: 2px solid var(--snap-purple);
    box-shadow: 0 0 20px var(--snap-glow);
}

.login-title {
    font-size: 1.8rem;
    margin: 0 0 10px 0;
}

.login-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 35px;
}

.discord-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #5865F2;
    color: white;
    text-decoration: none;
    padding: 16px;
    border-radius: 14px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.2);
}

.discord-login-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.3);
}

.discord-icon {
    font-size: 1.4rem; 
    display: flex;
    align-items: center;
}

.login-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.login-footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.back-link {
    color: var(--snap-purple);
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: var(--transition);
}

.back-link:hover {
    opacity: 1;
    text-decoration: underline;
}

@media (max-width: 480px) {
    .login-card { padding: 40px 20px; }
}