:root {
    --bg: #0b1120;
    --card: #131c2e;
    --card-border: rgba(148, 163, 184, 0.12);
    --accent: #8b5cf6;
    --text: #f1f5f9;
    --muted: #94a3b8;
    --pill-bg: #1c2840;
    --pill-border: rgba(148, 163, 184, 0.18);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    background: radial-gradient(circle at 50% 0%, #15203a 0%, var(--bg) 60%);
    color: var(--text);
    padding: 2rem 1.25rem;
}

.card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem 3.5rem 2.5rem;
    max-width: 44rem;
    width: 100%;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    animation: fadeSlideUp 0.6s ease-out both;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    background: rgba(139, 92, 246, 0.18);
    border: 1px solid rgba(139, 92, 246, 0.45);
    color: #c4b5fd;
    margin-bottom: 1.75rem;
}

h1 {
    font-size: 2.9rem;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
}

.accent {
    color: var(--accent);
}

.lede {
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 36rem;
    margin: 0 auto 2rem;
}

.pills {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 2rem;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    padding: 0.85rem 1.4rem;
    border-radius: 14px;
    background: var(--pill-bg);
    border: 1px solid var(--pill-border);
    color: var(--text);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pill:hover {
    transform: translateY(-3px);
    background: #243050;
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.15);
}

.status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.dot {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
}

.footer {
    color: #64748b;
    font-size: 0.9rem;
}

@media (max-width: 540px) {
    .card { padding: 2rem 1.5rem; }
    h1 { font-size: 2.1rem; }
    .lede { font-size: 1.05rem; }
}

.auth-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.auth-btn {
    padding: 0.65rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.5);
    background: rgba(139, 92, 246, 0.15);
    color: #c4b5fd;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auth-btn:hover {
    background: rgba(139, 92, 246, 0.3);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 92, 246, 0.2);
}

.auth-btn-signin {
    padding: 0.85rem 2rem;
    font-size: 1.05rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(202, 138, 4, 0.1));
    border: 1px solid rgba(234, 179, 8, 0.6);
    color: #fbbf24;
}

.auth-btn-signout {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
    background: transparent;
    border-color: rgba(148, 163, 184, 0.3);
    color: var(--muted);
}

.auth-btn-signout:hover {
    border-color: rgba(148, 163, 184, 0.6);
    color: var(--text);
    background: rgba(148, 163, 184, 0.1);
}

.auth-user {
    color: var(--muted);
    font-size: 0.9rem;
}

.auth-status {
    color: #22c55e;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
