@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bc-black: #070605;
    --bc-black-2: #12100d;
    --bc-black-3: #1a1712;
    --bc-gold: #D4AF37;
    --bc-gold-soft: #E8CD6F;
    --bc-gold-light: #F4E4A6;
    --bc-gold-dark: #8B6914;
    --bc-text: #EDEBE6;
    --bc-muted: #9c9690;
    --bc-border-gold: rgba(212,175,55,.22);
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
    background-color: var(--bc-black);
    background-image:
        radial-gradient(circle at 15% 0%, rgba(212,175,55,.05), transparent 40%),
        radial-gradient(circle at 100% 30%, rgba(212,175,55,.04), transparent 45%);
    color: var(--bc-text);
    font-family: var(--font-body);
    letter-spacing: .01em;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); letter-spacing: .01em; }

a { color: var(--bc-gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--bc-gold-light); }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bc-black); }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--bc-gold-dark), var(--bc-gold)); border-radius: 6px; }
::selection { background: rgba(212,175,55,.35); color: #fff; }

.text-gold { color: var(--bc-gold) !important; }
.text-body-secondary, .text-muted { color: var(--bc-muted) !important; }
.bg-black { background-color: var(--bc-black) !important; }
.bg-black-2 { background-color: var(--bc-black-2) !important; }

.gold-gradient-text {
    background: linear-gradient(100deg, var(--bc-gold-dark) 0%, var(--bc-gold-light) 40%, var(--bc-gold) 60%, var(--bc-gold-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.bc-brand { font-family: var(--font-display); font-weight: 700; letter-spacing: 3px; color: #fff; font-size: 1.4rem; }
.bc-brand span { color: var(--bc-gold); }

.bc-brand-logo { display: inline-flex; align-items: center; }
.bc-brand-logo img { height: 46px; width: auto; display: block; }
.bc-sidebar .bc-brand-logo img { height: 52px; }
.bc-auth-logo { height: 88px; width: auto; display: block; margin: 0 auto 12px; }

.bc-navbar {
    background: linear-gradient(180deg, #000 0%, #0b0a08 100%);
    border-bottom: 1px solid var(--bc-border-gold);
    box-shadow: 0 2px 24px rgba(0,0,0,.5);
}
.bc-navbar .nav-link { color: #cfcac2; font-weight: 500; font-size: .92rem; letter-spacing: .02em; }
.bc-navbar .nav-link:hover { color: var(--bc-gold); }

.bc-nav-toggle {
    width: 42px; height: 42px;
    border-radius: 10px;
    border: 1px solid var(--bc-gold);
    background: rgba(212,175,55,.06);
    color: var(--bc-gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem;
    transition: background .2s ease, transform .2s ease;
}
.bc-nav-toggle:hover { background: rgba(212,175,55,.16); }
.bc-nav-toggle i { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.bc-nav-toggle.is-open i { transform: rotate(180deg); }

@media (max-width: 991.98px) {
    #mainNav {
        position: fixed;
        top: 0;
        left: -300px;
        width: 280px;
        max-width: 82vw;
        height: 100vh;
        background: linear-gradient(180deg, #000 0%, #0a0908 100%);
        border-right: 1px solid var(--bc-border-gold);
        box-shadow: 8px 0 30px rgba(0,0,0,.6);
        z-index: 1060;
        padding: 0 22px 28px;
        overflow-y: auto;
        transition: left .32s cubic-bezier(.2,.8,.2,1);
    }
    #mainNav.open { left: 0; }
    #mainNav .navbar-nav {
        flex-direction: column;
        align-items: stretch !important;
        gap: 6px !important;
        margin: 0 !important;
    }
    #mainNav .nav-item { width: 100%; }
    #mainNav .nav-link, #mainNav .btn { width: 100%; text-align: left; }
    #mainNav .btn { text-align: center; margin: 6px 0 0 !important; }
    #mainNav.open .nav-item {
        animation: bcNavLinkIn .4s cubic-bezier(.2,.8,.2,1) both;
    }
    #mainNav.open .nav-item:nth-child(1) { animation-delay: .05s; }
    #mainNav.open .nav-item:nth-child(2) { animation-delay: .09s; }
    #mainNav.open .nav-item:nth-child(3) { animation-delay: .13s; }
    #mainNav.open .nav-item:nth-child(4) { animation-delay: .17s; }
    #mainNav.open .nav-item:nth-child(5) { animation-delay: .21s; }
}
@media (min-width: 992px) {
    .bc-nav-drawer-head { display: none !important; }
}
.bc-nav-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--bc-border-gold);
}
.bc-nav-drawer-head img { height: 40px; width: auto; }
.bc-nav-drawer-close {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--bc-border-gold);
    background: transparent;
    color: var(--bc-gold);
    display: flex; align-items: center; justify-content: center;
    transition: background .2s ease, transform .2s ease;
}
.bc-nav-drawer-close:hover { background: rgba(212,175,55,.15); transform: rotate(90deg); }

@media (prefers-reduced-motion: reduce) {
    #mainNav, #mainNav.open .nav-item, .bc-nav-toggle i, .bc-nav-drawer-close { animation: none !important; transition: none !important; }
}

/* ---------- Buttons ---------- */
.btn { font-family: var(--font-body); border-radius: 8px; letter-spacing: .02em; }

.btn-gold {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bc-gold-light), var(--bc-gold) 55%, var(--bc-gold-dark));
    border: 1px solid var(--bc-gold-soft);
    color: #1a1200;
    font-weight: 700;
    box-shadow: 0 4px 18px rgba(212,175,55,.25), inset 0 1px 0 rgba(255,255,255,.35);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.btn-gold:hover { color: #000; filter: brightness(1.07); transform: translateY(-1px); box-shadow: 0 8px 26px rgba(212,175,55,.35), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-gold:active { transform: translateY(0); }
.btn-gold::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.55) 48%, transparent 66%);
    transform: translateX(-120%);
    transition: transform .6s ease;
}
.btn-gold:hover::after { transform: translateX(120%); }

.btn-outline-gold {
    border: 1px solid var(--bc-gold);
    color: var(--bc-gold);
    background: transparent;
    font-weight: 600;
    transition: all .18s ease;
}
.btn-outline-gold:hover { background: var(--bc-gold); color: #000; box-shadow: 0 4px 16px rgba(212,175,55,.3); }

/* ---------- Hero ---------- */
.bc-hero {
    position: relative;
    background:
        radial-gradient(ellipse 70% 50% at 50% -10%, rgba(212,175,55,.18), transparent 60%),
        linear-gradient(180deg, #0a0908 0%, var(--bc-black) 100%);
    padding: 130px 0 90px;
    text-align: center;
    border-bottom: 1px solid var(--bc-border-gold);
    overflow: hidden;
}
.bc-hero::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--bc-gold), transparent);
    z-index: 2;
}
.bc-hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}
.bc-hero-canvas canvas { display: block; width: 100%; height: 100%; }
.bc-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(ellipse 65% 55% at 50% 38%, rgba(7,6,5,.25), rgba(7,6,5,.72) 75%);
    pointer-events: none;
}
.bc-hero .container { position: relative; z-index: 2; }
.bc-hero .eyebrow {
    display: inline-block;
    color: var(--bc-gold-soft);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--bc-border-gold);
}
.bc-hero h1 {
    font-size: clamp(2.4rem, 6vw, 4.2rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: 4px;
    margin-bottom: 0;
}
.bc-hero h1 span { color: var(--bc-gold); }
.bc-hero .tagline { font-family: var(--font-display); color: var(--bc-gold-soft); font-size: 1.3rem; font-style: italic; margin-top: 18px; }
.bc-hero .subtext { color: var(--bc-muted); max-width: 620px; margin: 14px auto 0; font-size: 1.02rem; }
.bc-hero .gold-rule { width: 90px; height: 2px; margin: 26px auto 0; background: linear-gradient(90deg, transparent, var(--bc-gold), transparent); }

.bc-hero .eyebrow, .bc-hero h1, .bc-hero .tagline, .bc-hero .subtext, .bc-hero .gold-rule, .bc-hero .mt-4 {
    opacity: 0;
    transform: translateY(22px);
    animation: bcHeroIn .8s cubic-bezier(.2,.7,.2,1) forwards;
}
.bc-hero .eyebrow { animation-delay: .05s; }
.bc-hero h1 { animation-delay: .16s; }
.bc-hero .tagline { animation-delay: .28s; }
.bc-hero .subtext { animation-delay: .38s; }
.bc-hero .gold-rule { animation-delay: .46s; }
.bc-hero .mt-4 { animation-delay: .56s; }
@keyframes bcHeroIn { to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) {
    .bc-hero .eyebrow, .bc-hero h1, .bc-hero .tagline, .bc-hero .subtext, .bc-hero .gold-rule, .bc-hero .mt-4 {
        animation: none; opacity: 1; transform: none;
    }
}

/* ---------- Scroll reveal ---------- */
.bc-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.bc-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Sections ---------- */
.bc-section { padding: 80px 0; border-bottom: 1px solid rgba(255,255,255,.05); position: relative; }
.bc-section .kicker {
    display: block;
    color: var(--bc-gold);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.bc-section h2 { color: #fff; font-weight: 700; margin-bottom: 10px; font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.bc-section h2 span { color: var(--bc-gold); }
.bc-section-head { text-align: center; margin-bottom: 50px; }

/* ---------- Cards ---------- */
.bc-card {
    background: linear-gradient(165deg, var(--bc-black-2) 0%, var(--bc-black-3) 100%);
    border: 1px solid var(--bc-border-gold);
    border-radius: 14px;
    padding: 30px;
    height: 100%;
    position: relative;
    box-shadow: 0 6px 24px rgba(0,0,0,.35);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.bc-card::before {
    content: '';
    position: absolute; top: 0; left: 16px; right: 16px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,.5), transparent);
    opacity: 0;
    transition: opacity .25s ease;
}
.bc-card:hover { transform: translateY(-5px); border-color: rgba(212,175,55,.55); box-shadow: 0 14px 34px rgba(0,0,0,.5), 0 0 0 1px rgba(212,175,55,.1); }
.bc-card:hover::before { opacity: 1; }
.bc-card > i, .bc-card > .bc-card-icon i {
    font-size: 1.7rem;
    color: var(--bc-gold);
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: rgba(212,175,55,.08);
    border: 1px solid var(--bc-border-gold);
}
.bc-card h5 { color: #fff; font-family: var(--font-display); font-weight: 700; margin: 16px 0 8px; font-size: 1.15rem; }
.bc-card p { color: var(--bc-muted); font-size: .93rem; margin-bottom: 0; line-height: 1.6; }
.bc-card h5 i { color: var(--bc-gold); margin-right: 6px; }

/* ---------- Ecosystem product cards ---------- */
.bc-product-card {
    background: linear-gradient(165deg, var(--bc-black-2) 0%, var(--bc-black-3) 100%);
    border: 1px solid var(--bc-border-gold);
    border-radius: 16px;
    padding: 32px 26px;
    height: 100%;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0,0,0,.35);
    transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s ease, box-shadow .3s ease;
}
.bc-product-card::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(212,175,55,.1), transparent 60%);
    opacity: 0;
    transition: opacity .3s ease;
}
.bc-product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212,175,55,.55);
    box-shadow: 0 18px 40px rgba(0,0,0,.5), 0 0 0 1px rgba(212,175,55,.12);
}
.bc-product-card:hover::before { opacity: 1; }
.bc-product-status {
    position: absolute;
    top: 16px; right: 16px;
    font-size: .66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 4px 10px;
    border-radius: 20px;
    color: var(--bc-muted);
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.04);
}
.bc-product-status.live {
    color: #0f2417;
    background: linear-gradient(135deg, var(--bc-gold-light), var(--bc-gold));
    border-color: var(--bc-gold-soft);
}
.bc-product-badge {
    width: 78px; height: 78px;
    margin: 6px auto 18px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    color: var(--bc-gold);
    background: radial-gradient(circle at 35% 30%, rgba(212,175,55,.22), transparent 70%), var(--bc-black);
    border: 1px solid var(--bc-gold);
    box-shadow: 0 0 0 5px rgba(212,175,55,.07), 0 8px 20px rgba(0,0,0,.4);
    position: relative;
    z-index: 1;
    animation: bcBadgeFloat 4.5s ease-in-out infinite;
}
.bc-product-card:hover .bc-product-badge {
    animation-play-state: paused;
    transform: scale(1.1) rotate(-6deg);
    color: var(--bc-gold-light);
    box-shadow: 0 0 0 7px rgba(212,175,55,.14), 0 10px 26px rgba(0,0,0,.5);
}
.bc-product-badge, .bc-product-card:hover .bc-product-badge { transition: transform .35s cubic-bezier(.2,.8,.2,1), color .3s ease, box-shadow .3s ease; }
@keyframes bcBadgeFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.bc-product-card h5 { color: #fff; font-family: var(--font-display); font-weight: 700; margin: 0 0 10px; font-size: 1.1rem; position: relative; z-index: 1; }
.bc-product-card p { color: var(--bc-muted); font-size: .9rem; line-height: 1.6; margin-bottom: 0; position: relative; z-index: 1; }
.bc-product-card-cta {
    background: linear-gradient(165deg, rgba(212,175,55,.1), var(--bc-black-3) 70%);
    border-color: rgba(212,175,55,.4);
}
@media (prefers-reduced-motion: reduce) {
    .bc-product-badge { animation: none; }
}

/* Static settings/form panels: keep the card styling, drop the tile hover-lift */
.bc-card-flat { margin-top: 0; }
.bc-card-flat:hover { transform: none; }
.bc-card-flat h5:first-child, .bc-card-flat h5:first-of-type { margin-top: 0; }

/* ---------- Profile hero ---------- */
.bc-profile-hero {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    background: linear-gradient(165deg, var(--bc-black-2) 0%, var(--bc-black-3) 100%);
    border: 1px solid var(--bc-border-gold);
    border-radius: 14px;
    padding: 24px 28px;
    box-shadow: 0 6px 24px rgba(0,0,0,.35);
}
.bc-profile-hero-avatar {
    width: 68px; height: 68px;
    flex-shrink: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bc-gold-light), var(--bc-gold-dark));
    color: #1a1200;
    font-weight: 700;
    font-size: 1.7rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 0 4px rgba(212,175,55,.1);
}
.bc-profile-hero-info { flex: 1; min-width: 200px; }
.bc-profile-hero-info .name { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; }
.bc-profile-hero-info .meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 6px; color: var(--bc-muted); font-size: .85rem; }
.bc-profile-hero-info .meta i { color: var(--bc-gold); margin-right: 4px; }
.bc-profile-hero-kyc { flex-shrink: 0; }

