/* =========================================================
   GBG REGISTER
   Premium Neon Orange / Grid Design
   ========================================================= */

.gbg-register {
    --gbg-orange: #ff7a00;
    --gbg-orange-light: #ffad4d;
    --gbg-orange-soft: rgba(255, 122, 0, .16);

    --gbg-bg: #050607;
    --gbg-panel: rgba(11, 13, 15, .92);

    --gbg-text: #f5f5f5;
    --gbg-muted: #85898f;

    width: min(100%, 760px);
    margin: 0 auto;
    padding: 45px 20px 60px;

    color: var(--gbg-text);
    position: relative;
    isolation: isolate;
}

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

.gbg-register::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -2;
    pointer-events: none;

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

    background-size: 42px 42px;

    mask-image:
        linear-gradient(
            to bottom,
            transparent 0%,
            black 10%,
            black 90%,
            transparent 100%
        );
}

/* =========================================================
   TOP ORANGE GLOW
   ========================================================= */

.gbg-register::after {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    top: -180px;
    left: 50%;

    transform: translateX(-50%);

    z-index: -1;
    pointer-events: none;

    background:
        radial-gradient(
            circle,
            rgba(255, 122, 0, .14) 0%,
            rgba(255, 122, 0, .05) 35%,
            transparent 70%
        );

    filter: blur(25px);
}

/* =========================================================
   HEADER
   ========================================================= */

.gbg-header {
    text-align: center;
    margin-bottom: 35px;
}

.gbg-kicker {
    display: inline-flex;

    align-items: center;
    gap: 8px;

    padding: 7px 13px;
    margin-bottom: 14px;

    border: 1px solid rgba(255, 122, 0, .28);
    border-radius: 999px;

    background: rgba(255, 122, 0, .06);

    color: #ff9b38;

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

    letter-spacing: 2px;
    text-transform: uppercase;

    box-shadow:
        0 0 20px rgba(255, 122, 0, .08),
        inset 0 0 15px rgba(255, 122, 0, .04);
}

.gbg-kicker::before {
    content: "";

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: #ff7a00;

    box-shadow:
        0 0 10px #ff7a00;
}

.gbg-title {
    margin: 0;

    color: #fff;

    font-size: clamp(28px, 5vw, 42px);
    line-height: 1.05;

    font-weight: 900;

    letter-spacing: -1.5px;

    text-shadow:
        0 0 18px rgba(255, 122, 0, .18);
}

.gbg-title span {
    color: var(--gbg-orange);

    text-shadow:
        0 0 8px rgba(255, 122, 0, .45),
        0 0 28px rgba(255, 122, 0, .22);
}

.gbg-subtitle {
    margin: 12px auto 0;

    max-width: 560px;

    color: #858a91;

    font-size: 14px;
    line-height: 1.7;
}

/* =========================================================
   WARNING
   ========================================================= */

.gbg-warning {
    position: relative;
    overflow: hidden;

    margin-bottom: 28px;
    padding: 20px 22px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 122, 0, .10),
            rgba(255, 122, 0, .025)
        );

    border: 1px solid rgba(255, 122, 0, .28);
    border-radius: 16px;

    box-shadow:
        0 15px 50px rgba(0, 0, 0, .35),
        0 0 30px rgba(255, 122, 0, .07),
        inset 0 0 30px rgba(255, 122, 0, .025);
}

.gbg-warning::before {
    content: "";

    position: absolute;

    left: 0;
    top: 0;
    bottom: 0;

    width: 3px;

    background: var(--gbg-orange);

    box-shadow:
        0 0 12px var(--gbg-orange),
        0 0 30px rgba(255, 122, 0, .45);
}

.gbg-warning-title {
    display: flex;

    align-items: center;
    gap: 10px;

    margin-bottom: 8px;

    color: #ff9b38;

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

    letter-spacing: .4px;
}

.gbg-warning-icon {
    width: 30px;
    height: 30px;

    display: grid;
    place-items: center;

    border-radius: 9px;

    background: rgba(255, 122, 0, .10);

    border: 1px solid rgba(255, 122, 0, .25);

    box-shadow:
        0 0 15px rgba(255, 122, 0, .10);
}

.gbg-warning p {
    margin: 0;
    padding-left: 40px;

    color: #b9bdc2;

    font-size: 13px;
    line-height: 1.65;
}

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

.gbg-form-panel {
    padding: 28px;

    background:
        linear-gradient(
            145deg,
            rgba(20, 22, 25, .97),
            rgba(8, 9, 11, .98)
        );

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

    border-radius: 20px;

    box-shadow:
        0 25px 80px rgba(0, 0, 0, .55),
        0 0 50px rgba(255, 122, 0, .035);

    position: relative;
}

.gbg-form-panel::before {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: inherit;

    pointer-events: none;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .035);
}

