/* ===================================================================
   Landing page — golden bubble rain, premium glassmorphism, motion
   =================================================================== */

:root {
    --gold-light: #ffe9a8;
    --gold-mid: #e9b84a;
    --gold-deep: #c9922a;
    --glass-landing: rgba(255, 255, 255, 0.14);
    --glass-landing-border: rgba(255, 255, 255, 0.28);
}

/* ---------- Golden bubble rain (hero) ---------- */
body.landing-page header.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

body.landing-page header.hero.hero-lux {
    clip-path: none !important;
    -webkit-clip-path: none !important;
}

body.landing-page header.hero.hero-lux .hero-lux-panel,
body.landing-page header.hero.hero-lux .hero-lux-title,
body.landing-page header.hero.hero-lux .hero-lux-lead,
body.landing-page header.hero.hero-lux .hero-btns {
    opacity: 1 !important;
    visibility: visible !important;
    filter: none !important;
    transform: none !important;
}

/* Landing nav targets — always visible (no scroll-reveal hide) */
body.landing-page .landing-section-visible,
body.landing-page .landing-section-visible .section-header,
body.landing-page .landing-section-visible .section-title,
body.landing-page .landing-section-visible .section-subtitle,
body.landing-page .landing-section-visible .step-card,
body.landing-page .landing-section-visible .card,
body.landing-page .landing-section-visible .testimonial-card,
body.landing-page .landing-section-visible li,
body.landing-page .landing-section-visible h4,
body.landing-page .landing-section-visible h5,
body.landing-page .landing-section-visible p {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    filter: none !important;
}

body.landing-page .landing-section-visible .section-title {
    color: #1b4332;
    -webkit-text-fill-color: #1b4332;
    background: none;
    background-clip: border-box;
    -webkit-background-clip: border-box;
}

#how-it-works {
    scroll-margin-top: 1rem;
    background: #f4faf6;
    position: relative;
    z-index: 2;
}

#features,
#features-cards,
#testimonials {
    scroll-margin-top: 1rem;
    position: relative;
    z-index: 2;
}

#how-it-works .step-card {
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 20px;
}

.golden-bubbles {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    overflow: hidden;
}

.golden-bubble {
    position: absolute;
    top: -12%;
    border-radius: 50%;
    background: radial-gradient(
        circle at 32% 28%,
        rgba(255, 240, 180, 0.95) 0%,
        rgba(233, 184, 74, 0.55) 35%,
        rgba(201, 146, 42, 0.2) 60%,
        transparent 72%
    );
    box-shadow:
        0 0 20px rgba(255, 215, 120, 0.45),
        inset -4px -6px 12px rgba(255, 255, 255, 0.35),
        inset 4px 4px 10px rgba(201, 146, 42, 0.25);
    opacity: 0;
    animation: goldenBubbleFall linear infinite;
    will-change: transform, opacity;
}

.golden-bubble::after {
    content: '';
    position: absolute;
    top: 18%;
    left: 22%;
    width: 28%;
    height: 20%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.75);
    filter: blur(1px);
}

@keyframes goldenBubbleFall {
    0% {
        transform: translate3d(0, 0, 0) scale(0.6);
        opacity: 0;
    }
    8% {
        opacity: var(--bubble-peak, 0.85);
    }
    88% {
        opacity: var(--bubble-peak, 0.7);
    }
    100% {
        transform: translate3d(var(--bubble-drift, 0px), 100%, 0) scale(1);
        opacity: 0;
    }
}

body.landing-page header.hero.hero-lux .golden-bubble {
    animation-name: goldenBubbleFallHero;
}

@keyframes goldenBubbleFallHero {
    0% {
        transform: translate3d(0, 0, 0) scale(0.6);
        opacity: 0;
    }
    8% {
        opacity: var(--bubble-peak, 0.85);
    }
    88% {
        opacity: var(--bubble-peak, 0.7);
    }
    100% {
        transform: translate3d(var(--bubble-drift, 0px), 110%, 0) scale(1);
        opacity: 0;
    }
}

