/* FUTUREVERSE VERIFICATION — UPDATED RESPONSIVE CSS */

:root{--bg:#fff;--text:#181722;--muted:#777580;--purple:#5b3cc4;--blue:#6678e8;--border:#e5e4eb;--soft:#fafafd}
*{box-sizing:border-box;margin:0;padding:0}
html{min-height:100%;scroll-behavior:smooth}
body{min-height:100vh;background:#fff;color:var(--text);font-family:Inter,"Segoe UI",Roboto,Arial,sans-serif;overflow-x:hidden}
button,input{font:inherit}button{border:0;cursor:pointer}button:disabled{cursor:not-allowed}input{outline:none}

#backToHome{position:fixed;top:22px;left:24px;z-index:50;min-height:40px;padding:0 16px;border:1px solid #e8e6f0;border-radius:12px;background:rgba(255,255,255,.94);color:#514b69;font-size:13px;font-weight:600;box-shadow:0 8px 25px rgba(40,31,80,.06);transition:.2s}
#backToHome:hover{transform:translateY(-1px);box-shadow:0 11px 28px rgba(40,31,80,.1)}
#container{width:100%;min-height:100vh;display:flex;align-items:center;justify-content:center;position:relative;padding:80px 24px 45px}
.verification-section{width:min(430px,100%);display:flex;flex-direction:column;align-items:center;text-align:center;position:relative;z-index:2}

/* CSS-only coding/work illustration */
.verification-illustration{width:230px;height:178px;position:relative;margin-bottom:22px;border-radius:48% 52% 45% 55%/52% 46% 54% 48%;background:radial-gradient(circle at 50% 38%,#eef2ff 0,#eef2ff 43%,#f7f8fd 44%,#fff 75%);overflow:hidden}
.illustration-desk{position:absolute;width:150px;height:8px;left:40px;bottom:38px;border-radius:8px;background:#9ca7bd;box-shadow:0 5px 0 #dce1ea}
.illustration-desk:after{content:"";position:absolute;width:7px;height:38px;left:22px;top:7px;border-radius:6px;background:#aab3c4;box-shadow:99px 0 0 #aab3c4}
.illustration-screen{position:absolute;width:84px;height:57px;left:73px;top:38px;border:7px solid #4c5871;border-bottom-width:10px;border-radius:9px;background:linear-gradient(135deg,#dce8ff,#f1f4ff);box-shadow:0 8px 18px rgba(65,77,108,.15)}
.illustration-screen:after{content:"";position:absolute;width:27px;height:9px;left:21px;bottom:-18px;border-radius:5px;background:#66738c}
.illustration-screen span{position:absolute;height:4px;border-radius:4px;background:#788cff}
.illustration-screen span:nth-child(1){width:35px;left:12px;top:13px}.illustration-screen span:nth-child(2){width:23px;left:12px;top:23px}.illustration-screen span:nth-child(3){width:42px;left:12px;top:33px}
.person-head{position:absolute;width:31px;height:31px;left:37px;top:58px;border-radius:50%;background:#f2c9ad}
.person-head:before{content:"";position:absolute;width:30px;height:17px;left:1px;top:-3px;border-radius:18px 18px 8px 8px;background:#343b51}
.person-body{position:absolute;width:48px;height:49px;left:28px;top:89px;border-radius:20px 20px 7px 7px;background:linear-gradient(145deg,#6d7ff4,#5146b9)}
.person-arm{position:absolute;width:50px;height:10px;left:51px;top:103px;border-radius:10px;background:#f2c9ad;transform:rotate(-16deg);transform-origin:left center}

.fv-brand-name{margin-bottom:11px;color:#5b3cc4;font-size:12px;font-weight:800;letter-spacing:3px}
.verification-section h1{color:var(--text);font-size:30px;line-height:1.16;font-weight:750;letter-spacing:-.7px;margin-bottom:12px}
.verification-description{max-width:330px;color:var(--muted);font-size:14px;line-height:1.65;margin-bottom:22px}
.verification-form{width:100%;display:flex;flex-direction:column;gap:12px}

.input-wrapper{width:100%;height:54px;display:flex;align-items:center;border:1px solid var(--border);border-radius:15px;background:var(--soft);padding:0 16px;transition:.2s}
.input-wrapper:focus-within{border-color:#9a8ad9;background:#fff;box-shadow:0 0 0 4px rgba(91,60,196,.07)}
.input-icon{width:25px;color:#6d6582;font-size:18px;font-weight:600;flex-shrink:0;text-align:left}
.input-wrapper input{width:100%;height:100%;border:0;background:transparent;color:#22212c;font-size:14px}
.input-wrapper input::placeholder{color:#a5a3ad}

#sendOtpBtn,#verifyOtpBtn{width:100%;min-height:54px;display:flex;align-items:center;justify-content:center;position:relative;border-radius:15px;background:linear-gradient(135deg,#5b3cc4,#6846d5 52%,#566de6);color:#fff;font-size:14px;font-weight:700;box-shadow:0 13px 27px rgba(91,60,196,.2);transition:.2s}
#sendOtpBtn:hover,#verifyOtpBtn:hover{transform:translateY(-1px);box-shadow:0 16px 31px rgba(91,60,196,.25)}
#sendOtpBtn:disabled,#verifyOtpBtn:disabled{opacity:.85}
.button-arrow{position:absolute;right:18px;font-size:19px}
.button-loader{display:none;width:17px;height:17px;margin-left:9px;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;border-radius:50%;animation:fvButtonSpin .72s linear infinite}
@keyframes fvButtonSpin{to{transform:rotate(360deg)}}
.verification-status{min-height:18px;margin-top:12px;font-size:12px}

/* OTP screen */
.otp-section{width:min(470px,100%)}
.fv-otp-mark{width:76px;height:76px;display:flex;align-items:center;justify-content:center;position:relative;margin-bottom:20px;border-radius:50%;background:#f4f1ff;color:#5638bb;font-size:13px;font-weight:800;letter-spacing:1px}
.otp-ring{position:absolute;border:1px solid rgba(91,60,196,.22);border-radius:50%}.otp-ring-one{width:94px;height:94px}.otp-ring-two{width:112px;height:112px;opacity:.45}
.otp-input-container{width:100%;display:flex;justify-content:center;gap:10px;margin:8px 0 22px}
.otp-box{width:52px;height:58px;border:1.5px solid #d9d7e1;border-radius:13px;background:#fff;color:#20202a;text-align:center;font-size:22px;font-weight:700;transition:.18s}
.otp-box:focus{border-color:#6245c8;box-shadow:0 0 0 4px rgba(98,69,200,.08);transform:translateY(-1px)}
.otp-actions{width:100%;display:flex;align-items:center;justify-content:center;gap:13px;margin-bottom:21px;font-size:13px}
#timer{color:#5b3cc4;font-weight:700}#resendBtn{background:transparent;color:#5b3cc4;font-size:13px;font-weight:700}#resendBtn:disabled{color:#aaa7b4}
.link{margin-top:17px;color:#777481;font-size:12px}.link a{color:#5b3cc4;font-weight:700;text-decoration:none}

/* Successful OTP verification loading */
.fv-loading{width:min(400px,90%);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
.loading-orbit{width:74px;height:74px;position:relative;margin-bottom:25px;border:3px solid #ece9f8;border-top-color:#5b3cc4;border-radius:50%;animation:fvVerifySpin .9s linear infinite}
.loading-orbit:after{content:"";position:absolute;width:42px;height:42px;left:13px;top:13px;border:2px solid #e6e2f6;border-bottom-color:#687be4;border-radius:50%}
.loading-orbit span{position:absolute;width:6px;height:6px;border-radius:50%;background:#5b3cc4}
.loading-orbit span:nth-child(1){top:-5px;left:31px}.loading-orbit span:nth-child(2){right:-3px;top:32px}.loading-orbit span:nth-child(3){bottom:-3px;left:31px}
@keyframes fvVerifySpin{to{transform:rotate(360deg)}}
.loading-title{color:#201d2c;font-size:21px;font-weight:750;margin-bottom:8px}.loading-message{max-width:300px;color:#85828f;font-size:13px;line-height:1.55}

/* Existing JS alert popups */
.fv-error-overlay,.fv-otp-error-overlay{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;padding:22px;background:rgba(18,16,29,.42);backdrop-filter:blur(7px)}
.fv-error-modal,.fv-otp-error-modal{width:min(350px,100%);padding:30px 25px 24px;border:1px solid rgba(255,255,255,.7);border-radius:23px;background:#fff;text-align:center;box-shadow:0 25px 80px rgba(20,15,45,.24);animation:fvAlertIn .24s ease-out}
@keyframes fvAlertIn{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:translateY(0) scale(1)}}
.fv-error-icon,.fv-otp-error-icon{width:48px;height:48px;display:flex;align-items:center;justify-content:center;margin:0 auto 13px;border-radius:50%;background:#f2efff;font-size:21px}
.fv-error-brand,.fv-otp-error-brand{margin-bottom:7px;color:#5b3cc4;font-size:10px;font-weight:800;letter-spacing:2.5px}
.fv-error-modal h2,.fv-otp-error-modal h2{color:#1f1d27;font-size:20px;font-weight:750;margin-bottom:8px}
.fv-error-modal p,.fv-otp-error-modal p{color:#777480;font-size:13px;line-height:1.55;margin-bottom:20px}
#fvErrorOk,#fvOtpErrorOk{width:100%;min-height:46px;border-radius:13px;background:#5b3cc4;color:#fff;font-size:13px;font-weight:700}

/* Inline validation intentionally hidden: validation uses alerts */
.field-required-message{display:none!important}
.input-wrapper.field-error{border-color:var(--border)!important;box-shadow:none!important}
.otp-input-container.field-error .otp-box{border-color:#d9d7e1!important;box-shadow:none!important}

/* Tablet */
@media (min-width:600px) and (max-width:1024px){
#container{padding:90px 34px 50px}.verification-section{width:min(470px,92%)}.verification-illustration{width:250px;height:190px}.verification-section h1{font-size:32px}
}

/* Mobile-first refinement */
@media (max-width:599px){
#backToHome{top:16px;left:16px;min-height:36px;padding:0 13px;border-radius:10px;font-size:12px}
#container{min-height:100svh;align-items:flex-start;padding:130px 20px 34px}
.verification-section{width:100%;min-height:calc(100svh - 102px);justify-content:flex-start}
.verification-illustration{width:210px;height:162px;margin-top:5px;margin-bottom:18px}
.fv-brand-name{margin-bottom:9px;font-size:10px;letter-spacing:2.7px}
.verification-section h1{font-size:27px;line-height:1.18;margin-bottom:10px}
.verification-description{max-width:290px;font-size:13px;line-height:1.55;margin-bottom:20px}
.verification-form{gap:12px}
.input-wrapper{height:52px;border-radius:14px;padding:0 15px}
.input-wrapper input{font-size:14px}
#sendOtpBtn,#verifyOtpBtn{min-height:52px;border-radius:14px;font-size:13.5px}
.otp-section{padding-top:25px}.fv-otp-mark{width:68px;height:68px;margin-bottom:18px}.otp-ring-one{width:84px;height:84px}.otp-ring-two{width:100px;height:100px}
.otp-section h1{font-size:25px}.otp-input-container{gap:7px;margin-top:10px;margin-bottom:21px}.otp-box{width:45px;height:52px;border-radius:11px;font-size:20px}
.otp-actions{margin-bottom:19px;font-size:12px}.link{font-size:11.5px}
.fv-loading{width:100%;min-height:70svh}.loading-orbit{width:68px;height:68px}.loading-orbit:after{width:38px;height:38px;left:12px;top:12px}.loading-title{font-size:20px}.loading-message{font-size:12.5px}
.fv-error-overlay,.fv-otp-error-overlay{padding:18px}.fv-error-modal,.fv-otp-error-modal{border-radius:20px;padding:27px 21px 21px}
}
@media (max-width:380px){
#container{padding-left:16px;padding-right:16px}.verification-illustration{width:190px;height:148px}.verification-section h1{font-size:24px}.verification-description{font-size:12.5px}.otp-input-container{gap:5px}.otp-box{width:41px;height:49px}
}
@media (prefers-reduced-motion:reduce){
*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
}



/* =========================================
   PC / DESKTOP — PREMIUM BACKGROUND + CARD
   Mobile बिल्कुल untouched
========================================= */

@media (min-width: 601px) {

    body {
        min-height: 100vh;
        overflow: hidden;

        background:
            radial-gradient(
                ellipse 60% 45% at 15% 15%,
                #eeeaff 0%,
                #f6f3ff 45%,
                transparent 75%
            ),
            radial-gradient(
                ellipse 55% 50% at 90% 80%,
                #e8e2ff 0%,
                #f7f5ff 48%,
                transparent 78%
            ),
            linear-gradient(
                135deg,
                #ffffff 0%,
                #f5f2ff 50%,
                #ffffff 100%
            );

        position: relative;
    }

    /* पीछे का पहला बड़ा curved design */
    body::before {
        content: "";
        position: fixed;
        width: 125%;
        height: 42vh;

        left: -12%;
        top: 8%;

        background: linear-gradient(
            135deg,
            rgba(229, 222, 255, 0.65),
            rgba(243, 239, 255, 0.25)
        );

        border-radius: 0 0 55% 45%;

        transform: rotate(-5deg);

        pointer-events: none;
        z-index: 0;
    }

    /* पीछे का दूसरा curved/wave design */
    body::after {
        content: "";
        position: fixed;
        width: 115%;
        height: 38vh;

        right: -18%;
        bottom: -5%;

        background: linear-gradient(
            135deg,
            rgba(225, 217, 252, 0.60),
            rgba(242, 238, 255, 0.20)
        );

        border-radius: 55% 45% 0 0;

        transform: rotate(-4deg);

        pointer-events: none;
        z-index: 0;
    }

    /* Main Card */
    #container {
        position: relative;
        z-index: 2;

        width: min(520px, calc(100vw - 100px));

        min-height: auto;

        margin: 28px auto;

        padding: 38px 48px 42px;

        background: rgba(255, 255, 255, 0.96);

        border: 1px solid #ded9ed;

        border-radius: 24px;

        box-shadow:
            0 18px 45px rgba(56, 43, 105, 0.12),
            0 5px 18px rgba(56, 43, 105, 0.06);

        box-sizing: border-box;
    }

}









/* =========================================================
   FUTUREVERSE — PREMIUM BLUE & WHITE DESKTOP BACKGROUND
   IMPORTANT:
   This section controls ONLY the background.
   DO NOT MODIFY #container / CARD.
========================================================= */

@media (min-width: 601px) {

    /* -----------------------------------------------------
       MAIN BACKGROUND
    ----------------------------------------------------- */

    body {
        position: relative;
        min-height: 100vh;
        overflow: hidden;

        background:

            /* Top-left blue glow */
            radial-gradient(
                circle at 7% 12%,
                rgba(70, 145, 245, 0.28) 0%,
                rgba(125, 180, 250, 0.16) 18%,
                transparent 42%
            ),

            /* Top-right soft blue glow */
            radial-gradient(
                circle at 94% 8%,
                rgba(55, 130, 235, 0.20) 0%,
                rgba(135, 195, 255, 0.10) 20%,
                transparent 42%
            ),

            /* Bottom-right blue glow */
            radial-gradient(
                circle at 92% 92%,
                rgba(45, 125, 235, 0.30) 0%,
                rgba(105, 175, 250, 0.14) 22%,
                transparent 48%
            ),

            /* Bottom-left soft blue */
            radial-gradient(
                circle at 5% 88%,
                rgba(90, 155, 240, 0.18) 0%,
                transparent 38%
            ),

            /* Main white-blue surface */
            linear-gradient(
                135deg,
                #ffffff 0%,
                #f8fbff 28%,
                #eef6ff 52%,
                #f9fcff 76%,
                #ffffff 100%
            );
    }


    /* -----------------------------------------------------
       LARGE PREMIUM BLUE FLOWING SHAPE
    ----------------------------------------------------- */

    body::before {
        content: "";

        position: fixed;

        width: 125%;
        height: 48vh;

        left: -15%;
        top: -18%;

        background:

            /* Inner blue highlight */
            radial-gradient(
                ellipse at 35% 70%,
                rgba(72, 145, 245, 0.30),
                transparent 55%
            ),

            /* White transition */
            linear-gradient(
                135deg,
                rgba(255,255,255,0.10),
                rgba(180,215,255,0.42),
                rgba(225,240,255,0.18)
            );

        border-radius:
            0
            0
            68%
            32%
            /
            0
            0
            72%
            42%;

        transform: rotate(-5deg);

        box-shadow:
            0 30px 90px rgba(65, 135, 225, 0.12);

        pointer-events: none;

        z-index: 0;
    }


    /* -----------------------------------------------------
       LOWER PREMIUM BLUE FLOW
    ----------------------------------------------------- */

    body::after {
        content: "";

        position: fixed;

        width: 120%;
        height: 42vh;

        right: -18%;
        bottom: -18%;

        background:

            /* Stronger blue core */
            radial-gradient(
                ellipse at 65% 25%,
                rgba(65, 140, 245, 0.28),
                transparent 58%
            ),

            /* Soft white-blue layer */
            linear-gradient(
                120deg,
                rgba(225,241,255,0.20),
                rgba(165,210,255,0.40),
                rgba(235,247,255,0.18)
            );

        border-radius:
            58%
            42%
            0
            0
            /
            68%
            52%
            0
            0;

        transform: rotate(-5deg);

        box-shadow:
            0 -30px 90px rgba(55, 130, 225, 0.10);

        pointer-events: none;

        z-index: 0;
    }


    /* -----------------------------------------------------
       VERY SUBTLE TECH GRID
       Gives a premium technology-platform feel
    ----------------------------------------------------- */

    html::before {
        content: "";

        position: fixed;

        inset: 0;

        background:

            repeating-linear-gradient(
                90deg,
                transparent 0,
                transparent 79px,
                rgba(55, 125, 215, 0.025) 80px
            ),

            repeating-linear-gradient(
                0deg,
                transparent 0,
                transparent 79px,
                rgba(55, 125, 215, 0.025) 80px
            );

        pointer-events: none;

        z-index: 0;
    }


    /* -----------------------------------------------------
       SOFT CENTER LIGHT
       Keeps the card area clean
    ----------------------------------------------------- */

    main#container::before {
        content: "";

        position: absolute;

        width: 420px;
        height: 420px;

        left: 50%;
        top: 45%;

        transform: translate(-50%, -50%);

        background:
            radial-gradient(
                circle,
                rgba(255,255,255,0.90) 0%,
                rgba(255,255,255,0.50) 42%,
                transparent 72%
            );

        pointer-events: none;

        z-index: -1;
    }


    /* -----------------------------------------------------
       EXTRA BLUE LIGHT ACCENTS
    ----------------------------------------------------- */

    #container {
        position: relative;
        z-index: 2;
    }

}


