.bc-footer { background: #000; border-top: 1px solid var(--bc-border-gold); }
.bc-footer h6 { font-family: var(--font-display); }

/* ---------- Big footer ---------- */
.bc-footer-big {
    position: relative;
    background:
        radial-gradient(ellipse 60% 40% at 50% 0%, rgba(212,175,55,.06), transparent 60%),
        #000;
    border-top: 1px solid var(--bc-border-gold);
}
.bc-footer-tags { display: flex; gap: 10px; flex-wrap: wrap; }
.bc-footer-tags span {
    font-size: .7rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--bc-gold);
    border: 1px solid var(--bc-border-gold);
    border-radius: 20px;
    padding: 5px 12px;
    background: rgba(212,175,55,.06);
}
.bc-footer-heading {
    font-family: var(--font-display);
    color: #fff;
    font-weight: 700;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 10px;
}
.bc-footer-heading::after {
    content: '';
    position: absolute; left: 0; bottom: 0; width: 28px; height: 2px;
    background: var(--bc-gold);
}
.bc-footer-link {
    display: block;
    color: var(--bc-muted);
    font-size: .88rem;
    margin-bottom: 11px;
    transition: color .18s ease, transform .18s ease;
    width: fit-content;
}
a.bc-footer-link:hover { color: var(--bc-gold); transform: translateX(4px); }
.bc-footer-rule { border: none; height: 1px; background: linear-gradient(90deg, transparent, var(--bc-border-gold), transparent); margin: 8px 0 24px; }

