:root{

    --gold:#D4AF37;
    --gold-light:#F5D77A;

    --black:#001205;
    --dark:#07180D;

    --white:#ffffff;

}


/* =========================
   GLOBAL
========================= */

*{
    box-sizing:border-box;
}

html,
body{

    width:100%;
    min-height:100%;

}

body{

    margin:0;
    padding:0;

    min-height:100vh;

    background:

    radial-gradient(
        circle at top right,
        rgba(212,175,55,.14),
        transparent 35%
    ),

    radial-gradient(
        circle at bottom left,
        rgba(212,175,55,.07),
        transparent 35%
    ),

    #001205;

    font-family:Poppins,sans-serif;

    display:flex;
    align-items:center;

}


/* =========================
   WRAPPER
========================= */

.register-wrapper{

    width:100%;

    padding:40px 0;

}


/* =========================
   REGISTER CARD
========================= */

.register-card{

    background:
        rgba(0,18,5,.68);

    backdrop-filter:blur(20px);

    -webkit-backdrop-filter:blur(20px);

    border:1px solid rgba(212,175,55,.20);

    border-radius:30px;

    padding:42px 38px;

    text-align:center;

    position:relative;

    overflow:hidden;

    box-shadow:
        0 25px 70px rgba(0,0,0,.40);

}


/* =========================
   CARD GLOW
========================= */

.register-card::before{

    content:'';

    position:absolute;

    width:320px;
    height:320px;

    background:
        rgba(212,175,55,.08);

    border-radius:50%;

    filter:blur(100px);

    top:-150px;
    right:-130px;

    pointer-events:none;

}

.register-card::after{

    content:'';

    position:absolute;

    width:250px;
    height:250px;

    background:
        rgba(212,175,55,.045);

    border-radius:50%;

    filter:blur(90px);

    bottom:-130px;
    left:-130px;

    pointer-events:none;

}


/* =========================
   LOGO
========================= */

.logo-box{

    position:relative;

    z-index:2;

}

.logo-box img{

    width:105px;

    max-width:100%;

    height:auto;

    display:block;

    margin:0 auto 15px;

}


/* =========================
   HEADING
========================= */

.register-card h1{

    color:#ffffff;

    font-size:36px;

    font-weight:700;

    margin:0 0 5px;

    line-height:1.2;

    position:relative;

    z-index:2;

}

.sub-title{

    color:var(--gold);

    letter-spacing:2px;

    font-size:15px;

    margin-bottom:22px;

    position:relative;

    z-index:2;

}


/* =========================
   SECURE BOX
========================= */

.secure-box{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    color:var(--gold-light);

    border:1px solid rgba(212,175,55,.28);

    background:
        rgba(212,175,55,.025);

    padding:9px 20px;

    border-radius:50px;

    margin-bottom:20px;

    font-size:13px;

    position:relative;

    z-index:2;

}

.secure-box i{

    color:var(--gold-light);

    font-size:15px;

}


/* =========================
   DESCRIPTION
========================= */

.description{

    color:#bdbdbd;

    line-height:1.6;

    font-size:13px;

    margin:0 auto 25px;

    max-width:420px;

    position:relative;

    z-index:2;

}


/* =========================
   FORM
========================= */

.register-form{

    position:relative;

    z-index:2;

}


/* =========================
   INPUT
========================= */

.input-group-custom{

    width:100%;

    height:58px;

    display:flex;

    align-items:center;

    margin-bottom:14px;

    background:

        rgba(255,255,255,.025);

    border:1px solid rgba(212,175,55,.18);

    border-radius:16px;

    transition:

        border-color .3s ease,
        background .3s ease,
        box-shadow .3s ease;

    overflow:hidden;

}


/* Focus */

.input-group-custom:focus-within{

    border-color:
        rgba(212,175,55,.65);

    background:
        rgba(255,255,255,.035);

    box-shadow:
        0 0 0 3px rgba(212,175,55,.055);

}