/* Aurora glass layer over hero */
.hero-glass-aurora {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 45% at 15% 25%, rgba(255, 215, 120, 0.18), transparent 55%),
        radial-gradient(ellipse 50% 40% at 85% 15%, rgba(64, 145, 108, 0.22), transparent 50%),
        radial-gradient(ellipse 70% 50% at 50% 100%, rgba(27, 67, 50, 0.35), transparent 60%);
    animation: auroraShift 14s ease-in-out infinite alternate;
}

@keyframes auroraShift {
    0% { opacity: 0.75; transform: scale(1) translateY(0); }
    100% { opacity: 1; transform: scale(1.06) translateY(-2%); }
}

body.landing-page header.hero .container.hero-content {
    position: relative;
    z-index: 10;
}

/* ---------- Get Started CTA with signup icon ---------- */
.hero-cta-signup {
    position: relative;
    overflow: visible !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    background: linear-gradient(135deg, #2d6a4f 0%, #40916c 45%, #1b4332 100%) !important;
    box-shadow:
        0 12px 36px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(233, 184, 74, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
    animation: ctaPulse 3s ease-in-out infinite;
}

.hero-cta-inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

/* Hero CTA icons (signup + login) */
.hero-cta-icon {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: transform 0.35s cubic-bezier(0.34, 1.45, 0.64, 1);
}

.hero-cta-icon--signup {
    background: linear-gradient(145deg, var(--gold-light), var(--gold-mid));
    color: #1b4332;
    box-shadow:
        0 4px 16px rgba(233, 184, 74, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    animation: authIconPop 2.2s cubic-bezier(0.34, 1.45, 0.64, 1) infinite;
}

.hero-cta-icon--login {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(220, 245, 230, 0.9) 100%);
    color: #1b4332;
    border: 2px solid rgba(255, 215, 120, 0.65);
    box-shadow:
        0 4px 20px rgba(255, 255, 255, 0.35),
        0 0 24px rgba(233, 184, 74, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    animation: authIconPop 2.2s cubic-bezier(0.34, 1.45, 0.64, 1) infinite 0.35s;
}

.hero-cta-icon::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(255, 215, 120, 0.5);
    animation: ctaRingPulse 2.2s ease-out infinite;
    pointer-events: none;
}

.hero-cta-icon--login::before {
    border-color: rgba(255, 255, 255, 0.55);
    animation-delay: 0.4s;
}

.hero-cta-signup:hover .hero-cta-icon--signup {
    transform: scale(1.12) rotate(-8deg);
}

.hero-cta-login:hover .hero-cta-icon--login {
    transform: scale(1.12) rotate(8deg);
}

/* Sign In — always visible white text (not hover-only) */
body.landing-page .hero-cta-login,
body.landing-page .hero-cta-login .hero-cta-text,
body.landing-page .hero-cta-login .hero-cta-inner,
body.landing-page .hero-cta-login i {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

body.landing-page .hero-cta-login .hero-cta-text {
    text-shadow:
        0 1px 4px rgba(0, 0, 0, 0.55),
        0 0 20px rgba(0, 0, 0, 0.25);
    font-weight: 700;
    letter-spacing: 0.02em;
}

body.landing-page .hero-cta-login {
    position: relative;
    overflow: visible !important;
    width: 100%;
    max-width: 100%;
    background: rgba(255, 255, 255, 0.32) !important;
    backdrop-filter: blur(16px) saturate(1.3);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    border: 2px solid rgba(255, 255, 255, 0.92) !important;
    border-radius: 16px !important;
    box-shadow:
        0 12px 36px rgba(0, 0, 0, 0.32),
        0 0 44px rgba(255, 255, 255, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
    animation: loginCtaPulse 3.2s ease-in-out infinite;
}

body.landing-page .hero-cta-login:hover,
body.landing-page .hero-cta-login:focus-visible {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.45) !important;
    border-color: rgba(255, 233, 168, 1) !important;
    box-shadow:
        0 16px 44px rgba(0, 0, 0, 0.38),
        0 0 56px rgba(233, 184, 74, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}

@media (min-width: 576px) {
    body.landing-page .hero-cta-login {
        width: auto;
    }
}

@keyframes loginCtaPulse {
    0%, 100% {
        box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25), 0 0 28px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    }
    50% {
        box-shadow: 0 14px 40px rgba(0, 0, 0, 0.28), 0 0 44px rgba(233, 184, 74, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }
}

@keyframes authIconPop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3), 0 0 32px rgba(233, 184, 74, 0.2); }
    50% { box-shadow: 0 16px 44px rgba(0, 0, 0, 0.35), 0 0 48px rgba(233, 184, 74, 0.4); }
}

@keyframes ctaRingPulse {
    0% { transform: scale(0.85); opacity: 0.9; }
    100% { transform: scale(1.35); opacity: 0; }
}

/* ---------- Section glass cards ---------- */
body.landing-page .features .card,
body.landing-page .step-card,
body.landing-page .testimonial-card,
body.landing-page .about .container {
    backdrop-filter: blur(22px) saturate(1.25) !important;
    -webkit-backdrop-filter: blur(22px) saturate(1.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    box-shadow:
        0 20px 50px rgba(15, 31, 23, 0.1),
        0 0 0 1px rgba(233, 184, 74, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;
}

body.landing-page .trust-item {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Navbar — landing-nav.css */
body.landing-page .chakula-nav {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.chakula-nav--scrolled {
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.32),
        0 0 48px rgba(233, 184, 74, 0.1) !important;
}

/* ---------- Auth modals — premium glass + golden bubble rain ---------- */
body.modal-open .modal-backdrop.show {
    background: rgba(6, 22, 14, 0.72) !important;
    backdrop-filter: blur(14px) saturate(1.35);
    -webkit-backdrop-filter: blur(14px) saturate(1.35);
    animation: authBackdropIn 0.45s ease-out;
}

@keyframes authBackdropIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Bubbles inside modal card */
.auth-modal-bubbles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    border-radius: inherit;
}

.golden-bubble--modal {
    top: -8%;
    animation-name: goldenBubbleFallModal;
    filter: blur(0.2px);
}

@keyframes goldenBubbleFallModal {
    0% {
        transform: translate3d(0, 0, 0) scale(0.5);
        opacity: 0;
    }
    12% {
        opacity: var(--bubble-peak, 0.75);
    }
    88% {
        opacity: var(--bubble-peak, 0.55);
    }
    100% {
        transform: translate3d(var(--bubble-drift, 0px), 110%, 0) scale(1);
        opacity: 0;
    }
}

/* Glass shine sweep across modal */
.auth-modal-glass-shine {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    border-radius: inherit;
    background: linear-gradient(
        105deg,
        transparent 0%,
        transparent 40%,
        rgba(255, 255, 255, 0.12) 48%,
        rgba(255, 233, 168, 0.22) 50%,
        rgba(255, 255, 255, 0.1) 52%,
        transparent 60%,
        transparent 100%
    );
    background-size: 220% 100%;
    animation: authGlassShine 7s ease-in-out infinite;
}

.auth-modal-aurora {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
    background:
        radial-gradient(ellipse 80% 50% at 20% 0%, rgba(255, 215, 120, 0.2), transparent 55%),
        radial-gradient(ellipse 60% 45% at 90% 100%, rgba(64, 145, 108, 0.18), transparent 50%);
    animation: authModalAurora 10s ease-in-out infinite alternate;
    opacity: 0.85;
}

@keyframes authGlassShine {
    0%, 100% { background-position: 130% 0; }
    50% { background-position: -30% 0; }
}

@keyframes authModalAurora {
    0% { opacity: 0.65; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.04); }
}

.modal.auth-modal .auth-modal-dialog {
    perspective: 1400px;
    transform-style: preserve-3d;
}

.modal.auth-modal.fade:not(.show) .auth-modal-dialog {
    transform: translate3d(0, 28px, -60px) rotateX(10deg) scale(0.94);
    opacity: 0;
    transition: transform 0.38s ease-in, opacity 0.32s ease-in;
}

.modal.auth-modal.show .auth-modal-dialog {
    transform: translate3d(0, 0, 0) rotateX(0deg) scale(1);
    opacity: 1;
    transition: transform 0.52s cubic-bezier(0.22, 1.15, 0.42, 1), opacity 0.4s ease-out;
}

.auth-modal-3d {
    position: relative;
    isolation: isolate;
    border-radius: 24px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.82) 0%,
        rgba(248, 252, 249, 0.72) 45%,
        rgba(232, 245, 236, 0.68) 100%
    ) !important;
    backdrop-filter: blur(32px) saturate(1.45) !important;
    -webkit-backdrop-filter: blur(32px) saturate(1.45) !important;
    transform-style: preserve-3d;
    transform: translateZ(0);
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.95) inset,
        0 -3px 12px rgba(27, 67, 50, 0.06) inset,
        0 18px 36px rgba(13, 40, 24, 0.22),
        0 42px 80px rgba(13, 40, 24, 0.26),
        0 72px 120px rgba(13, 40, 24, 0.14),
        0 0 0 1px rgba(233, 184, 74, 0.28),
        0 0 70px rgba(233, 184, 74, 0.14) !important;
}

