/* ============================================
   Signup Page — Split Layout, Drawer & Cards
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── Locked full-screen layout (no page scroll) ── */
html,
body {
    height: 100%;
    overflow: hidden;
}

/* ── Split Layout ── */
.signup-split {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* ── LEFT PANEL ── */
.signup-left {
    flex: 1;
    position: relative;
    background: #0b1120;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    min-height: 100vh;
}

[data-theme="light"] .signup-left {
    background: #0d0f1a;
}

#celestial-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.sun-shafts-wrap {
    position: absolute;
    top: 42%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    z-index: 0;
    animation: shaftRotate 90s linear infinite;
}

@keyframes shaftRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.sun-shaft {
    position: absolute;
    top: 0;
    left: -1.5px;
    width: 3px;
    height: 350px;
    transform-origin: 50% 0%;
    transform: rotate(var(--angle));
    background: linear-gradient(to bottom, rgba(200, 175, 120, .18) 0%, rgba(180, 160, 110, .05) 40%, transparent 100%);
    border-radius: 2px;
}

.sun-shaft:nth-child(even) {
    height: 280px;
    opacity: 0.5;
    width: 2px;
}

.left-branding {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 0 30px 50px;
}

.brand-name {
    font-family: 'Outfit', sans-serif;
    font-size: 52px;
    font-weight: 300;
    letter-spacing: 12px;
    color: rgba(210, 195, 155, .65);
    text-transform: uppercase;
    margin-bottom: 8px;
    text-shadow: 0 0 40px rgba(200, 175, 120, .2);
}

.brand-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: rgba(200, 185, 150, .35);
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.brand-stars {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.brand-stars span {
    color: rgba(210, 195, 155, .3);
    font-size: 10px;
    animation: brandStarPulse 3s ease-in-out infinite;
}

.brand-stars span:nth-child(2) {
    animation-delay: 1s;
}

.brand-stars span:nth-child(3) {
    animation-delay: 2s;
}

@keyframes brandStarPulse {

    0%,
    100% {
        opacity: .3;
        transform: scale(.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

/* ── RIGHT PANEL (relative container for drawer) ── */
.signup-right {
    width: 480px;
    min-width: 400px;
    position: relative;
    background: #161927;
    overflow: hidden;
    /* drawer clips inside here */
    border-left: 1px solid rgba(140, 120, 200, .08);
}

[data-theme="light"] .signup-right {
    background: #1e1a2e;
}

/* ── FORM PANEL ── */
.form-panel {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 48px 0;
    overflow-y: auto;
    z-index: 1;
    transition: filter .5s ease, opacity .5s ease;
}

/* Theme toggle */
.signup-theme-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 20px;
    cursor: pointer;
    z-index: 30;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 8px;
    padding: 6px 10px;
    transition: all .3s ease;
    color: var(--text-muted);
}

.signup-theme-toggle:hover {
    background: rgba(255, 255, 255, .1);
    transform: scale(1.1);
}

/* Form logo */
.form-logo-icon {
    font-size: 28px;
    margin-bottom: 24px;
    opacity: .7;
    letter-spacing: 2px;
    color: rgba(200, 190, 220, .6);
}

/* Auth Tabs */
.signup-right .auth-tabs {
    width: 100%;
    display: flex;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.signup-right .auth-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: rgba(200, 190, 220, .4);
    cursor: pointer;
    transition: color .3s;
    position: relative;
    font-family: 'Inter', sans-serif;
}

.signup-right .auth-tab.active {
    color: rgba(200, 190, 220, .9);
}

.signup-right .auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, #7c6bb5, #a78bfa);
    border-radius: 1px;
}

/* Auth forms */
.signup-right .auth-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.signup-right .auth-form.hidden {
    display: none;
}

.form-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: rgba(240, 235, 255, .95);
    text-align: center;
}

.form-subheading {
    font-size: 13px;
    color: rgba(200, 190, 220, .45);
    text-align: center;
    margin-top: -8px;
}

.signup-right .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.signup-right .form-group label {
    font-size: 12px;
    font-weight: 500;
    color: rgba(200, 190, 220, .65);
    font-family: 'Inter', sans-serif;
}

.signup-right .form-group input {
    padding: 13px 16px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    font-size: 14px;
    color: rgba(240, 235, 255, .9);
    transition: all .3s;
    font-family: 'Inter', sans-serif;
}

.signup-right .form-group input::placeholder {
    color: rgba(200, 190, 220, .25);
}

.signup-right .form-group input:focus {
    border-color: rgba(124, 107, 181, .5);
    box-shadow: 0 0 0 3px rgba(124, 107, 181, .1), 0 0 20px rgba(124, 107, 181, .08);
    background: rgba(255, 255, 255, .06);
    outline: none;
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    width: 100%;
    padding-right: 44px;
    box-sizing: border-box;
}

.eye-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    opacity: .4;
    transition: opacity .2s;
    padding: 4px;
}

