/* ===== CarousellVP BRAND PALETTE (gold + deep-red + black luxury) — forces the theme regardless of style.css base or theme.js, via !important custom props ===== */
:root{
  --primary-rgb: 255, 94, 42 !important;
  --primary-2-rgb: 245, 122, 20 !important;
  --gold: #ff9a3c !important;
}
/* ============================================================
   CarousellVP — "Dark Luxury Neon Dashboard" theme layer
   (overrides vision191 style.css · spec from CarousellVP prototype)
   primary gold var(--primary) · secondary amber var(--primary-2) · highlight gold #ff9a3c
   bg #09090f · sidebar #0d0d15 · card #141421 · hairline rgba(255,255,255,.08)
   mood: Stake / Roobet / BC.Game premium casino
   ============================================================ */
:root{
  --primary-rgb: 255, 94, 42;
  --primary-2-rgb: 245, 122, 20;
  --primary: rgb(var(--primary-rgb));
  --primary-2: rgb(var(--primary-2-rgb));
  --primary-glow: rgba(255, 94, 42,.45);
  --gold: #ff9a3c;
  --gold-2: #ff5e2a;
  --gold-rgb: 255, 154, 60;
  --secondary: #202032;
  --bg: #09090f;
  --bg-dark: #06060c;
  --bg-soft: #12121c;
  --bg-card: #141421;
  --line: rgba(255,255,255,.08);
  --text: #ffffff;
  --text-dim: #b5b5c3;
  --logo-scale: 1.4;
}

/* ===== scrollbar — magenta→violet thumb ===== */
::-webkit-scrollbar{ width:9px; height:9px; }
::-webkit-scrollbar-track{ background:transparent; }
::-webkit-scrollbar-thumb{ background:linear-gradient(var(--primary),var(--primary-2)); border-radius:20px; }

