﻿/*======================================================
    Tarqi Estate PREMIUM LOGIN
======================================================*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    font-family: 'Poppins',sans-serif;
    background: #050816;
    color: #fff;
}

/*========================================
BACKGROUND
=========================================*/

body {
    background: radial-gradient(circle at top left,#18386f 0%,transparent 40%), radial-gradient(circle at bottom right,#2b1359 0%,transparent 40%), #050816;
    position: relative;
}

    /* Animated Grid */

    body:before {
        content: "";
        position: fixed;
        inset: 0;
        background-image: linear-gradient(rgba(255,255,255,.03) 1px,transparent 1px), linear-gradient(90deg,rgba(255,255,255,.03) 1px,transparent 1px);
        background-size: 50px 50px;
        opacity: .30;
        pointer-events: none;
    }

/*========================================
BACKGROUND PARTICLES
=========================================*/

.bg-animation {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

    .bg-animation span {
        position: absolute;
        display: block;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #00d4ff;
        opacity: .15;
        filter: blur(2px);
    }

/*========================================
LEFT PANEL
=========================================*/

.left-panel {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 70px;
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,212,255,.12), rgba(123,44,255,.12));
}

.left-content {
    position: relative;
    z-index: 2;
    max-width: 560px;
}

.logo {
    width: 170px;
    margin-bottom: 40px;
}

.top-text {
    color: #00d4ff;
    letter-spacing: 4px;
    font-size: 14px;
    margin-bottom: 20px;
}

.left-content h1 {
    font-size: 62px;
    font-weight: 800;
    line-height: 1.15;
}

    .left-content h1 span {
        color: #00d4ff;
    }

.left-content p {
    margin-top: 30px;
    font-size: 18px;
    color: #cfcfcf;
    line-height: 1.8;
}

/*========================================
FEATURES
=========================================*/

.feature-list {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
    margin-top: 50px;
}

.feature {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    padding: 18px;
    transition: .35s;
}

    .feature i {
        color: #00d4ff;
        margin-right: 10px;
    }

    .feature:hover {
        transform: translateY(-5px);
        border-color: #00d4ff;
        box-shadow: 0 0 20px rgba(0,212,255,.25);
    }

/*========================================
STATS
=========================================*/

.stats {
    display: flex;
    gap: 20px;
    margin-top: 50px;
}

    .stats .box {
        flex: 1;
        background: rgba(255,255,255,.05);
        border-radius: 18px;
        padding: 22px;
        text-align: center;
        border: 1px solid rgba(255,255,255,.08);
    }

    .stats h3 {
        color: #00d4ff;
        font-size: 32px;
        font-weight: 700;
    }

    .stats p {
        margin-top: 8px;
        color: #b9b9b9;
        font-size: 15px;
    }

/*========================================
LOGIN WRAPPER
=========================================*/

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    padding: 40px;
}

/*========================================
LOGIN CARD
=========================================*/

.login-card {
    width: 100%;
    max-width: 520px;
    background: rgba(15,22,40,.72);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 28px;
    padding: 55px;
    box-shadow: 0 0 45px rgba(0,212,255,.15);
}

.mobile-logo {
    text-align: center;
    margin-bottom: 25px;
}

    .mobile-logo img {
        width: 140px;
    }

.login-card h2 {
    font-size: 38px;
    font-weight: 700;
    text-align: center;
}

.subtitle {
    text-align: center;
    color: #a4a4a4;
    margin-top: 10px;
    margin-bottom: 30px;
}

.divider {
    width: 80px;
    height: 4px;
    margin: auto;
    border-radius: 20px;
    background: #00d4ff;
    margin-bottom: 40px;
}

/*========================================
INPUTS
=========================================*/

.custom-input {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.05);
}

    .custom-input .input-group-text {
        background: transparent;
        border: none;
        color: #00d4ff;
        width: 60px;
        justify-content: center;
        font-size: 20px;
    }

    .custom-input .form-control {
        background: transparent;
        border: none;
        color: #fff;
        height: 60px;
        font-size: 16px;
    }

        .custom-input .form-control:focus {
            background: transparent;
            color: #fff;
            box-shadow: none;
        }

        .custom-input .form-control::placeholder {
            color: #8e8e8e;
        }

/*========================================
LINKS
=========================================*/

.form-check-label {
    color: #bfbfbf;
}

a {
    color: #00d4ff;
    text-decoration: none;
}

    a:hover {
        color: #ffffff;
    }

/*========================================
LOGIN BUTTON
=========================================*/

.login-btn {
    width: 100%;
    height: 60px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(90deg,#00d4ff,#7b2cff);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: .35s;
}

    .login-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 0 35px rgba(0,212,255,.45);
    }

