﻿
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    background: #050505;
    color: #fff;
    font-family: 'Poppins', Arial, sans-serif;
    overflow-x: hidden;
}

/* ===============================
           MAIN
        =============================== */

.main-wrapper {
    min-height: 100vh;
    background: radial-gradient( circle at 0% 20%, rgba(255,193,7,.08), transparent 28% ), radial-gradient( circle at 100% 80%, rgba(255,193,7,.07), transparent 28% ), #050505;
    padding-bottom: 110px;
}


/* ===============================
           HEADER
        =============================== */

.top-header {
    height: 66px;
    background: #000;
    border-bottom: 1px solid rgba(255,193,7,.20);
    display: flex;
    align-items: center;
}

.header-inner {
    width: 100%;
    max-width: 460px;
    margin: auto;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 25px;
    font-weight: 900;
    font-style: italic;
    letter-spacing: -1.5px;
    background: linear-gradient( 90deg, #777, #fff, #ffc400, #ffd900 );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-x {
    color: #ffd000;
}

.header-actions {
    display: flex;
    gap: 8px;
}

.header-btn {
    height: 40px;
    border: none;
    border-radius: 25px;
    background: linear-gradient( 135deg, #ffd900, #ffbd00 );
    color: #000;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 17px;
    text-decoration: none;
}

    .header-btn.icon-only {
        width: 40px;
        padding: 0;
    }


/* ===============================
           REGISTER AREA
        =============================== */

.register-area {
    width: 100%;
    max-width: 460px;
    margin: auto;
    padding: 32px 12px 30px;
}


/* ===============================
           REGISTER CARD
        =============================== */

.register-card {
    width: 100%;
    padding: 38px 24px 28px;
    border-radius: 29px;
    background: linear-gradient( 145deg, #181818, #121212 );
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: 0 20px 50px rgba(0,0,0,.45);
}


/* ===============================
           HEADING
        =============================== */

.register-heading {
    text-align: center;
    margin-bottom: 27px;
}

    .register-heading h1 {
        margin: 0;
        font-size: 28px;
        font-weight: 900;
        color: #fff;
    }

    .register-heading p {
        margin: 7px 0 0;
        color: #9799a3;
        font-size: 13px;
        font-weight: 500;
    }


/* ===============================
           INPUT
        =============================== */

.input-group-custom {
    margin-bottom: 15px;
}

.register-field-error {
    display: block;
    margin: 6px 4px 0;
    color: #ff8995;
    font-size: 11px;
}

.form-control-custom {
    width: 100%;
    height: 54px;
    border-radius: 16px;
    border: 1px solid #39404e;
    background: #1c1f27;
    color: #fff;
    padding: 0 17px;
    font-family: inherit;
    font-size: 13px;
    outline: none;
    transition: .2s;
}

    .form-control-custom::placeholder {
        color: #747987;
    }

    .form-control-custom:focus {
        border-color: #ffd000;
        box-shadow: 0 0 0 3px rgba(255,193,7,.08);
    }


/* ===============================
           PASSWORD
        =============================== */

.password-wrapper {
    position: relative;
}

    .password-wrapper .form-control-custom {
        padding-right: 50px;
    }

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: #9298a5;
    font-size: 17px;
    cursor: pointer;
}

    .password-toggle:hover {
        color: #ffd000;
    }


/* ===============================
           GENDER
        =============================== */

.gender-label {
    color: #a5a8b1;
    font-size: 12px;
    font-weight: 600;
    margin: 5px 0 9px;
}

.gender-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 18px;
}

.gender-option {
    position: relative;
}

    .gender-option input {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    .gender-option label {
        height: 45px;
        border-radius: 13px;
        border: 1px solid #39404e;
        background: #1c1f27;
        color: #8e929e;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 700;
        cursor: pointer;
        transition: .2s;
    }

    .gender-option input:checked + label {
        background: rgba(255,193,7,.10);
        color: #ffd000;
        border-color: #ffd000;
        box-shadow: 0 0 12px rgba(255,193,7,.08);
    }


/* ===============================
           TERMS
        =============================== */

.terms-row {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 3px 0 21px;
    color: #9295a0;
    font-size: 11px;
    line-height: 1.5;
}

    .terms-row input {
        width: 15px;
        height: 15px;
        margin-top: 1px;
        accent-color: #ffd000;
        flex-shrink: 0;
    }

    .terms-row a {
        color: #ffd000;
        text-decoration: none;
        font-weight: 700;
    }


/* ===============================
           REGISTER BUTTON
        =============================== */

.register-btn {
    width: 100%;
    height: 55px;
    border: none;
    border-radius: 16px;
    background: linear-gradient( 135deg, #ffd91a, #ff9e0b );
    color: #000;
    font-size: 16px;
    font-weight: 800;
    font-family: inherit;
    box-shadow: 0 9px 22px rgba(255,193,7,.20);
    transition: .2s;
}

    .register-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 28px rgba(255,193,7,.28);
    }

    .register-btn i {
        margin-right: 7px;
    }


/* ===============================
           LOGIN LINK
        =============================== */

.login-text {
    text-align: center;
    margin-top: 23px;
    color: #9699a2;
    font-size: 13px;
}

    .login-text a {
        color: #ffd000;
        text-decoration: none;
        font-weight: 800;
    }


/* ===============================
           BOTTOM NAV
        =============================== */

.bottom-nav {
    position: fixed;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: min(430px, 100%);
    height: 95px;
    background: #191919;
    border: 1px solid rgba(255,255,255,.08);
    border-bottom: none;
    border-radius: 25px 25px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 8px 18px;
    z-index: 1000;
    box-shadow: 0 -8px 30px rgba(0,0,0,.45);
}

.nav-item {
    width: 90px;
    color: #8e929b;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
}

.nav-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #292929;
    color: #9a9da4;
    font-size: 20px;
}

.nav-item.active {
    color: #ffd000;
}

    .nav-item.active .nav-icon {
        background: linear-gradient( 135deg, #ffe000, #ff9918 );
        color: #000;
    }


/* ===============================
           MOBILE
        =============================== */

@media(max-width:575px) {
    .logo;

{
    font-size: 23px;
}

.register-area {
    padding: 28px 12px 25px;
}

.register-card {
    padding: 34px 22px 27px;
}

.register-heading h1 {
    font-size: 26px;
}

}


/* ===============================
           SMALL MOBILE
        =============================== */

@media(max-width:390px) {
    .register-card;

{
    padding: 32px 17px 25px;
    border-radius: 25px;
}

.register-heading {
    margin-bottom: 23px;
}

    .register-heading h1 {
        font-size: 24px;
    }

    .register-heading p {
        font-size: 11px;
    }

.form-control-custom {
    height: 52px;
    font-size: 12px;
    border-radius: 14px;
}

.gender-option label {
    height: 43px;
    font-size: 11px;
}

.register-btn {
    height: 53px;
}

.nav-item {
    width: 75px;
}
}