/* Golden 3D rim around the card */
.auth-modal-rim {
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(
        145deg,
        rgba(255, 230, 150, 0.95) 0%,
        rgba(45, 106, 79, 0.55) 35%,
        rgba(255, 215, 120, 0.75) 65%,
        rgba(27, 67, 50, 0.65) 100%
    );
    opacity: 0.75;
    filter: blur(0.5px);
}

.auth-modal-3d::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 1;
    pointer-events: none;
    box-shadow:
        inset 0 2px 16px rgba(255, 255, 255, 0.7),
        inset 0 -6px 20px rgba(27, 67, 50, 0.08);
}

.auth-modal-3d > .modal-header,
.auth-modal-3d > form,
.auth-modal-3d > .modal-body {
    position: relative;
    z-index: 4;
}

.auth-modal-icon-stage {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 0.25rem;
}

/* Hero-sized signup / login icons in modal header */
.auth-fx-icon--hero {
    width: 6.75rem;
    height: 6.75rem;
    margin: 0 auto 0.35rem;
}

.auth-fx-icon--hero .auth-fx-core {
    width: 5.25rem;
    height: 5.25rem;
    font-size: 2.35rem;
}

.auth-fx-icon--hero .auth-fx-ring {
    border-width: 2.5px;
}

.auth-fx-icon--hero.auth-fx-icon--signup .auth-fx-core {
    background: linear-gradient(155deg, #fff4c4 0%, #ffe082 35%, #e9b84a 65%, #c9922a 100%);
    box-shadow:
        0 0 40px rgba(255, 215, 120, 0.65),
        0 16px 40px rgba(233, 184, 74, 0.5),
        inset 0 3px 10px rgba(255, 255, 255, 0.7),
        inset 0 -6px 12px rgba(201, 146, 42, 0.35);
    animation: authCoreBounce 2.2s ease-in-out infinite, authSignupGlow 3s ease-in-out infinite;
}

.auth-fx-icon--hero.auth-fx-icon--login .auth-fx-core {
    box-shadow:
        0 0 36px rgba(255, 255, 255, 0.45),
        0 16px 40px rgba(64, 145, 108, 0.45),
        inset 0 3px 10px rgba(255, 255, 255, 0.75);
}

@keyframes authSignupGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.12); }
}