/*========================================
SEPARATOR
=========================================*/

.separator {
    text-align: center;
    margin: 35px 0;
    position: relative;
}

    .separator:before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        width: 42%;
        height: 1px;
        background: #2c3855;
    }

    .separator:after {
        content: "";
        position: absolute;
        right: 0;
        top: 50%;
        width: 42%;
        height: 1px;
        background: #2c3855;
    }

    .separator span {
        color: #888;
    }

/*========================================
REGISTER
=========================================*/

.register {
    text-align: center;
    color: #bdbdbd;
}

/*========================================
SOCIAL ICONS
=========================================*/

.social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

    .social div {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: rgba(255,255,255,.05);
        border: 1px solid rgba(255,255,255,.08);
        color: #00d4ff;
        font-size: 22px;
        cursor: pointer;
        transition: .35s;
    }

        .social div:hover {
            transform: translateY(-6px);
            background: #00d4ff;
            color: #fff;
        }

/*========================================
FOOTER
=========================================*/

.footer {
    margin-top: 35px;
    text-align: center;
    color: #8b8b8b;
    font-size: 14px;
}


/*=====================================================
            PART - 2B
    Animation + Responsive + Premium Effects
======================================================*/


/* Floating Particles */

.bg-animation span:nth-child(1) {
    left: 8%;
    width: 14px;
    height: 14px;
    animation: float 12s linear infinite;
}

.bg-animation span:nth-child(2) {
    left: 25%;
    width: 28px;
    height: 28px;
    animation: float 18s linear infinite;
    animation-delay: 2s;
}

.bg-animation span:nth-child(3) {
    left: 48%;
    width: 18px;
    height: 18px;
    animation: float 15s linear infinite;
    animation-delay: 4s;
}

.bg-animation span:nth-child(4) {
    left: 72%;
    width: 35px;
    height: 35px;
    animation: float 20s linear infinite;
}

.bg-animation span:nth-child(5) {
    left: 92%;
    width: 16px;
    height: 16px;
    animation: float 14s linear infinite;
    animation-delay: 3s;
}


/* Login Card Entrance */

.login-card {
    animation: fadeUp .9s ease;
    position: relative;
    overflow: hidden;
}


    /* Animated Border */

    .login-card::before {
        content: "";
        position: absolute;
        inset: -2px;
        background: linear-gradient( 45deg, #00d4ff, #7b2cff, #00d4ff, #ffd54f, #00d4ff );
        background-size: 400%;
        border-radius: 30px;
        z-index: -2;
        animation: borderMove 8s linear infinite;
    }

    .login-card::after {
        content: "";
        position: absolute;
        inset: 2px;
        background: rgba(10,16,34,.92);
        backdrop-filter: blur(20px);
        border-radius: 28px;
        z-index: -1;
    }


/* Logo Animation */

.logo {
    animation: pulseLogo 3s infinite;
}


/* Left Text Animation */

.left-content h1 {
    animation: slideLeft 1s ease;
}

.left-content p {
    animation: slideLeft 1.3s ease;
}


/* Feature Animation */

.feature {
    animation: fadeUp .8s ease;
}


/* Stats Hover */

.stats .box {
    transition: .4s;
}

    .stats .box:hover {
        transform: translateY(-8px);
        box-shadow: 0 0 30px rgba(0,212,255,.30);
    }


/* Input Focus */

.custom-input {
    transition: .35s;
}

    .custom-input:focus-within {
        border-color: #00d4ff;
        box-shadow: 0 0 15px rgba(0,212,255,.30), 0 0 35px rgba(0,212,255,.15);
    }


    /* Input Icon */

    .custom-input i {
        transition: .35s;
    }

    .custom-input:focus-within i {
        transform: scale(1.2);
        color: #FFD54F;
    }


/* Button Shine */

.login-btn {
    position: relative;
    overflow: hidden;
}

    .login-btn::before {
        content: "";
        position: absolute;
        top: 0;
        left: -120%;
        width: 80px;
        height: 100%;
        background: rgba(255,255,255,.4);
        transform: skewX(-20deg);
    }

    .login-btn:hover::before {
        animation: shine 1s;
    }

    .login-btn:active {
        transform: scale(.98);
    }


/* Social */

.social div {
    position: relative;
}

    .social div::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        box-shadow: 0 0 25px rgba(0,212,255,.35);
        opacity: 0;
        transition: .35s;
    }

    .social div:hover::before {
        opacity: 1;
    }


/* Divider */

.divider {
    animation: glow 2s infinite;
}


/* Footer */

.footer {
    opacity: .8;
}



/*===============================
KEYFRAMES
================================*/


