/* =========================================================
   TOTAL PREMIUM UI // OBSIDIAN + CRIMSON
   Final visual layer. Legacy green visual language is neutralized.
   ========================================================= */
:root{
  --p-bg:#050507;--p-bg2:#09090d;--p-panel:#101016;--p-panel2:#15151c;
  --p-red:#e21b3c;--p-red2:#ff4261;--p-red3:#7c0b20;--p-red-soft:rgba(226,27,60,.16);
  --p-text:#f7f7fa;--p-muted:#9a9aa5;--p-line:rgba(255,255,255,.08);
  --p-shadow:0 22px 70px rgba(0,0,0,.52);--p-radius:18px;
}
html,body{background:var(--p-bg)!important;color:var(--p-text)!important}
body{background:radial-gradient(circle at 50% -15%,rgba(226,27,60,.18),transparent 32%),linear-gradient(180deg,#050507,#09090d 50%,#040406)!important;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;padding-bottom:82px!important}
a{color:inherit}
/* Kill legacy green/purple visual surfaces without changing functionality. */
.bg-theme,.nav-icons,.fixed-footer{background:#09090d!important;background-image:linear-gradient(180deg,#15151b,#08080b)!important}
.copyright{background:linear-gradient(90deg,#13070b,#09090d,#13070b)!important;border-top:1px solid rgba(226,27,60,.18)!important}
[style*="#E21B3C"],[style*="#E21B3C"],[style*="#E21B3C"],[style*="#E21B3C"],[style*="rgba(12, 110, 53"],[style*="rgba(9, 70, 34"]{background:#09090d!important;color:#fff!important;border-color:rgba(226,27,60,.24)!important}
.popular-game-title-container .container-title span{background:linear-gradient(135deg,#e21b3c,#7c0b20)!important;color:#fff!important}
.popular-game-title-container .container-content{border-color:rgba(226,27,60,.22)!important;background:#0b0b10!important}
.popular-game-title-container .container-content .game-list .game-item .game-name{color:#fff!important}

/* New header */
.total-header{position:sticky;top:0;z-index:5000;height:72px;background:rgba(7,7,10,.94);backdrop-filter:none;border-bottom:1px solid rgba(255,255,255,.07);box-shadow:0 4px 18px rgba(0,0,0,.22)}
.total-header-inner{height:100%;max-width:1240px;margin:auto;padding:0 16px;display:flex;align-items:center;gap:18px}
.total-logo{display:flex;align-items:center;min-width:0;text-decoration:none!important;z-index:2}
.total-logo img{display:block;max-width:180px;max-height:52px;width:auto;height:auto;object-fit:contain}
.total-nav{display:flex;align-items:center;gap:4px;margin-left:auto}
.total-nav a{padding:10px 12px;border-radius:11px;color:#b9b9c2!important;text-decoration:none!important;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.total-nav a:hover,.total-nav a.active{background:var(--p-red-soft);color:#fff!important}
.total-actions{display:flex;gap:7px;align-items:center;margin-left:4px}
.total-btn{border-radius:11px;padding:10px 14px;text-decoration:none!important;font-size:10px;font-weight:900;letter-spacing:.05em;border:1px solid rgba(255,255,255,.09);white-space:nowrap}
.total-btn.login{background:#121218;color:#fff!important}.total-btn.register{background:linear-gradient(135deg,#f02b4d,#790a20);color:#fff!important;box-shadow:0 10px 26px rgba(226,27,60,.2)}
.total-user{font-size:11px;color:#fff;padding:9px 12px;background:#121218;border:1px solid rgba(255,255,255,.08);border-radius:11px}
.total-burger{width:44px;height:44px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:#111117;color:#fff;display:none;align-items:center;justify-content:center;font-size:22px;cursor:pointer;flex:none;position:relative;z-index:5200}
.total-sidebar-backdrop{position:fixed;inset:0;background:rgba(0,0,0,.68);opacity:0;visibility:hidden;transition:.25s;z-index:5100}
.total-sidebar{position:fixed;top:72px;right:0;width:min(380px,92vw);height:calc(100vh - 72px);overflow:auto;background:linear-gradient(180deg,#111116,#07070a);border-left:1px solid rgba(226,27,60,.2);box-shadow:-10px 0 28px rgba(0,0,0,.35);transform:translateX(105%);transition:.28s;z-index:5150;padding:18px}
.total-sidebar.open{transform:none}.total-sidebar-backdrop.open{opacity:1;visibility:visible}
.total-sidebar-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.total-sidebar-head strong{font-size:16px}.total-close{border:0;background:#1a1a21;color:#fff;width:36px;height:36px;border-radius:10px}
.total-account{padding:14px;border-radius:15px;background:linear-gradient(145deg,#18181f,#0b0b0f);border:1px solid var(--p-line);margin-bottom:12px}
.total-account .balance{font-size:22px;font-weight:900}.total-account small{color:var(--p-muted)}
.total-side-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.total-side-grid a,.total-side-list a{display:flex;align-items:center;gap:9px;padding:12px;border-radius:12px;background:#121218;border:1px solid rgba(255,255,255,.06);color:#ddd;text-decoration:none!important;font-size:11px;font-weight:800}.total-side-grid a:hover,.total-side-list a:hover{border-color:rgba(226,27,60,.35);background:#19090e;color:#fff}.total-side-list{display:grid;gap:8px;margin-top:10px}.total-side-label{font-size:9px;color:#ff4665;letter-spacing:.16em;font-weight:900;margin:18px 0 8px}

/* Content shell */
.total-main{max-width:1240px;margin:0 auto;padding:12px 14px}
.total-section{margin:18px 0}.total-section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:11px}.total-section-head h2{margin:3px 0 0;font-size:22px;letter-spacing:-.03em}.total-section-head small{color:#ff4665;font-weight:900;letter-spacing:.16em;font-size:9px}.total-section-head a{font-size:10px;color:#ff4665!important;text-decoration:none!important}

/* Category launcher */
.total-categories{display:grid;grid-template-columns:repeat(8,1fr);gap:8px;margin:12px 0 18px}.total-category{min-height:78px;border:1px solid rgba(255,255,255,.07);border-radius:16px;background:linear-gradient(145deg,#15151b,#0b0b0f);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-decoration:none!important;color:#bfc0c8!important}.total-category .ico{width:34px;height:34px;display:grid;place-items:center;border-radius:11px;background:#19090e;color:#ff4665;font-size:16px;font-weight:900}.total-category span{font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.total-category:hover,.total-category.active{background:linear-gradient(145deg,#e21b3c,#72091e);color:#fff!important;border-color:rgba(255,72,99,.35);box-shadow:0 5px 14px rgba(226,27,60,.10)}.total-category:hover .ico,.total-category.active .ico{background:rgba(0,0,0,.22);color:#fff}

/* Game/provider cards - works with existing slot/casino markup */
.game-item,.game-provider,.provider-item,.game-card,.provider-card{border-radius:15px!important;background:linear-gradient(145deg,#16161c,#0b0b0f)!important;border:1px solid rgba(255,255,255,.07)!important;box-shadow:0 4px 12px rgba(0,0,0,.18)!important;overflow:hidden}
.game-item:hover,.game-provider:hover,.provider-item:hover,.game-card:hover,.provider-card:hover{border-color:rgba(226,27,60,.38)!important;transform:translateY(-2px);transition:transform .16s ease,border-color .16s ease}
.game-item img,.game-provider img,.provider-item img,.game-card img,.provider-card img{background:#09090d}
.btn-success,.btn-primary{background:linear-gradient(135deg,#e21b3c,#780a20)!important;border-color:#e21b3c!important;color:#fff!important}

/* Bottom nav */
.fixed-footer{height:70px!important;display:flex!important;align-items:stretch!important;justify-content:center!important;gap:0!important;border-top:1px solid rgba(255,255,255,.08)!important;box-shadow:0 -6px 20px rgba(0,0,0,.28)!important;z-index:4900!important}
.fixed-footer a{flex:1;max-width:140px;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:4px;color:#92929d!important;text-decoration:none!important;font-size:9px!important;font-weight:900!important;text-transform:uppercase}
.fixed-footer a img{width:22px!important;height:22px!important;filter:grayscale(1) brightness(1.8)!important;opacity:.7}.fixed-footer a:hover,.fixed-footer a[data-active=true]{color:#ff4261!important}.fixed-footer a:hover img,.fixed-footer a[data-active=true] img{filter:none!important;opacity:1}

/* Legacy side menu is disabled; new sidebar replaces it. */
.header,.site-header,.site-menu-trigger-input,.site-menu-trigger,.site-menu{display:none!important}

/* Mobile */
@media(max-width:900px){
 .total-header{height:66px}.total-header-inner{padding:0 10px;gap:9px}.total-logo img{max-width:150px;max-height:46px}.total-nav{display:none}.total-actions{margin-left:auto}.total-btn{padding:9px 10px}.total-burger{display:flex}.total-sidebar{top:66px;height:calc(100vh - 66px)}
 .total-main{padding:9px 9px}.total-categories{grid-template-columns:repeat(4,1fr);gap:7px}.total-category{min-height:70px}.total-category span{font-size:8px}.total-category .ico{width:30px;height:30px;font-size:14px}
}
@media(max-width:480px){.total-actions .login{display:none}.total-logo img{max-width:132px}.total-categories{grid-template-columns:repeat(4,1fr)}.total-section-head h2{font-size:19px}.fixed-footer{height:64px!important}.fixed-footer a{font-size:8px!important}.fixed-footer a img{width:20px!important;height:20px!important}}

/* PERFORMANCE PATCH: preserve all sections while reducing paint/compositing cost. */
.total-section,.popular-game-title-container,.game-list,.provider-list{content-visibility:visible!important;contain:none!important;contain-intrinsic-size:auto!important;}
img{content-visibility:visible!important;}
@media (prefers-reduced-motion: reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}


/* FINAL RED/BLACK POLISH v20261001-2 */
.total-logout{
  background:linear-gradient(135deg,rgba(226,27,60,.18),rgba(90,5,20,.16))!important;
  border-color:rgba(226,27,60,.34)!important;
  color:#ff5a75!important;
}
.total-logout:hover{background:linear-gradient(135deg,#e21b3c,#76091e)!important;color:#fff!important}
/* Deposit / Withdraw / Profile legacy accents: force crimson without changing behavior. */
.deposit-container,.withdraw-container,.profile-container,
.deposit-tabs,.withdraw-tabs,.profile-tabs,
.deposit-tab,.withdraw-tab,.profile-tab,
.deposit-method,.withdraw-method,.payment-method,
.available-bank-item[data-selected="true"],.available-bank-item:hover{
  border-color:rgba(226,27,60,.32)!important;
}
.deposit-tabs a.active,.withdraw-tabs a.active,.profile-tabs a.active,
.deposit-tab.active,.withdraw-tab.active,.profile-tab.active,
.payment-method.active,.deposit-method.active,.withdraw-method.active{
  background:linear-gradient(135deg,#e21b3c,#76091e)!important;color:#fff!important;border-color:#e21b3c!important;
}
.available-bank-item .available-bank-status{background:#e21b3c!important}
/* Kill any remaining inline legacy green/purple surfaces. */
[style*="#16A34A"],[style*="#47C57C"],[style*="#19AF57"],[style*="#16E16B"],[style*="#12B255"],[style*="#17E86E"],[style*="#5DEF9A"]{
  color:#fff!important;background-color:#0d0d12!important;border-color:rgba(226,27,60,.28)!important;
}
/* Premium jackpot */
.rb-jackpot{
  position:relative;max-width:1240px;margin:14px auto 8px;padding:0 14px;overflow:hidden;
}
.rb-jackpot-inner{
  position:relative;overflow:hidden;display:flex;align-items:center;justify-content:space-between;gap:20px;
  min-height:142px;padding:24px 28px;border-radius:22px;
  background:radial-gradient(circle at 75% 50%,rgba(226,27,60,.28),transparent 38%),
             linear-gradient(120deg,#09090c 0%,#17070c 52%,#08080b 100%);
  border:1px solid rgba(226,27,60,.34);box-shadow:0 20px 60px rgba(0,0,0,.45),inset 0 0 50px rgba(226,27,60,.05);
}
.rb-jackpot-glow{position:absolute;width:230px;height:230px;right:12%;top:-90px;border-radius:50%;background:rgba(226,27,60,.16);filter:blur(55px);pointer-events:none}
.rb-jackpot-copy{position:relative;z-index:1}.rb-jackpot-copy small{display:block;color:#ff4665;font-size:9px;font-weight:900;letter-spacing:.24em;margin-bottom:6px}
.rb-jackpot-amount{font-family:"DS Digital",Inter,system-ui,sans-serif;color:#fff;font-size:clamp(34px,6vw,62px);font-weight:900;line-height:.95;letter-spacing:.035em;text-shadow:0 0 22px rgba(226,27,60,.35)}
.rb-jackpot-live{display:inline-flex;align-items:center;gap:7px;margin-top:10px;color:#a8a8b2;font-size:9px;font-weight:900;letter-spacing:.15em}.rb-jackpot-live i{width:7px;height:7px;border-radius:50%;background:#e21b3c;box-shadow:0 0 12px #e21b3c;animation:rbPulse 1.5s infinite}
.rb-jackpot-mark{position:relative;z-index:1;min-width:112px;text-align:center;padding:18px;border:1px solid rgba(255,255,255,.08);border-radius:18px;background:rgba(0,0,0,.28);box-shadow:inset 0 0 25px rgba(226,27,60,.06)}
.rb-jackpot-mark b{display:block;color:#ff3152;font-size:34px;line-height:1}.rb-jackpot-mark span{display:block;color:#a8a8b2;font-size:8px;letter-spacing:.18em;font-weight:900;margin-top:7px}.rb-jackpot-mark strong{display:block;color:#fff;font-size:10px;letter-spacing:.12em;margin-top:4px}
@keyframes rbPulse{0%,100%{opacity:.55;transform:scale(.85)}50%{opacity:1;transform:scale(1)}}
@media(max-width:560px){.rb-jackpot-inner{min-height:118px;padding:18px 17px}.rb-jackpot-amount{font-size:31px}.rb-jackpot-mark{min-width:82px;padding:13px 9px}.rb-jackpot-mark b{font-size:27px}.rb-jackpot-mark span{font-size:7px}}

/* FINAL LOGO SCALE v20261002-0832 */
.total-logo{overflow:visible!important;flex:0 0 auto!important}
.total-logo img{width:220px!important;max-width:none!important;max-height:58px!important;height:auto!important;object-fit:contain!important;transform:scale(1.10);transform-origin:left center}
@media(max-width:900px){
  .total-logo img{width:200px!important;max-width:none!important;max-height:54px!important;transform:scale(1.08);transform-origin:left center}
}
@media(max-width:480px){
  .total-logo img{width:190px!important;max-width:none!important;max-height:52px!important;transform:scale(1.08);transform-origin:left center}
}