/* ===== SIDEBAR — slim luxe rail, gradient active pill ===== */
.vn-sidebar{ background:#0d0d15 !important; border-right:1px solid rgba(255,255,255,.06) !important; }
.sb-nav{ padding:8px 10px; }
.sb-nav .sb-item{
  border-radius:14px; margin-bottom:6px; padding:12px 14px;
  color:var(--text-dim);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
  border:1px solid transparent;
}
.sb-nav .sb-item:hover{ background:rgba(255, 94, 42,.12); color:#fff; }
.sb-nav .sb-item.on,
.sb-nav .sb-item.active{
  background:linear-gradient(135deg, rgba(255, 94, 42,.22), rgba(245, 122, 20,.22)) !important;
  border:1px solid rgba(255, 94, 42,.38) !important;
  color:#fff !important;
}
.sb-nav .sb-item.on .sb-lbl,
.sb-nav .sb-item.active .sb-lbl{ color:#fff !important; }
.sb-nav .sb-item.on svg,
.sb-nav .sb-item.active svg{ color:var(--primary); }

/* ===== HEADER — sticky glass bar ===== */
.vn-header{
  background:rgba(9,9,15,.88) !important;
  backdrop-filter:blur(18px); -webkit-backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(255,255,255,.06) !important;
}
/* primary CTA = magenta→violet gradient with glow */
.vn-register, .btn-primary{
  background:linear-gradient(135deg,var(--primary),var(--primary-2)) !important;
  border:0 !important; color:#fff !important;
  box-shadow:0 0 13px rgba(255, 94, 42,.22) !important;
}
.vn-register:hover, .btn-primary:hover{ filter:brightness(1.06); }
/* login = slate pill */
.vn-login, .btn-ghost{
  background:#1e293b !important; border:0 !important; color:#fff !important;
}
.vn-login:hover, .btn-ghost:hover{ background:#263449 !important; }
.cta-pill{ box-shadow:0 0 16px rgba(255, 94, 42,.26); }
a{ color:var(--primary); }

/* gold = luxe secondary accent action */
.btn-gold{
  background:linear-gradient(135deg,#ff9d4a,#ff5e2a) !important;
  border-color:#ff9a3c !important; color:#3a1400 !important;
  box-shadow:0 2px 14px rgba(255, 154, 60,.26) !important;
}

/* ===== HERO — promotion slider (phase 2) ===== */
.hero, .page-hero{ background:transparent !important; position:relative; }
.hero .container{ padding-top:18px; }
/* show the promo carousel as the hero banner */
#heroCarousel{ display:block !important; border-radius:18px; }
#heroCarousel .hc-slide, #heroCarousel .swiper-slide{ border-radius:16px; overflow:hidden; }
#heroCarousel .hc-slide img, #heroCarousel .swiper-slide img{ border-radius:16px; }
.swiper-pagination:empty{ display:none; }
/* keep the SEO H1 but render it as a slim tagline under the slider */
.hero .hero-intro{ margin-top:14px; }
.hero .hero-intro h1{
  font-size:15px !important; font-weight:500; color:var(--text-dim);
  text-align:center; text-shadow:none !important; letter-spacing:0;
  max-width:880px; margin:0 auto; line-height:1.55;
}

/* ===== POPULAR CATEGORIES — glassmorphism tiles ===== */
.quickmenu a, .quickmenu a.tilt3d{
  background:rgba(255,255,255,.035) !important;
  backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,.08) !important;
  border-radius:20px !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.quickmenu a:hover, .quickmenu a.tilt3d:hover{
  border-color:var(--primary) !important;
  box-shadow:0 12px 30px rgba(255, 94, 42,.22) !important;
}

/* ===== section headings — magenta icon + reach for hierarchy ===== */
.section-head .ico{ color:var(--primary); filter:drop-shadow(0 0 7px rgba(255, 94, 42,.5)); }
.section-head .hx{ letter-spacing:-.2px; }

/* ===== PROVIDER / GAME CARDS — hairline + magenta glow on hover ===== */
.provider-card, .game-card{
  border:1px solid rgba(255,255,255,.06) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.provider-card:hover, .game-card:hover{
  transform:translateY(-4px);
  border-color:var(--primary) !important;
  box-shadow:0 14px 34px rgba(255, 94, 42,.22) !important;
}

/* ===== PROMOTION CARDS — Netflix lift ===== */
.promo-card{
  border:1px solid rgba(255,255,255,.06) !important;
  border-radius:20px !important; overflow:hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.promo-card:hover{
  transform:translateY(-8px);
  border-color:var(--primary) !important;
  box-shadow:0 20px 44px rgba(255, 94, 42,.28) !important;
}

/* ===== unique on-page SEO intro block ===== */
.bolt-seo{ padding:8px 0 26px; }
.bolt-seo .container{ max-width:960px; }
.bolt-seo h2{ color:#ffffff; font-size:clamp(18px,2.6vw,22px); margin:18px 0 8px; text-shadow:0 1px 4px rgba(0,0,0,.65); }
.bolt-seo h2::before{ content:"\26A1 "; color:var(--gold); }
.bolt-seo p{ color:rgba(255,255,255,.90); line-height:1.95; margin:0 0 12px; font-size:15px; text-shadow:0 1px 3px rgba(0,0,0,.6); }
.bolt-seo a{ color:var(--primary-2); }

/* ===== brand logo lift ===== */
img[src*="logo-cvp"]{
  filter: drop-shadow(0 3px 5px rgba(0,0,0,.55)) drop-shadow(0 0 18px rgba(245, 122, 20,.42));
}

/* ===== bigger sidebar labels (scrollable rail) ===== */
.sb-nav .sb-item{ font-size:16px !important; gap:13px !important; }
.sb-nav .sb-item .sb-lbl{ font-size:16px !important; }
.sb-nav .sb-item i, .sb-nav .sb-item svg{ width:23px !important; height:23px !important; }

/* ===== remove non-working nav items: ทดลองเล่น (demo) + ดูบอลสด (livefootball) ===== */
a[href*="/demo/"], a[href*="demo.html"],
a[href*="/livefootball/"], a[href*="livefootball.html"],
.sb-item[data-key="demo"], .sb-item[data-key="livefootball"]{ display:none !important; }

/* ===== PAGE BACKGROUND — luxe ambient (plum gradient + brand glow at top) ===== */
/* NON-FIXED on purpose. A fixed background layer (background-attachment:fixed OR a
   position:fixed ::before) gets re-rasterized by the compositor on every unrelated paint —
   e.g. a footer-link :hover — which, together with the header's backdrop-filter:blur,
   flashed the WHOLE viewport at once ("กระพริบพร้อมกันหมด"). A normal scrolling background
   is painted with the content and never forces that full-viewport re-raster, so the hover
   flicker is gone. The image sits full-width at the top and fades into solid dark below. */
body{
  background:
    linear-gradient(180deg, rgba(9,5,6,.60), rgba(7,4,5,.76) 50%, rgba(5,3,4,.88)),
    url("../img/ui/bg-main.webp?v=lux1") center center / cover fixed no-repeat,
    #0a0608
    !important;
}
body::before{ content:none !important; }
/* keep the footer on its own stacking context so a hover-repaint stays contained to it */
.site-footer{ isolation:isolate; }

/* ===== running-light beam on active nav pill + primary CTA ===== */
@property --tw-ang{ syntax:"<angle>"; inherits:false; initial-value:0deg; }
.sb-nav .sb-item.on, .sb-nav .sb-item.active, .vn-register{ position:relative; z-index:0; }
.sb-nav .sb-item.on::after, .sb-nav .sb-item.active::after, .vn-register::after{
  content:""; position:absolute; inset:0; border-radius:inherit; padding:1.6px;
  background: conic-gradient(from var(--tw-ang),
    transparent 0deg, transparent 265deg,
    var(--primary) 320deg, #ffffff 345deg, var(--primary-2) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: tw-spin 2.4s linear infinite; pointer-events:none;
}
@keyframes tw-spin{ to{ --tw-ang:360deg; } }

/* ===== collapsed sidebar: designed CarousellVP mini mark (SVG) instead of clipped logo ===== */
body.sb-collapsed .sb-head .vn-logo{ display:none !important; }
body.sb-collapsed .sb-head .sb-mark{
  display:block !important; width:48px; height:48px; margin:0 auto;
  background:url("../img/ui/logo-mark-cvp.webp?v=cvp3") center/contain no-repeat;
  border-radius:0 !important; box-shadow:none !important;
  filter: drop-shadow(0 0 9px rgba(255, 94, 42,.45));
}
body.sb-collapsed .sb-head .sb-mark img{ display:none !important; }
body.sb-collapsed .sb-head .sb-mark::after{ content:none !important; }

/* ===== ปุ่มติดตั้งแอป — หัวเว็บ (เดสก์ท็อป) + quicknav (มือถือ) ===== */
.vn-actions .vn-install{
  background:linear-gradient(135deg,#ff9d4a,#d4591a) !important; color:#3a1400 !important; border:0 !important;
  border-radius:999px !important; /* match the pill radius of .vn-line/.vn-register/.vn-login */
  box-shadow:0 0 16px rgba(255, 154, 60,.28) !important; font-weight:700 !important;
}
.vn-actions .vn-install:hover{ filter:brightness(1.06); }
.vn-actions .vn-install i, .vn-actions .vn-install svg{ color:#3a1400 !important; }
/* desktop button hides on mobile (the quicknav item below takes over) */
@media(max-width:900px){ .vn-actions .vn-install{ display:none !important; } }
/* mobile quicknav install item — gold accent so it reads as "app" */
.vn-quicknav .qn-item[href*="centerwarp"]{ border-color:rgba(255, 154, 60,.5) !important; }
.vn-quicknav .qn-item[href*="centerwarp"] i, .vn-quicknav .qn-item[href*="centerwarp"] svg{ color:#ff9a3c !important; }

/* ===== PWA install popup (themed dark-neon bottom sheet) ===== */
.bolt-pwa{
  position:fixed; z-index:99999; left:16px; right:16px; bottom:16px; margin:0 auto; max-width:430px;
  display:flex; align-items:center; gap:13px; padding:14px 16px;
  background:linear-gradient(135deg, rgba(20,20,33,.97), rgba(13,13,21,.98));
  border:1px solid rgba(255, 94, 42,.45); border-radius:18px;
  box-shadow:0 0 22px rgba(255, 94, 42,.30), 0 14px 40px rgba(0,0,0,.6);
  -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px);
  transform:translateY(160%); opacity:0;
  transition:transform .42s cubic-bezier(.22,.61,.36,1), opacity .42s ease;
  font-family:'Prompt',sans-serif;
}
.bolt-pwa.show{ transform:translateY(0); opacity:1; }
.bpwa-ico{ width:48px; height:48px; flex:0 0 auto; border-radius:12px; filter:drop-shadow(0 0 9px rgba(255, 94, 42,.55)); }
.bpwa-body{ flex:1 1 auto; min-width:0; }
.bpwa-title{ color:#fff; font-weight:700; font-size:15px; line-height:1.2; }
.bpwa-sub{ color:#b5b5c3; font-size:12px; line-height:1.45; margin-top:3px; }
.bpwa-sub b{ color:#ff9a3c; font-weight:600; }
.bpwa-go{
  flex:0 0 auto; border:0; cursor:pointer; border-radius:999px; padding:10px 17px;
  font-family:inherit; font-weight:700; font-size:13px; color:#3a1400; white-space:nowrap;
  background:linear-gradient(135deg,#ff9d4a,#d4591a); box-shadow:0 0 16px rgba(255, 154, 60,.35);
}
.bpwa-go:hover{ filter:brightness(1.06); }
.bpwa-x{ position:absolute; top:-11px; right:-9px; width:28px; height:28px; display:flex; align-items:center; justify-content:center; background:#15151f; border:1px solid rgba(255, 94, 42,.6); border-radius:50%; color:#fff; font-size:17px; line-height:1; padding:0; cursor:pointer; box-shadow:0 3px 11px rgba(0,0,0,.6); transition:background .15s ease, transform .15s ease; }
.bpwa-x:hover{ background:#ff5e2a; color:#1a1206; transform:scale(1.08); }
.bolt-pwa.is-ios{ padding-right:20px; }
.bpwa-ios-arrow{ flex:0 0 auto; color:var(--primary); font-size:22px; font-weight:800; animation:bpwa-bob 1.4s ease-in-out infinite; }
@keyframes bpwa-bob{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(5px); } }
@media(max-width:480px){ .bolt-pwa{ left:10px; right:10px; padding:12px 14px; gap:11px; } .bpwa-title{ font-size:14px; } .bpwa-go{ padding:9px 14px; } }
/* on mobile the popup must clear the fixed bottom nav (.vn-bn, ~64px) so it isn't buried under it */
@media(max-width:900px){ .bolt-pwa{ bottom:calc(64px + env(safe-area-inset-bottom, 0px) + 12px) !important; } }

/* ===== sidebar: natural-size menu, the rail scrolls if content is tall; TX widget kept inside the rail ===== */
.vn-sidebar{ overflow-x:hidden !important; }
.vn-sidebar .sb-nav{ flex-shrink:0 !important; }
.lw-side-wrap{ max-width:100%; overflow-x:hidden; box-sizing:border-box; flex-shrink:0 !important; }
.lw-side-wrap .tw-ltx{ max-width:100%; box-sizing:border-box; }
.lw-side-wrap .tw-ltx *{ box-sizing:border-box; }
.lw-side-wrap .tw-ltx-details{ min-width:0; }
.lw-side-wrap .tw-ltx-user, .lw-side-wrap .tw-ltx-amount{ overflow-wrap:anywhere; }
.lw-side-wrap .tw-ltx-status{ white-space:normal; text-align:right; }
/* no glow and no magenta box-outline on the active row (the "angular shadow" the user saw);
   the active row still stands out because the others are dimmed/blurred */
.lw-side-wrap .tw-ltx-item.is-active .tw-ltx-inner{ box-shadow:none !important; border-color:transparent !important; }
/* kill the card's magenta neon glow in the sidebar — it leaked past the rail (clipped square at the corners/top) */
.lw-side-wrap .tw-ltx{ box-shadow:none !important; }

/* ===== provider filter chips with no available logo: drop the loading skeleton so the
   provider NAME shows instead of a blank dark pill (many provider logos are blocked at source) ===== */
.chip.ph .vn-imgsk-sheen, .chip.initials .vn-imgsk-sheen{ display:none !important; }
.chip.ph .chip-logo, .chip.initials .chip-logo{ display:none !important; }
.chip.ph, .chip.initials{ color:#e7e7ee !important; }

/* footer provider chips: don't lift on hover — the 2px move pushed the chip out from under the
   cursor, so :hover rapidly toggled on/off = flicker. Keep a still background/border highlight. */
.fp-chip:hover{ transform:none !important; }

/* footer menu/help links: transition ONLY color (the inherited `transition:all` made the whole
   footer repaint on hover → all link colors flickered together). Keep links neutral, magenta on hover. */
.site-footer a, .footer-nav li a, .footer-contact li a{ transition:color .15s ease !important; }
.footer-nav li a i, .footer-nav li a svg{ transition:color .15s ease, opacity .15s ease !important; }
/* footer text links: neutral gray by default → magenta on hover, PER LINK (matches the icons,
   which already go --text-dim → --primary). Hovering one row lights only that row. */
.site-footer .footer-nav li a, .site-footer .footer-contact li a{ color:var(--text-dim) !important; }
.site-footer .footer-nav li a:hover, .site-footer .footer-contact li a:hover{ color:var(--primary) !important; }


/* ===== AABET-style skin: rounded pill sidebar, bright-green active, glossy cards ===== */
.sb-nav{ padding:10px 10px; }
.sb-nav .sb-item{
  border-radius:16px; margin-bottom:7px; padding:12px 14px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.06) !important;
  color:var(--text-dim);
}
.sb-nav .sb-item:hover{
  background:rgba(255, 94, 42,.12) !important;
  border-color:rgba(255, 94, 42,.32) !important; color:#fff !important;
}
.sb-nav .sb-item.on, .sb-nav .sb-item.active{
  background:linear-gradient(90deg, rgba(255, 94, 42,.92), rgba(245, 122, 20,.72)) !important;
  border:1px solid rgba(255, 140, 110,.55) !important;
  color:#ffffff !important;
  text-shadow:0 1px 2px rgba(45, 9, 0,.5);
  box-shadow:0 8px 20px rgba(255, 94, 42,.40), inset 0 1px 0 rgba(255,255,255,.30) !important;
}
.sb-nav .sb-item.on svg, .sb-nav .sb-item.active svg,
.sb-nav .sb-item.on .sb-lbl, .sb-nav .sb-item.active .sb-lbl{ color:#fff !important; }
/* softer, glossier cards like AABET */
.game-card, .provider-card{ border-radius:16px !important; }
.game-card:hover{ box-shadow:0 12px 28px rgba(255, 94, 42,.30) !important; }


/* =================================================================
   AABET v2 — dark-green surfaces + glossy 3D pills & buttons
   (overrides earlier rules; appended last)
   ================================================================= */
:root{
  --bg:#0e0a0c !important; --bg-dark:#090608 !important;
  --bg-soft:#191216 !important; --bg-card:#1a1218 !important;
  --line:#45241b !important;
}
body{
  background:
    linear-gradient(180deg, rgba(9,5,6,.60), rgba(7,4,5,.76) 50%, rgba(5,3,4,.88)),
    url("../img/ui/bg-main.webp?v=lux1") center center / cover fixed no-repeat,
    #0e0a0c !important;
}
/* ---- sidebar pills: glossy dark-green with real depth ---- */
.sb-nav .sb-item{
  background:linear-gradient(180deg, rgba(79, 39, 29,.55), rgba(28, 14, 10,.74)) !important;
  border:1px solid rgba(130, 60, 42,.38) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 3px 7px rgba(0,0,0,.42) !important;
  color:#eaddc6 !important;
}
.sb-nav .sb-item:hover{
  background:linear-gradient(180deg, rgba(255, 94, 42,.26), rgba(255, 94, 42,.08)) !important;
  border-color:rgba(255, 94, 42,.55) !important; color:#fff !important;
}
.sb-nav .sb-item.on, .sb-nav .sb-item.active{
  background:linear-gradient(180deg, #f57a14, #a83f12) !important;
  border:1px solid rgba(255, 172, 150,.85) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -3px 7px rgba(80, 17, 0,.45), 0 8px 20px rgba(255, 94, 42,.55) !important;
  color:#1c0807 !important; text-shadow:none !important;
}
.sb-nav .sb-item.on svg, .sb-nav .sb-item.active svg,
.sb-nav .sb-item.on .sb-lbl, .sb-nav .sb-item.active .sb-lbl{ color:#1c0807 !important; }
/* keep the gold "promo" sidebar item (sb-hot) readable */
.sb-nav .sb-item.sb-hot i, .sb-nav .sb-item.sb-hot svg{ color:var(--gold) !important; }

/* ---- header auth buttons: filled glossy pills (were flat outline) ---- */
.vn-register{
  background:linear-gradient(180deg, #f57a14, #c24a16) !important;
  border:1px solid rgba(255,194,176,.75) !important; color:#1c0807 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 5px 14px rgba(255, 94, 42,.45) !important;
}
.vn-login{
  background:linear-gradient(180deg, rgba(83, 43, 33,.96), rgba(26, 13, 10,.96)) !important;
  border:1px solid rgba(255, 94, 42,.42) !important; color:#fff7e6 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.13), 0 5px 14px rgba(0,0,0,.42) !important;
}
.vn-register:hover{ filter:brightness(1.06) !important; }
.vn-login:hover{ background:linear-gradient(180deg, rgba(255, 94, 42,.34), rgba(26, 13, 10,.96)) !important; color:#fff !important; }

/* ---- generic buttons get gloss/depth ---- */
.btn-primary{
  background:linear-gradient(180deg, #f57a14, #a83f12) !important; color:#1c0807 !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 6px 16px rgba(255, 94, 42,.42) !important;
}
.btn, .game-play, .gp-play{
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 4px 10px rgba(0,0,0,.38);
}
.vn-install{ box-shadow: inset 0 1px 0 rgba(255,255,255,.42), 0 5px 14px rgba(255,180,40,.38) !important; }

/* ---- cards: green-tinted glossy ---- */
.game-card, .provider-card{
  border-radius:16px !important;
  border:1px solid rgba(130, 60, 42,.32) !important;
  background:linear-gradient(180deg, #27140f, #1a0a08) !important;
}
.game-card:hover{ box-shadow:0 12px 28px rgba(255, 94, 42,.35) !important; border-color:rgba(255, 94, 42,.62) !important; }


/* ===== AABET card skins: green glossy widgets + category cards ===== */
/* live-rtp / live-tx widget containers + cards -> green */
.tw-rtp, .tw-ltx{ background:#160a08 !important; }
.tw-rtp-card{
  background:linear-gradient(180deg,#2b1610,#1a0a08) !important;
  border:1px solid rgba(130, 60, 42,.35) !important; border-radius:14px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 6px 14px rgba(0,0,0,.42) !important;
}
.tw-ltx-inner{
  background:linear-gradient(180deg,#25130e,#1a0a08) !important;
  border:1px solid rgba(130, 60, 42,.22) !important;
}
.tw-ltx-item.is-active .tw-ltx-inner{
  background:linear-gradient(180deg,#3b1b13,#24110c) !important;
  border-color:rgba(255, 94, 42,.5) !important;
  box-shadow:0 3px 12px rgba(255, 94, 42,.25) !important;
}

/* category cards "หมวดหมู่ยอดนิยม" (.tilt3d) -> green glossy with depth */
.tilt3d{
  background:linear-gradient(160deg, rgba(106, 38, 20,.85), rgba(31, 13, 8,.96)) !important;
  border:1px solid rgba(130, 60, 42,.45) !important;
  border-radius:20px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 8px 20px rgba(0,0,0,.42) !important;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease !important;
}
.tilt3d:hover{
  border-color:rgba(255, 94, 42,.65) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 14px 32px rgba(255, 94, 42,.32) !important;
  transform: translateY(-3px);
}
.tilt3d .ic{ filter: drop-shadow(0 5px 12px rgba(255, 94, 42,.35)); }
.tilt3d .label{ color:#fff7e6 !important; font-weight:700; }

/* logo: remove dark drop-shadow box behind it (user: ไม่ต้องมีเงาพื้นหลัง) */
.vn-logo img, img[data-logo]{ filter:none !important; }


/* ===== CARD STYLE: Beveled 3D (user picked แบบ 4 / 23พ.ย.) — applies to RTP + category + game cards ===== */
.quickmenu a.tilt3d, .tw-rtp-card, .game-card, .provider-card{
  background:linear-gradient(145deg,#5c2719,#1c0e0a) !important;
  border-top:2px solid rgba(255, 156, 130,.5) !important;
  border-left:1px solid rgba(213, 113, 87,.3) !important;
  border-right:1px solid rgba(0,0,0,.45) !important;
  border-bottom:1px solid rgba(0,0,0,.5) !important;
  box-shadow:0 7px 0 rgba(0,0,0,.32), 0 14px 26px rgba(0,0,0,.5) !important;
  transition:transform .18s ease, box-shadow .2s ease !important;
}
.quickmenu a.tilt3d{ border-radius:16px !important; }
.tw-rtp-card, .game-card, .provider-card{ border-radius:14px !important; }
.quickmenu a.tilt3d:hover, .tw-rtp-card:hover, .game-card:hover, .provider-card:hover{
  transform:translateY(-4px) !important;
  box-shadow:0 9px 0 rgba(0,0,0,.32), 0 18px 30px rgba(255, 94, 42,.3) !important;
}

/* fire-bg readability (25 พ.ย.): category cards have empty bg visible (unlike game cards covered by art),
   warm brown #5c2719 was too light -> blended into the fire. Darken to a solid near-black card with a
   crisp GOLD top edge + red top-glow so each card lifts clearly off the fire. */
.quickmenu a.tilt3d{
  background:
    radial-gradient(130% 85% at 50% 0%, rgba(255, 94, 42,.16), transparent 62%),
    linear-gradient(162deg, #1e1014, #0b0608) !important;
  border-top:2px solid rgba(255, 138, 60,.6) !important;
  border-left:1px solid rgba(255, 138, 60,.16) !important;
  border-right:1px solid rgba(0,0,0,.5) !important;
  border-bottom:1px solid rgba(0,0,0,.55) !important;
  box-shadow:0 7px 0 rgba(0,0,0,.36), 0 16px 30px rgba(0,0,0,.6) !important;
}
.quickmenu a.tilt3d:hover{
  border-top-color:rgba(255, 154, 60,.85) !important;
  box-shadow:0 9px 0 rgba(0,0,0,.36), 0 20px 34px rgba(255, 94, 42,.34) !important;
}

/* ===== visibility fixes (icons blended with dark-green bg) 23พ.ย. ===== */
/* section-head icons -> visible green chip + white glyph */
.section-head .ico, .section .ico{
  background:linear-gradient(135deg, #ff5e2a, #f57a14) !important;
  box-shadow:0 2px 9px rgba(255, 94, 42,.45) !important;
  filter:none !important;
}
.section-head .ico svg, .section .ico svg{ color:#ffffff !important; stroke:#ffffff !important; visibility:visible !important; }
/* floating chat/support button was transparent -> visible green-ringed circle */
.floating-social .fs-chat{
  background:#25110b !important;
  border:1.5px solid rgba(255, 94, 42,.65) !important;
  box-shadow:0 2px 12px rgba(255, 94, 42,.4) !important;
  color:#ff5e2a !important;
}

/* scroll-jank-backdrop-fix (24 Nov 2026): 50+ game-card play overlays + quickmenu links + badges each ran backdrop-filter blur -> GPU re-blurs every scroll frame = mobile scroll stutter. Drop blur (keep translucent/solid bg). Modals/overlays keep blur (they don't scroll). */
.game-play,.gp-play,.provider-card .pc-play,.promo-badge,.news-card .nc-cat,.quickmenu a,#app-header:has(.vn-header.scrolled),.vn-header.scrolled{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
#app-header:has(.vn-header.scrolled),.vn-header.scrolled{background:#0a0a0af2!important}

/* CarousellVP-premium-redesign (cards + sidebar menu) */
.hero-carousel{border:1px solid rgba(255, 138, 60,.22)!important;box-shadow:0 16px 48px rgba(0,0,0,.6)!important}
.section-head{position:relative}
.section-head::after{content:"";display:block;height:3px;width:50px;margin-top:7px;border-radius:3px;background:linear-gradient(90deg,#ff9a3c,#f57a14 55%,rgba(255,106,44,0))}
.sb-item{border:1px solid transparent!important;border-radius:14px!important;background:rgba(255,255,255,.025)!important;color:#cbbfb3!important;transition:all .18s ease!important}
.sb-item:hover{background:rgba(245, 122, 20,.09)!important;border-color:rgba(255, 138, 60,.28)!important;color:#fff!important}
.sb-item.on{background:linear-gradient(135deg,#f57a14,#ff5e2a)!important;border:1px solid rgba(255, 150, 90,.85)!important;color:#fff!important;box-shadow:0 6px 18px rgba(255, 94, 42,.42),inset 0 1px 0 rgba(255,255,255,.22)!important}
.sb-item.on svg{color:#fff!important}
.tw-rtp-card{border:1px solid rgba(255, 138, 60,.16)!important;border-radius:16px!important;transition:transform .2s,box-shadow .2s,border-color .2s!important}
.tw-rtp-card:hover{transform:translateY(-6px);border-color:rgba(255, 138, 60,.6)!important;box-shadow:0 16px 36px rgba(255, 94, 42,.32)!important}
.tw-rtp-play{background:linear-gradient(135deg,#ffb77a,#e0591a)!important;color:#2a0d05!important;border:0!important}
.game-card{border:1px solid rgba(255, 138, 60,.1)!important;border-radius:14px!important;transition:transform .2s,box-shadow .2s,border-color .2s!important}
.game-card:hover{transform:translateY(-5px);border-color:rgba(255, 138, 60,.5)!important;box-shadow:0 12px 30px rgba(255, 94, 42,.3)!important}

/* ซ่อนปุ่มค้นหา (search) — หัวหน้าสั่งเอาออก */
.vn-search-btn{ display:none !important; }

/* ===== 27 พ.ย.: ปุ่มเมนู v3 — ทองขลิบแดง: เรียบ ลดทอง (พื้นดำ ขอบทองจางมาก ไอคอนทอง) ปุ่มที่เลือก=ทองทึบ (สมมาตร collapse ได้) ===== */
.sb-nav .sb-item{
  position:relative !important;
  overflow:hidden !important;
  background:linear-gradient(180deg, rgba(34,26,20,.5), rgba(13,10,11,.84)) !important;
  border:1px solid rgba(255, 94, 42,.15) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.05), 0 2px 6px rgba(0,0,0,.42) !important;
  color:#e7dcc6 !important;
  transition:background .16s ease, border-color .16s ease !important;
}
.sb-nav .sb-item svg, .sb-nav .sb-item i{ color:#ff8a4a !important; }
.sb-nav .sb-item .sb-lbl{ color:#e7dcc6 !important; }
.sb-nav .sb-item:hover{
  background:linear-gradient(180deg, rgba(255, 94, 42,.12), rgba(16,12,10,.86)) !important;
  border-color:rgba(255, 94, 42,.4) !important;
  color:#fff !important;
}
.sb-nav .sb-item:hover svg, .sb-nav .sb-item:hover i{ color:#ffb58a !important; }
.sb-nav .sb-item:hover .sb-lbl{ color:#fff !important; }