.bc-back-to-top {
    position: fixed;
    right: 22px;
    bottom: 22px;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--bc-gold);
    color: #000;
    border: none;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 6px 20px rgba(0,0,0,.5), 0 0 0 1px rgba(212,175,55,.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
    z-index: 900;
}
.bc-back-to-top:hover { filter: brightness(1.1); transform: translateY(-3px); }
.bc-back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Auth pages ---------- */
.bc-auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 50% 15%, rgba(212,175,55,.14), transparent 55%),
        linear-gradient(180deg, #0a0908 0%, var(--bc-black) 100%);
    padding: 24px 16px;
}
.bc-auth-card {
    background: linear-gradient(165deg, var(--bc-black-2) 0%, var(--bc-black-3) 100%);
    border: 1px solid var(--bc-border-gold);
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 20px 60px rgba(0,0,0,.55), 0 0 0 1px rgba(212,175,55,.06);
    position: relative;
}
.bc-auth-card::before {
    content: '';
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 60%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--bc-gold), transparent);
}
.bc-auth-card.wide { max-width: 680px; }
.bc-emblem {
    width: 58px; height: 58px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: radial-gradient(circle at 35% 30%, rgba(212,175,55,.25), transparent 70%), var(--bc-black);
    border: 1px solid var(--bc-gold);
    box-shadow: 0 0 0 4px rgba(212,175,55,.08), 0 6px 20px rgba(0,0,0,.4);
}
.bc-emblem i { color: var(--bc-gold); font-size: 1.5rem; }
.bc-auth-subtitle { color: var(--bc-muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .15em; margin-top: 4px; }

/* ---------- Forms ---------- */
.form-control, .form-select {
    background: #0d0c0a;
    border: 1px solid #332e24;
    color: #fff;
    border-radius: 8px;
    padding: .58rem .85rem;
    font-size: .93rem;
}
.form-control:focus, .form-select:focus {
    background: #0d0c0a;
    color: #fff;
    border-color: var(--bc-gold);
    box-shadow: 0 0 0 .2rem rgba(212,175,55,.16);
}
.form-control::placeholder { color: #6e6a63; }
.form-label { color: #c9c4bc; font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .4rem; }
.form-check-label { color: #ccc; font-size: .9rem; }
.form-text { color: var(--bc-muted); }

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23D4AF37' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}
.form-select option { background: #0d0c0a; color: #fff; }

input[type="checkbox"], input[type="radio"] { accent-color: var(--bc-gold); }
.form-check-input { background-color: #0d0c0a; border-color: #555; }
.form-check-input:checked { background-color: var(--bc-gold); border-color: var(--bc-gold); }
.form-check-input:focus { border-color: var(--bc-gold); box-shadow: 0 0 0 .2rem rgba(212,175,55,.2); }

.bc-captcha-box {
    background: #0d0c0a;
    border: 1px dashed var(--bc-gold);
    border-radius: 8px;
    padding: 10px 16px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--bc-gold);
    letter-spacing: 2px;
    text-align: center;
    user-select: none;
}

.bc-value-box {
    background: #0d0c0a;
    border: 1px solid var(--bc-border-gold);
    border-radius: 8px;
    padding: 10px 14px;
    font-family: monospace;
    font-size: .92rem;
    color: var(--bc-gold);
    word-break: break-all;
}

.bc-pill-select input[type="radio"] { display: none; }
.bc-pill-select label {
    display: inline-block;
    background: #0d0c0a;
    border: 1px solid #332e24;
    border-radius: 20px;
    padding: .4rem 1rem;
    font-size: .85rem;
    color: #ccc;
    cursor: pointer;
    transition: all .2s ease;
}
.bc-pill-select input[type="radio"]:checked + label {
    background: var(--bc-gold);
    border-color: var(--bc-gold);
    color: #000;
    font-weight: 700;
}

/* ---------- App shell (User / Admin / Superadmin) ---------- */
.bc-app { display: flex; min-height: 100vh; }
.bc-sidebar {
    width: 264px;
    background: linear-gradient(180deg, #000 0%, #0a0908 100%);
    border-right: 1px solid var(--bc-border-gold);
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}
.bc-sidebar .brand { padding: 24px 22px; border-bottom: 1px solid var(--bc-border-gold); }
.bc-sidebar .nav-link {
    color: #b8b3ab;
    padding: 12px 22px;
    font-size: .89rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.bc-sidebar .nav-link i {
    width: 20px;
    flex-shrink: 0;
    text-align: center;
    color: var(--bc-gold);
    font-size: 1.05rem;
}
.bc-sidebar .nav-link.active, .bc-sidebar .nav-link:hover {
    background: linear-gradient(90deg, rgba(212,175,55,.12), transparent);
    color: var(--bc-gold-soft);
    border-left-color: var(--bc-gold);
}
.bc-main { flex: 1; min-width: 0; }
.bc-topbar {
    background: var(--bc-black-2);
    border-bottom: 1px solid var(--bc-border-gold);
    padding: 16px 26px;
}
.bc-content { padding: 28px; }

/* ---------- Panel entrance animation ---------- */
.bc-content > h4:first-child, .bc-content > .d-flex:first-child {
    animation: bcFadeDown .45s cubic-bezier(.2,.7,.2,1) both;
}
.bc-content .row > div .bc-stat-card,
.bc-content .row > div .bc-card,
.bc-content > .bc-card,
.bc-content > .bc-profile-hero {
    animation: bcCardIn .5s cubic-bezier(.2,.7,.2,1) both;
}
.bc-content > .bc-profile-hero { animation-delay: 0ms; }
.bc-content .row:nth-of-type(1) { animation-delay: 0ms; }
.bc-content .row > div:nth-child(1) .bc-stat-card, .bc-content .row > div:nth-child(1) .bc-card { animation-delay: .05s; }
.bc-content .row > div:nth-child(2) .bc-stat-card, .bc-content .row > div:nth-child(2) .bc-card { animation-delay: .1s; }
.bc-content .row > div:nth-child(3) .bc-stat-card, .bc-content .row > div:nth-child(3) .bc-card { animation-delay: .15s; }
.bc-content .row > div:nth-child(4) .bc-stat-card, .bc-content .row > div:nth-child(4) .bc-card { animation-delay: .2s; }
.bc-content .row > div:nth-child(5) .bc-stat-card, .bc-content .row > div:nth-child(5) .bc-card { animation-delay: .25s; }
.bc-content .row > div:nth-child(6) .bc-stat-card, .bc-content .row > div:nth-child(6) .bc-card { animation-delay: .3s; }
.bc-content .row + .row .bc-stat-card, .bc-content .row + .row .bc-card { animation-delay: .1s; }
.bc-content .row + .row > div:nth-child(2) .bc-stat-card { animation-delay: .15s; }
.bc-content .row + .row > div:nth-child(3) .bc-stat-card { animation-delay: .2s; }

@keyframes bcCardIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes bcFadeDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

.bc-content .alert {
    animation: bcAlertIn .4s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes bcAlertIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
    .bc-content > h4:first-child, .bc-content .bc-stat-card, .bc-content .bc-card, .bc-content .alert, .bc-content > .bc-profile-hero {
        animation: none !important; opacity: 1 !important; transform: none !important;
    }
}

/* Value count-up target: avoid layout shift while animating */
.bc-stat-card .value { font-variant-numeric: tabular-nums; }

/* Ambient navy glow tying the panel chrome to the homepage hero palette */
.bc-sidebar .brand {
    position: relative;
    background: radial-gradient(ellipse 80% 100% at 50% 0%, rgba(11,36,71,.55), transparent 75%);
}
.bc-topbar { position: relative; overflow: hidden; }
.bc-topbar::after {
    content: '';
    position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--bc-gold), transparent);
    background-size: 200% 100%;
    animation: bcShimmer 6s linear infinite;
}
@keyframes bcShimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .bc-topbar::after { animation: none; } }

.bc-avatar { transition: transform .2s ease, box-shadow .2s ease; }
.bc-avatar:hover { transform: scale(1.08); box-shadow: 0 0 0 3px rgba(212,175,55,.25); }

.bc-sidebar .nav-link i { transition: transform .18s ease; }
.bc-sidebar .nav-link:hover i { transform: scale(1.15); }

.bc-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bc-gold-light), var(--bc-gold-dark));
    color: #1a1200;
    font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .9rem;
}

.bc-stat-card {
    background: linear-gradient(165deg, var(--bc-black-2) 0%, var(--bc-black-3) 100%);
    border: 1px solid var(--bc-border-gold);
    border-top: 2px solid var(--bc-gold);
    border-radius: 12px;
    padding: 22px;
    box-shadow: 0 6px 20px rgba(0,0,0,.3);
    transition: transform .2s ease;
}
.bc-stat-card:hover { transform: translateY(-2px); }
.bc-stat-card .label { color: var(--bc-muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.bc-stat-card .value { color: #fff; font-family: var(--font-display); font-size: 1.8rem; font-weight: 700; margin-top: 4px; }
.bc-stat-card .value.gold { color: var(--bc-gold); }

.bc-warning-banner {
    background: linear-gradient(135deg, #3a0d0d, #2a0808);
    border: 1px solid #a33;
    color: #ffb3b3;
    padding: 14px 22px;
    border-radius: 10px;
    font-weight: 600;
    margin-bottom: 22px;
    box-shadow: 0 4px 16px rgba(170,0,0,.15);
}

.bc-missed { color: #ff6b6b; text-decoration: line-through; }

.table-bc {
    --bs-table-bg: transparent;
    --bs-table-color: #ddd;
    --bs-table-border-color: rgba(255,255,255,.06);
    --bs-table-striped-bg: rgba(255,255,255,.03);
    --bs-table-striped-color: #ddd;
    --bs-table-hover-bg: rgba(212,175,55,.06);
    --bs-table-hover-color: #fff;
    --bs-table-active-bg: rgba(212,175,55,.1);
    --bs-table-active-color: #fff;
    color: #ddd;
    background: transparent;
    font-size: .92rem;
}
.table-bc thead th { color: var(--bc-gold); border-bottom: 1px solid var(--bc-border-gold); text-transform: uppercase; font-size: .74rem; letter-spacing: .08em; font-weight: 700; padding-bottom: 12px; }
.table-bc td, .table-bc th { border-color: rgba(255,255,255,.06); padding: 12px 10px; vertical-align: middle; }
.table-bc tbody tr { transition: background .15s ease; }
.table-bc a:not(.btn) { color: var(--bc-gold); }
.table-bc a:not(.btn):hover { color: var(--bc-gold-light); }

.badge { font-weight: 600; letter-spacing: .02em; padding: .42em .75em; }
.badge-active { background: rgba(30,92,52,.25); color: #7fe3a4; border: 1px solid rgba(127,227,164,.3); }
.badge-inactive { background: rgba(255,255,255,.06); color: #ccc; border: 1px solid rgba(255,255,255,.12); }
.badge-capped { background: rgba(107,20,20,.25); color: #ff9d9d; border: 1px solid rgba(255,157,157,.3); }

.alert { border-width: 1px; border-radius: 10px; }
.alert-success { background: #0e2b1a; border-color: #1e5c34; color: #a4f2c1; }
.alert-danger { background: #3a0d0d; border-color: #6b1414; color: #ffb3b3; }
.alert-warning { background: #3a2c0d; border-color: #6b5414; color: #ffd98b; }
.alert-info { background: #0d2a3a; border-color: #14506b; color: #9fdcff; }
.alert .alert-link, .alert a { text-decoration: underline; }

.pagination { flex-wrap: wrap; gap: 4px; }
.page-link {
    background: var(--bc-black-2);
    border: 1px solid var(--bc-border-gold);
    color: #ccc;
    border-radius: 6px;
}
.page-link:hover { background: rgba(212,175,55,.15); color: var(--bc-gold); }
.page-item.active .page-link { background: var(--bc-gold); border-color: var(--bc-gold); color: #000; font-weight: 700; }
.page-item.disabled .page-link { background: var(--bc-black-2); color: #555; border-color: #333; }

.dropdown-menu {
    background: var(--bc-black-2);
    border: 1px solid var(--bc-border-gold);
}
.dropdown-item { color: #ccc; }
.dropdown-item:hover, .dropdown-item:focus { background: rgba(212,175,55,.12); color: var(--bc-gold); }

@media (max-width: 991.98px) {
    .bc-sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        z-index: 1050;
        transition: left .32s cubic-bezier(.2,.8,.2,1);
        box-shadow: 8px 0 30px rgba(0,0,0,.6);
    }
    .bc-sidebar.open { left: 0; }
    .bc-sidebar.open .nav-link {
        animation: bcNavLinkIn .4s cubic-bezier(.2,.8,.2,1) both;
    }
    .bc-sidebar.open .nav-link:nth-child(1) { animation-delay: .04s; }
    .bc-sidebar.open .nav-link:nth-child(2) { animation-delay: .07s; }
    .bc-sidebar.open .nav-link:nth-child(3) { animation-delay: .10s; }
    .bc-sidebar.open .nav-link:nth-child(4) { animation-delay: .13s; }
    .bc-sidebar.open .nav-link:nth-child(5) { animation-delay: .16s; }
    .bc-sidebar.open .nav-link:nth-child(6) { animation-delay: .19s; }
    .bc-sidebar.open .nav-link:nth-child(7) { animation-delay: .22s; }
    .bc-sidebar.open .nav-link:nth-child(n+8) { animation-delay: .25s; }
    .bc-content { padding: 18px; }
}
@keyframes bcNavLinkIn { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }

.bc-sidebar-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(1,5,13,.68);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
}
.bc-sidebar-backdrop.show { opacity: 1; visibility: visible; }
body.bc-no-scroll { overflow: hidden; }

#sidebarToggle i { display: inline-block; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
#sidebarToggle.is-open i { transform: rotate(180deg); }

@media (prefers-reduced-motion: reduce) {
    .bc-sidebar, .bc-sidebar-backdrop, .bc-sidebar.open .nav-link, #sidebarToggle i { animation: none !important; transition: none !important; }
}
