:root {
    --bn-bg: #070809;
    --bn-panel: rgba(16, 16, 16, .92);
    --bn-panel-2: rgba(26, 26, 26, .82);
    --bn-gold: #ffd400;
    --bn-gold-soft: #c5a614;
    --bn-text: #f4f4f4;
    --bn-muted: #a4a4a4;
    --bn-border: rgba(255, 212, 0, .28);
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bn-bg); }
html {
    scrollbar-color: var(--bn-gold) #0b0b0b;
    scrollbar-width: thin;
}
::-webkit-scrollbar { width: 10px; height: 10px; background: #0b0b0b; }
::-webkit-scrollbar-track { background: #0b0b0b; }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ffe45b, #d7b000) !important;
    border-radius: 999px;
    border: 2px solid #0b0b0b;
}
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #fff06d, #ffd400) !important; }
body.bet-theme {
    margin: 0;
    min-height: 100%;
    font-family: "Poppins", Arial, sans-serif;
    color: var(--bn-text);
    background:
        linear-gradient(180deg, rgba(7, 8, 9, .16), rgba(7, 8, 9, .24)),
        url("/images/theme/anasayfa.webp") center top / cover fixed no-repeat,
        var(--bn-bg) !important;
    overflow-x: hidden;
    letter-spacing: 0;
}
body.modal-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font-family: inherit; }

.site-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(7, 8, 9, .18), rgba(7, 8, 9, .26)),
        url("/images/theme/anasayfa.webp") center top / cover no-repeat,
        #090a0b;
    opacity: 1;
}
.site-bg::before,
.site-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,.18), transparent 34%, transparent 68%, rgba(0,0,0,.24)),
        linear-gradient(180deg, rgba(0,0,0,.18), transparent 42%, rgba(0,0,0,.22));
}

.bn-container { width: min(1360px, calc(100% - 32px)); margin: 0 auto; }
.bn-main { position: relative; z-index: 1; min-height: 62vh; padding-top: 86px; }