/* =========================
   ICON
========================= */

.input-group-custom > i{

    flex:0 0 55px;

    width:55px;

    text-align:center;

    color:var(--gold);

    font-size:17px;

}


/* =========================
   INPUT
========================= */

.input-group-custom input{

    flex:1;

    width:100%;

    min-width:0;

    height:100%;

    border:none;

    outline:none;

    background:transparent !important;

    color:#f1f1f1 !important;

    font-size:15px;

    font-weight:400;

    padding:

        0 18px 0 8px;

    box-shadow:none !important;

    caret-color:var(--gold);

}


/* Placeholder */

.input-group-custom input::placeholder{

    color:#888f89 !important;

    opacity:1;

}


/* =========================
   READONLY SPONSOR NAME
========================= */

.sponsor-name-group input{

    color:#c5c5c5 !important;

    cursor:default;

}


/* =========================
   AUTOFILL FIX
========================= */

.input-group-custom input:-webkit-autofill,
.input-group-custom input:-webkit-autofill:hover,
.input-group-custom input:-webkit-autofill:focus,
.input-group-custom input:-webkit-autofill:active{

    -webkit-text-fill-color:#f1f1f1 !important;

    -webkit-box-shadow:
        0 0 0 1000px #07180D inset !important;

    box-shadow:
        0 0 0 1000px #07180D inset !important;

    background-color:#07180D !important;

    transition:
        background-color 9999s ease-in-out 0s;

}


/* =========================
   SPONSOR STATUS
========================= */

.sponsor-status{

    width:40px;

    flex:0 0 40px;

    display:flex;

    align-items:center;

    justify-content:center;

    color:#444;

    transition:.3s;

}

.sponsor-status i{

    font-size:7px;

}

.sponsor-status.active{

    color:#55c878;

}


/* =========================
   PASSWORD
========================= */

.password-group{

    position:relative;

}

.password-toggle{

    flex:0 0 50px;

    width:50px;

    height:100%;

    border:none;

    outline:none;

    background:transparent;

    color:#777;

    cursor:pointer;

    display:flex;

    align-items:center;

    justify-content:center;

    transition:.3s;

}

.password-toggle:hover{

    color:var(--gold-light);

}

.password-toggle:focus{

    outline:none;

    box-shadow:none;

}


/* =========================
   REGISTER BUTTON
========================= */

.register-btn{

    width:100%;

    min-height:57px;

    border:none;

    outline:none;

    background:

        linear-gradient(
            135deg,
            #D4AF37,
            #F5D77A
        );

    color:#050505;

    font-weight:700;

    padding:15px 20px;

    border-radius:60px;

    font-size:17px;

    cursor:pointer;

    transition:

        transform .3s ease,
        box-shadow .3s ease;

    margin-top:8px;

    box-shadow:

        0 8px 25px
        rgba(212,175,55,.12);

}

.register-btn:hover{

    transform:translateY(-3px);

    box-shadow:

        0 12px 35px
        rgba(212,175,55,.30);

}

.register-btn:active{

    transform:translateY(0);

}

.register-btn i{

    margin-right:9px;

}


/* =========================
   LOGIN LINK
========================= */

.login-link{

    margin-top:22px;

    color:#777;

    font-size:13px;

    position:relative;

    z-index:2;

}

.login-link a{

    color:var(--gold);

    text-decoration:none;

    font-weight:600;

    margin-left:5px;

    transition:.3s;

}

.login-link a:hover{

    color:var(--gold-light);

}


/* =========================
   FOOTER
========================= */

.register-footer{

    margin-top:22px;

    color:#666;

    font-size:12px;

    letter-spacing:.5px;

    position:relative;

    z-index:2;

}


/* =========================
   MOBILE
========================= */

