:root {
    --primary: #FF0040;
    --primary-dark: #CC0033;
    --primary-dim: rgba(255, 0, 64, 0.12);
    --primary-glow: rgba(255, 0, 64, 0.3);
    --bg-dark: #030308;
    --bg-card: rgba(8, 8, 14, 0.88);
    --bg-input: rgba(15, 15, 25, 0.75);
    --text-primary: #F0F0F5;
    --text-secondary: #9090B0;
    --text-muted: #606080;
    --border-color: rgba(255, 0, 64, 0.08);
    --border-focus: #FF0040;
    --error-color: #FF3355;
    --success-color: #00FF88;

    /* Holographic auth tokens */
    --holo-hue: 340;
    --glass-blur: 28px;
    --glass-bg: rgba(8, 8, 14, 0.65);
    --glass-border: rgba(255, 255, 255, 0.04);
    --glass-edge: rgba(255, 255, 255, 0.06);

    --font-sans: 'Space Grotesk', system-ui, -apple-system, sans-serif;
    --font-mono: 'Share Tech Mono', monospace;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

::selection { background: var(--primary); color: #fff; }

html, body { height: 100%; font-family: var(--font-sans); background: var(--bg-dark); color: var(--text-primary); overflow: hidden; }

body.register-page { overflow-y: auto; }

@media (max-width: 600px) { html, body { overflow-y: auto; overflow-x: hidden; } }

#matrix-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; opacity: 0.85;
    mix-blend-mode: screen;
}

.scanline-overlay {
    position: fixed; inset: 0; z-index: 1; pointer-events: none;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(196, 30, 58, 0.015) 2px, rgba(196, 30, 58, 0.015) 4px);
}