/* =========================================================
   FORM
   ========================================================= */

.gbg-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.gbg-field {
    margin-bottom: 19px;
}

.gbg-label {
    display: flex;

    align-items: center;
    gap: 7px;

    margin-bottom: 8px;

    color: #d9dce0;

    font-size: 12px;
    font-weight: 750;

    letter-spacing: .4px;
}

.gbg-label::before {
    content: "";

    width: 3px;
    height: 12px;

    border-radius: 4px;

    background: var(--gbg-orange);

    box-shadow:
        0 0 8px rgba(255, 122, 0, .6);
}

.gbg-input {
    width: 100%;
    box-sizing: border-box;

    padding: 13px 15px;

    color: #fff;

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

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

    border-radius: 10px;

    outline: none;

    font-size: 14px;

    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease,
        transform .2s ease;
}

.gbg-input::placeholder {
    color: #555a60;
}

.gbg-input:hover {
    border-color: rgba(255, 122, 0, .25);
}

.gbg-input:focus {
    background: rgba(255, 122, 0, .035);

    border-color: rgba(255, 122, 0, .7);

    box-shadow:
        0 0 0 3px rgba(255, 122, 0, .07),
        0 0 22px rgba(255, 122, 0, .10);

    transform: translateY(-1px);
}

/* =========================================================
   SECTION HEADING
   ========================================================= */

.gbg-section-heading {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin: 30px 0 16px;
}

.gbg-section-title {
    color: #fff;

    font-size: 14px;
    font-weight: 800;
}

.gbg-section-title span {
    color: var(--gbg-orange);
}

.gbg-section-hint {
    color: #666b71;

    font-size: 11px;
}

/* =========================================================
   AVATARS
   ========================================================= */

.gbg-avatar-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 16px;
}

.gbg-avatar-card {
    display: block;

    position: relative;
    overflow: hidden;

    padding: 8px;

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .045),
            rgba(255, 255, 255, .012)
        );

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

    border-radius: 15px;

    cursor: pointer;

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.gbg-avatar-card input[type="radio"] {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}

.gbg-avatar-card:hover {
    transform: translateY(-4px);

    border-color: rgba(255, 122, 0, .45);

    box-shadow:
        0 15px 35px rgba(0, 0, 0, .45),
        0 0 25px rgba(255, 122, 0, .10);
}

.gbg-avatar-card:has(
    input[type="radio"]:checked
) {
    border-color: var(--gbg-orange);

    background:
        linear-gradient(
            145deg,
            rgba(255, 122, 0, .12),
            rgba(255, 122, 0, .025)
        );

    box-shadow:
        0 15px 40px rgba(0, 0, 0, .5),
        0 0 25px rgba(255, 122, 0, .18),
        inset 0 0 25px rgba(255, 122, 0, .04);
}

.gbg-avatar-card:has(
    input[type="radio"]:checked
)::after {
    content: "✓";

    position: absolute;

    top: 14px;
    right: 14px;

    width: 28px;
    height: 28px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    color: #08090a;

    background: var(--gbg-orange);

    font-size: 14px;
    font-weight: 900;

    box-shadow:
        0 0 10px rgba(255, 122, 0, .7),
        0 0 25px rgba(255, 122, 0, .35);

    z-index: 5;
}

/* =========================================================
   AVATAR IMAGE
   ========================================================= */

.gbg-avatar-image {
    position: relative;

    height: 235px;

    overflow: hidden;

    border-radius: 11px;

    background:
        radial-gradient(
            circle at center,
            rgba(255, 122, 0, .035),
            #08090a 75%
        );

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

    box-shadow:
        0 10px 25px rgba(0, 0, 0, .45),
        inset 0 0 25px rgba(255, 122, 0, .025);
}

.gbg-avatar-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    /* Default */
    object-position: center 15%;

    filter:
        saturate(.95)
        contrast(1.05);

    transition:
        transform .45s cubic-bezier(.2, .7, .2, 1),
        filter .3s ease;
}

.gbg-avatar-card:hover .gbg-avatar-image img {
    transform: scale(1.025);

    filter:
        saturate(1.05)
        contrast(1.07);
}

.gbg-avatar-image::after {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, .72) 0%,
            rgba(0, 0, 0, .10) 42%,
            transparent 70%
        );

    pointer-events: none;
}

.gbg-avatar-info {
    padding: 12px 8px 9px;
}

.gbg-avatar-name {
    display: block;

    color: #fff;

    font-size: 14px;
    font-weight: 800;
}

.gbg-avatar-role {
    display: block;

    margin-top: 3px;

    color: #6f747a;

    font-size: 10px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 1px;
}

.gbg-avatar-status {
    display: inline-flex;

    align-items: center;
    gap: 5px;

    margin-top: 8px;

    color: #8c9298;

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

    text-transform: uppercase;
    letter-spacing: .8px;
}

