* {
    font-family: "Inter", sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(140deg,
            #fffbf5 0%,
            #fff4e6 30%,
            #fff0f6 60%,
            #f3f0ff 100%);
}

.background-layer,
.left-panel {
    user-select: none;
}

input,
button,
textarea,
select {
    pointer-events: auto !important;
    position: relative;
    z-index: 9999;
}

/* ── keyframes ── */
@keyframes orbit {
    from {
        transform: rotate(0deg) translateX(var(--radius)) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(var(--radius)) rotate(-360deg);
    }
}

@keyframes orbit-reverse {
    from {
        transform: rotate(360deg) translateX(var(--radius)) rotate(-360deg);
    }

    to {
        transform: rotate(0deg) translateX(var(--radius)) rotate(0deg);
    }
}

@keyframes morph {

    0%,
    100% {
        border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
        transform: rotate(0deg);
    }

    34% {
        border-radius: 70% 30% 46% 54% / 30% 29% 71% 70%;
        transform: rotate(90deg);
    }

    67% {
        border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
        transform: rotate(180deg);
    }
}

@keyframes gradient-x {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scale-in {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

@keyframes pulse-soft {

    0%,
    100% {
        opacity: 0.45;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.08);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.35;
    }

    100% {
        transform: scale(3.5);
        opacity: 0;
    }
}

@keyframes check-draw {
    from {
        stroke-dashoffset: 30;
    }

    to {
        stroke-dashoffset: 0;
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20%,
    60% {
        transform: translateX(-6px);
    }

    40%,
    80% {
        transform: translateX(6px);
    }
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-10px) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(60px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes glow-pulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(227, 33, 36, 0.15);
    }

    50% {
        box-shadow: 0 0 40px rgba(227, 33, 36, 0.25);
    }
}

.animate-orbit {
    animation: orbit var(--dur, 20s) linear infinite;
}

.animate-orbit-reverse {
    animation: orbit-reverse var(--dur, 25s) linear infinite;
}

.animate-morph {
    animation: morph 12s ease-in-out infinite;
}

.animate-gradient-x {
    background-size: 200% auto;
    animation: gradient-x 6s linear infinite;
}

.animate-slide-up {
    animation: slide-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.animate-fade-in {
    animation: fade-in 0.8s ease both;
}

.animate-scale-in {
    animation: scale-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.animate-float {
    animation: float 5s ease-in-out infinite;
}

.animate-pulse-soft {
    animation: pulse-soft 4s ease-in-out infinite;
}

.animate-glow-pulse {
    animation: glow-pulse 3s ease-in-out infinite;
}

.glass {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(28px);
    -webkit-backdrop-filter: blur(28px);
}

.focus-ring:focus-within {
    box-shadow: 0 0 0 3px rgba(227, 33, 36, 0.25);
}

.strength-bar {
    transition:
        width 0.4s ease,
        background 0.4s ease;
}

.main-card {
    border-radius: 2rem;
    overflow: hidden;
}

.left-panel {
    background: linear-gradient(135deg, #d93030, #ff6b6b, #f05a5a);
}

.brand-box {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-circle {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-inner {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-badge {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-input {
    padding-left: 48px !important;
    padding-right: 48px !important;
    height: 56px;
    border-radius: 14px;
    /* border: 2px solid #E32124; */
    background: rgba(255, 255, 255, 0.7);
}

.custom-input:focus {
    border-color: #E32124;
    box-shadow: none;
    background: white;
}

.input-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: #E32124;
    z-index: 10;
    pointer-events: none;
}

.right-icon {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    z-index: 10;
}

.input-icon,
.right-icon,
#togglePass {
    z-index: 10000 !important;
}

.gradient-btn {
    background: linear-gradient(135deg, #E32124, #b91a1e, #ff5a5a);
    border: none;
    border-radius: 14px;
    height: 58px;
    color: white;
    font-weight: 700;
}

.gradient-btn:hover {
    transform: translateY(-2px);
    color: white;
}

.social-btn {
    border-radius: 14px;
    border: 1px solid #ffedd5;
    background: rgba(255, 255, 255, 0.7);
    height: 54px;
}

.social-btn:hover {
    background: rgba(255, 247, 237, 0.9);
}

.toggle-switch {
    width: 38px;
    height: 20px;
    background: linear-gradient(90deg, #fb923c, #fbbf24);
    border-radius: 999px;
    position: relative;
}

.toggle-switch::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
    top: 2px;
    left: 20px;
}