.eye-toggle:hover {
    opacity: .8;
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(200, 190, 220, .5);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.remember-me input[type="checkbox"] {
    accent-color: #7c6bb5;
    width: 15px;
    height: 15px;
}

.forgot-link {
    color: rgba(167, 139, 250, .7);
    font-size: 13px;
    text-decoration: none;
    transition: color .2s;
    font-family: 'Inter', sans-serif;
}

.forgot-link:hover {
    color: rgba(167, 139, 250, 1);
}

.signup-right .form-error {
    color: #f87171;
    font-size: 12px;
    min-height: 16px;
    text-align: center;
    margin: -8px 0;
}

/* Submit button */
.signup-right .auth-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #5b4a9e, #7c6bb5, #9b7dd4);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s;
    font-family: 'Outfit', sans-serif;
    letter-spacing: .5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.signup-right .auth-submit-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, .1) 50%, transparent 70%);
    animation: btnShimmer 3s ease-in-out infinite;
}

@keyframes btnShimmer {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }

    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.signup-right .auth-submit-btn:hover {
    box-shadow: 0 6px 25px rgba(124, 107, 181, .35);
    transform: translateY(-2px);
}

.signup-right .auth-submit-btn:active {
    transform: translateY(0);
}

/* Pulse animation when card is selected */
.signup-right .auth-submit-btn.btn-pulse {
    animation: btnPulseGlow 1.6s ease;
}

@keyframes btnPulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(167, 139, 250, .8), 0 0 0 0 rgba(167, 139, 250, .5);
        transform: translateY(-2px) scale(1.02);
    }

    40% {
        box-shadow: 0 0 0 12px rgba(167, 139, 250, .3), 0 0 30px 8px rgba(124, 107, 181, .4);
        transform: translateY(-3px) scale(1.03);
    }

    100% {
        box-shadow: 0 6px 25px rgba(124, 107, 181, .35);
        transform: translateY(-2px) scale(1);
    }
}

.btn-arrow {
    font-size: 18px;
    transition: transform .3s;
}

.signup-right .auth-submit-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* Divider */
.auth-divider-line {
    text-align: center;
    position: relative;
    margin: 4px 0;
}

.auth-divider-line::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, .06);
}

.auth-divider-line span {
    position: relative;
    background: #161927;
    padding: 0 16px;
    font-size: 12px;
    color: rgba(200, 190, 220, .35);
    font-family: 'Inter', sans-serif;
}

[data-theme="light"] .auth-divider-line span {
    background: #1e1a2e;
}

/* Social */
.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.social-btn {
    padding: 12px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 10px;
    color: rgba(200, 190, 220, .7);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all .3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
}

.social-btn:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .15);
}

.social-icon {
    font-size: 16px;
    font-weight: 700;
}

/* ── DRAWER SCROLL HINT ── */
.drawer-scroll-hint {
    width: 100%;
    margin-top: 28px;
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    transition: opacity .4s ease, transform .4s ease;
}

.drawer-scroll-hint.hint-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
}

.hint-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 10px 24px;
    background: rgba(212, 165, 116, .06);
    border: 1px solid rgba(212, 165, 116, .18);
    border-radius: 40px;
    transition: all .3s ease;
    animation: hintBounce 2.8s ease-in-out infinite;
}

.hint-inner:hover {
    background: rgba(212, 165, 116, .12);
    border-color: rgba(212, 165, 116, .35);
    transform: translateY(-2px);
}

.hint-text {
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(212, 165, 116, .75);
    font-family: 'Inter', sans-serif;
}

.hint-chevron {
    font-size: 18px;
    color: rgba(212, 165, 116, .6);
    line-height: 1;
}

@keyframes hintBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}

/* ══════════════════════════════════════════
   CARD DRAWER
══════════════════════════════════════════ */
.card-drawer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(100% - 60px);
    /* almost full panel height */
    background: linear-gradient(180deg, #0e1220 0%, #111828 50%, #0d1018 100%);
    border-top: 1px solid rgba(212, 165, 116, .18);
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
    transition: transform .55s cubic-bezier(.32, .72, 0, 1);
    z-index: 20;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card-drawer.drawer-open {
    transform: translateY(0);
}

/* Form panel blur when drawer is open (JS adds .panel-blurred) */
.form-panel.panel-blurred {
    filter: blur(3px);
    opacity: .35;
    pointer-events: none;
}

/* subtle starfield in drawer bg */
.card-drawer::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse at 30% 10%, rgba(99, 102, 241, .07) 0%, transparent 55%),
        radial-gradient(ellipse at 80% 40%, rgba(212, 165, 116, .05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 90%, rgba(167, 139, 250, .04) 0%, transparent 50%);
}