@media(max-width:576px){

    body{

        align-items:center;

    }

    .register-wrapper{

        padding:20px 12px;

    }

    .register-card{

        padding:32px 22px;

        border-radius:25px;

    }

    .logo-box img{

        width:90px;

    }

    .register-card h1{

        font-size:29px;

    }

    .sub-title{

        font-size:13px;

        letter-spacing:1.5px;

    }

    .secure-box{

        font-size:11px;

        padding:8px 14px;

    }

    .description{

        font-size:12px;

        margin-bottom:22px;

    }

    .input-group-custom{

        height:56px;

        border-radius:15px;

    }

    .input-group-custom > i{

        flex:0 0 50px;

        width:50px;

        font-size:16px;

    }

    .input-group-custom input{

        font-size:14px;

        padding-left:7px;

        padding-right:12px;

    }

    .password-toggle{

        flex:0 0 46px;

        width:46px;

    }

    .register-btn{

        min-height:55px;

        font-size:16px;

    }

}

 /* =========================================
   HORSE CROWN GLOBAL
   PREMIUM REGISTRATION SUCCESS POPUP
========================================= */


/* =========================
   POPUP OVERLAY
========================= */

.popup-overlay{

    position:fixed;

    inset:0;

    width:100%;
    height:100%;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:20px;

    background:
        rgba(0,18,5,.78);

    backdrop-filter:blur(8px);

    -webkit-backdrop-filter:blur(8px);

    z-index:9999;

    animation:
        overlayFade .35s ease;

}


/* =========================
   POPUP
========================= */

.popup{

    width:430px;

    max-width:100%;

    position:relative;

    overflow:hidden;

    background:

        linear-gradient(
            145deg,
            rgba(7,24,13,.98),
            rgba(0,18,5,.98)
        );

    border:1px solid
        rgba(212,175,55,.45);

    border-radius:26px;

    box-shadow:

        0 30px 90px
        rgba(0,0,0,.65),

        0 0 45px
        rgba(212,175,55,.10);

    animation:
        popupFade .45s
        cubic-bezier(.17,.67,.35,1.25);

}


/* =========================
   DECORATIVE GLOW
========================= */

.popup::before{

    content:'';

    position:absolute;

    width:260px;
    height:260px;

    top:-150px;
    right:-100px;

    border-radius:50%;

    background:
        rgba(212,175,55,.10);

    filter:blur(80px);

    pointer-events:none;

}

.popup::after{

    content:'';

    position:absolute;

    width:220px;
    height:220px;

    bottom:-140px;
    left:-100px;

    border-radius:50%;

    background:
        rgba(212,175,55,.06);

    filter:blur(80px);

    pointer-events:none;

}


/* =========================
   POPUP HEADER
========================= */

.popup-header{

    position:relative;

    padding:25px 25px 22px;

    text-align:center;

    background:

        linear-gradient(
            180deg,
            rgba(212,175,55,.10),
            rgba(212,175,55,.025)
        );

    border-bottom:
        1px solid
        rgba(212,175,55,.15);

}


/* =========================
   TOP GOLD LINE
========================= */

.popup-header::before{

    content:'';

    position:absolute;

    top:0;
    left:50%;

    width:90px;
    height:2px;

    transform:
        translateX(-50%);

    background:

        linear-gradient(
            90deg,
            transparent,
            #D4AF37,
            #F5D77A,
            #D4AF37,
            transparent
        );

    box-shadow:

        0 0 12px
        rgba(212,175,55,.6);

}


/* =========================
   LOGO
========================= */

.company-logo{

    display:block;

    width:105px;

    height:auto;

    max-height:85px;

    object-fit:contain;

    margin:0 auto;

    filter:

        drop-shadow(
            0 5px 15px
            rgba(212,175,55,.20)
        );

}


/* =========================
   CLOSE BUTTON
========================= */

.close-btn{

    position:absolute;

    top:15px;
    right:15px;

    width:34px;
    height:34px;

    display:flex;

    align-items:center;
    justify-content:center;

    padding:0;

    border:1px solid
        rgba(212,175,55,.25);

    border-radius:50%;

    background:
        rgba(0,18,5,.75);

    color:#aaa;

    font-size:16px;

    cursor:pointer;

    transition:

        color .3s ease,
        background .3s ease,
        border-color .3s ease,
        transform .3s ease;

}

