/* =========================================================
   BLOOND AUTH — NEON GREEN CYBERPUNK
   LOGIN + OTP FULL COMPATIBLE
========================================================= */

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

html,
body{
    width:100%;
    height:100%;
    overflow:hidden;

    font-family:'Poppins',sans-serif;

    background:#050505;
    color:#fff;
    display:flex;
align-items:center;
justify-content:center;
}

/* =========================================================
   BACKGROUND
========================================================= */

body::before{
    content:'';

    position:fixed;
    inset:0;

    background:
    radial-gradient(circle at top left,
    rgba(0,255,136,.12),
    transparent 28%),

    radial-gradient(circle at bottom right,
    rgba(0,255,136,.08),
    transparent 25%),

    linear-gradient(
    180deg,
    rgba(0,0,0,.92),
    rgba(0,0,0,.98)
    );

    z-index:-3;
}

body::after{
    content:'';

    position:fixed;
    inset:0;

    background-image:
    linear-gradient(rgba(0,255,136,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,255,136,.03) 1px, transparent 1px);

    background-size:50px 50px;

    animation:gridMove 20s linear infinite;

    z-index:-2;
}

@keyframes gridMove{
    from{
        transform:translateY(0);
    }

    to{
        transform:translateY(50px);
    }
}

/* =========================================================
   LOADING
========================================================= */

.loading-screen{
    position:fixed;
    inset:0;

    background:#000;

    z-index:99999;
}

/* =========================================================
   VIDEO
========================================================= */

.player{
    position:fixed !important;
    inset:0;

    width:100%;
    height:100%;

    z-index:-5;

    opacity:.10;

    filter:
    brightness(.35)
    contrast(1.15)
    saturate(1.1);
}

/* =========================================================
   PANEL
========================================================= */

.content{
    position:relative;
    z-index:10;

    width:430px;
    max-width:92%;

    padding:42px 30px;

    text-align:center;

    border-radius:30px;

    background:
    linear-gradient(
    180deg,
    rgba(10,10,10,.95),
    rgba(3,3,3,.96)
    );

    border:1px solid rgba(0,255,136,.12);

    backdrop-filter:blur(18px);

    overflow:hidden;

    box-shadow:
    0 0 20px rgba(0,255,136,.08),
    0 0 60px rgba(0,0,0,.75);

    animation:fadePanel .8s ease;
}

.content::before{
    content:'';

    position:absolute;
    inset:0;

    border-radius:30px;

    padding:1px;

    background:
    linear-gradient(
    180deg,
    rgba(0,255,136,.6),
    rgba(255,255,255,.04)
    );

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite:xor;
            mask-composite:exclude;

    pointer-events:none;
}

@keyframes fadePanel{

    from{
        opacity:0;
        transform:translateY(20px) scale(.96);
    }

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

/* =========================================================
   LOGO
========================================================= */

.logo-container{
    display:flex;
    justify-content:center;
    align-items:center;

    margin-bottom:20px;
}

.logo-container img{
    width:180px;
    max-width:100%;

    filter:
    drop-shadow(0 0 12px rgba(73, 73, 73, 0.7))
    drop-shadow(0 0 30px rgba(0,255,136,.18));

    animation:floatLogo 5s ease-in-out infinite;
}

@keyframes floatLogo{

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

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

/* =========================================================
   TITLES
========================================================= */

.animated-gradient{
    font-size:32px;
    font-weight:800;

    text-transform:uppercase;

    color:#fff;

    margin-bottom:10px;

    text-shadow:
    0 0 12px rgba(0,255,136,.25);
}

.content p{
    color:#9d9d9d;

    font-size:14px;

    line-height:1.6;

    margin-bottom:24px;
}

/* =========================================================
   INPUT ICON
========================================================= */

.input-icon{
    position:relative;
    margin-bottom:18px;
}

.input-icon i{
    position:absolute;

    top:50%;
    left:18px;

    transform:translateY(-50%);

    color:#00ff88;

    font-size:15px;

    z-index:2;
}

/* =========================================================
   LOGIN INPUTS
========================================================= */

.input-icon input,
.form-control{

    width:100% !important;

    height:58px;

    border:none;
    outline:none;

    border-radius:16px;

    background:rgba(255,255,255,.05);

    border:1px solid rgba(255,255,255,.05);

    color:#fff;

    padding-left:52px;
    padding-right:16px;

    font-size:15px;

    transition:.3s ease;
}

.input-icon input::placeholder,
.form-control::placeholder{
    color:#7d7d7d;
}

.input-icon input:focus,
.form-control:focus{

    border-color:#00ff88;

    background:rgba(255,255,255,.07);

    box-shadow:
    0 0 15px rgba(0,255,136,.16);

    transform:translateY(-2px);
}

/* =========================================================
   OTP SYSTEM
========================================================= */

.otp-input-container{
    display:flex;
    justify-content:center;
    gap:10px;

    margin-bottom:24px;
}

.otp-input{

    width:52px;
    height:62px;

    border-radius:16px;

    border:1px solid rgba(0,255,136,.12);

    background:rgba(255,255,255,.05);

    color:#fff;

    text-align:center;

    font-size:24px;
    font-weight:700;

    outline:none;

    transition:.25s ease;
}

.otp-input:focus{

    border-color:#00ff88;

    background:rgba(0,255,136,.08);

    box-shadow:
    0 0 15px rgba(0,255,136,.28);

    transform:translateY(-2px);
}

/* =========================================================
   BUTTONS
========================================================= */

.btn,
.content button{

    width:100%;

    height:58px;

    border:none;
    outline:none;

    border-radius:16px;

    background:#00ff88;

    color:#000;

    font-size:15px;
    font-weight:800;

    text-transform:uppercase;

    cursor:pointer;

    transition:.3s ease;

    position:relative;
    overflow:hidden;

    box-shadow:
    0 0 15px rgba(0,255,136,.35),
    0 0 40px rgba(0,255,136,.15);
}

.btn::before,
.content button::before{

    content:'';

    position:absolute;

    top:0;
    left:-120%;

    width:70%;
    height:100%;

    background:
    linear-gradient(
    90deg,
    transparent,
    rgba(255,255,255,.4),
    transparent
    );

    transform:skewX(-20deg);

    transition:.8s;
}

.btn:hover::before,
.content button:hover::before{
    left:150%;
}

.btn:hover,
.content button:hover{

    background:#19ff97;

    transform:translateY(-3px);

    box-shadow:
    0 0 22px rgba(0,255,136,.55),
    0 0 55px rgba(0,255,136,.20);
}

/* =========================================================
   LINKS
========================================================= */

.create-account a,
#resend-code{

    color:#00ff88 !important;

    text-decoration:none;

    font-weight:700;

    transition:.25s ease;
}

.create-account a:hover,
#resend-code:hover{

    color:#fff !important;

    text-shadow:
    0 0 10px rgba(0,255,136,.4);
}

/* =========================================================
   CHECKBOX
========================================================= */

.remember-me{
    display:flex;
    justify-content:center;
    align-items:center;

    margin:18px 0;

    color:#bdbdbd;

    font-size:14px;
}

.remember-me input[type="checkbox"]{
    width:16px;
    height:16px;

    accent-color:#00ff88;

    margin-right:8px;

    cursor:pointer;
}

/* =========================================================
   MOBILE
========================================================= */

@media(max-width:480px){

    .content{
        padding:34px 22px;
    }

    .animated-gradient{
        font-size:24px;
    }

    .logo-container img{
        width:145px;
    }

    .otp-input{
        width:44px;
        height:54px;

        font-size:20px;
    }

    .otp-input-container{
        gap:8px;
    }
}