.auth-fx-icon--hero .auth-fx-spark {
    font-size: 0.95rem;
}

#signupModal .auth-modal-header--brand .auth-modal-header-inner,
#loginModal .auth-modal-header--brand .auth-modal-header-inner {
    position: relative;
    z-index: 5;
}

/* Glass form panel */
.auth-modal-body--glass {
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.55) 0%,
        rgba(255, 255, 255, 0.72) 100%
    ) !important;
    backdrop-filter: blur(18px) saturate(1.2) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.2) !important;
}

.auth-modal-3d--live .auth-modal-body .mb-3,
.auth-modal-3d--live .auth-modal-body .auth-modal-grid,
.auth-modal-3d--live .auth-modal-body .auth-submit,
.auth-modal-3d--live .auth-modal-body .text-end {
    animation: authFieldReveal 0.55s cubic-bezier(0.22, 1.1, 0.42, 1) backwards;
}

@keyframes authFieldReveal {
    from {
        opacity: 0;
        transform: translate3d(0, 14px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.modal.auth-modal.show .auth-modal-3d.auth-modal-3d--live {
    animation: authModalCardFloat 5s ease-in-out infinite;
}

.modal.auth-modal.show .auth-modal-header-inner {
    animation: authHeaderReveal 0.7s cubic-bezier(0.22, 1.1, 0.42, 1) 0.05s backwards;
}

@keyframes authHeaderReveal {
    from {
        opacity: 0;
        transform: translate3d(0, -16px, 0) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

#signupModal.show .auth-modal-3d {
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.95) inset,
        0 18px 36px rgba(13, 40, 24, 0.24),
        0 48px 90px rgba(13, 40, 24, 0.28),
        0 0 0 1px rgba(233, 184, 74, 0.35),
        0 0 90px rgba(233, 184, 74, 0.18) !important;
}

#loginModal.show .auth-modal-3d {
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.95) inset,
        0 18px 36px rgba(13, 40, 24, 0.24),
        0 48px 90px rgba(13, 40, 24, 0.26),
        0 0 0 1px rgba(149, 213, 178, 0.35),
        0 0 80px rgba(233, 184, 74, 0.14) !important;
}

.auth-modal .auth-modal-body {
    backdrop-filter: blur(14px) saturate(1.1) !important;
    -webkit-backdrop-filter: blur(14px) saturate(1.1) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow: inset 0 8px 24px rgba(255, 255, 255, 0.35);
}

#signupModal .modal-header.auth-modal-header--brand,
#loginModal .modal-header.auth-modal-header--brand {
    display: block !important;
    background: linear-gradient(145deg, #0a1f14 0%, #1b4332 38%, #2d6a4f 72%, #40916c 100%) !important;
    overflow: hidden;
    border-radius: 22px 22px 0 0 !important;
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -8px 20px rgba(0, 0, 0, 0.15) !important;
    transform: translateZ(12px);
}

#loginModal .auth-modal-header--login::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 215, 120, 0.22), transparent 50%),
        radial-gradient(circle at 80% 100%, rgba(149, 213, 178, 0.2), transparent 45%);
    pointer-events: none;
}