.grid-overlay {
    position: fixed; inset: 0; z-index: 1; pointer-events: none;
    background-image:
        linear-gradient(rgba(196, 30, 58, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(196, 30, 58, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.login-overlay {
    position: fixed; inset: 0; z-index: 1; pointer-events: none;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(196, 30, 58, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 70%, rgba(139, 0, 0, 0.05) 0%, transparent 60%);
}

.corner-bracket {
    position: fixed; z-index: 1; pointer-events: none; opacity: 0.15;
}
.corner-bracket::before {
    content: ''; position: absolute; background: var(--primary);
}
.corner-bracket::after {
    content: ''; position: absolute; background: var(--primary);
}
.corner-bracket.top-left { top: 30px; left: 30px; }
.corner-bracket.top-left::before { top: 0; left: 0; width: 40px; height: 2px; }
.corner-bracket.top-left::after { top: 0; left: 0; width: 2px; height: 40px; }
.corner-bracket.top-right { top: 30px; right: 30px; }
.corner-bracket.top-right::before { top: 0; right: 0; width: 40px; height: 2px; }
.corner-bracket.top-right::after { top: 0; right: 0; width: 2px; height: 40px; }
.corner-bracket.bottom-left { bottom: 30px; left: 30px; }
.corner-bracket.bottom-left::before { bottom: 0; left: 0; width: 40px; height: 2px; }
.corner-bracket.bottom-left::after { bottom: 0; left: 0; width: 2px; height: 40px; }
.corner-bracket.bottom-right { bottom: 30px; right: 30px; }
.corner-bracket.bottom-right::before { bottom: 0; right: 0; width: 40px; height: 2px; }
.corner-bracket.bottom-right::after { bottom: 0; right: 0; width: 2px; height: 40px; }

.login-wrapper {
    position: relative; z-index: 2; display: flex; align-items: center; justify-content: center;
    min-height: 100vh; min-height: 100dvh; padding: 20px;
}

.login-grid {
    display: flex; align-items: center; gap: 60px; max-width: 1100px; width: 100%;
}

.login-brand {
    flex: 1; display: flex; flex-direction: column; justify-content: space-between;
    min-height: 520px; padding: 40px 0;
}

.brand-content { animation: fadeInUp 0.8s ease-out; }

.brand-logo { margin-bottom: 24px; position: relative; display: inline-block; }

.brand-logo::after {
    content: ''; position: absolute; inset: -4px; border-radius: 24px;
    background: conic-gradient(from 0deg, transparent, var(--primary), transparent, var(--primary-dark), transparent);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #fff calc(100% - 1px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #fff calc(100% - 1px));
    animation: spinBorder 4s linear infinite;
}

@keyframes spinBorder {
    to { transform: rotate(360deg); }
}

.brand-logo-img {
    width: 80px; height: 80px; border-radius: 20px; object-fit: contain;
    background: #0A0A0A; padding: 12px; position: relative; z-index: 1;
    box-shadow: 0 0 40px rgba(196, 30, 58, 0.25);
}

.brand-name {
    font-size: 52px; font-weight: 800; line-height: 1.1; letter-spacing: 1px;
    display: flex; align-items: center; gap: 0;
}

.brand-prefix {
    color: #FFFFFF;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
}

.brand-suffix {
    background: linear-gradient(135deg, #ff1a1a, #C41E3A, #8B0000);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    text-shadow: 0 0 30px rgba(196, 30, 58, 0.3);
    position: relative;
}

.brand-suffix::after {
    content: 'GPT'; position: absolute; inset: 0;
    background: linear-gradient(135deg, #ff1a1a, #C41E3A, #8B0000);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    filter: blur(8px); opacity: 0.5; z-index: -1;
}

.brand-desc {
    font-size: 16px; color: var(--text-secondary); margin-top: 10px;
    font-weight: 500; letter-spacing: 0.5px;
}

.brand-features { margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }

.brand-feature {
    display: flex; align-items: center; gap: 14px; color: var(--text-secondary);
    font-size: 14px; opacity: 0; animation: slideIn 0.5s ease-out forwards;
}

.brand-feature:nth-child(1) { animation-delay: 0.3s; }
.brand-feature:nth-child(2) { animation-delay: 0.5s; }
.brand-feature:nth-child(3) { animation-delay: 0.7s; }

.brand-feature i {
    width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
    background: var(--primary-dim); border: 1px solid rgba(196, 30, 58, 0.2);
    border-radius: 10px; color: var(--primary); font-size: 14px; flex-shrink: 0;
    transition: all 0.3s ease;
}

.brand-feature:hover i {
    background: rgba(196, 30, 58, 0.25); box-shadow: 0 0 20px rgba(196, 30, 58, 0.2);
    transform: scale(1.05);
}

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

.brand-footer {
    color: var(--text-muted); font-size: 12px; animation: fadeInUp 0.8s ease-out 0.5s both;
}

.login-card {
    width: 420px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px 36px;
    position: relative;
    animation: fadeInUp 0.6s ease-out;
    box-shadow:
        0 8px 48px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.02),
        inset 0 0 80px rgba(255, 0, 64, 0.02);
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 0, 64, 0.4) 20%,
        rgba(176, 38, 255, 0.3) 40%,
        rgba(0, 240, 255, 0.2) 60%,
        rgba(255, 0, 64, 0.3) 80%,
        transparent 100%
    );
    background-size: 300% 100%;
    animation: holoShimmerEdge 4s ease-in-out infinite;
    z-index: 2;
}

@keyframes holoShimmerEdge {
    0% { background-position: 300% 0; opacity: 0.6; }
    50% { opacity: 1; }
    100% { background-position: -300% 0; opacity: 0.6; }
}

.login-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(255, 0, 64, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 240, 255, 0.03) 0%, transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.login-header { margin-bottom: 28px; text-align: center; position: relative; z-index: 1; }

.login-header h2 {
    font-size: 24px; font-weight: 700; margin-bottom: 8px;
    background: linear-gradient(135deg, #fff, #ccc);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.login-header p { color: var(--text-secondary); font-size: 14px; }

.login-form { display: flex; flex-direction: column; gap: 18px; position: relative; z-index: 1; }

.form-group { display: flex; flex-direction: column; gap: 8px; }

.form-group label {
    font-size: 12px; font-weight: 600; color: var(--text-secondary);
    display: flex; align-items: center; gap: 8px;
}

.form-group label i { color: var(--primary); font-size: 11px; }

.input-wrapper { position: relative; }

.form-input {
    width: 100%; padding: 15px 16px;
    background: var(--bg-input);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 15px;
    font-family: var(--font-sans);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
}

.form-input:focus {
    border-color: var(--border-focus);
    box-shadow: 0 0 0 4px rgba(255, 0, 64, 0.08), 0 0 20px rgba(255, 0, 64, 0.06), 0 0 60px rgba(255, 0, 64, 0.02);
    background: rgba(12, 12, 22, 0.95);
}

.form-input:hover:not(:focus) {
    border-color: rgba(255, 0, 64, 0.2);
}

.form-input::placeholder { color: var(--text-muted); opacity: 0.5; }

.form-input.error {
    border-color: var(--error-color);
    box-shadow: 0 0 0 4px rgba(255, 51, 85, 0.1);
}

.input-border {
    position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 0; height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), rgba(0, 240, 255, 0.5), transparent);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 0, 64, 0.2);
}

.form-input:focus ~ .input-border { width: 80%; }

.error-msg {
    font-size: 12px; color: var(--error-color); min-height: 0;
    opacity: 0; transition: all 0.3s ease;
}

.error-msg.visible { opacity: 1; }

.password-toggle {
    position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
    background: none; border: none; color: var(--text-muted);
    cursor: pointer; padding: 4px; font-size: 16px;
    transition: color 0.2s; display: flex; align-items: center; justify-content: center;
}

.password-toggle:hover { color: var(--primary); }

.form-options { display: flex; align-items: center; }

.checkbox-label {
    display: flex; align-items: center; gap: 10px; cursor: pointer;
    font-size: 13px; color: var(--text-secondary); user-select: none;
}

.checkbox-label input { display: none; }

.checkmark {
    width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 5px; display: flex; align-items: center; justify-content: center;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1); flex-shrink: 0;
}

.checkbox-label input:checked + .checkmark {
    background: var(--primary); border-color: var(--primary);
    box-shadow: 0 0 12px rgba(196, 30, 58, 0.3);
}

.checkbox-label input:checked + .checkmark::after {
    content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    font-size: 10px; color: #fff;
}

.login-btn {
    width: 100%; padding: 16px;
    background: linear-gradient(135deg, #C41E3A, #8B0000);
    border: none; border-radius: 12px; color: #fff;
    font-size: 16px; font-weight: 700; font-family: var(--font-sans);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    gap: 10px; transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative; overflow: hidden;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.3);
}

.login-btn::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.login-btn:hover::before { left: 100%; }

.login-btn:hover {
    background: linear-gradient(135deg, #D42A4A, #9A0000);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(196, 30, 58, 0.4), 0 0 60px rgba(196, 30, 58, 0.15);
}

.login-btn:active { transform: scale(0.97); box-shadow: 0 0 20px rgba(196,30,58,0.5); }

.login-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }

.login-btn .btn-text { transition: all 0.3s ease; }

.login-btn .btn-loader { display: none; gap: 6px; }

.login-btn.loading .btn-text, .login-btn.loading i { display: none; }
.login-btn.loading .btn-loader { display: flex; }

.loader-dot {
    width: 8px; height: 8px; background: #fff; border-radius: 50%;
    animation: bounce 0.6s ease-in-out infinite;
}

.loader-dot:nth-child(2) { animation-delay: 0.2s; }
.loader-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.pw-strength-wrap { margin-top: 8px; display: flex; align-items: center; gap: 10px; }
.pw-strength-bar { flex: 1; height: 3px; background: rgba(255, 255, 255, 0.06); border-radius: 4px; overflow: hidden; }
.pw-strength-fill { height: 100%; width: 0; border-radius: 4px; transition: all 0.3s ease; }
.pw-strength-fill.weak { width: 25%; background: var(--error-color); }
.pw-strength-fill.medium { width: 60%; background: #EAB308; }
.pw-strength-fill.strong { width: 100%; background: var(--success-color); }
.pw-strength-label { font-size: 11px; color: var(--text-muted); min-width: 60px; text-align: right; font-weight: 500; }

.otp-section { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 8px 0; }
.otp-input-group { width: 100%; max-width: 280px; }
.otp-input {
    width: 100%; padding: 16px; background: var(--bg-input);
    border: 2px solid var(--border-color); border-radius: 12px; color: var(--text-primary);
    font-size: 32px; font-family: var(--font-mono); text-align: center;
    letter-spacing: 12px; transition: all 0.3s ease; outline: none; direction: ltr;
}
.otp-input:focus { border-color: var(--border-focus); box-shadow: 0 0 0 4px rgba(196, 30, 58, 0.1); background: rgba(25, 25, 35, 0.9); }
.otp-input::placeholder { color: var(--text-muted); opacity: 0.4; letter-spacing: 4px; }
.otp-timer { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); font-size: 13px; }
.otp-timer i { color: var(--primary); }
.otp-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.otp-actions .login-btn { font-size: 14px; padding: 14px; }
.otp-resend-btn { background: transparent; border: 1.5px solid var(--border-color); border-radius: 12px; color: var(--text-secondary); padding: 12px; font-size: 13px; font-family: var(--font-sans); font-weight: 600; cursor: pointer; transition: all 0.3s ease; }
.otp-resend-btn:hover { border-color: var(--primary); color: var(--primary); }
.otp-resend-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.otp-back-btn { background: none; border: none; color: var(--text-muted); font-size: 13px; font-family: var(--font-sans); cursor: pointer; display: flex; align-items: center; gap: 6px; transition: color 0.2s; padding: 4px; }
.otp-back-btn:hover { color: var(--text-secondary); }

.turnstile-wrap { display: flex; justify-content: center; min-height: 65px; }

.auth-alt {
    text-align: center; margin-top: 20px; padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px; color: var(--text-secondary); position: relative; z-index: 1;
}

.auth-link {
    color: var(--primary); text-decoration: none; font-weight: 600;
    transition: all 0.2s; position: relative;
}

.auth-link::after {
    content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 1px;
    background: var(--primary); transition: width 0.3s ease;
}

.auth-link:hover::after { width: 100%; }

.auth-link:hover { color: #ff1a1a; }

.error-toast {
    display: flex; align-items: center; gap: 10px; padding: 12px 16px;
    background: rgba(239, 68, 68, 0.08); border: 1px solid rgba(239, 68, 68, 0.15);
    border-radius: 12px; margin-top: 16px; font-size: 13px;
    color: var(--error-color); animation: shake 0.4s ease-out; position: relative; z-index: 1;
}

.error-toast i { flex-shrink: 0; }

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.login-footer { margin-top: 24px; position: relative; z-index: 1; }

.security-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.badge {
    display: flex; align-items: center; gap: 6px; padding: 5px 10px;
    background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px; font-size: 10px; color: var(--text-muted);
    transition: all 0.3s ease;
}

.badge:hover {
    border-color: rgba(196, 30, 58, 0.15); color: var(--text-secondary);
    background: rgba(196, 30, 58, 0.04);
}

.badge i { color: var(--primary); font-size: 10px; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
    .login-grid { flex-direction: column; gap: 24px; }
    .login-brand { min-height: auto; padding: 16px 0 8px; text-align: center; align-items: center; }
    .brand-content { display: flex; flex-direction: column; align-items: center; }
    .brand-logo-img { width: 64px; height: 64px; padding: 10px; border-radius: 16px; }
    .brand-logo { margin-bottom: 16px; }
    .brand-name { font-size: 40px; }
    .brand-features { margin-top: 24px; align-items: center; }
    .brand-feature { font-size: 13px; opacity: 1; animation: none; }
    .brand-feature i { width: 28px; height: 28px; font-size: 12px; }
    @keyframes slideIn { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }
    .brand-desc { font-size: 14px; }
    .brand-footer { display: none; }
    .login-card { width: 100%; max-width: 420px; }
    .login-header { margin-bottom: 24px; }
    .login-header h2 { font-size: 22px; }
    .login-form { gap: 16px; }
    .auth-alt { margin-top: 16px; padding-top: 16px; }
    .corner-bracket { display: none; }
}

@media (max-width: 600px) {
    .login-wrapper { padding: 0; min-height: 100dvh; align-items: stretch; }
    .login-grid { gap: 0; flex-direction: column; min-height: 100dvh; }
    .login-brand { padding: 24px 20px 12px; min-height: auto; flex: 0 0 auto; }
    .brand-content { align-items: center; text-align: center; }
    .brand-logo-img { width: 56px; height: 56px; padding: 8px; border-radius: 14px; }
    .brand-logo { margin-bottom: 12px; }
    .brand-name { font-size: 32px; }
    .brand-desc { font-size: 12px; margin-top: 4px; }
    .brand-features { display: none; }
    .login-card {
        width: 100%; max-width: 100%; border-radius: 20px 20px 0 0; padding: 28px 20px 24px;
        border: none; border-top: 1px solid var(--border-color); flex: 1;
        display: flex; flex-direction: column; justify-content: center; animation: none;
    }
    .login-card::before { border-radius: 20px 20px 0 0; }
    .login-header { margin-bottom: 24px; }
    .login-header h2 { font-size: 22px; }
    .login-header p { font-size: 13px; }
    .login-form { gap: 16px; }
    .form-group { gap: 6px; }
    .form-group label { font-size: 12px; }
    .form-input { padding: 14px 16px; font-size: 16px; }
    .login-btn { padding: 16px; font-size: 16px; }
    .login-footer { margin-top: 16px; }
    .security-badges { gap: 8px; }
    .badge { font-size: 10px; padding: 4px 10px; }
    .error-toast { margin-top: 12px; padding: 10px 14px; font-size: 12px; }
    .otp-input { font-size: 28px; padding: 14px; letter-spacing: 10px; }
    .otp-section { gap: 16px; }
    .pw-strength-wrap { flex-direction: row; align-items: center; gap: 8px; }
    .auth-alt { margin-top: 14px; padding-top: 14px; font-size: 13px; }
    .turnstile-wrap { transform: scale(0.85); transform-origin: center; }
}

.oauth-divider {
    display: flex; align-items: center; gap: 12px; margin: 18px 0 10px;
    position: relative; z-index: 1;
}
.oauth-divider-line { flex: 1; height: 1px; background: rgba(255,255,255,0.06); }
.oauth-divider-text {
    font-size: 11px; color: var(--text-muted); font-weight: 500;
    white-space: nowrap; letter-spacing: 0.5px;
}
.google-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 13px 16px; margin-bottom: 4px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px; color: var(--text-primary); font-size: 14px;
    font-weight: 600; font-family: var(--font-sans); cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none; position: relative; z-index: 1;
}
.google-btn:hover {
    background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15);
    transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.google-btn:active { transform: scale(0.97); }
.google-btn svg { flex-shrink: 0; }

.anonymous-btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; padding: 13px 16px; margin-bottom: 4px;
    background: rgba(0, 255, 65, 0.06); border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 12px; color: #00FF41; font-size: 14px;
    font-weight: 600; font-family: var(--font-sans); cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none; position: relative; z-index: 1;
}
.anonymous-btn:hover {
    background: rgba(0, 255, 65, 0.12); border-color: rgba(0, 255, 65, 0.35);
    transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0, 255, 65, 0.15);
}
.anonymous-btn:active { transform: scale(0.97); }
.anonymous-btn i { font-size: 16px; }
.anonymous-btn.loading { pointer-events: none; opacity: 0.7; }

@media (max-width: 400px) {
    .login-brand { padding: 16px 16px 8px; }
    .brand-logo-img { width: 48px; height: 48px; padding: 6px; border-radius: 12px; }
    .brand-name { font-size: 26px; }
    .brand-desc { font-size: 11px; }
    .login-card { padding: 24px 16px 20px; }
    .login-header h2 { font-size: 20px; }
    .login-header { margin-bottom: 20px; }
    .login-form { gap: 14px; }
    .form-input { padding: 12px 14px; font-size: 15px; }
    .login-btn { padding: 14px; font-size: 15px; }
    .otp-input { font-size: 24px; padding: 12px; letter-spacing: 6px; }
    .otp-input-group { max-width: 240px; }
    .security-badges { gap: 6px; }
    .badge { font-size: 9px; padding: 3px 8px; }
    .turnstile-wrap { transform: scale(0.75); transform-origin: center; }
    .auth-alt { font-size: 12px; }
}
