:root {
    --bg: #0F0F14;
    --card: #1C1C24;
    --purple: #7B3FE4;
    --neon: #00FF88;
    --muted: #9ba0ad;
    --line: rgba(255, 255, 255, .11);
}

body {
    background: var(--bg);
    color: #f7f7fb;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }
.fw-black { font-weight: 900; letter-spacing: 0; }
.lance-navbar {
    background: rgba(7, 7, 12, .92);
    border-bottom: 1px solid rgba(123, 63, 228, .34);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
    backdrop-filter: blur(12px);
}
.lance-brand {
    display: inline-flex;
    align-items: center;
    height: 54px;
    padding-block: 0;
}
.lance-brand img {
    width: 132px;
    height: 54px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 0 16px rgba(123, 63, 228, .7));
}
.navbar-brand { color: var(--neon) !important; font-size: 1.45rem; }
.navbar .nav-link {
    color: rgba(247, 247, 251, .82);
    font-weight: 700;
}
.navbar .nav-link:hover { color: var(--neon); }
.btn-neon { background: var(--neon); border-color: var(--neon); color: #06140d; font-weight: 800; }
.btn-neon:hover { background: #45ffac; border-color: #45ffac; color: #06140d; }
.btn-outline-neon { border-color: var(--neon); color: var(--neon); font-weight: 700; }
.btn-outline-neon:hover { background: var(--neon); color: #06140d; }
.btn-purple { background: var(--purple); border-color: var(--purple); color: #fff; font-weight: 800; }
.btn-dark-soft { background: #242431; border: 1px solid var(--line); color: #fff; }
.link-neon { color: var(--neon); text-decoration: none; font-weight: 800; }

.hero {
    min-height: 620px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(5, 5, 12, .76), rgba(5, 5, 12, .2) 44%, rgba(5, 5, 12, .12)),
        url("/assets/images/banner.png") center/cover;
}
.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 110px;
    background: linear-gradient(0deg, var(--bg), rgba(15, 15, 20, 0));
    pointer-events: none;
}
.hero-inner { display: flex; align-items: center; min-height: 620px; }
.hero-copy {
    max-width: 720px;
    position: relative;
    z-index: 1;
    padding: 4.5rem 0 5rem;
}
.hero-logo {
    width: min(360px, 72vw);
    height: 126px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 24px rgba(123, 63, 228, .72));
}
.hero h1 {
    max-width: 640px;
    color: var(--neon);
    font-size: clamp(3.2rem, 6vw, 6.2rem);
    line-height: .9;
    font-style: italic;
    text-transform: uppercase;
    font-weight: 950;
    margin: .45rem 0 1rem;
    text-shadow: 0 0 28px rgba(0, 255, 136, .2);
}
.hero p { max-width: 620px; font-size: 1.35rem; color: #f0f1f8; font-weight: 700; }
.hero-cta {
    margin-top: 1rem;
    padding: .95rem 2rem;
    border-radius: 6px;
    box-shadow: 0 0 28px rgba(0, 255, 136, .3), inset 0 0 18px rgba(255, 255, 255, .14);
    text-transform: uppercase;
}
.eyebrow { color: var(--neon); text-transform: uppercase; font-size: .78rem; font-weight: 900; letter-spacing: .12rem; }
.section-title, h1, h2 { font-weight: 900; letter-spacing: 0; }

.info-block, .auth-panel, .form-shell, .bid-box {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1.5rem;
}
.info-block h2 { font-size: 1.25rem; }
.info-block p, .safe-band p { color: var(--muted); margin: 0; }
.safe-band { background: #15151d; border-block: 1px solid var(--line); }

.auction-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}
.auction-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
}
.auction-card h3 { font-size: 1.15rem; margin: .8rem 0 .25rem; font-weight: 900; }
.auction-thumb, .detail-media {
    background: #101018;
    aspect-ratio: 16 / 10;
    display: grid;
    place-items: center;
}
.auction-thumb img, .detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-media { border-radius: 8px; overflow: hidden; border: 1px solid var(--line); min-height: 380px; }
.thumb-placeholder {
    color: var(--neon);
    font-weight: 950;
    font-size: 2rem;
    text-shadow: 0 0 20px rgba(0, 255, 136, .55);
}
.thumb-placeholder.big { font-size: 4rem; }
.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: .25rem .65rem;
    border: 1px solid rgba(0, 255, 136, .38);
    color: var(--neon);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 800;
    background: rgba(0, 255, 136, .07);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
}
.stats-grid div, .account-row {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem;
}
.stats-grid span { display: block; color: var(--muted); font-size: .85rem; }
.stats-grid strong { font-size: 1.15rem; }

.form-control, .form-select, .input-group-text {
    background-color: #12121a;
    border-color: var(--line);
    color: #fff;
}
.form-control:focus, .form-select:focus {
    background-color: #151520;
    color: #fff;
    border-color: var(--neon);
    box-shadow: 0 0 0 .2rem rgba(0, 255, 136, .12);
}
.form-control::file-selector-button { background: var(--purple); color: #fff; border: 0; }
.auth-wrap { min-height: 70vh; display: grid; place-items: center; }
.auth-panel { width: min(100%, 430px); }
.form-shell { max-width: 980px; margin-inline: auto; }
.table-dark-wrap { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.table { --bs-table-bg: var(--card); margin-bottom: 0; }
.table input, .table select { min-width: 120px; }
.table .admin-number { min-width: 78px; }
.lance-tabs { border-color: var(--line); }
.lance-tabs .nav-link { color: var(--muted); border: 0; border-bottom: 2px solid transparent; }
.lance-tabs .nav-link.active { background: transparent; color: var(--neon); border-bottom-color: var(--neon); }
.account-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .75rem;
}
code { color: var(--neon); white-space: normal; }
.pix-qr {
    display: block;
    width: 160px;
    height: 160px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: .5rem;
    margin: .6rem 0;
}

@media (max-width: 720px) {
    .lance-brand { height: 46px; }
    .lance-brand img { width: 104px; height: 46px; }
    .hero, .hero-inner { min-height: 620px; }
    .hero {
        background:
            linear-gradient(180deg, rgba(5, 5, 12, .18), rgba(5, 5, 12, .88) 52%, rgba(5, 5, 12, .98)),
            url("/assets/images/banner.png") 58% center/cover;
    }
    .hero-copy { padding-top: 14rem; padding-bottom: 4rem; }
    .hero-logo { width: 220px; height: 86px; }
    .hero h1 { font-size: 3rem; }
    .hero p { font-size: 1.08rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .account-row { align-items: stretch; flex-direction: column; }
    .detail-media { min-height: 260px; }
}