#signupModal .auth-modal-header--brand::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 215, 120, 0.25), transparent 55%);
    pointer-events: none;
}

/* Modal animated icons */
.auth-fx-icon {
    position: relative;
    width: 5.5rem;
    height: 5.5rem;
    margin: 0 auto 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.auth-fx-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid rgba(255, 215, 120, 0.45);
    animation: authRingExpand 2.5s ease-out infinite;
}

.auth-fx-icon--login .auth-fx-ring {
    border-color: rgba(255, 255, 255, 0.5);
}

.auth-fx-ring--2 {
    animation-delay: 0.8s;
}

.auth-fx-core {
    position: relative;
    z-index: 2;
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    animation: authCoreBounce 2.5s ease-in-out infinite;
}

.auth-fx-icon--signup .auth-fx-core {
    background: linear-gradient(145deg, #ffe9a8 0%, #e9b84a 50%, #c9922a 100%);
    color: #1b4332;
    box-shadow:
        0 12px 32px rgba(233, 184, 74, 0.45),
        inset 0 2px 6px rgba(255, 255, 255, 0.55),
        inset 0 -4px 8px rgba(201, 146, 42, 0.3);
}

.auth-fx-icon--login .auth-fx-core {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(181, 228, 198, 0.95) 45%, rgba(64, 145, 108, 0.85) 100%);
    color: #fff;
    border: 2px solid rgba(255, 215, 120, 0.5);
    box-shadow:
        0 12px 36px rgba(255, 255, 255, 0.25),
        0 0 28px rgba(233, 184, 74, 0.35),
        inset 0 2px 8px rgba(255, 255, 255, 0.65);
}

