/* ============================================================================
   Turbo theme overrides — patches turbo246's main.css for our static clone:
     - Slick slider has no JS, so .slick-list must clip to single slide
     - Tablet (768px) had 471px horizontal overflow from .bottom_head + .headerRight
     - Mobile spacing tweaks for header/login button
   ============================================================================ */

/* Slider — show only the first slide since no slick.js is running.
   Let the banner image's natural aspect ratio (1280:514 ≈ 2.49:1) drive the height.
   This matches turbo246's actual behavior — they don't force any aspect-ratio. */
.mainBanner, .top_banner_sec { width: 100%; max-width: 100%; padding: 0; }
.mainBanner .container, .mainBanner .container-fluid { padding-left: 0; padding-right: 0; max-width: 100%; }

/* 2026-05-20 — banner: force all slides display:block + stack via absolute.
   Bug: slick lib CSS in main.css has `.slick-slide { display:none }` as
   the base + `.slick-initialized .slick-slide { display:block }` as the
   override, but the override wasn't winning for inactive slides — they
   computed display:none and rendered 0×0 even with inline width:100%.
   The inline JS in turbo/index.blade.php (2026-05-20) sets all slides
   to position:absolute and fades opacity, but display:none defeats the
   stacking. Higher-specificity selector (.mainBanner .slick-list .slick-track
   .slick-slide = 4 classes) wins over `.slick-initialized .slick-slide` (2)
   and `.slick-slide` (1).
   Aspect ratio of source images: 1280:514 ≈ 2.49. */
/* 2026-05-20 — banner was rendering ~250px tall on mobile (38vw floor of
   180px + ::before pseudo padding adding more). Tightened the clamp so
   the banner matches the source image aspect (1280:514 ≈ 2.49) without
   leaving large dead space on narrow phones. Floor lowered from 180→140,
   scaling factor 38vw→26vw, ceiling 700→420. */
.mainBanner .slick-list { min-height: clamp(160px, 56.25vw, 520px); position: relative; }
.mainBanner .slick-list .slick-track { position: relative; height: 100%; }
.mainBanner .slick-list .slick-track .slick-slide {
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  transition: opacity 600ms ease-in-out;
}
/* The slide markup is:
     .slick-slide > div > (.position-relative + picture)
   .position-relative is the title/subtitle overlay (sits over the image, can be
   empty when no title is set). picture holds the banner image itself. Both must
   occupy the slide's full box, NOT stack — otherwise picture gets pushed below
   the overlay and clipped by .slick-list{overflow:hidden}.  Put both into
   position:absolute layout: the image as the base layer (z-index 1), the
   text overlay on top (z-index 2). */
.mainBanner .slick-list .slick-track .slick-slide > div {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
}
.mainBanner .slick-list .slick-track .slick-slide picture {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 1;
}
.mainBanner .slick-list .slick-track .slick-slide picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.mainBanner .slick-list .slick-track .slick-slide .position-relative {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
  pointer-events: none;
}
/* 2026-05-20 — scoped to .mainBanner only. The previous rules were GLOBAL
   and cascaded into every slick-look-alike on the page (popular_game_sec,
   providers strip, casino_sec, etc.), forcing every "horizontal scroll" of
   game tiles to render exactly ONE tile at 100% width because:
     - `.slick-track > .slick-slide { width: 100% }` made every tile fill
     - `.slick-track > .slick-slide:not(:first-child) { display: none }` hid
       every tile after the first
     - `.slick-slide img { width: 100% }` then blew the first image up to
       the full container, producing the "one huge Crazy Time tile" bug
   The mainBanner needs these rules to render a single 100%-wide hero slide.
   Other carousels need their natural tile width + the inline tile widths
   from turbo-interactivity.js's translate3d driver — so we scope to
   `.mainBanner ...` only. */
.mainBanner.slick-slider,
.mainBanner .slick-slider { width: 100%; max-width: 100%; }
.mainBanner .slick-list { overflow: hidden; width: 100%; max-width: 100%; padding: 0; height: auto; }
.mainBanner .slick-track { display: flex; transform: translate3d(0, 0, 0); width: 100%; height: auto; }
.mainBanner .slick-track > .slick-slide { flex: 0 0 100%; width: 100%; max-width: 100%; height: auto; }
/* 2026-05-22: removed display:none on non-first slides — inline JS in
   turbo/index.blade.php now handles banner rotation via opacity + z-index.
   The old rules blocked the slider from showing banners 2+ even though the
   JS tried to set display:block inline (CSS specificity race). */