.gbg-avatar-status::before {
    content: "";

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: #ff7a00;

    box-shadow:
        0 0 8px rgba(255, 122, 0, .8);
}

/* =========================================================
   CAPTCHA
   ========================================================= */

.gbg-captcha {
    margin-top: 27px;
    margin-bottom: 22px;

    padding: 17px;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, .035),
            rgba(255, 255, 255, .015)
        );

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

    border-radius: 13px;
}

.gbg-captcha-label {
    display: block;

    margin-bottom: 11px;

    color: #c8cbd0;

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

    text-transform: uppercase;
    letter-spacing: 1px;
}

.gbg-captcha-row {
    display: flex;

    align-items: center;

    gap: 12px;
}

.gbg-captcha-equation {
    flex: 1;

    padding: 11px 14px;

    border: 1px solid rgba(255, 122, 0, .16);

    border-radius: 9px;

    background: rgba(255, 122, 0, .035);

    color: #ff9b38;

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

    letter-spacing: 2px;

    text-align: center;
}

.gbg-captcha-input {
    width: 90px;

    padding: 11px 8px;

    box-sizing: border-box;

    color: #fff;

    background: #08090a;

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

    border-radius: 9px;

    outline: none;

    text-align: center;

    font-size: 15px;
    font-weight: 700;
}

.gbg-captcha-input:focus {
    border-color: var(--gbg-orange);

    box-shadow:
        0 0 0 3px rgba(255, 122, 0, .07),
        0 0 15px rgba(255, 122, 0, .12);
}

/* =========================================================
   SUBMIT BUTTON
   ========================================================= */

.gbg-submit {
    width: 100%;

    position: relative;
    overflow: hidden;

    padding: 15px 20px;

    border: 1px solid rgba(255, 145, 45, .75);

    border-radius: 11px;

    background:
        linear-gradient(
            135deg,
            #ff8a18,
            #ff6500
        );

    color: #0a0a0a;

    font-size: 14px;
    font-weight: 900;

    letter-spacing: .6px;

    cursor: pointer;

    box-shadow:
        0 8px 25px rgba(255, 122, 0, .20),
        0 0 30px rgba(255, 122, 0, .12);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        filter .2s ease;
}

.gbg-submit::before {
    content: "";

    position: absolute;

    top: 0;
    left: -100%;

    width: 60%;
    height: 100%;

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

    transform: skewX(-20deg);

    transition: left .5s ease;
}

.gbg-submit:hover {
    transform: translateY(-2px);

    filter: brightness(1.08);

    box-shadow:
        0 12px 35px rgba(255, 122, 0, .28),
        0 0 40px rgba(255, 122, 0, .18);
}

.gbg-submit:hover::before {
    left: 140%;
}

.gbg-submit:active {
    transform: translateY(0);
}

/* =========================================================
   MESSAGES
   ========================================================= */

.gbg-message {
    padding: 12px 15px;
    margin-bottom: 18px;

    border-radius: 10px;

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

    text-align: center;
}

.gbg-error {
    color: #ff557d;

    background: rgba(255, 0, 70, .055);

    border: 1px solid rgba(255, 0, 70, .20);

    text-shadow:
        0 0 10px rgba(255, 0, 70, .25);
}

.gbg-success {
    color: #53ffd1;

    background: rgba(0, 255, 204, .045);

    border: 1px solid rgba(0, 255, 204, .18);

    text-shadow:
        0 0 10px rgba(0, 255, 204, .20);
}

/* =========================================================
   LOGIN LINK
   ========================================================= */

.gbg-login {
    margin-top: 22px;

    text-align: center;

    color: #686d73;

    font-size: 12px;
}

.gbg-login a {
    color: #ff9635;

    text-decoration: none;

    font-weight: 800;

    margin-left: 5px;

    transition:
        color .2s ease,
        text-shadow .2s ease;
}

.gbg-login a:hover {
    color: #ffb15c;

    text-shadow:
        0 0 10px rgba(255, 122, 0, .45);
}

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

@media (max-width: 600px) {

    .gbg-register {
        padding: 30px 12px 45px;
    }

    .gbg-form-panel {
        padding: 19px;
        border-radius: 16px;
    }

    .gbg-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .gbg-avatar-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .gbg-avatar-image {
        height: 190px;
    }

    .gbg-avatar-name {
        font-size: 12px;
    }

    .gbg-avatar-role {
        font-size: 8px;
    }

    .gbg-avatar-info {
        padding: 9px 5px 7px;
    }

    .gbg-warning {
        padding: 17px;
    }

    .gbg-warning p {
        padding-left: 0;
        margin-top: 9px;
    }
}

@media (max-width: 390px) {

    .gbg-avatar-grid {
        grid-template-columns: 1fr;
    }

    .gbg-avatar-image {
        height: 260px;
    }
}