.auth-fx-spark {
    position: absolute;
    font-size: 0.75rem;
    color: var(--gold-light);
    text-shadow: 0 0 8px rgba(255, 215, 120, 0.8);
    animation: authSpark 2s ease-in-out infinite;
}

.auth-fx-icon--login .auth-fx-spark {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 0 10px rgba(255, 215, 120, 0.9);
}

.auth-fx-spark--1 { top: 0; right: 12%; animation-delay: 0s; }
.auth-fx-spark--2 { bottom: 8%; left: 8%; animation-delay: 0.5s; }
.auth-fx-spark--3 { top: 20%; left: 0; animation-delay: 1s; }

/* Form fields — glass inputs + 3D lift on focus */
#signupModal .auth-modal-body .form-control,
#loginModal .auth-modal-body .form-control,
#signupModal .input-group-auth--glass .input-group-text,
#signupModal .input-group-auth--glass .form-control,
#loginModal .input-group-auth--glass .input-group-text,
#loginModal .input-group-auth--glass .form-control {
    background: #ffffff !important;
    color: #081c15 !important;
    -webkit-text-fill-color: #081c15;
    border-radius: 12px !important;
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.9) inset,
        0 3px 10px rgba(13, 40, 24, 0.06) !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.auth-modal .input-group-auth .input-group-text {
    border-radius: 12px 0 0 12px !important;
    box-shadow: 0 2px 0 rgba(255, 255, 255, 0.8) inset !important;
}

.auth-modal .input-group-auth .form-control {
    border-radius: 0 12px 12px 0 !important;
}

.auth-modal .auth-modal-body .form-control:focus,
#signupModal .input-group-auth--glass .form-control:focus,
#loginModal .input-group-auth--glass .form-control:focus {
    border-color: #2d6a4f !important;
    transform: translateY(-2px);
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 1) inset,
        0 8px 22px rgba(45, 106, 79, 0.18),
        0 0 0 3px rgba(45, 106, 79, 0.16) !important;
}

#signupModal.auth-luxury .input-group-auth--glass .input-group-text,
#loginModal.auth-luxury .input-group-auth--glass .input-group-text {
    background: linear-gradient(180deg, #f4faf6 0%, #e8f2eb 100%) !important;
    color: #2d6a4f !important;
    border-color: rgba(212, 175, 55, 0.4) !important;
}

.auth-modal .auth-modal-grid .form-control {
    border-radius: 12px !important;
}

.auth-modal .password-toggle-wrap {
    position: relative;
    flex-wrap: nowrap;
}

.auth-modal .password-toggle-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    border: none;
    background: transparent;
    color: #1b4332;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    touch-action: manipulation;
}

.auth-modal .password-toggle-icon {
    font-size: 0.95rem;
    pointer-events: none;
}

.auth-link-gold {
    color: #1b4332 !important;
    font-weight: 600;
}

.auth-link-gold:hover {
    color: var(--gold-deep) !important;
}