.mainBanner .slick-slide img,
.mainBanner .slick-slide picture,
.mainBanner .slick-slide a img,
.mainBanner img,
.top_banner_sec img {
    width: 100%;
    height: auto;
    max-height: none;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* Restore SANE defaults for OTHER on-page carousels (popular_game_sec, etc.).
   These carousels are horizontal scrollers where each .slick-slide is one
   small game tile (~150-200px wide). Without explicit rules below, browser
   default makes flex items shrink — and turbo-interactivity.js's
   translate3d driver expects auto-width tiles. */
.popular_game_sec .slick-track,
.providers_sec .slick-track,
.casino_sec .slick-track,
.sports_banner_sec .slick-track {
    display: flex;
    flex-wrap: nowrap;
}
.popular_game_sec .slick-track > .slick-slide,
.providers_sec .slick-track > .slick-slide,
.casino_sec .slick-track > .slick-slide,
.sports_banner_sec .slick-track > .slick-slide {
    flex: 0 0 auto;            /* natural width — don't stretch */
    display: block !important; /* beat any leftover global hide */
}
/* Game-tile images: cap to the tile container so a 700px source doesn't
   blow up to fill the row. The actual tile size comes from the parent
   .game_box / .img_box markup in the Blade. */
.popular_game_sec .slick-slide img,
.providers_sec .slick-slide img,
.casino_sec .slick-slide img,
.sports_banner_sec .slick-slide img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* 2026-05-20 — removed bespoke .bottom_head overrides. The pill strip is now
 * driven entirely by main.css (baseline turbo246) + header-t246-parity.css.
 * Override stack here was producing the wrong pill shape (10px radius, 1.5px
 * border) instead of the original (.25rem radius, 1px border, 2px 5px pad). */
.exchangeitems, .top_head .row { overflow-x: visible; }
@media (max-width: 991px) {
    .top_head .col-12 { overflow-x: auto; }
}

/* 2026-05-22 — ensure .bottom_head ul can scroll freely on mobile */
.bottom_head ul {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    -webkit-overflow-scrolling: touch !important;
}
.bottom_head ul::-webkit-scrollbar { display: none !important; }
/* Ensure no parent clips the scroll */
.bottom_head, .bottom_head .container-fluid, .bottom_head .row, .bottom_head .col-12 {
    overflow-x: visible !important;
}

/* 2026-05-18: Login page — Register vs Login button visual hierarchy.
   Previously both buttons used `.sign-in-btn btn btn-primary` which made
   them visually identical (both solid gold). Register is a secondary action
   so it now renders as an outlined gold pill; Login keeps the solid fill. */
.login-page .turbo-register-btn,
.offcanvas-body .turbo-register-btn {
    background: transparent !important;
    color: var(--wl-accent, #e7b008) !important;
    border: 1.5px solid var(--wl-accent, #e7b008) !important;
    box-shadow: none !important;
    font-weight: 600 !important;
    transition: background 150ms, color 150ms;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 0;
    white-space: nowrap;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.2;
}
.login-page .turbo-register-btn:hover,
.offcanvas-body .turbo-register-btn:hover {
    background: rgba(231, 176, 8, 0.12) !important;
    color: var(--wl-accent, #f0c440) !important;
    border-color: var(--wl-accent, #f0c440) !important;
    text-decoration: none !important;
}
.login-page .turbo-register-btn:active,
.offcanvas-body .turbo-register-btn:active {
    transform: translateY(1px);
}

/* Language selector — native <select> wired to Google Translate via JS.
   Replaced the previously-pasted static GT widget so the change event actually
   triggers translation (GT only binds handlers to selects IT inserted itself). */
.headerRight .lang-select {
    appearance: none; -webkit-appearance: none;
    background: rgba(255,255,255,0.06); color: #fff;
    border: 1px solid rgba(255,255,255,0.18); border-radius: 8px;
    padding: 6px 26px 6px 10px; font-size: 13px; line-height: 1.2;
    cursor: pointer; outline: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='%23fff' d='M0 0l5 6 5-6z'/></svg>");
    background-repeat: no-repeat; background-position: right 8px center;
}
.headerRight .lang-select option { color: #111; background: #fff; }
/* Suppress GT's injected top banner + tooltip — translation still happens. */
body { top: 0; }
.goog-te-banner-frame, .skiptranslate iframe, #goog-gt-tt, .goog-tooltip { display: none; }
.goog-te-gadget { font-size: 0; }
.goog-te-gadget > span, .goog-te-gadget img { display: none; }

/* 2026-05-20 — `.icon` in main.css (legacy spade theme) styles itself as a
   gray 40px box with absolute positioning + top:70%!important — meant for
   `<img>` children sized 20x20. When we apply `.icon turbo-pwd-toggle` to
   the password-show/hide span (login/register/change-pwd modal), that
   styling clobbers our inline-positioned eye icon: the span becomes a
   gray rectangle and the FA `<i class="fa-eye">` inside renders inside
   the gray box. Neutralize so only the inline style + FA icon show. */
.turbo-pwd-toggle.icon,
.icon.turbo-pwd-toggle {
    background: transparent !important;
    border-radius: 0 !important;
    height: auto !important;
    width: auto !important;
    top: 50% !important;
    color: #94a3b8;
}
.turbo-pwd-toggle.icon i,
.icon.turbo-pwd-toggle i {
    font-size: 1.1rem;
    line-height: 1;
    color: #94a3b8;
    transition: color 120ms;
}
.turbo-pwd-toggle.icon:hover i,
.icon.turbo-pwd-toggle:hover i {
    color: var(--wl-accent, #facc15);
}

/* HeaderRight — let it shrink/scroll on tablet rather than push viewport */
.headerRight { flex-wrap: nowrap; gap: 0.4rem; max-width: 100%; align-items: center; }
@media (max-width: 991px) {
    .headerRight { gap: 0.3rem; }
    .headerRight .language-option, .headerRight .searchbar { display: none; }
    .headerRight .headicons.support { display: none; }
}

/* Social-icons sticky widget — hide labels on smaller screens to avoid spillover */
.social-icons { right: 8px; }
@media (max-width: 991px) {
    .social-icons li a span, .social-icons li .label { display: none; }
    .social-icons li a { width: 36px; height: 36px; padding: 0; }
}

/* Mobile login/logo padding. 2026-05-18: bumped logo from 34px → 64px on
 * phones so the brand mark reads clearly; was being squashed by a stale
 * rule that pre-dated the hero-card design. Tiny-phones (≤380px)
 * get 52px to keep room for the wallet pill + hamburger. */
@media (max-width: 575px) {
    .header .logo img { height: 64px; }
    .top_head { padding: 0.4rem 0; }
}
@media (max-width: 380px) {
    .header .logo img { height: 52px; }
}

/* Bound any rogue children that weren't supposed to extend past viewport.
   2026-05-18: also added to <html> because some browsers consider the body
   scrollable even when body has overflow-x:hidden (e.g. a fixed-position
   slide-out drawer at right:0 + transform:translateX(100%) can still trigger
   the html scrollbar). Setting both kills horizontal scroll completely. */
html, body { overflow-x: hidden; max-width: 100%; }
.container, .container-fluid { max-width: 100%; }

/* Casino game tile section — make sure cards stay grid even on narrow viewports */
@media (max-width: 575px) {
    .casino_games { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 576px) and (max-width: 991px) {
    .casino_games { grid-template-columns: repeat(3, 1fr); }
}


/* TURBO FA-FONT FIX 2026-05-17 — global font-family on body was overriding FA's font-family.
   Force the FA brands/solid font on icon elements so glyphs actually render. */
i.fa-solid, i.fas, .fa-solid, .fas {
    font-family: "Font Awesome 6 Free", "FontAwesome", sans-serif;
    font-weight: 900;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    text-rendering: auto;
    line-height: 1;
}
i.fa-brands, i.fab, .fa-brands, .fab {
    font-family: "Font Awesome 6 Brands", "FontAwesome", sans-serif;
    font-weight: 400;
    font-style: normal;
}
/* 2026-05-19: fa-regular/far rules removed — turbo theme only emits fa-solid glyphs. */

/* 2026-05-19: .turbo-game-pill block removed (mobile provider strip retired 2026-05-17, no markup references). */
.turbo-game-avatar {
    width: 34px; height: 34px;
    margin-left: 8px;
    flex-shrink: 0;
    transition: transform .15s ease, background .15s ease;
}
.turbo-game-avatar:hover { background: rgba(250,204,21,.10); transform: translateY(-1px); }
.turbo-game-avatar:active { transform: scale(.94); }
.turbo-game-avatar i { font-size: .85rem; }

/* Force the headerRight strip to stay in ONE row at desktop widths so the
   pill + avatar align with Sports/Support/Bonus instead of dropping below. */
@media (min-width: 768px) {
    .headerRight {
        flex-wrap: nowrap;
        align-items: center;
        gap: 14px;
    }
    .headerRight > * { flex-shrink: 0; }
    /* Allow only the search field to shrink */
    .headerRight .search-bar, .headerRight input[type="search"],
    .headerRight [class*="search"] { flex-shrink: 1; min-width: 0; }
}
/* 2026-05-18: at narrow desktop (≤1365px) tighten gap so 8 items fit cleanly
   without overflow. The 1280px viewport had .headerRight at 1224px which
   spilled 28px past the right edge. */
@media (min-width: 768px) and (max-width: 1365px) {
    .headerRight { gap: 8px; }
    .headerRight .search-bar, .headerRight input[type="search"] { max-width: 200px; }
    .headerRight .spade-tt-btn { padding: 0 2px; }
}
@media (min-width: 768px) and (max-width: 1199px) {
    .headerRight { gap: 6px; }
    .headerRight .search-bar, .headerRight input[type="search"] { max-width: 140px; }
    /* Hide the TT text-size button under 1200px — power-user feature, low-traffic */
    .headerRight .spade-tt-btn { display: none; }
}

/* Mobile — turbo-game-avatar shrink only (turbo-game-pill rules removed 2026-05-19). */
@media (max-width: 575.98px) {
    .turbo-game-avatar { width: 30px; height: 30px; margin-left: 5px; }
    .turbo-game-avatar i { font-size: .8rem; }
}

/* TURBO PROFILE PANEL 2026-05-17 — slide-out drawer triggered by .turbo-game-avatar */
.turbo-profile-backdrop {
    position: fixed; inset: 0; background: rgba(0,0,0,.55);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .25s ease;
    z-index: 9998;
}
.turbo-profile-backdrop.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.turbo-profile-panel {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: 320px; max-width: 92vw;
    background: #0c1220;
    color: #e9eef7;
    box-shadow: -8px 0 32px rgba(0,0,0,.5);
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
    z-index: 9999;
    display: flex; flex-direction: column;
    overflow-y: auto;
    padding: 18px 20px;
    border-left: 1px solid rgba(250,204,21,.25);
}
.turbo-profile-panel.is-open { transform: translateX(0); }
.turbo-profile-panel .tpp-head {
    display: flex; align-items: center; justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding-bottom: 12px; margin-bottom: 14px;
}
.turbo-profile-panel .tpp-title {
    font-size: 16px; font-weight: 700; color: var(--wl-accent, #facc15);
    text-transform: uppercase; letter-spacing: .04em;
}
.turbo-profile-panel .tpp-close {
    background: transparent; border: 0; color: #cfd6e1; font-size: 26px;
    line-height: 1; cursor: pointer; padding: 4px 8px; border-radius: 6px;
}
.turbo-profile-panel .tpp-close:hover { background: rgba(255,255,255,.06); color: #fff; }
.turbo-profile-panel .tpp-wallet {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    margin-bottom: 12px;
}
.turbo-profile-panel .tpp-wallet-cell {
    background: rgba(250,204,21,.06);
    border: 1px solid rgba(250,204,21,.18);
    border-radius: 8px; padding: 10px 12px;
    display: flex; flex-direction: column; gap: 4px;
}
.turbo-profile-panel .tpp-wallet-cell span {
    display: block; font-size: 11px; color: #94a3b8;
    text-transform: uppercase; letter-spacing: .04em; margin-bottom: 4px;
}
.turbo-profile-panel .tpp-wallet-cell b {
    color: var(--wl-accent, #facc15); font-size: 15px; font-weight: 700;
}
.turbo-profile-panel .tpp-exposure {
    background: rgba(255,255,255,.04); border-radius: 8px;
    padding: 8px 12px; font-size: 13px; color: #cbd5e1;
    margin-bottom: 14px;
}
.turbo-profile-panel .tpp-exposure b { color: #fff; margin-left: 6px; }
.turbo-profile-panel .tpp-link {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 10px;
    color: #cfd6e1; text-decoration: none;
    border-radius: 8px;
    transition: background .15s, color .15s;
    font-size: 14px; font-weight: 500;
}
.turbo-profile-panel .tpp-link i {
    width: 18px; text-align: center; color: #94a3b8;
}
.turbo-profile-panel .tpp-link:hover {
    background: rgba(250,204,21,.08);
    color: #fff;
}
.turbo-profile-panel .tpp-link:hover i { color: var(--wl-accent, #facc15); }
.turbo-profile-panel .tpp-link-danger { color: #fca5a5; }
.turbo-profile-panel .tpp-link-danger i { color: #ef4444; }
.turbo-profile-panel .tpp-link-danger:hover { background: rgba(239,68,68,.10); color: #fecaca; }
.turbo-profile-panel .tpp-link-danger:hover i { color: #ef4444; }
@media (max-width: 575.98px) {
    .turbo-profile-panel { width: 86vw; padding: 14px 16px; }
}

/* ============================================================
 * 2026-05-18 rev4 — HERO-CARD LOGO FILLS THE HEADER (player frontend)
 * Logo height now matches header content height so the mark touches both
 * edges. Parent containers (`.logo`, `.logo > a`, `.top_head`) get their
 * vertical padding zeroed so the logo isn't pushed inward. Header outer
 * dimensions controlled by the rest of the layout — only the surrounding
 * whitespace around the logo collapses.
 * ============================================================ */
/* 2026-05-20 — .brand-logo-img height/margin rules deleted. They lost to the
   inline .top_head .logo .brand-logo-img selector (3 classes > 1) anyway.
   Canonical sizing now lives in resources/views/turbo/partials/header-strip.blade.php.
   Kept: object-fit, hover transition (non-conflicting), and the .logo parent
   reset that lets the mark touch top/bottom of the bar. */
.brand-logo-img {
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform .18s ease;
}
.brand-logo-img:hover {
    transform: translateY(-1px) scale(1.02);
}
.logo,
.logo > a,
header .logo,
.top_head .logo,
.spade-header-custom .flex-shrink-0 {
    padding-top: 0;
    padding-bottom: 0;
    line-height: 0;
}

/* 2026-05-18 rev8 superseded by rev9: the `.leftbarSec` block was REMOVED
   from resources/views/turbo/index.blade.php directly (37138 chars excised
   via Python byte-precise slice). CSS hide rule no longer needed. */

/* ============================================================================
   2026-05-19 — Header height + responsive polish (live audit findings)
   Applied to served public/turbo/static/css/turbo-overrides.css. NO UI
   redesign — logo size, colors, alignment preserved. The earlier patch
   was accidentally added to resources/views/turbo/partials/turbo-overrides.css
   (not served); this is the correct served path.
   ============================================================================ */

/* Header height: trim .top_head vertical padding. The earlier serving rule
   `.top_head { padding: 0.4rem 0 }` (≈6.4px) was already fine on mobile but
   the live audit measured the desktop header at ~66px due to compounding
   bigger paddings on .header wrappers. Force the tightest sensible padding.
   Logo size unchanged: caps are on `.header .logo img` directly. */
.top_head { padding: 4px 0; }
@media (max-width: 575.98px) {
    .top_head { padding: 3px 0; }
}

/* Very-narrow phones (≤359px): keep header right-side on one line. */
@media (max-width: 359.98px) {
    .top_head .d-flex { flex-wrap: nowrap; }
    .headerRight { gap: 4px; }
    .headerRight .btn_signin,
    .headerRight .btn_signup {
        padding: 6px 10px;
        font-size: 12px;
        width: auto;
    }
}

/* Responsive HIGH: sports-page bookmaker status-btns hardcoded 408px width
   overflows narrow phones. */
@media (max-width: 575.98px) {
    .bookmaker .status-btns,
    .sports_page .bookmaker .status-btns {
        width: 100%;
        max-width: 100%;
    }
}

/* Responsive HIGH: sub-12px text in scores/odds. */
@media (max-width: 575.98px) {
    .sports_page .tab-pane .game-listing .match-info .match-name .breadcrumb,
    .sports_page .tab-pane .game-listing .match-info .breadcrumb,
    .status-btns .info-block,
    .bookmaker .status-btns .info-block {
        font-size: 12px;
    }
}

/* Responsive HIGH: footer-menu labels at 10px. */
@media (max-width: 767.98px) {
    .footer-menu ul li { font-size: 12px; }
}

/* Responsive HIGH: mainBanner slick carousel arrows fail the 32×32 tap target.
   Scoped to .mainBanner so other on-page carousels keep their own arrow styling. */
@media (max-width: 767.98px) {
    .mainBanner .slick-prev,
    .mainBanner .slick-next {
        width: 32px;
        height: 32px;
    }
}

/* 2026-05-20 — dots on the homepage banner were overlaying the bottom_head
   pill strip / following section content. Hide them; the banner still
   rotates via the slick-prev/slick-next chevrons + auto-rotate. */
.mainBanner .slick-dots { display: none !important; }

/* 2026-05-20 — smooth fade between banner slides instead of the abrupt
   display:none → display:block flip the inline JS used to do. Slides are
   absolutely stacked inside .slick-list; opacity transitions on the active
   class fire automatically when the JS swaps it (see index.blade.php). */
.mainBanner .slick-list { position: relative; overflow: hidden; }
.mainBanner .slick-track { position: static !important; transform: none !important; display: block; height: 100%; }
.mainBanner .slick-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 700ms ease, visibility 0s linear 700ms;
    pointer-events: none;
}
.mainBanner .slick-slide.slick-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: 1;
    transition: opacity 700ms ease, visibility 0s;
}
/* Keep the first slide's intrinsic size so the carousel reserves layout
   space — otherwise absolute-positioned children collapse the parent.
   2026-05-21 — responsive height: 40vw desktop (mimics natural 1280:514
   aspect ratio), capped at 420px, min 180px. Mobile uses 50vw capped at 280px.
   The vw-based approach means the banner scales proportionally to viewport
   width without leaving dead space, and the arrow buttons stay inside the
   banner frame at all breakpoints. */
.mainBanner .slick-track::before {
    content: "";
    display: block;
    height: clamp(180px, 40vw, 420px);
}
@media (max-width: 767.98px) {
    .mainBanner .slick-track::before { height: clamp(160px, 50vw, 280px); }
}
@media (max-width: 480px) {
    .mainBanner .slick-track::before { height: clamp(140px, 56vw, 240px); }
}

/* Responsive MED: wallet pill text at 11px. */
@media (max-width: 575.98px) {
    .headerRight .balance-web ul li { font-size: 12px; }
}

/* Responsive MED: deposit payment options tight on 320. */
@media (max-width: 575.98px) {
    .main .payment-info .contact-social ul li,
    .payment-info .contact-social ul li {
        width: 100%;
        max-width: 100%;
    }
}

/* Responsive LOW: enforce 36px minimum height on primary CTAs at mobile so
   high-density padding overrides don't sink them below tap floor. */
@media (max-width: 575.98px) {
    .btn.btn-primary,
    .btn.primary-btn,
    .btn_signin,
    .btn_signup {
        min-height: 36px;
    }
}


/* ============================================================================
   2026-05-19 — banner carousel navigation. Single set of left/right arrow
   buttons + dot indicators for the homepage carousel. This block REPLACES
   the inline <style> that previously lived in turbo/index.blade.php — by
   shipping the rules in this file (which loads AFTER turbo-base.css's
   bundled slick.css rules) we can ditch the spam and let the
   cascade win on order alone.
   ========================================================================= */

/* Kill the legacy slick chevron pseudo elements baked into main.css —
   they were rendering ALONGSIDE the new circular buttons. !important needed
   because main.css's `.slick-prev:before{content:"←"}` rule sets the chevron
   content and a plain override doesn't always shadow it cross-browser when
   `:before` (CSS2 syntax) and `::before` (CSS3 syntax) are both in play. */
.mainBanner .slick-prev::before,
.mainBanner .slick-next::before,
.mainBanner .slick-arrow::before,
.mainBanner .slick-prev:before,
.mainBanner .slick-next:before,
.mainBanner .slick-arrow:before { display: none !important; content: none !important; }

/* 2026-05-21 — banner arrows: positioned inside .mainBanner with overflow:hidden
   so they can never escape the banner frame and overlay header or body content.
   Arrows sit 16px from each edge on desktop, 10px on mobile. The slick-slider
   has position:relative so the absolute arrows are clipped by .slick-list
   overflow:hidden. */
.mainBanner { overflow: hidden; }
.mainBanner .slick-slider { position: relative; overflow: hidden; }
.mainBanner .slick-list { overflow: hidden; }
.mainBanner .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* Below floating social rail z-index but above slides. */
    z-index: 50;
    pointer-events: auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    line-height: normal;
    padding: 0;
    transition: background 160ms, opacity 160ms;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0.85;
}
.mainBanner .slick-arrow:hover {
    background: rgba(0, 0, 0, 0.85);
    opacity: 1;
}
.mainBanner .slick-arrow:hover { transform: translateY(-50%) scale(1.07); }
.mainBanner .slick-arrow:focus-visible {
    outline: 2px solid #f5c518;
    outline-offset: 2px;
}
.mainBanner .slick-arrow::after {
    content: '';
    display: block;
    width: 12px; height: 12px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    background: transparent;
}
.mainBanner .slick-prev { left: 16px; right: auto; }
.mainBanner .slick-prev::after { transform: rotate(135deg); margin-left: 4px; }
.mainBanner .slick-next { right: 16px; left: auto; }
.mainBanner .slick-next::after { transform: rotate(-45deg); margin-right: 4px; }

/* Dot indicators (injected by the JS in turbo/index.blade.php). */
.mainBanner .tb-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
    z-index: 50;
}
.mainBanner .tb-dots button {
    width: 8px; height: 8px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 160ms;
}
.mainBanner .tb-dots button.is-active {
    background: #fff;
    transform: scale(1.4);
}
.mainBanner .tb-dots button:hover { background: rgba(255, 255, 255, 0.8); }

@media (max-width: 767.98px) {
    .mainBanner .slick-arrow { width: 36px; height: 36px; }
    .mainBanner .slick-prev { left: 10px; }
    .mainBanner .slick-next { right: 10px; }
}
@media (max-width: 480px) {
    .mainBanner .slick-arrow { width: 32px; height: 32px; }
    .mainBanner .slick-prev { left: 8px; }
    .mainBanner .slick-next { right: 8px; }
}


/* ============================================================================
   2026-05-19 — final pass: ensure ONLY the banner with its single nav set
   is visible above the fold. Force-hide three things the user reported:
     1. .middle-part navbar (Home / Ezugi-with-roulette-icon / Evolution /
        Cashier) that renders white above the banner.
     2. .popular_game_sec carousel that had its own slick-prev/slick-next
        which could be mistaken as a second nav set.
     3. Any other slick-prev/slick-next outside .mainBanner so they cannot
        show even if their parent loses d-none for any reason.
   ========================================================================= */
.middle-part,
.top_head .middle-part {
    display: none;
    visibility: hidden;
}
/* Defensive: hide any slick-prev/slick-next that is NOT inside .mainBanner.
   Uses :not() so only banner arrows remain visible.
   !important needed because each slick-arrow button has inline
   `style="display: block;"` (baked into the static slick-look-alike HTML)
   which would otherwise beat any non-important CSS rule. Without this the
   popular_game_sec / providers_sec / etc carousels render their own pair
   of prev/next buttons next to the banner pair → user sees "2 left + 2
   right" arrows. */
.slick-prev:not(.mainBanner *),
.slick-next:not(.mainBanner *) { display: none !important; }
.mainBanner .slick-prev,
.mainBanner .slick-next { display: flex !important; }


/* 2026-05-20 — bottom_head pill strip is back inside <header>, so the
 * turbo246 baseline (main.css) + parity rules (header-t246-parity.css)
 * drive its look. NO bespoke .bottom_head / main.main override here. */

/* ============================================================================
   Legal pages — terms / responsible / game-rules.
   Consolidated 2026-05-19 from three duplicate inline <style> @push blocks.
   ============================================================================ */
.legal-shell { max-width: 960px; margin: 1.5rem auto 3rem; padding: 0 1rem; }
.legal-card { background: #182838; border: 1px solid hsla(0,0%,100%,.05); border-radius: 1.25rem; padding: 1.75rem 1.5rem; color: #cbd5e1; }
.legal-card h1 { color: #fff; font-weight: 700; font-size: 1.6rem; margin: 0 0 1rem; }
.legal-card h2 { color: var(--wl-accent, #e7b008); font-weight: 700; font-size: 1.05rem; margin: 1.25rem 0 .5rem; }
.legal-card p, .legal-card li { font-size: .92rem; line-height: 1.55; }
.legal-card ul { padding-left: 1.25rem; }
.legal-card a { color: var(--wl-accent, #e7b008); }

/* ============================================================================
   2026-05-21 — Banner full-bleed + header button text overflow fixes.
   ============================================================================ */

/* Banner: remove the 20px side padding from main.css so images are edge-to-edge.
   Also zero out the Bootstrap column padding inside .top_banner_sec so the
   carousel sits flush against the viewport edges. */
.main .mainBanner {
    padding: 0 !important;
}
.top_banner_sec > .row > .col-lg-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Header Log In / Register buttons: main.css has
   .button-primary.btn.btn-primary { padding: 6px 4px !important; }
   (and a second rule padding: 6px 0 !important) which crushes the text
   against the border and makes it overflow. Since we removed the conflicting
   .button-primary.btn.btn-primary classes from the markup, these rules target
   .btn_signin directly and ensure the buttons keep their intended size. */
.top_head .btn_signin {
    box-sizing: border-box;
    overflow: hidden;
}

/* ============================================================================
   2026-05-22 — Register / Login form responsiveness fixes.
   ============================================================================ */

@media (max-width: 575.98px) {
    /* Reduce massive padding so form doesn't feel cramped on mobile */
    .main-login-form {
        padding: 1.25rem 1rem !important;
        margin-top: 12px !important;
        border-radius: 6px !important;
    }

    /* Tighter vertical spacing between fields */
    .main-login-form form input,
    .main-login-form form .form-control {
        margin-bottom: 16px !important;
        height: 44px !important;
        font-size: 16px !important; /* prevent iOS zoom on focus */
    }

    /* Smaller labels */
    .main-login-form form label {
        font-size: 13px !important;
        margin-bottom: 4px !important;
    }

    /* OTP row: stack input + button vertically */
    .main-login-form #otp-row .d-flex {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .main-login-form #otp-row .d-flex .form-control {
        margin-bottom: 8px !important;
    }
    .main-login-form #otp-row .d-flex #btnSendOtp {
        width: 100% !important;
        padding: 8px !important;
    }

    /* Bottom action buttons: stack vertically, full width */
    .main-login-form .d-flex.justify-content-between,
    .register-page .d-flex.justify-content-between,
    .login-page .d-flex.justify-content-between {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .main-login-form .d-flex.justify-content-between > a,
    .main-login-form .d-flex.justify-content-between > button,
    .register-page .d-flex.justify-content-between > a,
    .register-page .d-flex.justify-content-between > button,
    .login-page .d-flex.justify-content-between > a,
    .login-page .d-flex.justify-content-between > button {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }

    /* Heading smaller */
    .heading1 .top-heading {
        font-size: 1.35rem !important;
        line-height: 1.4 !important;
    }

    /* Password toggle icon stays aligned */
    .main-login-form form .icon,
    .main-login-form .turbo-pwd-toggle {
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
}

@media (max-width: 380px) {
    /* Even tighter for very small screens */
    .main-login-form {
        padding: 1rem 0.75rem !important;
    }

    .main-login-form form input,
    .main-login-form form .form-control {
        margin-bottom: 12px !important;
        height: 42px !important;
    }

    .heading1 .top-heading {
        font-size: 1.15rem !important;
    }
}


/* ============================================================================
   2026-05-22 — TURBO FOOTER STYLES
   The footer partial (turbo/partials/footer.blade.php) was completely missing
   its CSS — .footer-section, .footer-grid, .footer-col, etc. had zero rules,
   causing the 5 columns to stack vertically as unstyled block elements.
   ============================================================================ */

.footer-section {
    background: #0a101a;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 48px 0 0;
    margin-top: auto;
    color: #9ba4b5;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-col h3 {
    font-family: 'Raleway', 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 18px;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #9ba4b5;
    text-decoration: none;
    font-size: 13px;
    transition: color 150ms ease;
}

.footer-col ul li a:hover {
    color: var(--wl-accent, #facc15);
}

/* LICENSED / Badges column */
.footer-col.badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col.badges .badge-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #9ba4b5;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    padding: 6px 10px;
    width: fit-content;
}

.footer-col.badges .badge-item i {
    color: var(--wl-accent, #facc15);
    font-size: 13px;
}

/* Disclaimer */
.footer-disclaimer {
    max-width: 1200px;
    margin: 36px auto 0;
    padding: 18px 24px;
    font-size: 12px;
    line-height: 1.65;
    color: #7a8494;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-disclaimer a {
    color: var(--wl-accent, #facc15);
    text-decoration: none;
}

.footer-disclaimer a:hover {
    text-decoration: underline;
}

/* Bottom bar */
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom .copyright {
    font-size: 12px;
    color: #7a8494;
}

.footer-bottom .copyright a {
    color: var(--wl-accent, #facc15);
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom .copyright a:hover {
    text-decoration: underline;
}

/* Social icons */
.footer-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: #9ba4b5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    text-decoration: none;
    transition: all 150ms ease;
}

.footer-socials a:hover {
    background: var(--wl-accent, #facc15);
    border-color: var(--wl-accent, #facc15);
    color: #0a101a;
}

.footer-socials a[aria-disabled="true"],
.footer-socials a[onclick*="return false"] {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

/* Tablet: 3 + 2 columns */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
    .footer-col.badges {
        grid-column: span 2;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .footer-col.badges h3 {
        width: 100%;
        margin-bottom: 12px;
    }
}

/* Mobile: 2 columns then 1 */
@media (max-width: 767px) {
    .footer-section { padding-top: 36px; }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 0 18px;
    }
    .footer-col.badges {
        grid-column: span 2;
        flex-direction: column;
    }
    .footer-disclaimer,
    .footer-bottom {
        padding-left: 18px;
        padding-right: 18px;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }
}

/* Very small phones: single column */
@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .footer-col.badges {
        grid-column: span 1;
    }
    .footer-col h3 {
        margin-bottom: 12px;
    }
}

/* ============================================================================
   2026-05-23 — HOMEPAGE GAME GRID ALIGNMENT FIX
   The main.css has a conflicting rule:
     .all-images ul li { width: 45.75% !important }  (forces 2 per row)
   But the intended design is:
     .all-images ul li { width: 24% }  (4 per row)
   The 45.75% rule has !important and wins, causing misalignment.
   We override it with higher specificity + !important.
   ============================================================================ */

/* Desktop: 4 items per row */
.main .TopCategories .all-images.vivo ul li.exchangeitems-item,
.all-images.vivo ul li.exchangeitems-item {
    width: calc(25% - 0.75rem) !important;
    flex: 0 0 calc(25% - 0.75rem) !important;
    max-width: calc(25% - 0.75rem) !important;
}

/* Tablet: 3 items per row */
@media (max-width: 991px) {
    .main .TopCategories .all-images.vivo ul li.exchangeitems-item,
    .all-images.vivo ul li.exchangeitems-item {
        width: calc(33.333% - 0.667rem) !important;
        flex: 0 0 calc(33.333% - 0.667rem) !important;
        max-width: calc(33.333% - 0.667rem) !important;
    }
}

/* Mobile: 2 items per row */
@media (max-width: 575px) {
    .main .TopCategories .all-images.vivo ul li.exchangeitems-item,
    .all-images.vivo ul li.exchangeitems-item {
        width: calc(50% - 0.5rem) !important;
        flex: 0 0 calc(50% - 0.5rem) !important;
        max-width: calc(50% - 0.5rem) !important;
    }
}

/* Ensure the grid container is properly aligned */
.main .TopCategories .all-images.vivo ul,
.all-images.vivo ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 1rem !important;
    justify-content: flex-start !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

/* Ensure images fill their containers properly */
.all-images.vivo li a img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    display: block !important;
}

/* Fix the game button positioning */
.all-images.vivo li .ImgDiv {
    position: relative !important;
    width: 100% !important;
}

/* ============================================================================
   2026-05-26 — HIDE HALF-CUT PLAY BUTTON ON HOME GAME TABS
   Hide the half-cut play button overlapping game tiles in the categories tabs.
   The glowing animation borders are preserved.
   ========================================================================= */
.gamelist-button,
.play_button {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

