/* ==========================================================================
   Grub — Landing / Auth Page
   ========================================================================== */

.auth-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    background:
        radial-gradient(ellipse at 50% 30%, rgba(38, 70, 83, 0.4) 0%, transparent 60%),
        var(--bg-dark);
}

/* ---------- Main Card ---------- */
.auth-card {
    text-align: center;
    max-width: 480px;
    width: 100%;
}

.auth-title {
    font-family: var(--font-pixel);
    font-size: 3.5rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
    text-shadow:
        0 0 20px rgba(230, 57, 70, 0.4),
        0 4px 0 #a02730;
    letter-spacing: 0.15em;
}

.auth-tagline {
    font-family: var(--font-mono);
    color: var(--text-dim);
    font-size: 1rem;
    margin-bottom: 3rem;
}

/* ---------- Login Buttons ---------- */
.auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease;
    width: 100%;
    max-width: 320px;
    color: #fff;
    text-decoration: none;
}

.auth-btn:hover {
    text-decoration: none;
}

.auth-btn svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Discord */
.auth-btn--discord {
    background-color: var(--discord);
}

.auth-btn--discord:hover {
    background-color: var(--discord-hover);
}

/* ---------- Error Message ---------- */
.auth-error {
    margin-top: 1.5rem;
    padding: 0.75rem 1.25rem;
    background-color: rgba(230, 57, 70, 0.15);
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: 6px;
    color: var(--accent);
    font-size: 0.85rem;
    max-width: 320px;
}

/* ---------- Footer ---------- */
.auth-footer {
    margin-top: 4rem;
    color: var(--text-dim);
    font-size: 0.75rem;
    opacity: 0.5;
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
    .auth-title {
        font-size: 2.5rem;
    }

    .auth-tagline {
        font-size: 0.875rem;
    }

    .auth-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}