@keyframes float {

    from {
        transform: translateY(110vh) scale(.6);
        opacity: 0;
    }

    20% {
        opacity: .25;
    }

    80% {
        opacity: .20;
    }

    to {
        transform: translateY(-120px) scale(1.4);
        opacity: 0;
    }
}



@keyframes pulseLogo {

    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.04);
    }

    100% {
        transform: scale(1);
    }
}



@keyframes glow {

    0% {
        box-shadow: 0 0 10px #00d4ff;
    }

    50% {
        box-shadow: 0 0 25px #00d4ff;
    }

    100% {
        box-shadow: 0 0 10px #00d4ff;
    }
}



@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



@keyframes slideLeft {

    from {
        opacity: 0;
        transform: translateX(-60px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}



@keyframes borderMove {

    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 400% 0;
    }
}



@keyframes shine {

    from {
        left: -120%;
    }

    to {
        left: 140%;
    }
}



/*===============================
Scrollbar
================================*/

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: #00d4ff;
    border-radius: 20px;
}

::-webkit-scrollbar-track {
    background: #09111f;
}



/*===============================
Responsive
================================*/


@media(max-width:1200px) {

    .left-content h1 {
        font-size: 52px;
    }

    .login-card {
        padding: 45px;
    }
}



@media(max-width:991px) {

    .left-panel {
        display: none;
    }

    .login-wrapper {
        padding: 25px;
    }

    .login-card {
        max-width: 500px;
        padding: 40px;
    }
}



@media(max-width:768px) {

    .login-card {
        padding: 30px 25px;
        border-radius: 22px;
    }

        .login-card h2 {
            font-size: 30px;
        }

    .subtitle {
        font-size: 14px;
    }

    .login-btn {
        height: 55px;
        font-size: 16px;
    }

    .custom-input .form-control {
        height: 55px;
    }

    .social div {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }
}



@media(max-width:480px) {

    .login-wrapper {
        padding: 15px;
    }

    .login-card {
        padding: 22px;
    }

    .mobile-logo img {
        width: 120px;
    }

    .login-card h2 {
        font-size: 26px;
    }

    .separator:before,
    .separator:after {
        width: 36%;
    }

    .footer {
        font-size: 12px;
    }
}


/*==================================================
        SIGNUP PAGE EXTRA CSS
==================================================*/

/* Signup Card */
.login-card {
    max-width: 580px;
}

/* Scroll Form */
.login-wrapper {
    padding: 40px 20px;
}


/* Premium Scrollbar */

.login-card::-webkit-scrollbar {
    width: 6px;
}

.login-card::-webkit-scrollbar-thumb {
    background: #00d4ff;
    border-radius: 30px;
}

.login-card::-webkit-scrollbar-track {
    background: transparent;
}


/* Dropdown */

.form-select {
    height: 60px;
    background: transparent !important;
    color: #fff !important;
    border: none !important;
    box-shadow: none !important;
    font-size: 16px;
}

    .form-select option {
        background: #08111f;
        color: #fff;
    }


/* Mobile Code */

#code {
    height: 60px;
    border-radius: 14px;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    color: #fff;
    text-align: center;
    font-weight: 600;
}


/* Sponsor Name */

#lblsponsorName {
    color: #00d4ff !important;
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
}


/* Validation */

.text-danger {
    color: #ff4d6d !important;
}


/* Checkbox */

.form-check {
    display: flex;
    align-items: center;
}

.form-check-input {
    width: 20px;
    height: 20px;
    background: transparent;
    border: 1px solid rgba(255,255,255,.25);
}

    .form-check-input:checked {
        background: #00d4ff;
        border-color: #00d4ff;
    }

.form-check-label {
    margin-left: 10px;
    color: #c7c7c7;
}


/* Register Button */

#btnSignUp {
    margin-top: 10px;
}


/* Country Row */

.row .custom-input {
    margin-bottom: 0;
}


/* Input Hover */

.custom-input:hover {
    border-color: #00d4ff;
}


/* Placeholder */

.form-control::placeholder {
    color: #9d9d9d;
}


/* Logo */

.mobile-logo img {
    filter: drop-shadow(0 0 15px rgba(0,212,255,.5));
}


/* Card Hover */

.login-card {
    transition: .35s;
}

    .login-card:hover {
        box-shadow: 0 0 60px rgba(0,212,255,.18);
    }


/* Button */

.login-btn {
    text-transform: uppercase;
}


/* Mobile */

@media(max-width:768px) {

    .login-card {
        padding: 25px;
        max-height: none;
    }

    .form-select {
        height: 55px;
    }

    #code {
        height: 55px;
        margin-bottom: 15px;
    }
}


.toggle-password {
    font-size: 18px;
    color: #00d4ff;
}

@keyframes glowText {

    0% {
        opacity: 0;
        transform: translateY(-8px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}
