.auth-bg {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, #0a0e0d, #0d1512);
    z-index: 0;
}

body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 400px;
    padding: 32px;
    margin: 20px;
    text-align: center;
}

.auth-logo {
    margin: 0 auto 8px;
    filter: drop-shadow(0 0 16px rgba(34, 197, 94, 0.35));
}

.auth-card h1 {
    font-family: var(--font-display);
    color: var(--accent-green);
    margin-bottom: 4px;
}

.auth-sub { color: var(--text-dim); margin-bottom: 20px; }

.auth-form { text-align: left; }

.auth-form label {
    display: block;
    margin-bottom: 14px;
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.35);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
}

.auth-remember {
    display: flex !important;
    align-items: center;
    gap: 8px;
    font-weight: 500 !important;
}

.auth-form .btn { margin-top: 8px; }

.auth-footer { margin-top: 20px; color: var(--text-dim); }
.auth-footer a { color: var(--accent-green); }

.auth-error {
    background: rgba(239,68,68,0.15);
    border: 1px solid var(--accent-red);
    color: #fca5a5;
    padding: 10px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.auth-error ul { list-style: none; }

/* Wizard */
.auth-card--wizard { max-width: 440px; }

.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 24px;
}

.wizard-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.wizard-dot--active {
    background: var(--accent-green);
    border-color: var(--accent-green);
    box-shadow: 0 0 12px var(--accent-green-glow);
    transform: scale(1.2);
}

.wizard-dot--done {
    background: var(--accent-green);
    border-color: var(--accent-green);
}

.wizard-line {
    width: 40px;
    height: 2px;
    background: rgba(255,255,255,0.1);
}

.wizard-step { display: none; }
.wizard-step--active { display: block; animation: fadeIn 0.35s ease; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
}

.wizard-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.wizard-hint {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-bottom: 16px;
}

.wizard-buttons {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.wizard-buttons .btn { flex: 1; }

.field-error {
    color: var(--accent-red);
    font-size: 0.85rem;
    min-height: 20px;
    margin-top: -8px;
    margin-bottom: 8px;
}

/* Twitch */
.btn--twitch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background: #9146ff;
    color: white;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 20px rgba(145, 70, 255, 0.35);
}

.btn--twitch:hover {
    background: #7c3aed;
    transform: translateY(-2px);
}

.twitch-icon {
    width: 22px;
    height: 22px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--text-dim);
    font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.1);
}

.auth-twitch-hint {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-align: center;
    margin-top: 12px;
}

.btn--back {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    cursor: pointer;
    opacity: 1;
}

.btn--back:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
}