.close-btn:hover{

    color:#050505;

    background:
        linear-gradient(
            135deg,
            #D4AF37,
            #F5D77A
        );

    border-color:#D4AF37;

    transform:
        rotate(90deg);

}


/* =========================
   POPUP CONTENT
========================= */

.popup-content{

    padding:30px 30px 32px;

    text-align:center;

    position:relative;

    z-index:2;

}


/* =========================
   SUCCESS ICON
========================= */

.popup-content::before{

    content:'✓';

    width:62px;
    height:62px;

    display:flex;

    align-items:center;
    justify-content:center;

    margin:0 auto 18px;

    border-radius:50%;

    border:1px solid
        rgba(212,175,55,.35);

    background:
        rgba(212,175,55,.07);

    color:var(--gold-light, #F5D77A);

    font-size:30px;

    font-weight:700;

    box-shadow:

        0 0 25px
        rgba(212,175,55,.12);

}


/* =========================
   CONGRATULATIONS
========================= */

.congratulations{

    margin:0 0 12px;

    font-size:28px;

    font-weight:700;

    line-height:1.2;

    background:

        linear-gradient(
            135deg,
            #D4AF37,
            #F5D77A,
            #D4AF37
        );

    -webkit-background-clip:text;

    -webkit-text-fill-color:transparent;

    background-clip:text;

}


/* =========================
   MESSAGE
========================= */

.message{

    margin:0 auto;

    max-width:340px;

    color:#bdbdbd;

    font-size:14px;

    line-height:1.75;

}


/* =========================
   OPTIONAL USER DETAILS
========================= */

.popup-content .user-info{

    margin-top:20px;

    padding:13px 16px;

    border-radius:13px;

    border:1px solid
        rgba(212,175,55,.15);

    background:
        rgba(255,255,255,.025);

    color:#aaa;

    font-size:13px;

}


/* =========================
   LOGIN BUTTON
========================= */

.login-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:9px;

    min-width:190px;

    min-height:52px;

    margin-top:24px;

    padding:14px 25px;

    border:none;

    outline:none;

    border-radius:60px;

    background:

        linear-gradient(
            135deg,
            #D4AF37,
            #F5D77A
        );

    color:#050505;

    font-size:16px;

    font-weight:700;

    cursor:pointer;

    text-decoration:none;

    box-shadow:

        0 8px 25px
        rgba(212,175,55,.14);

    transition:

        transform .3s ease,
        box-shadow .3s ease;

}

.login-btn:hover{

    color:#050505;

    transform:
        translateY(-3px);

    box-shadow:

        0 12px 35px
        rgba(212,175,55,.30);

}

.login-btn:active{

    transform:
        translateY(0);

}


/* =========================
   FOOTER LINE
========================= */

.popup-footer{

    margin-top:22px;

    color:#626862;

    font-size:11px;

    letter-spacing:.7px;

}


/* =========================
   ANIMATIONS
========================= */

@keyframes overlayFade{

    from{

        opacity:0;

    }

    to{

        opacity:1;

    }

}


@keyframes popupFade{

    from{

        opacity:0;

        transform:
            scale(.82)
            translateY(20px);

    }

    to{

        opacity:1;

        transform:
            scale(1)
            translateY(0);

    }

}


/* =========================
   MOBILE
========================= */

@media(max-width:576px){

    .popup-overlay{

        padding:15px;

    }

    .popup{

        width:100%;

        border-radius:22px;

    }

    .popup-header{

        padding:22px 20px 20px;

    }

    .company-logo{

        width:90px;

        max-height:75px;

    }

    .close-btn{

        width:32px;
        height:32px;

        top:12px;
        right:12px;

        font-size:14px;

    }

    .popup-content{

        padding:25px 20px 28px;

    }

    .popup-content::before{

        width:55px;
        height:55px;

        font-size:26px;

        margin-bottom:16px;

    }

    .congratulations{

        font-size:24px;

    }

    .message{

        font-size:13px;

        line-height:1.7;

    }

    .login-btn{

        width:100%;

        min-height:52px;

    }

}


