    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    body {
        background: #0a0e1a;
        color: #e8eaf2;
        font-family: 'Inter', sans-serif;
        font-size: 15px;
        line-height: 1.6;
        margin: 0;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
    }

    h1,
    h2,
    h3 {
        font-weight: 500;
        color: #fff;
        letter-spacing: -0.3px;
    }

    a {
        color: #3b9eff;
        text-decoration: none;
    }

    a:hover {
        color: #6db8ff;
        text-decoration: none;
    }

    .bb-nav-toggle {
        display: none;
        background: none;
        border: none;
        color: var(--muted);
        font-size: 26px;
        cursor: pointer;
        padding: 0;
    }

    .bb-nav-mobile {
        display: none;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        padding: 16px 24px;
    }

    .bb-nav-mobile.open {
        display: block;
    }

    .bb-nav-mobile a {
        display: block;
        padding: 10px 0;
        color: var(--muted);
        font-size: 15px;
        border-bottom: 1px solid var(--border);
    }

    .bb-nav-mobile a:last-child {
        border-bottom: none;
    }

    /* ─── Buttons ─────────────────────────────────────── */
    .btn-bb-primary {
        display: inline-block;
        background: var(--blue);
        color: #fff !important;
        border: none;
        padding: 12px 28px;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 500;
        transition: background 0.15s;
        cursor: pointer;
        width: 100%;
        text-align: center;
    }

    .btn-bb-primary:hover {
        background: #2e8eef;
    }

    /* ─── Page body ───────────────────────────────────── */
    .bb-page-body {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 52px 24px;
    }

    /* ─── Register card ───────────────────────────────── */
    .bb-register-wrap {
        width: 100%;
        max-width: 920px;
        display: flex;
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: 16px;
        overflow: hidden;
        box-shadow:
            0 0 60px 6px var(--blue-glow),
            0 24px 48px rgba(0, 0, 0, 0.5);
    }

    /* ─── Left panel ──────────────────────────────────── */
    .bb-register-info {
        width: 320px;
        flex-shrink: 0;
        background: var(--surface2);
        border-right: 1px solid var(--border);
        padding: 48px 36px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .bb-register-info h2 {
        font-size: 22px;
        font-weight: 500;
        color: #fff;
        line-height: 1.35;
        margin-bottom: 10px;
        letter-spacing: -0.3px;
    }

    .bb-register-info>div>p {
        font-size: 14px;
        color: var(--muted);
        line-height: 1.7;
        margin-bottom: 0;
    }

    .bb-register-perks {
        margin-top: 28px;
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .bb-perk {
        display: flex;
        align-items: flex-start;
        gap: 12px;
    }

    .bb-perk-icon {
        width: 34px;
        height: 34px;
        background: var(--blue-dim);
        border: 1px solid var(--blue-bdr);
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .bb-perk-icon i {
        color: var(--blue);
        font-size: 16px;
    }

    /* First perk uses green to stand out as the value anchor */
    .bb-perk-icon.green {
        background: rgba(46, 204, 113, 0.1);
        border-color: rgba(46, 204, 113, 0.25);
    }

    .bb-perk-icon.green i {
        color: var(--green);
    }

    .bb-perk-title {
        font-size: 14px;
        font-weight: 500;
        color: #e8eaf2;
        margin-bottom: 2px;
    }

    .bb-perk-desc {
        font-size: 13px;
        color: var(--muted);
        line-height: 1.6;
    }

    .bb-register-info-footer {
        margin-top: 40px;
        padding-top: 24px;
        border-top: 1px solid var(--border);
    }

    .bb-register-info-footer p {
        font-size: 13px;
        color: var(--faint);
        margin: 0;
    }

    /* ─── Right panel ─────────────────────────────────── */
    .bb-register-form-wrap {
        flex: 1;
        padding: 48px 44px;
    }

    .bb-register-form-wrap h3 {
        font-size: 20px;
        font-weight: 500;
        color: #fff;
        margin-bottom: 6px;
        letter-spacing: -0.2px;
    }

    .bb-form-sub {
        font-size: 14px;
        color: var(--muted);
        margin-bottom: 28px;
    }

    /* ─── Form elements ───────────────────────────────── */
    .bb-form-row {
        display: flex;
        gap: 14px;
        margin-bottom: 18px;
    }

    .bb-form-group {
        display: flex;
        flex-direction: column;
        flex: 1;
        margin-bottom: 18px;
    }

    .bb-form-label {
        font-size: 13px;
        font-weight: 500;
        color: var(--muted);
        margin-bottom: 6px;
        letter-spacing: 0.2px;
    }

    .bb-form-label span {
        color: var(--blue);
        margin-left: 2px;
    }

    .bb-form-input {
        background: #0a0e1a;
        border: 1px solid var(--border);
        border-radius: 8px;
        padding: 10px 14px;
        font-size: 14px;
        color: #e8eaf2;
        font-family: 'Inter', sans-serif;
        transition: border-color 0.15s, box-shadow 0.15s;
        width: 100%;
        outline: none;
    }

    .bb-form-input::placeholder {
        color: var(--faint);
    }

    /* ─── Field validation states ─────────────────── */
    .bb-form-input.is-invalid {
        border-color: #e74c3c;
        box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.12);
    }

    .bb-form-input.is-valid {
        border-color: #2ecc71;
        box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.12);
    }

    .bb-field-error {
        font-size: 12px;
        color: #e74c3c;
        margin-top: 5px;
        display: none;
    }

    .bb-field-error.show {
        display: block;
    }

    /* ─── Password toggle button ───────────────────── */
    .bb-input-wrap {
        position: relative;
    }

    .bb-toggle-pw {
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #555e7a;
        font-size: 17px;
        cursor: pointer;
        padding: 0;
        transition: color 0.15s;
        line-height: 1;
    }

    .bb-toggle-pw:hover {
        color: #8891b0;
    }

    .bb-form-input:focus {
        border-color: var(--blue);
        box-shadow: 0 0 0 3px rgba(59, 158, 255, 0.12);
    }

    .bb-password-hint {
        font-size: 11px;
        color: var(--faint);
        margin-top: 5px;
    }

    /* ─── Early access ────────────────────────────────── */
    .bb-early-access {
        background: rgba(59, 158, 255, 0.06);
        border: 1px solid var(--blue-bdr);
        border-radius: 10px;
        padding: 16px 18px;
        margin-bottom: 18px;
    }

    .bb-early-access-badge {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        background: var(--blue-dim);
        border: 1px solid var(--blue-bdr);
        border-radius: 20px;
        font-size: 11px;
        font-weight: 500;
        color: var(--blue);
        padding: 3px 10px;
        letter-spacing: 0.3px;
        margin-bottom: 10px;
    }

    .bb-early-access-badge i {
        font-size: 12px;
    }

    .bb-early-access-desc {
        font-size: 12px;
        color: var(--muted);
        margin-bottom: 12px;
        line-height: 1.6;
    }

    /* ─── Turnstile placeholder ───────────────────────── */
    .bb-turnstile-wrap {
        margin-bottom: 18px;
    }

    .bb-turnstile-placeholder {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        background: var(--surface2);
        border: 1px solid var(--border);
        border-radius: 8px;
        padding: 12px 18px;
        font-size: 13px;
        color: var(--muted);
    }

    .bb-turnstile-placeholder i {
        color: var(--faint);
        font-size: 18px;
    }

    /* ─── Checkbox ────────────────────────────────────── */
    .bb-checkbox-group {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 22px;
    }

    .bb-checkbox-group input[type="checkbox"] {
        width: 16px;
        height: 16px;
        margin-top: 2px;
        accent-color: var(--blue);
        flex-shrink: 0;
        cursor: pointer;
    }

    .bb-checkbox-label {
        font-size: 12px;
        color: var(--muted);
        line-height: 1.6;
    }

    /* ─── Alerts ──────────────────────────────────────── */
    .bb-alert {
        display: none;
        align-items: flex-start;
        gap: 10px;
        border-radius: 8px;
        padding: 12px 16px;
        font-size: 13px;
        margin-bottom: 18px;
    }

    .bb-alert.show {
        display: flex;
    }

    .bb-alert i {
        font-size: 17px;
        flex-shrink: 0;
        margin-top: 1px;
    }

    .bb-alert-success {
        background: rgba(46, 204, 113, 0.08);
        border: 1px solid rgba(46, 204, 113, 0.2);
        color: var(--green);
    }

    .bb-alert-error {
        background: rgba(231, 76, 60, 0.08);
        border: 1px solid rgba(231, 76, 60, 0.2);
        color: var(--red);
    }

    .bb-alert-warning {
        background: rgba(243, 156, 18, 0.08);
        border: 1px solid rgba(243, 156, 18, 0.2);
        color: var(--amber);
    }

    .bb-login-link {
        text-align: center;
        margin-top: 20px;
        font-size: 13px;
        color: var(--muted);
    }

    /* ─── Footer ──────────────────────────────────────── */
    .bb-footer-bottom {
        background: var(--surface);
        border-top: 1px solid var(--border);
        padding: 20px 24px;
        text-align: center;
        flex-shrink: 0;
    }

    .bb-footer-bottom p {
        font-size: 14px;
        color: var(--muted);
        margin: 0;
        line-height: 1.7;
    }

    .bb-coingecko-dot {
        width: 14px;
        height: 14px;
        background: #1a8c5b;
        border-radius: 3px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 8px;
        font-weight: 700;
        color: #fff;
        vertical-align: middle;
        margin-right: 4px;
    }

    /* ─── Responsive ──────────────────────────────────── */
    @media (max-width: 767px) {
        .bb-navbar {
            padding: 0 20px;
        }

        .bb-nav-links {
            display: none;
        }

        .bb-nav-toggle {
            display: block;
        }

        .bb-page-body {
            padding: 28px 16px;
            align-items: flex-start;
        }

        .bb-register-wrap {
            flex-direction: column;
        }

        .bb-register-info {
            width: 100%;
            border-right: none;
            border-bottom: 1px solid var(--border);
            padding: 28px 24px;
        }

        .bb-register-form-wrap {
            padding: 28px 24px;
        }

        .bb-form-row {
            flex-direction: column;
            gap: 0;
        }
    }


/**************************/
/*  Circle Avatar Styles  */
.avatar-circle {
    line-height: 0;
    display: inline-block;
    margin: 5px;
    border: 2px solid rgba(200, 200, 200, 0.4);
    border-radius: 50%;
    transition: linear 0.25s;
}

.avatar-circle img {
    border-radius: 50%;
}

.avatar-circle:hover {
    transition: ease-out 0.2s;
    border: 2px solid rgba(0, 0, 0, 0.2);
    -webkit-transition: ease-out 0.2s;
}

a.avatar-circle {
    color: transparent;
}