.bn-navbar {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    height: 62px;
    background: rgba(2, 2, 2, .96);
    border-bottom: 1px solid rgba(255, 212, 0, .24);
    box-shadow: 0 14px 34px rgba(0,0,0,.44);
    backdrop-filter: blur(18px);
}
.bn-nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.bn-brand { display: flex; align-items: center; gap: 8px; min-width: 240px; }
.bn-brand-logo { width: auto; height: 32px; max-width: 170px; object-fit: contain; display: block; flex: 0 1 auto; filter: drop-shadow(0 0 10px rgba(255,255,255,.22)); }
.bn-logo { width: 96px; height: 36px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(255,212,0,.45)); }
.bn-wordmark { font-size: 22px; line-height: 1; font-weight: 900; color: #fff; letter-spacing: -1px; filter: drop-shadow(0 0 10px rgba(255,212,0,.32)); }
.bn-wordmark span { color: var(--bn-gold); }
.bn-wheel { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 2px solid var(--bn-gold); box-shadow: 0 0 12px rgba(255,212,0,.42); background: #111; flex: 0 0 42px; }
.bn-vip { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; color: var(--bn-gold); font-size: 10px; font-weight: 900; line-height: 1; text-shadow: 0 0 8px rgba(255,212,0,.4); }
.bn-vip i { font-size: 27px; line-height: .9; color: var(--bn-gold); filter: drop-shadow(0 0 8px rgba(255,212,0,.38)); }
.bn-vip b { display: block; margin-top: 1px; font-size: 10px; letter-spacing: .2px; }
.bn-menu { display: flex; align-items: center; gap: 22px; }
.bn-link { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 10px; color: #b8b8b8; font-weight: 600; font-size: 14px; border-bottom: 2px solid transparent; }
.bn-link i { color: var(--bn-gold); font-size: 16px; }
.bn-link span { padding: 3px 7px; border-radius: 6px; background: #f14141; color: #fff; font-size: 10px; font-weight: 900; }
.bn-link.active { color: var(--bn-gold); background: rgba(255,212,0,.1); border-bottom-color: var(--bn-gold); border-radius: 8px 8px 0 0; }
.bn-actions { display: flex; align-items: center; gap: 8px; min-width: 230px; justify-content: flex-end; }
.bn-logout-form { margin: 0; display: inline-flex; }
.bn-btn { height: 38px; border-radius: 8px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; cursor: pointer; border: 1px solid var(--bn-border); background: transparent; color: #d6c46e; }
.bn-btn.primary { background: var(--bn-gold); color: #050505; border-color: var(--bn-gold); }
.bn-btn.danger { border-color: rgba(255,96,96,.34); color: #ffb8b8; background: rgba(255,66,66,.08); }
.bn-btn.danger:hover { border-color: #ff6a6a; color: #fff; background: rgba(255,66,66,.18); }
.bn-btn.ghost:hover, .bn-btn.primary:hover { transform: translateY(-1px); }

.bn-page { padding-bottom: 72px; }
.bn-section { margin: 38px auto 0; }
.bn-section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid rgba(255,212,0,.16); }
.bn-section-title { display: flex; align-items: center; gap: 10px; color: var(--bn-gold); font-size: 28px; font-weight: 900; margin: 0; }
.bn-section-subtitle { color: #d4d4d4; font-size: 14px; margin: 0; }

.bn-hero { margin-top: 24px; }
.bn-hero-slider { width: min(1320px, 100%); margin: 0 auto; border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,212,0,.14); box-shadow: 0 26px 80px rgba(0,0,0,.62); }
.bn-hero-slide { display: block; aspect-ratio: 2.72 / 1; min-height: 300px; position: relative; overflow: hidden; background: #0a0a0a; }
.bn-hero-slide img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.82); }
.bn-hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.08), transparent 62%); pointer-events: none; }
.bn-hero-text { position: absolute; z-index: 2; left: 54px; top: 50%; transform: translateY(-50%); max-width: 430px; }
.bn-hero-text h1 { margin: 0 0 14px; font-size: clamp(42px, 5vw, 74px); line-height: .95; font-weight: 900; }
.bn-hero-text h1 span { color: var(--bn-gold); }
.bn-hero-text p { margin: 0 0 22px; color: #e5e5e5; font-size: 24px; font-weight: 800; }
.bn-hero-text strong { display: inline-block; color: #050505; background: var(--bn-gold); border-radius: 6px; padding: 8px 18px; font-size: 54px; line-height: 1; margin-right: 10px; }
.bn-cta { display: inline-flex; align-items: center; gap: 12px; background: var(--bn-gold); color: #070707; border-radius: 8px; padding: 12px 28px; font-weight: 900; }

.bn-promo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.bn-promo-card { position: relative; height: 118px; overflow: hidden; border: 2px solid var(--bn-gold-soft); border-radius: 10px; background: #121212; box-shadow: inset 0 0 0 1px rgba(0,0,0,.45); }
.bn-promo-card img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.72); transition: transform .25s ease; }
.bn-promo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.18) 58%, transparent); pointer-events: none; }
.bn-promo-card:hover img { transform: scale(1.04); }
.bn-promo-card h3 { position: absolute; z-index: 2; top: 18px; left: 18px; margin: 0; width: min(58%, 190px); font-size: clamp(24px, 2.15vw, 36px); line-height: .98; font-weight: 900; color: white; text-shadow: 0 4px 18px #000; overflow-wrap: anywhere; }
.bn-mini-btn { position: absolute; z-index: 2; left: 18px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; max-width: calc(100% - 36px); padding: 5px 10px; border-radius: 6px; background: var(--bn-gold); color: #050505; font-size: 12px; font-weight: 900; white-space: nowrap; }

.bn-round-row { display: flex; gap: 18px; overflow-x: auto; padding: 4px 0 8px; scrollbar-width: thin; scrollbar-color: var(--bn-gold) transparent; }
.bn-round-game { width: 78px; flex: 0 0 auto; text-align: center; color: var(--bn-gold); font-size: 12px; font-weight: 900; }
.bn-round-game img { width: 74px; height: 74px; border-radius: 50%; object-fit: cover; border: 3px solid var(--bn-gold); box-shadow: 0 7px 20px rgba(0,0,0,.45); display: block; margin-bottom: 8px; }

.bn-sports-filters, .bn-provider-bar { display: flex; align-items: center; gap: 10px; overflow-x: auto; margin-bottom: 18px; padding-bottom: 4px; }
.bn-filter-chip { border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: rgba(255,255,255,.04); color: #a9a9a9; min-height: 36px; padding: 0 18px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.bn-filter-chip.active { background: var(--bn-gold); color: #050505; border-color: var(--bn-gold); box-shadow: 0 0 18px rgba(255,212,0,.22); }
.bn-sports-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bn-match-card { background: rgba(12,12,12,.84); border: 1px solid rgba(255,255,255,.08); border-radius: 7px; overflow: hidden; }
.bn-match-league { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: rgba(255,255,255,.04); font-size: 12px; color: #a6a6a6; font-weight: 800; }
.bn-live-tag { background: var(--bn-gold); color: #050505; border-radius: 3px; padding: 3px 8px; font-size: 10px; font-weight: 900; }
.bn-score-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 18px 14px; font-weight: 800; }
.bn-score { font-size: 24px; color: white; white-space: nowrap; }
.bn-odds { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.08); }
.bn-odds div { text-align: center; padding: 9px 6px; border-right: 1px solid rgba(255,255,255,.08); color: var(--bn-gold); font-weight: 900; }
.bn-odds small { display: block; color: #696969; font-size: 10px; margin-bottom: 4px; }

.bn-game-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.bn-list-page .bn-game-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.bn-game-card { position: relative; aspect-ratio: 1.55 / 1; overflow: hidden; border-radius: 10px; border: 1px solid rgba(255,212,0,.28); background: #111; box-shadow: 0 12px 28px rgba(0,0,0,.32); }
.bn-game-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s ease, filter .25s ease; color: transparent; }
.bn-game-card img[src=""], .bn-game-card img:not([src]) { visibility: hidden; }
.bn-game-card::after { content: ""; position: absolute; inset: 48% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.86)); }
.bn-game-card:hover img { transform: scale(1.05); filter: brightness(1.08); }
.bn-game-name { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 10px; color: white; font-size: 13px; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bn-game-provider { position: absolute; z-index: 2; left: 10px; bottom: 27px; color: rgba(255,212,0,.72); font-size: 10px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase; }
.bn-list-page .bn-game-provider { bottom: 28px; }
.bn-list-page .bn-list-hero { padding-bottom: 36px; }

.bn-list-hero { padding-top: 22px; }
.bn-provider-shell { min-height: 58px; display: grid; grid-template-columns: 260px minmax(0, 1fr) 44px; gap: 16px; align-items: center; border-bottom: 1px solid rgba(255,212,0,.13); }
.bn-search { height: 38px; border-radius: 8px; border: 1px solid rgba(255,212,0,.25); background: rgba(10,10,10,.72); color: white; padding: 0 14px; }
.bn-provider-bar { min-width: 0; scrollbar-color: var(--bn-gold) transparent; }
.bn-provider-bar .bn-filter-chip { flex: 0 0 auto; text-decoration: none; }
.bn-grid-empty { grid-column: 1 / -1; min-height: 260px; }
.bn-list-title { margin: 28px 0 28px; }
.bn-list-title h1 { margin: 0; font-size: clamp(42px, 4.7vw, 58px); line-height: 1.08; font-weight: 900; max-width: 640px; }
.bn-outline { color: transparent; -webkit-text-stroke: 1px var(--bn-gold-soft); display: block; line-height: 1.06; padding-bottom: .06em; overflow: visible; }

.bn-bonus-top { display: flex; justify-content: space-between; align-items: center; min-height: 190px; }
.bn-bonus-stats { display: flex; gap: 34px; color: var(--bn-gold); font-size: 42px; font-weight: 900; }
.bn-bonus-stats small { display: block; color: #686868; font-size: 10px; letter-spacing: 4px; text-align: center; }
.bn-bonus-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.bn-bonus-card { overflow: hidden; border-radius: 10px; border: 1px solid rgba(255,212,0,.28); background: rgba(25,25,25,.82); box-shadow: 0 20px 36px rgba(0,0,0,.35); }
.bn-bonus-image { height: 182px; position: relative; overflow: hidden; border-top: 2px solid var(--bn-gold); }
.bn-bonus-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bn-bonus-tag { position: absolute; top: 12px; left: 12px; background: var(--bn-gold); color: #050505; border-radius: 5px; padding: 6px 10px; font-size: 10px; font-weight: 900; }
.bn-bonus-body { padding: 16px; }
.bn-bonus-body h3 { margin: 0 0 8px; color: white; font-size: 17px; font-weight: 900; }
.bn-bonus-body p { color: #9b9b9b; min-height: 48px; margin: 0 0 14px; font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bn-bonus-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 12px; }
.bn-bonus-meta div { min-height: 44px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,.09); border-radius: 7px; background: rgba(255,255,255,.04); color: var(--bn-gold); font-weight: 900; font-size: 12px; }
.bn-bonus-meta small { color: #6d6d6d; font-size: 9px; margin-top: 2px; }
.bn-bonus-action { width: 100%; height: 42px; border: 0; border-radius: 7px; background: var(--bn-gold); color: #050505; font-weight: 900; cursor: pointer; }
.bn-bonus-action:disabled { opacity: .45; cursor: not-allowed; }

.bn-account { padding-top: 24px; }
.bn-account-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-top: 22px;
    padding: 26px;
    border: 1px solid rgba(255,212,0,.22);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(24,24,24,.9), rgba(8,8,8,.82));
    box-shadow: 0 20px 44px rgba(0,0,0,.36);
}
.bn-account-user { display: flex; align-items: center; gap: 18px; }
.bn-avatar {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--bn-gold);
    color: #050505;
    font-size: 30px;
    font-weight: 900;
    text-transform: uppercase;
}
.bn-account-user h2 { margin: 0 0 6px; color: white; font-size: 22px; }
.bn-account-user p { margin: 2px 0; color: #a7a7a7; font-size: 13px; }
.bn-balance { text-align: right; }
.bn-balance span { display: block; color: #8d8d8d; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; }
.bn-balance strong { display: block; margin-top: 6px; color: var(--bn-gold); font-size: 34px; font-weight: 900; }
.bn-account-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0;
}
.bn-action-card {
    min-height: 118px;
    padding: 18px;
    border: 1px solid rgba(255,212,0,.2);
    border-radius: 9px;
    background: rgba(14,14,14,.82);
    display: flex;
    flex-direction: column;
    gap: 7px;
    transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.bn-action-card:hover { transform: translateY(-2px); border-color: var(--bn-gold); background: rgba(23,23,23,.92); }
.bn-action-card i { color: var(--bn-gold); font-size: 24px; }
.bn-action-card strong { color: white; font-size: 16px; }
.bn-action-card span { color: #929292; font-size: 13px; }
.bn-account-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.bn-account-panel {
    min-height: 210px;
    padding: 20px;
    border: 1px solid rgba(255,212,0,.18);
    border-radius: 10px;
    background: rgba(13,13,13,.82);
}
.bn-account-panel.bn-wide { grid-column: 1 / -1; }
.bn-panel-head { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 16px; }
.bn-panel-head h2 { margin: 0; color: white; font-size: 20px; font-weight: 900; }
.bn-panel-head a { color: var(--bn-gold); font-size: 13px; font-weight: 900; }
.bn-list { display: grid; gap: 10px; }
.bn-list-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 13px 14px;
    border-radius: 8px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.06);
}
.bn-list-row strong { display: block; color: white; font-size: 14px; }
.bn-list-row span { display: block; color: #868686; font-size: 12px; margin-top: 3px; }
.bn-list-row b { color: var(--bn-gold); font-size: 14px; }
.bn-list-row b.pos { color: #55d889; }
.bn-list-row b.neg { color: #ff6666; }
.bn-status {
    font-style: normal;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}
.bn-status.ok { background: rgba(85,216,137,.12); color: #55d889; }
.bn-status.wait { background: rgba(255,212,0,.12); color: var(--bn-gold); }
.bn-status.bad { background: rgba(255,82,82,.12); color: #ff6666; }
.bn-empty {
    min-height: 120px;
    display: grid;
    place-items: center;
    margin: 0;
    color: #8c8c8c;
    border-radius: 8px;
    background: rgba(255,255,255,.03);
}

.bn-footer { position: relative; z-index: 1; margin-top: 70px; border-top: 1px solid rgba(255,212,0,.16); background: linear-gradient(180deg, rgba(17,15,8,.78), rgba(0,0,0,.94)); }
.bn-footer-intro { min-height: 145px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; border-bottom: 1px solid rgba(255,212,0,.16); }
.bn-footer-intro h2 { color: var(--bn-gold); margin: 0 0 12px; font-size: 20px; }
.bn-footer-intro p { margin: 0; max-width: 560px; color: #d0d0d0; font-weight: 700; line-height: 1.55; }
.bn-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr .7fr; gap: 52px; padding: 50px 0 44px; border-bottom: 1px solid rgba(255,212,0,.2); }
.bn-footer h3, .bn-footer-label { display: block; color: var(--bn-gold); font-size: 12px; font-weight: 900; letter-spacing: 2px; margin: 0 0 24px; }
.bn-footer a, .bn-footer button { display: block; background: none; border: 0; padding: 0; color: #aaa; font-size: 15px; margin-bottom: 15px; cursor: pointer; text-align: left; }
.bn-footer strong { color: var(--bn-gold); }
.bn-footer-badges { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.bn-footer-badges span { width: 50px; height: 50px; display: grid; place-items: center; border: 4px solid #87909b; border-radius: 14px; color: #87909b; font-size: 23px; font-weight: 900; }
.bn-footer-badges img { width: 84px; height: auto; }
.bn-footer-legal { text-align: center; color: #777; font-size: 12px; padding: 28px 0; }
.bn-footer-payments { display: flex; justify-content: center; align-items: center; gap: 24px; flex-wrap: wrap; padding: 28px 16px 34px; border-top: 1px solid rgba(255,212,0,.12); }
.bn-footer-payments img { max-height: 36px; max-width: 140px; object-fit: contain; filter: sepia(1) saturate(2.2) hue-rotate(3deg) brightness(.9); opacity: .85; }

.bn-chat {
    position: fixed;
    right: 34px;
    bottom: 74px;
    z-index: 95;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 0;
    background: radial-gradient(circle at 31% 22%, #eaffef 0 11%, #17ff38 34%, #04a927 68%, #006414 100%);
    color: white;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 18px 36px rgba(0,0,0,.55), 0 0 22px rgba(18,255,48,.42), inset 0 4px 10px rgba(255,255,255,.68), inset 0 -9px 14px rgba(0,76,13,.48);
    animation: bn-chat-float 2.8s ease-in-out infinite;
}
.bn-chat::after {
    content: "";
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255,255,255,.36), rgba(255,255,255,0) 58%);
    border: 2px solid rgba(255,255,255,.52);
    pointer-events: none;
}
.bn-chat i { position: relative; z-index: 1; font-size: 27px; filter: drop-shadow(0 2px 0 rgba(0,0,0,.24)) drop-shadow(0 0 5px rgba(255,255,255,.45)); -webkit-text-stroke: 1px rgba(255,255,255,.55); }
.show-livechat .bn-chat { opacity: .28; pointer-events: none; animation-play-state: paused; }
@keyframes bn-chat-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}
#chat-widget-container,
iframe[src*="livechatinc.com"],
div[id*="livechat"],
div[class*="livechat"],
div[data-testid*="chat"],
.lc-chat-widget {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.show-livechat #chat-widget-container,
.show-livechat iframe[src*="livechatinc.com"],
.show-livechat div[id*="livechat"],
.show-livechat div[class*="livechat"],
.show-livechat div[data-testid*="chat"],
.show-livechat .lc-chat-widget {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.bn-video-ad {
    margin-top: 26px;
    border: 1px solid var(--bn-border);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0,0,0,.52);
    box-shadow: 0 18px 40px rgba(0,0,0,.38), 0 0 18px color-mix(in srgb, var(--bn-gold) 22%, transparent);
}
.bn-video-ad-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 14px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    color: var(--bn-text);
    font-weight: 900;
}
.bn-video-ad-head span { display: inline-flex; align-items: center; gap: 8px; }
.bn-video-ad-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    color: #fff;
    display: grid;
    place-items: center;
    cursor: pointer;
}
.bn-video-ad video {
    display: block;
    width: 100%;
    max-height: 460px;
    background: #050505;
}
.bn-video-ad.is-hidden,
#homeVideoAd.is-hidden { display: none; }

.bn-modal-overlay { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; background: rgba(0,0,0,.76); backdrop-filter: blur(6px); padding: 18px; }
.bn-modal-overlay.is-open { display: grid; }
#loginModal.bn-modal-overlay,
#registerModal.bn-modal-overlay { width: auto !important; max-width: none !important; height: auto !important; max-height: none !important; overflow: visible !important; display: none !important; align-items: center !important; justify-content: center !important; }
#loginModal.bn-modal-overlay.is-open,
#registerModal.bn-modal-overlay.is-open { display: flex !important; }
.bn-auth-modal { width: min(580px, calc(100vw - 36px)); min-height: 420px; display: grid; grid-template-columns: 250px minmax(0, 1fr); position: relative; border: 1px solid rgba(255,212,0,.22); border-radius: 10px; overflow: hidden; background: #181818; box-shadow: 0 28px 100px rgba(0,0,0,.75); }
.bn-register-modal { width: min(900px, calc(100vw - 36px)); grid-template-columns: 335px minmax(0, 1fr); }
.bn-auth-image { background: url("/images/theme/login-background.webp") center / cover no-repeat, #0b3150; min-height: 100%; }
.bn-auth-form { min-width: 0; padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 10px; overflow: hidden; }
.bn-auth-form h2 { margin: 0; color: #d7b84b; font-size: 18px; font-weight: 900; letter-spacing: .5px; }
.bn-auth-form p { margin: 0 0 18px; color: #777; font-size: 13px; }
.bn-auth-form input { width: 100%; min-width: 0; height: 42px; border: 1px solid #333; border-radius: 6px; background: #202020; color: white; padding: 0 14px; outline: none; }
.bn-auth-form input:focus { border-color: #bfa33b; }
.bn-password { position: relative; }
.bn-password input { width: 100%; padding-right: 44px; }
.bn-password button { position: absolute; right: 8px; top: 6px; width: 30px; height: 30px; border: 0; background: transparent; color: #777; cursor: pointer; }
.bn-auth-row { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #8c8c8c; margin: 4px 0 8px; }
.bn-auth-row label { display: inline-flex; align-items: center; gap: 7px; }
.bn-auth-row input { width: 14px; height: 14px; }
.bn-auth-row a, .bn-auth-switch button { color: #d5b33b; font-weight: 800; }
.bn-submit { width: 100%; height: 44px; border: 0; border-radius: 6px; background: linear-gradient(#ebc84d, #c7a331); color: #050505; font-weight: 900; cursor: pointer; font-size: 15px; }
.bn-auth-switch { margin: 26px -28px -28px; padding: 16px; text-align: center; border-top: 1px solid rgba(255,255,255,.06); color: #777; font-size: 12px; }
.bn-auth-switch button { display: inline; background: none; border: 0; padding: 0; cursor: pointer; }
.bn-modal-close { position: absolute; top: 13px; right: 13px; z-index: 2; width: 28px; height: 28px; border-radius: 50%; border: 1px solid rgba(255,255,255,.14); background: #2b2b2b; color: #aaa; cursor: pointer; font-size: 20px; line-height: 1; }
.bn-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.bn-progress { height: 3px; background: linear-gradient(90deg, #d7b84b 48%, #2d2d2d 48%); margin-bottom: 8px; }
.bn-phone { display: grid; grid-template-columns: 70px minmax(0, 1fr); border: 1px solid #333; border-radius: 6px; overflow: hidden; background: #202020; }
.bn-phone span { display: grid; place-items: center; border-right: 1px solid #333; color: #aaa; font-size: 13px; }
.bn-phone input { border: 0; border-radius: 0; }

.pagination, nav[role="navigation"] { color: white; }
nav[role="navigation"] svg { width: 20px; }

@media (max-width: 1100px) {
    .bn-menu { gap: 8px; }
    .bn-brand, .bn-actions { min-width: auto; }
    .bn-game-grid, .bn-list-page .bn-game-grid { grid-template-columns: repeat(4, 1fr); }
    .bn-promo-grid, .bn-bonus-grid { grid-template-columns: repeat(2, 1fr); }
    .bn-sports-grid { grid-template-columns: 1fr; }
    .bn-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .bn-account-actions { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
    .bn-navbar { height: auto; min-height: 62px; }
    .bn-nav-inner { flex-wrap: wrap; padding: 8px 0; }
    .bn-menu { order: 3; width: 100%; justify-content: space-between; overflow-x: auto; }
    .bn-link { font-size: 12px; padding: 0 6px; }
    .bn-actions { gap: 6px; }
    .bn-btn { padding: 0 10px; font-size: 12px; }
    .bn-main { padding-top: 118px; }
    .bn-hero-text { left: 24px; right: 24px; }
    .bn-hero-text strong { font-size: 34px; }
    .bn-promo-grid, .bn-bonus-grid, .bn-game-grid, .bn-list-page .bn-game-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .bn-promo-card { height: 100px; }
    .bn-promo-card h3 { font-size: 24px; width: 62%; }
    .bn-provider-shell { grid-template-columns: 1fr; height: auto; padding-bottom: 14px; }
    .bn-list-title h1 { font-size: 44px; }
    .bn-bonus-top { display: block; min-height: auto; }
    .bn-bonus-stats { margin-top: 22px; }
    .bn-auth-modal, .bn-register-modal { grid-template-columns: 1fr; }
    .bn-auth-image { display: none; }
    .bn-account-hero { align-items: flex-start; flex-direction: column; }
    .bn-balance { text-align: left; }
    .bn-account-grid { grid-template-columns: 1fr; }
    .bn-chat { right: 18px; bottom: 88px; }
}
@media (max-width: 520px) {
    .bn-container { width: min(100% - 20px, 1360px); }
    .bn-logo { width: 82px; }
    .bn-brand-logo { height: 28px; max-width: 145px; }
    .bn-wheel, .bn-vip { display: none; }
    .bn-game-grid { grid-template-columns: 1fr 1fr; }
    .bn-footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .bn-form-grid { grid-template-columns: 1fr; }
    .bn-account-actions { grid-template-columns: 1fr; }
}