#signupModal .auth-submit,
#loginModal .auth-submit--login {
    background: linear-gradient(145deg, #1b4332 0%, #2d6a4f 50%, #40916c 100%) !important;
    border: none !important;
    border-radius: 14px !important;
    position: relative;
    overflow: hidden;
    transform: translateY(0) translateZ(0);
    box-shadow:
        0 5px 0 #0a1f14,
        0 10px 28px rgba(13, 40, 24, 0.35),
        0 0 24px rgba(64, 145, 108, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.25) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#signupModal .auth-submit:hover,
#loginModal .auth-submit--login:hover {
    transform: translateY(-3px) translateZ(4px);
    box-shadow:
        0 8px 0 #0a1f14,
        0 16px 36px rgba(13, 40, 24, 0.4),
        0 0 32px rgba(64, 145, 108, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

#signupModal .auth-submit:active,
#loginModal .auth-submit--login:active {
    transform: translateY(2px) translateZ(0);
    box-shadow:
        0 2px 0 #0a1f14,
        0 6px 16px rgba(13, 40, 24, 0.3),
        inset 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

#loginModal .auth-submit--login {
    background: linear-gradient(145deg, #1b4332 0%, #40916c 48%, #2d6a4f 100%) !important;
}

#signupModal .auth-submit::after,
#loginModal .auth-submit--login::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 120, 0.28), transparent);
    transform: translateX(-120%);
    animation: submitShine 3s ease-in-out infinite;
}

@keyframes authRingExpand {
    0% { transform: scale(0.7); opacity: 0.8; }
    100% { transform: scale(1.45); opacity: 0; }
}

@keyframes authCoreBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-6px) scale(1.05); }
}

@keyframes authSpark {
    0%, 100% { opacity: 0.4; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes submitShine {
    0% { transform: translateX(-120%); }
    40%, 100% { transform: translateX(120%); }
}

@keyframes authModalCardFloat {
    0%, 100% {
        transform: translateY(0) rotateX(0deg) scale(1);
    }
    50% {
        transform: translateY(-5px) rotateX(0.6deg) scale(1.005);
    }
}

@keyframes authModalDialogIn {
    from {
        opacity: 0;
        transform: translate3d(0, 36px, -70px) rotateX(11deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) rotateX(0deg) scale(1);
    }
}

/* Legacy hero h1 — superseded by .hero-lux-title in hero-luxury.css */
body.landing-page header.hero:not(.hero-lux) h1 {
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

@media (prefers-reduced-motion: reduce) {
    .golden-bubble,
    .golden-bubble--modal,
    .auth-modal-glass-shine,
    .auth-modal-aurora,
    .hero-glass-aurora,
    .hero-lux-logo-stage,
    .hero-t-smart,
    .hero-lux-mesh,
    .hero-lux-rays,
    .hero-lux-dust-particle,
    .hero-cta-explore::before,
    .hero-cta-signup,
    .hero-cta-login,
    .hero-cta-icon,
    .hero-cta-icon::before,
    body.landing-page header.hero:not(.hero-lux) h1 span,
    .auth-fx-ring,
    .auth-fx-core,
    .auth-fx-spark,
    .auth-modal-3d.auth-modal-3d--live,
    .auth-modal-3d--live .auth-modal-body .mb-3,
    .auth-modal-3d--live .auth-modal-body .auth-submit,
    #signupModal .auth-submit::after,
    #loginModal .auth-submit--login::after {
        animation: none !important;
    }

    body.modal-open .modal-backdrop.show {
        animation: none !important;
    }

    .modal.auth-modal.show .auth-modal-dialog,
    .modal.auth-modal.fade:not(.show) .auth-modal-dialog {
        transform: none !important;
        transition: opacity 0.2s ease !important;
    }

    .golden-bubbles,
    .hero-lux-dust {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .hero-cta-inner {
        gap: 0.5rem;
    }

    .hero-cta-icon {
        width: 2.1rem;
        height: 2.1rem;
        font-size: 1rem;
    }
}