.phone-input-group{

    width:100%;

    height:58px;

    display:flex;

    align-items:center;

    margin-bottom:14px;

    background:
        rgba(255,255,255,.025);

    border:1px solid
        rgba(212,175,55,.18);

    border-radius:16px;

    transition:.3s;

}


/* Mobile icon */

.phone-input-group > i{

    flex:0 0 55px;

    width:55px;

    text-align:center;

    color:#D4AF37;

    font-size:17px;

}


/* Phone library container */

.phone-input-group .iti{

    flex:1;

    width:100%;

    height:100%;

}


/* Input */

.phone-input-group .iti input{

    width:100%;

    height:100%;

    border:none;

    outline:none;

    background:transparent !important;

    color:#f1f1f1 !important;

    font-size:15px;

    padding-right:15px;

}


/* Placeholder */

.phone-input-group .iti input::placeholder{

    color:#888f89;

}


/* Country selector */

.phone-input-group .iti__selected-country{

    background:transparent !important;

}


/* Country dropdown */

.phone-input-group .iti__dropdown{

    background:#07180D !important;

    border:1px solid
        rgba(212,175,55,.30);

    border-radius:12px;

    box-shadow:
        0 15px 40px rgba(0,0,0,.5);

    color:#ddd;

    z-index:99999;

}


/* Dropdown country */

.phone-input-group .iti__country{

    color:#ddd;

}

.phone-input-group .iti__country:hover{

    background:
        rgba(212,175,55,.10);

}


/* Dial code */

.phone-input-group .iti__dial-code{

    color:#aaa;

}


/* Focus */

.phone-input-group:focus-within{

    border-color:
        rgba(212,175,55,.65);

    background:
        rgba(255,255,255,.035);

    box-shadow:
        0 0 0 3px
        rgba(212,175,55,.055);

}


/* Mobile */

@media(max-width:576px){

    .phone-input-group{

        height:56px;

        border-radius:15px;

    }

    .phone-input-group > i{

        flex:0 0 50px;

        width:50px;

        font-size:16px;

    }

    .phone-input-group .iti input{

        font-size:14px;

    }

}

.position-select{

    width:100%;

    margin-top:5px;

    margin-bottom:20px;

    text-align:left;

}


.position-label{

    color:#bdbdbd;

    font-size:14px;

    margin-bottom:10px;

    display:flex;

    align-items:center;

    gap:8px;

}

.position-label i{

    color:#D4AF37;

}


/* Options */

.position-options{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:12px;

}


/* Hide radio */

.position-option{

    cursor:pointer;

    margin:0;

}

.position-option input{

    display:none;

}


/* Button */

.position-option span{

    min-height:55px;

    display:flex;

    align-items:center;

    justify-content:center;

    gap:9px;

    border:1px solid
        rgba(212,175,55,.18);

    background:
        rgba(255,255,255,.025);

    border-radius:15px;

    color:#999;

    font-size:15px;

    font-weight:600;

    transition:.3s;

}


/* Hover */

.position-option:hover span{

    border-color:
        rgba(212,175,55,.45);

    color:#D4AF37;

}


/* Selected */

.position-option input:checked + span{

    color:#050505;

    border-color:#D4AF37;

    background:

        linear-gradient(
            135deg,
            #D4AF37,
            #F5D77A
        );

    box-shadow:

        0 5px 20px
        rgba(212,175,55,.15);

}


/* Icon */

.position-option span i{

    font-size:14px;

}


/* Mobile */

@media(max-width:576px){

    .position-options{

        gap:8px;

    }

    .position-option span{

        min-height:52px;

        font-size:14px;

    }

}