/* AI Snusk — Auth Pages Stylesheet */

.auth-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.auth-body::before {
    content: '';
    position: absolute;
    top: -40%; left: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255,0,110,.1), transparent 60%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.auth-body::after {
    content: '';
    position: absolute;
    bottom: -30%; right: -10%;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(131,56,236,.1), transparent 60%);
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
}

.auth-container {
    display: flex;
    max-width: 960px;
    width: 100%;
    min-height: 580px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}

.auth-visual {
    flex: 1;
    background: linear-gradient(135deg, rgba(255,0,110,.15), rgba(131,56,236,.15));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px;
    position: relative;
    overflow: hidden;
}

.auth-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='g' width='40' height='40' patternUnits='userSpaceOnUse'%3E%3Ccircle cx='20' cy='20' r='0.5' fill='rgba(255,255,255,0.05)'/%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23g)' width='40' height='40'/%3E%3C/svg%3E");
    pointer-events: none;
}

.auth-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .35;
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) translateX(0); }
    33% { transform: translateY(-15px) translateX(10px); }
    66% { transform: translateY(10px) translateX(-8px); }
}

.visual-logo {
    position: relative;
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 24px;
}

.visual-tagline {
    position: relative;
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.6;
    max-width: 280px;
    margin-bottom: 40px;
}

.visual-features {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.visual-features span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.visual-features i {
    width: 18px;
    height: 18px;
    color: var(--accent-pink);
}

.auth-form-side {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
}

.auth-form-wrapper {
    width: 100%;
    max-width: 380px;
}

.auth-form-wrapper h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-form-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-body);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent-pink);
    box-shadow: 0 0 0 3px rgba(255,0,110,.1);
}

.form-group input::placeholder { color: var(--text-muted); }

.form-row {
    display: flex;
    gap: 12px;
}

.form-row .form-group {
    flex: 1;
}

.password-wrap {
    position: relative;
}

.password-wrap input {
    padding-right: 40px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px;
}

.password-toggle:hover {
    color: var(--text-primary);
}

.password-strength {
    height: 3px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    margin-top: 6px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    border-radius: 2px;
    transition: all .4s ease;
    width: 0;
}

.password-strength-bar[data-strength="1"] { width: 25%; background: var(--accent-red); }
.password-strength-bar[data-strength="2"] { width: 50%; background: var(--accent-orange); }
.password-strength-bar[data-strength="3"] { width: 75%; background: var(--accent-yellow); }
.password-strength-bar[data-strength="4"] { width: 100%; background: var(--accent-green); }

.form-hint {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 13px;
}

.form-options a {
    color: var(--accent-pink);
    font-weight: 500;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-secondary);
}

.checkbox-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent-pink);
    cursor: pointer;
}

.auth-error {
    display: none;
    padding: 10px 14px;
    background: rgba(230,57,70,.1);
    border: 1px solid rgba(230,57,70,.3);
    border-radius: var(--radius-sm);
    color: var(--accent-red);
    font-size: 13px;
    margin-bottom: 16px;
    align-items: center;
    gap: 8px;
}

.auth-error.show {
    display: flex;
}

.auth-success {
    display: none;
    padding: 10px 14px;
    background: rgba(6,214,160,.1);
    border: 1px solid rgba(6,214,160,.3);
    border-radius: var(--radius-sm);
    color: var(--accent-green);
    font-size: 13px;
    margin-bottom: 16px;
    align-items: center;
    gap: 8px;
}

.auth-success.show {
    display: flex;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    font-size: 13px;
    color: var(--text-muted);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-switch {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-switch a {
    color: var(--accent-pink);
    font-weight: 600;
}

/* ── Age Gate ─────────────────────────────────── */
.age-gate-box {
    text-align: center;
    max-width: 480px;
    padding: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.age-gate-box h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin: 16px 0 8px;
}

.age-gate-box > p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.age-gate-checks {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
    text-align: left;
}

.age-check-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255,255,255,.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
}

.age-check-label:hover {
    background: rgba(255,255,255,.04);
    border-color: var(--border-hover);
}

.age-check-label input[type="checkbox"] {
    margin-top: 2px;
    width: 16px;
    height: 16px;
    accent-color: var(--accent-pink);
    cursor: pointer;
    flex-shrink: 0;
}

.age-check-label span {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.age-warning {
    font-size: 12px;
    color: var(--text-muted);
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin-top: 8px;
}

/* ── Responsive ───────────────────────────────── */
@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
        max-width: 440px;
        min-height: auto;
    }

    .auth-visual {
        display: none;
    }

    .auth-form-side {
        padding: 32px 24px;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }
}
