/* ============================================================
   Авторизация / Регистрация — Стили
   ============================================================ */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    position: relative;
}

.auth-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 30% 50%, rgba(0, 212, 255, 0.06), transparent),
        radial-gradient(ellipse 600px 400px at 70% 50%, rgba(124, 58, 237, 0.06), transparent);
    pointer-events: none;
}

.auth-card {
    position: relative;
    width: 100%;
    max-width: 460px;
    background: var(--gradient-dark);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 48px 40px;
    box-shadow: var(--shadow-xl);
    animation: fadeInUp 0.6s ease-out;
}

.auth-logo {
    text-align: center;
    margin-bottom: 32px;
}

.auth-logo-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.auth-logo-text {
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.auth-error {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin-bottom: 20px;
    color: var(--accent-red);
    font-size: 14px;
    display: none;
}

.auth-error.visible { display: block; }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 13px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--accent-primary);
    font-weight: 600;
}

.auth-bonus {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(39, 174, 96, 0.1));
    border: 1px solid rgba(46, 204, 113, 0.2);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
    margin-bottom: 24px;
}

.auth-bonus-icon { font-size: 24px; }
.auth-bonus-text {
    font-size: 14px;
    color: var(--accent-green);
    font-weight: 600;
    margin-top: 4px;
}

@media (max-width: 480px) {
    .auth-card { padding: 32px 24px; }
}