/* Top bar */
.drawer-top-bar {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px 8px;
}

.drawer-pill {
    width: 36px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, .12);
}

.drawer-close-btn {
    font-size: 11px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: rgba(200, 190, 220, .5);
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 20px;
    padding: 5px 12px;
    cursor: pointer;
    transition: all .25s;
    letter-spacing: .5px;
}

.drawer-close-btn:hover {
    color: rgba(200, 190, 220, .9);
    background: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .18);
}

/* Drawer header */
.drawer-header {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    text-align: center;
    padding: 4px 24px 18px;
}

.drawer-title {
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: rgba(212, 165, 116, .9);
    margin-bottom: 4px;
    letter-spacing: .03em;
}

.drawer-subtitle {
    font-size: 12px;
    color: rgba(200, 185, 150, .4);
    font-family: 'Inter', sans-serif;
}

/* Scrollable area */
.drawer-scroll-area {
    position: relative;
    z-index: 2;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 18px 24px;
}

.drawer-scroll-area::-webkit-scrollbar {
    width: 4px;
}

.drawer-scroll-area::-webkit-scrollbar-track {
    background: transparent;
}

.drawer-scroll-area::-webkit-scrollbar-thumb {
    background: rgba(212, 165, 116, .2);
    border-radius: 2px;
}

/* Section labels */
.drawer-section {
    margin-bottom: 24px;
}

.drawer-section-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: rgba(200, 185, 150, .5);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    padding-left: 2px;
}

.section-badge {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 2px 7px;
    border-radius: 4px;
}

.free-badge {
    background: rgba(16, 185, 129, .15);
    color: rgba(16, 185, 129, .9);
    border: 1px solid rgba(16, 185, 129, .25);
}

.pro-badge {
    background: rgba(212, 165, 116, .15);
    color: rgba(212, 165, 116, .9);
    border: 1px solid rgba(212, 165, 116, .25);
}

/* Cards row */
.drawer-cards-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ══════════════════════════════
   INDIVIDUAL DCARD
══════════════════════════════ */
.dcard {
    position: relative;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 16px;
    padding: 16px;
    cursor: pointer;
    transition: transform .28s ease, border-color .28s ease, background .28s ease, box-shadow .28s ease;
    overflow: hidden;
    outline: none;
}

/* Ambient glow bg using card's gradient colors */
.dcard-glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 0% 0%, var(--g1, .3) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .35s;
}

.dcard:hover .dcard-glow,
.dcard:focus .dcard-glow {
    opacity: .12;
}

.dcard.dcard-selected .dcard-glow {
    opacity: .22;
}

/* Hover / active states */
.dcard:hover,
.dcard:focus {
    transform: translateY(-2px) scale(1.005);
    border-color: rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .055);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .35);
}

.dcard-pro:hover,
.dcard-pro:focus {
    border-color: rgba(212, 165, 116, .3);
    box-shadow: 0 8px 28px rgba(212, 165, 116, .1);
}

.dcard-free:hover,
.dcard-free:focus {
    border-color: rgba(99, 210, 160, .25);
    box-shadow: 0 8px 24px rgba(16, 185, 129, .08);
}

.dcard.dcard-selected {
    border-color: rgba(167, 139, 250, .6);
    background: rgba(124, 107, 181, .1);
    box-shadow: 0 0 0 2px rgba(167, 139, 250, .2), 0 12px 32px rgba(124, 107, 181, .15);
    transform: translateY(-2px);
}

/* Badge */
.dcard-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
    z-index: 2;
    background: rgba(212, 165, 116, .15);
    color: rgba(212, 165, 116, .95);
    border: 1px solid rgba(212, 165, 116, .3);
}

/* Top row: avatar + title + price */
.dcard-top {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.dcard-avatar {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
    transition: box-shadow .3s;
}

.dcard:hover .dcard-avatar {
    box-shadow: 0 6px 20px rgba(0, 0, 0, .4);
}

.dcard-title-block {
    flex: 1;
    min-width: 0;
}

.dcard-name {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: rgba(240, 235, 255, .92);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dcard-specialty {
    font-size: 11px;
    color: rgba(200, 185, 155, .5);
    margin-top: 2px;
    line-height: 1.4;
}

/* Features */
.dcard-features {
    position: relative;
    z-index: 1;
    list-style: none;
    padding: 0;
    margin: 0 0 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dcard-features li {
    font-size: 11px;
    color: rgba(200, 190, 220, .5);
    font-family: 'Inter', sans-serif;
    padding: 1px 0;
    transition: color .25s;
}

.dcard:hover .dcard-features li,
.dcard.dcard-selected .dcard-features li {
    color: rgba(200, 190, 220, .75);
}

/* Footer */
.dcard-footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, .05);
    padding-top: 10px;
    margin-top: 2px;
}

.dcard-rating {
    font-size: 11px;
    font-weight: 600;
    color: rgba(212, 165, 116, .6);
    font-family: 'Inter', sans-serif;
}

.dcard-users {
    font-weight: 400;
    color: rgba(200, 185, 150, .4);
    margin-left: 4px;
}

.dcard-cta-pill {
    font-size: 11px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    letter-spacing: .3px;
    color: rgba(167, 139, 250, .7);
    background: rgba(124, 107, 181, .1);
    border: 1px solid rgba(124, 107, 181, .2);
    border-radius: 20px;
    padding: 4px 12px;
    transition: all .25s;
}

.dcard:hover .dcard-cta-pill,
.dcard:focus .dcard-cta-pill {
    background: rgba(124, 107, 181, .25);
    border-color: rgba(167, 139, 250, .45);
    color: rgba(200, 180, 255, .95);
}

.dcard.dcard-selected .dcard-cta-pill {
    background: rgba(124, 107, 181, .35);
    border-color: rgba(167, 139, 250, .65);
    color: #fff;
}

/* Card entrance animation */
.dcard {
    animation: dcardIn .4s ease both;
}

.dcard:nth-child(1) {
    animation-delay: .05s;
}

.dcard:nth-child(2) {
    animation-delay: .10s;
}

.dcard:nth-child(3) {
    animation-delay: .15s;
}

.dcard:nth-child(4) {
    animation-delay: .20s;
}

@keyframes dcardIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .signup-split {
        flex-direction: column;
    }

    .signup-left {
        min-height: 42vh;
        height: 42vh;
        /* lock height — prevents glitchy resize */
        flex: none;
        overflow: hidden;
    }

    /* Canvas fills the left panel exactly — no overflow, no glitch */
    #celestial-canvas {
        position: absolute;
        top: 0;
        left: 0;
        width: 100% !important;
        height: 100% !important;
    }

    /* Keep sun-shafts within bounds — clip to panel */
    .sun-shafts-wrap {
        overflow: visible;
        /* tighten shaft length on small screens */
    }

    .sun-shaft {
        height: 200px;
    }

    .sun-shaft:nth-child(even) {
        height: 160px;
    }

    .signup-right {
        width: 100%;
        min-width: unset;
    }

    .form-panel {
        padding: 30px 24px 0;
    }

    .brand-name {
        font-size: 32px;
        letter-spacing: 6px;
    }

    .brand-tagline {
        font-size: 12px;
    }

    .card-drawer {
        height: calc(100% - 40px);
    }
}

/* ══════════════════════════════════════════
   OTP VERIFICATION PANEL
══════════════════════════════════════════ */
.otp-panel {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: otpFadeIn .4s ease;
}

.otp-panel.hidden {
    display: none;
}

@keyframes otpFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.otp-icon {
    font-size: 48px;
    margin-bottom: -8px;
    animation: otpIconBounce 2s ease-in-out infinite;
}

@keyframes otpIconBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}

.otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.otp-input {
    width: 48px;
    height: 56px;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Outfit', monospace;
    color: rgba(255, 215, 0, .95);
    background: rgba(255, 255, 255, .04);
    border: 2px solid rgba(255, 215, 0, .15);
    border-radius: 12px;
    transition: all .3s ease;
    caret-color: rgba(255, 215, 0, .7);
}

.otp-input:focus {
    border-color: rgba(255, 215, 0, .5);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, .1), 0 0 20px rgba(255, 215, 0, .08);
    background: rgba(255, 255, 255, .06);
    outline: none;
}

.otp-input:not(:placeholder-shown) {
    border-color: rgba(255, 215, 0, .35);
}

.otp-resend {
    font-size: 13px;
    color: rgba(200, 190, 220, .5);
    font-family: 'Inter', sans-serif;
    text-align: center;
}

.resend-link {
    background: none;
    border: none;
    color: rgba(167, 139, 250, .8);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: color .2s;
    font-family: 'Inter', sans-serif;
    padding: 0;
    margin-left: 4px;
}

.resend-link:hover {
    color: rgba(167, 139, 250, 1);
}

.resend-link:disabled {
    color: rgba(200, 190, 220, .3);
    cursor: not-allowed;
}

/* ── Turnstile Container ── */
.turnstile-container {
    display: flex;
    justify-content: center;
    margin: 4px 0;
    min-height: 65px;
}