
    /* Accessible Screen-Reader Class for Standard SEO Heading Hierarchy */
    .sr-only {
      position: absolute !important;
      width: 1px !important;
      height: 1px !important;
      padding: 0 !important;
      margin: -1px !important;
      overflow: hidden !important;
      clip: rect(0, 0, 0, 0) !important;
      white-space: nowrap !important;
      border: 0 !important;
    }
  
    /* Mobile header: remove wallet button next to logo */
    @media (max-width: 768px) {
      .top-header .rainbet-wallet-btn {
        display: none !important;
      }
    }




    @font-face {
      font-family: 'StandardTurkishLira';
      src: local('Segoe UI'), local('Roboto'), local('Arial'), local('-apple-system'), local('Helvetica Neue'), local('sans-serif');
      unicode-range: U+20BA;
    }
    
    /* ========================================================
       VIPBET OFFICIAL LUXURY DESIGN SYSTEM
       ======================================================== */
    :root, [data-mode="dark"] {
      --bg-darkest: #0e131b;
      --bg-darker: #121824;
      --bg-card: #182232;
      --bg-card-hover: #1f2c40;
      --bg-card-light: #24334a;
      --border-subtle: #1e293b;
      --border-active: rgba(255, 255, 255, 0.16);
      --accent-blue: #1d72fe;
      --accent-blue-hover: #155ecc;
      --accent-green: #22c55e;
      --accent-orange: #f59e0b;
      --text-main: #ffffff;
      --text-muted: #94a3b8;
      --text-dim: #64748b;
      --header-bg: #101622;
      --sidebar-bg: #0e131b;
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 16px;
      --radius-pill: 9999px;
      --font-family: 'StandardTurkishLira', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    }

    [data-mode="light"] {
      --bg-darkest: #f1f5f9;
      --bg-darker: #ffffff;
      --bg-card: #ffffff;
      --bg-card-hover: #f8fafc;
      --bg-card-light: #e2e8f0;
      --border-subtle: #e2e8f0;
      --border-active: rgba(0, 0, 0, 0.15);
      --text-main: #0f172a;
      --text-muted: #475569;
      --text-dim: #94a3b8;
      --header-bg: #ffffff;
      --sidebar-bg: #f8fafc;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      user-select: none;
      -webkit-font-smoothing: antialiased;
    }

    body {
      background: var(--bg-darkest);
      color: var(--text-main);
      font-family: var(--font-family);
      overflow-x: hidden;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
    }

    /* Scrollbar */
    ::-webkit-scrollbar { width: 6px; height: 6px; }
    ::-webkit-scrollbar-track { background: var(--bg-darkest); }
    ::-webkit-scrollbar-thumb { background: #26354a; border-radius: 4px; }
    ::-webkit-scrollbar-thumb:hover { background: #354a66; }

    /* Button casing preserved per VIPBET design (Title Case on desktop, uppercase only on mobile-bottom-nav) */

    /* ========================================================
       TOP HEADER (Screen Shot 03.25.52 & 03.50.21)
       ======================================================== */
    .top-header {
      height: 68px;
      background: var(--header-bg);
      border-bottom: 1px solid var(--border-subtle);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 18px;
      position: sticky;
      top: 0;
      z-index: 1000;
      backdrop-filter: blur(12px);
    }
    .header-left, .header-right {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .sidebar-toggle-btn {
      background: transparent;
      border: none;
      color: var(--text-muted);
      font-size: 18px;
      cursor: pointer;
      padding: 8px;
      border-radius: 8px;
      transition: all 0.15s;
    }
    .sidebar-toggle-btn:hover { color: var(--text-main); background: var(--bg-card); }

    /* [ Casino | Sports ] Pill Switcher */
    .lobby-switch-pill {
      display: flex;
      background: var(--bg-darkest);
      border: 1px solid var(--border-subtle);
      border-radius: 24px;
      padding: 3px;
      gap: 3px;
    }
    .lswitch-btn {
      display: flex;
      align-items: center;
      gap: 7px;
      padding: 7px 16px;
      border-radius: 20px;
      font-size: 13.5px;
      font-weight: 800;
      border: none;
      cursor: pointer;
      color: var(--text-muted);
      background: transparent;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .lswitch-btn:hover { color: var(--text-main); }
    .lswitch-btn.active.casino {
      background: #1d72fe;
      color: #ffffff;
      box-shadow: 0 2px 14px rgba(29, 114, 254, 0.45);
    }
    .lswitch-btn.active.sports {
      background: linear-gradient(135deg, #f59e0b, #d97706);
      color: #090d14;
      box-shadow: 0 2px 14px rgba(245, 158, 11, 0.45);
    }

    /* Brand Logo */
    .logo-container {
      display: flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      text-decoration: none;
      margin-left: 6px;
    }
    .rainbet-brand-name {
      font-family: 'Pacifico', cursive;
      font-size: 27px;
      font-weight: 700;
      color: #ffffff;
      letter-spacing: 0.5px;
      text-shadow: 0 0 16px rgba(255, 255, 255, 0.2);
    }

    /* Currency Dropdown Pill */
    .balance-dropdown-btn {
      display: flex;
      align-items: center;
      gap: 6px;
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      padding: 8px 14px;
      border-radius: 10px;
      font-size: 14.5px;
      font-weight: 800;
      color: var(--text-main);
      cursor: pointer;
      transition: border-color 0.2s;
    }
    .balance-dropdown-btn:hover { border-color: var(--border-active); }
    .currency-symbol { color: #22c55e; }

    /* Green Wallet Button */
    .rainbet-wallet-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
      color: #ffffff;
      border: none;
      padding: 9px 18px;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 800;
      cursor: pointer;
      box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
      transition: transform 0.15s, filter 0.15s;
    }
    .rainbet-wallet-btn:hover {
      filter: brightness(1.1);
      transform: translateY(-1px);
    }

    /* 15% Boost Pill */
    .boost-pill-widget {
      display: flex;
      align-items: center;
      gap: 10px;
      background: #182232;
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      padding: 6px 14px;
      cursor: pointer;
    }
    .boost-icon-circle {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: rgba(245, 158, 11, 0.22);
      color: #f59e0b;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      flex-shrink: 0;
    }
    .boost-label { font-size: 13.5px; font-weight: 800; color: #f59e0b; line-height: 1.2; }
    .boost-timer { font-size: 12px; font-weight: 700; color: #cbd5e1; line-height: 1.2; margin-top: 2px; }
    .header-gift-btn { display: none !important; }

    /* Quick Action Square Buttons */
    .h-square-btn {
      width: 40px;
      height: 40px;
      background: #182232;
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 15px;
      transition: all 0.2s;
    }
    .h-square-btn:hover {
      background: var(--bg-card-hover);
      color: #ffffff;
      border-color: var(--border-active);
    }

    /* Auth Buttons (Logged Out) */
    .auth-btn-login {
      background: transparent;
      border: 1px solid var(--border-subtle);
      color: #ffffff;
      padding: 8px 16px;
      border-radius: 10px;
      font-size: 13.5px;
      font-weight: 800;
      cursor: pointer;
      transition: all 0.15s;
    }
    .auth-btn-login:hover { background: var(--bg-card); }
    .auth-btn-register {
      background: #1d72fe;
      border: none;
      color: #ffffff;
      padding: 9px 18px;
      border-radius: 10px;
      font-size: 13.5px;
      font-weight: 800;
      cursor: pointer;
      box-shadow: 0 4px 14px rgba(29, 114, 254, 0.35);
      transition: all 0.15s;
    }
    .auth-btn-register:hover { filter: brightness(1.1); transform: translateY(-1px); }

    /* User Profile Dropdown */
    .profile-dropdown-wrapper { position: relative; }
    .user-menu-dropdown {
      display: none;
      position: absolute;
      top: 48px;
      right: 0;
      background: #182232;
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      width: 220px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
      padding: 8px;
      z-index: 1001;
    }
    .user-menu-dropdown.show { display: block; }
    .user-menu-dropdown a {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 12px;
      border-radius: 8px;
      color: var(--text-muted);
      font-size: 13px;
      font-weight: 700;
      text-decoration: none;
      cursor: pointer;
      transition: all 0.15s;
    }
    .user-menu-dropdown a:hover {
      background: #1f2c40;
      color: #ffffff;
    }

    /* ========================================================
       APP LAYOUT (Sidebar + Main)
       ======================================================== */
    .app-body {
      display: flex;
      flex: 1;
      position: relative;
    }

    /* LEFT SIDEBAR — VIPBET Style: Fixed, Full-Height, Self-Scrollable */
    .app-sidebar {
      width: 250px;
      background: var(--sidebar-bg);
      border-right: 1px solid var(--border-subtle);
      overflow-y: auto;
      overflow-x: hidden;
      padding: 0 0 24px;
      display: flex;
      flex-direction: column;
      gap: 0;
      flex-shrink: 0;
      height: calc(100vh - 68px);
      position: fixed !important;
      top: 68px !important;
      left: 0 !important;
      bottom: 0 !important;
      z-index: 990;
      transition: transform 0.25s ease, width 0.25s ease;
      scrollbar-width: thin;
      scrollbar-color: rgba(255,255,255,0.07) transparent;
    }
    .app-sidebar::-webkit-scrollbar { width: 3px; }
    .app-sidebar::-webkit-scrollbar-track { background: transparent; }
    .app-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
    .app-sidebar.collapsed {
      transform: translateX(-250px) !important;
      width: 0 !important;
      padding: 0 !important;
      overflow: hidden !important;
      border-right: none !important;
    }

    .sidebar-raffle-card {
      background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.05));
      border: 1px solid rgba(245, 158, 11, 0.35);
      border-radius: 12px;
      padding: 12px 14px;
      cursor: pointer;
      transition: border-color 0.2s;
    }
    .sidebar-raffle-card:hover { border-color: #f59e0b; }
    .raffle-head {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .raffle-prize { font-size: 15px; font-weight: 900; color: #f59e0b; }
    .raffle-sub { font-size: 10px; font-weight: 800; color: #d97706; letter-spacing: 0.5px; }
    .raffle-timer-badge {
      margin-left: auto;
      background: #090d14;
      border: 1px solid rgba(245, 158, 11, 0.3);
      padding: 2px 8px;
      border-radius: 6px;
      font-size: 11px;
      font-weight: 800;
      color: #f59e0b;
    }

    .sidebar-races-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 6px;
      background: #121824;
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      padding: 8px 6px;
      text-align: center;
    }
    .rcol-lbl { font-size: 9px; font-weight: 800; color: var(--text-dim); display: block; }
    .rcol-val { font-size: 12.5px; font-weight: 900; color: #ffffff; }

    .slink {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 9px 16px;
      border-radius: 0;
      color: var(--text-muted);
      font-size: 13px;
      font-weight: 700;
      text-decoration: none;
      cursor: pointer;
      transition: all 0.12s ease;
      border-left: 3px solid transparent;
    }
    .slink:hover {
      background: rgba(255, 255, 255, 0.04);
      color: #ffffff;
      border-left-color: rgba(255, 255, 255, 0.15);
    }
    .slink.active {
      background: rgba(29, 114, 254, 0.1);
      color: #ffffff;
      border-left-color: #1d72fe;
    }
    .slink i {
      font-size: 14px;
      width: 18px;
      text-align: center;
      color: var(--text-dim);
      flex-shrink: 0;
    }
    .slink:hover i, .slink.active i { color: #1d72fe; }

    .accordion-sub-links {
      display: none;
      flex-direction: column;
      gap: 1px;
      padding-left: 22px;
      margin-top: 1px;
      border-left: 1px solid rgba(255,255,255,0.06);
      margin-left: 28px;
    }
    .accordion-sub-links.open { display: flex; }
    .accordion-sub-links a {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 7px 12px;
      border-radius: 6px;
      color: var(--text-dim);
      font-size: 12.5px;
      font-weight: 600;
      text-decoration: none;
      cursor: pointer;
      transition: all 0.12s ease;
    }
    .accordion-sub-links a:hover {
      color: #ffffff;
      background: rgba(255, 255, 255, 0.05);
    }

    .sidebar-lang-selector {
      margin: 14px 12px 0;
      background: #121824;
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      overflow: hidden;
    }
    .lang-selector-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 14px;
      font-size: 13px;
      font-weight: 700;
      color: var(--text-muted);
      cursor: pointer;
    }
    .lang-opt {
      padding: 8px 14px;
      font-size: 12.5px;
      font-weight: 700;
      color: var(--text-muted);
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .lang-opt:hover { background: #182232; color: #fff; }
    .lang-opt.active { color: #1d72fe; background: rgba(29, 114, 254, 0.1); }

    /* Sidebar section separator */
    .sb-section-label {
      font-size: 10px;
      font-weight: 800;
      color: var(--text-dim);
      letter-spacing: 0.8px;
      text-transform: uppercase;
      padding: 12px 16px 4px;
    }

    /* ========================================================
       MAIN VIEW CONTAINER & PAGES
       ======================================================== */
    .main-view-container {
      flex: 1;
      padding: 24px;
      max-width: none;
      margin: 0;
      margin-left: 250px;
      width: calc(100% - 250px);
      box-sizing: border-box;
      transition: margin-left 0.25s ease, width 0.25s ease;
    }
    body.sidebar-collapsed .main-view-container,
    .app-sidebar.collapsed ~ .main-view-container {
      margin-left: 0 !important;
      width: 100% !important;
    }
    .page-view {
      display: none;
    }
    .page-view.active {
      display: block;
      animation: fadeInView 0.25s ease-out;
    }
    @keyframes fadeInView {
      from { opacity: 0; transform: translateY(4px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* ========================================================
       HOMEPAGE HERO SECTION (screencapture-rainbet-2026-10-16-03_16_43)
       ======================================================== */
    .rainbet-hero-grid {
      display: grid;
      grid-template-columns: 1.35fr 1fr;
      gap: 16px;
      margin-bottom: 24px;
      align-items: stretch;
    }
    .hero-cards-wrap {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }
    .hero-banner-card {
      border-radius: 18px;
      overflow: hidden;
      cursor: pointer;
      position: relative;
      transition: transform 0.2s, box-shadow 0.2s;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
      display: flex;
      flex-direction: column;
      background: #151d2a;
      border: none !important;
      outline: none !important;
    }
    .hero-banner-card:hover {
      transform: scale(0.98) !important;
      box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7) !important;
    }
    .hero-banner-img-wrap {
      width: 100%;
      height: 200px;
      overflow: hidden;
      background: #0f1622;
      position: relative;
    }
    .hero-banner-img-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.3s ease;
    }
    .hero-banner-card:hover .hero-banner-img-wrap img {
      transform: none !important;
    }
    .hero-banner-label-bar {
      padding: 13px 18px;
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 16px;
      font-weight: 800;
      color: #ffffff;
      letter-spacing: 0.3px;
    }
    .casino-label-bar {
      background: #195ac7;
    }
    .sports-label-bar {
      background: #242d3d;
    }

    .hero-card-box {
      border-radius: 18px;
      overflow: hidden;
      cursor: pointer;
      position: relative;
      transition: transform 0.2s, box-shadow 0.2s;
      box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    }
    .rainbet-inpage-nav {
      display: none;
    }
    @media (max-width: 768px) {
      .rainbet-hero-grid {
        grid-template-columns: 1fr !important;
        min-height: unset !important;
        gap: 14px !important;
        margin-bottom: 16px !important;
      }
      .hero-cards-wrap {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        height: auto !important;
      }
      .hero-banner-img-wrap {
        height: 140px !important;
      }
      .hero-banner-label-bar {
        padding: 9px 12px !important;
        font-size: 13.5px !important;
      }
      .hero-card-box {
        height: 185px !important;
        border-radius: 16px !important;
      }
      .hero-banner-left {
        padding: 24px 20px !important;
        min-height: unset !important;
      }
      .hero-banner-left h1 {
        font-size: 24px !important;
        margin-bottom: 18px !important;
      }
      .rainbet-inpage-nav {
        display: grid !important;
        grid-template-columns: repeat(5, 1fr) !important;
        background: #141d2c !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-radius: 12px !important;
        padding: 8px 4px !important;
        margin-bottom: 20px !important;
        text-align: center !important;
      }
      .inpage-nav-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        color: #8e9cb4 !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        cursor: pointer !important;
        transition: color 0.15s !important;
        text-decoration: none !important;
      }
      .inpage-nav-item i {
        font-size: 15px !important;
        color: #8e9cb4 !important;
      }
      .inpage-nav-item:active, .inpage-nav-item:hover, .inpage-nav-item:active i, .inpage-nav-item:hover i {
        color: #ffffff !important;
      }
    }
    .hero-banner-left {
      background: radial-gradient(circle at 10% 20%, rgba(29, 114, 254, 0.15) 0%, transparent 60%), #121824;
      border: 1px solid var(--border-subtle);
      border-radius: 18px;
      padding: 36px 32px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .hero-h1-title {
      font-size: 34px;
      font-weight: 900;
      line-height: 1.15;
      color: #ffffff;
      margin-bottom: 24px;
      letter-spacing: -0.5px;
    }
    .hero-action-row {
      display: flex;
      align-items: center;
      gap: 14px;
    }
    .hero-register-btn {
      background: #22c55e;
      color: #ffffff;
      border: none;
      padding: 13px 26px;
      border-radius: 10px;
      font-size: 15px;
      font-weight: 900;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
      box-shadow: 0 4px 18px rgba(34, 197, 94, 0.4);
      transition: all 0.2s;
    }
    .hero-register-btn:hover {
      filter: brightness(1.1);
      transform: translateY(-2px);
    }
    .hero-social-pill {
      display: flex;
      align-items: center;
      gap: 10px;
      background: #182232;
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      padding: 10px 16px;
      color: var(--text-muted);
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
    }
    .hero-social-pill i { font-size: 15px; }

    .hero-cards-right {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }
    .hero-promo-card {
      background: #182232;
      border: 1px solid var(--border-subtle);
      border-radius: 18px;
      overflow: hidden;
      cursor: pointer;
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 20px;
      min-height: 220px;
      transition: transform 0.2s, border-color 0.2s;
    }
    .hero-promo-card:hover {
      transform: scale(0.98) !important;
      border-color: rgba(255, 255, 255, 0.25) !important;
    }
    .hero-promo-card.casino {
      background: linear-gradient(180deg, rgba(29, 114, 254, 0.15) 0%, rgba(18, 24, 36, 0.95) 100%), #182232;
    }
    .hero-promo-card.sports {
      background: linear-gradient(180deg, rgba(245, 158, 11, 0.15) 0%, rgba(18, 24, 36, 0.95) 100%), #182232;
    }
    .promo-card-art {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 6px;
      margin-bottom: 16px;
    }
    .mini-cover-thumb {
      height: 70px;
      border-radius: 8px;
      object-fit: cover;
      width: 100%;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    }
    .promo-card-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 15px;
      font-weight: 800;
      color: #ffffff;
    }

    /* ========================================================
       LIVE WINS HORIZONTAL TICKER
       ======================================================== */
    .live-wins-bar, .live-wins-ticker-wrap {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      margin-bottom: 24px;
      overflow-x: auto;
      scrollbar-width: none;
      padding: 4px 0 6px 0;
    }
    .live-wins-bar::-webkit-scrollbar, .live-wins-ticker-wrap::-webkit-scrollbar { display: none; }
    .live-wins-label, .live-wins-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #182232;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 12px;
      padding: 10px 14px;
      font-size: 13px;
      font-weight: 800;
      color: #ffffff;
      white-space: nowrap;
      flex-shrink: 0;
      height: 42px;
    }
    .live-pulse-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #22c55e;
      box-shadow: 0 0 10px #22c55e;
      display: inline-block;
      animation: pulseDot 1.5s infinite;
    }
    @keyframes pulseDot {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.4; transform: scale(1.2); }
    }
    .live-wins-carousel, .live-wins-stream {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      flex: 1;
      overflow-x: auto;
      scrollbar-width: none;
    }
    .live-wins-carousel::-webkit-scrollbar, .live-wins-stream::-webkit-scrollbar { display: none; }
    .lw-tile, .live-win-tile {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      width: 82px;
      flex-shrink: 0;
      cursor: pointer;
      background: transparent;
      border: none;
      padding: 0;
      transition: transform 0.2s ease;
    }
    .lw-tile:hover, .live-win-tile:hover { transform: scale(0.98) !important; }
    .lw-img, .lw-thumb {
      width: 82px !important;
      height: 104px !important;
      min-width: 82px !important;
      max-width: 82px !important;
      border-radius: 12px !important;
      object-fit: cover !important;
      display: block !important;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5) !important;
    }
    .lw-info {
      display: flex;
      flex-direction: column;
      align-items: center;
      width: 100%;
      text-align: center;
      gap: 2px;
    }
    .lw-user {
      font-size: 11px;
      font-weight: 700;
      color: #94a3b8;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      max-width: 100%;
      display: flex;
      align-items: center;
      gap: 4px;
      justify-content: center;
    }
    .lw-user::before {
      content: '◆';
      color: #38bdf8;
      font-size: 9px;
    }
    .lw-amt {
      font-size: 12.5px;
      font-weight: 900;
      color: #22c55e;
      font-family: 'JetBrains Mono', monospace;
      white-space: nowrap;
    }

    /* ========================================================
       PARTNERS CAROUSEL (Sean Strickland, Justin Gaethje, Legacy)
       ======================================================== */
    .section-head-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 14px;
    }
    .section-title-wrap {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 17px;
      font-weight: 900;
      color: #ffffff;
    }
    .section-title-wrap a {
      font-size: 12.5px;
      color: #38bdf8;
      font-weight: 800;
      text-decoration: none;
      margin-left: 8px;
      cursor: pointer;
      transition: color 0.2s ease;
      display: inline-flex;
      align-items: center;
      gap: 4px;
    }
    .section-title-wrap a:hover {
      color: #7dd3fc;
      text-decoration: underline;
    }
    .carousel-arrows {
      display: flex;
      gap: 6px;
    }
    .c-arrow-btn {
      width: 32px;
      height: 32px;
      background: #182232;
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 12px;
      transition: all 0.15s;
    }
    .c-arrow-btn:hover { background: #1f2c40; color: #fff; }

    .partners-row-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-bottom: 32px;
    }
    @media (max-width: 768px) {
      .partners-row-grid {
        grid-template-columns: repeat(3, minmax(260px, 1fr)) !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        padding-bottom: 4px;
      }
      .partners-row-grid::-webkit-scrollbar { display: none; }
    }
    .partner-banner-card {
      background: #182232;
      border: 1px solid var(--border-subtle);
      border-radius: 14px;
      padding: 18px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      overflow: hidden;
      position: relative;
    }
    .partner-sub { font-size: 11px; font-weight: 800; color: var(--text-dim); text-transform: uppercase; margin-bottom: 4px; }
    .partner-name { font-size: 18px; font-weight: 900; color: #ffffff; }
    .partner-avatar {
      width: 70px;
      height: 70px;
      border-radius: 50%;
      background: radial-gradient(circle, #24334a 0%, #121824 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 28px;
      color: #f59e0b;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
    }

    /* ========================================================
       GAME CARDS & GRIDS (Originals, Slots, Live, Providers)
       ======================================================== */
    .games-scroll-grid {
      display: flex;
      flex-direction: row;
      gap: 12px;
      margin-bottom: 32px;
      overflow-x: auto;
      padding-bottom: 6px;
      scrollbar-width: none;
    }
    .games-scroll-grid::-webkit-scrollbar {
      display: none;
    }
    .game-card-rainbet {
      flex: 0 0 155px;
      min-width: 155px;
      background: #182232;
      border: 1px solid var(--border-subtle);
      border-radius: 14px;
      overflow: hidden;
      cursor: pointer;
      position: relative;
      display: flex;
      flex-direction: column;
      transition: transform 0.2s, box-shadow 0.2s;
    }
    .game-card-rainbet:hover {
      transform: scale(0.98) !important;
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.65);
      border-color: rgba(13, 116, 245, 0.5);
    }
    .game-card-poster {
      width: 100%;
      aspect-ratio: 3 / 4.1 !important;
      height: auto !important;
      object-fit: cover;
      display: block;
      background: #121824;
      border-radius: 14px 14px 0 0;
    }
    .game-card-tag {
      position: absolute;
      top: 8px;
      left: 8px;
      background: #090d14;
      border: 1px solid var(--border-subtle);
      padding: 2px 6px;
      border-radius: 4px;
      font-size: 9.5px;
      font-weight: 900;
      color: #f59e0b;
      letter-spacing: 0.5px;
      z-index: 2;
    }
    .game-card-info {
      padding: 8px 10px;
      background: #182232;
    }
    .game-title {
      font-size: 13px;
      font-weight: 900;
      color: #ffffff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
      text-transform: uppercase;
    }
    .game-prov {
      font-size: 10px;
      font-weight: 800 !important;
      color: #94a3b8 !important;
      text-transform: uppercase;
      letter-spacing: 0.6px;
      margin-top: 2px;
    }

    /* Sports Category Cards (Matches media_1792378477011.png) */
    .sports-cat-card {
      flex: 0 0 160px;
      min-width: 160px;
      height: 220px;
      border-radius: 14px;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-end;
      padding: 20px 14px;
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.08);
      transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    }
    .sports-cat-card:hover {
      transform: scale(0.98) !important;
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.65) !important;
      border-color: rgba(255, 255, 255, 0.22) !important;
    }
    .sports-card-soccer {
      background: radial-gradient(circle at 50% 35%, rgba(34, 197, 94, 0.25) 0%, transparent 70%), linear-gradient(180deg, #132219 0%, #0c1510 100%);
    }
    .sports-card-football {
      background: radial-gradient(circle at 50% 35%, rgba(20, 184, 166, 0.25) 0%, transparent 70%), linear-gradient(180deg, #102324 0%, #0a1718 100%);
    }
    .sports-card-basketball {
      background: radial-gradient(circle at 50% 35%, rgba(249, 115, 22, 0.25) 0%, transparent 70%), linear-gradient(180deg, #261b14 0%, #17100b 100%);
    }
    .sports-card-cs2 {
      background: radial-gradient(circle at 50% 35%, rgba(234, 179, 8, 0.22) 0%, transparent 70%), linear-gradient(180deg, #242014 0%, #16130b 100%);
    }
    .sports-cat-icon {
      font-size: 52px;
      color: #ffffff;
      margin-bottom: auto;
      margin-top: 24px;
      filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.7));
      transition: transform 0.2s ease;
    }
    .sports-cat-card:hover .sports-cat-icon {
      transform: scale(1.1);
    }
    .sports-cat-label {
      font-size: 15px;
      font-weight: 900;
      color: #ffffff;
      letter-spacing: 0.8px;
      text-transform: uppercase;
      text-align: center;
      position: relative;
      padding-bottom: 6px;
    }
    .sports-card-soccer .sports-cat-label::after {
      content: ''; position: absolute; bottom: 0; left: 20%; right: 20%; height: 2.5px; background: #22c55e; border-radius: 2px;
    }
    .sports-card-football .sports-cat-label::after {
      content: ''; position: absolute; bottom: 0; left: 15%; right: 15%; height: 2.5px; background: #14b8a6; border-radius: 2px;
    }
    .sports-card-basketball .sports-cat-label::after {
      content: ''; position: absolute; bottom: 0; left: 20%; right: 20%; height: 2.5px; background: #f97316; border-radius: 2px;
    }
    .sports-card-cs2 .sports-cat-label::after {
      content: ''; position: absolute; bottom: 0; left: 25%; right: 25%; height: 2.5px; background: #eab308; border-radius: 2px;
    }

    /* Sportsbook Tiles */
    .sports-category-tiles-grid {
      display: grid;
      grid-template-columns: repeat(8, 1fr);
      gap: 12px;
      margin-bottom: 32px;
    }
    .sport-tile-card {
      background: #182232;
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      padding: 20px 10px;
      text-align: center;
      cursor: pointer;
      transition: all 0.2s;
    }
    .sport-tile-card:hover {
      background: #1f2c40 !important;
      border-color: #1d72fe !important;
      transform: scale(0.98) !important;
    }
    .sport-tile-icon {
      width: 52px;
      height: 52px;
      border-radius: 50%;
      background: #121824;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 12px;
      font-size: 22px;
      color: #1d72fe;
    }
    .sport-tile-name {
      font-size: 11.5px;
      font-weight: 900;
      color: #ffffff;
      letter-spacing: 0.5px;
    }

    /* Providers Carousel Bar - Refined padding prevents shadow bottom-clipping */
    .providers-logo-row {
      display: flex;
      flex-wrap: nowrap;
      gap: 10px;
      margin-bottom: 24px;
      overflow-x: auto;
      align-items: center;
      padding: 6px 6px 14px 6px !important;
      scrollbar-width: none !important;
      -ms-overflow-style: none !important;
    }
    .providers-logo-row::-webkit-scrollbar {
      display: none !important;
      height: 0 !important;
      width: 0 !important;
    }
    .provider-logo-box {
      background: #141c28;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 12px;
      padding: 6px 14px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
      flex-shrink: 0;
      height: 44px;
      user-select: none;
      box-sizing: border-box;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
    }
    .provider-logo-box:hover {
      background: #1c2738 !important;
      border-color: rgba(255, 255, 255, 0.2) !important;
      transform: translateY(-1px) !important;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35) !important;
    }
    .provider-logo-box.active {
      background: rgba(29, 114, 254, 0.12) !important;
      border-color: #1d72fe !important;
      box-shadow: 0 2px 8px rgba(29, 114, 254, 0.2) !important;
    }
    .provider-logo-box img,
    .provider-logo-box .provider-icon-img {
      height: 24px;
      width: 24px;
      min-width: 24px;
      max-width: 24px;
      object-fit: contain;
      display: block;
      transition: transform 0.2s ease;
    }
    .provider-logo-box:hover img,
    .provider-logo-box:hover .provider-icon-img {
      transform: scale(1.06);
    }
    .provider-logo-box .provider-name-text,
    .provider-logo-box span:first-of-type,
    .provider-name-text {
      font-size: 13px !important;
      font-weight: 700 !important;
      color: #ffffff !important;
      letter-spacing: 0.2px;
      white-space: nowrap;
      line-height: 1;
      text-transform: capitalize !important;
    }
    .provider-logo-box .provider-count-pill {
      font-size: 11px;
      font-weight: 800;
      color: #e2e8f0;
      background: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.08);
      padding: 3px 8px;
      border-radius: 12px;
      line-height: 1;
      white-space: nowrap;
      margin-left: 2px;
      flex-shrink: 0;
    }
    .provider-logo-box.active .provider-count-pill {
      background: rgba(29, 114, 254, 0.3);
      color: #93c5fd;
      border-color: rgba(29, 114, 254, 0.4);
    }
    body[data-theme="light"] .provider-logo-box .provider-count-pill {
      background: rgba(0, 0, 0, 0.06);
      color: #334155;
      border-color: rgba(0, 0, 0, 0.1);
    }
    .provider-logo-box svg {
      height: 24px;
      max-width: 110px;
      transition: transform 0.2s ease;
    }
    .provider-logo-box:hover svg {
      transform: scale(1.05);
    }

    /* ========================================================
       HOMEPAGE REWARDS & FAQ ACCORDION & PAYMENT BANNER
       ======================================================== */
    .home-rewards-banner {
      background: #121824;
      border: 1px solid var(--border-subtle);
      border-radius: 18px;
      padding: 32px;
      margin-bottom: 32px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 32px;
      align-items: center;
    }
    .hreward-item {
      display: flex;
      align-items: center;
      gap: 14px;
      background: #182232;
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      padding: 14px 18px;
      margin-bottom: 10px;
    }
    .hreward-icon {
      font-size: 22px;
      color: #22c55e;
    }
    .hreward-info h4 { font-size: 14px; font-weight: 800; color: #fff; }
    .hreward-info p { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

    /* FAQ Help Section */
    .home-faq-section {
      display: grid;
      grid-template-columns: 320px 1fr;
      gap: 20px;
      margin-bottom: 32px;
    }
    .faq-green-card {
      background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
      border-radius: 18px;
      padding: 32px 24px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      color: #ffffff;
    }
    .faq-acc-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .faq-acc-item {
      background: #182232;
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      padding: 14px 18px;
      font-size: 13.5px;
      font-weight: 800;
      color: #ffffff;
      display: flex;
      justify-content: space-between;
      align-items: center;
      cursor: pointer;
    }
    .faq-acc-item:hover { background: #1f2c40; }

    /* Preferred Payment Methods Banner */
    .pref-payments-bar {
      background: #121824;
      border: 1px solid var(--border-subtle);
      border-radius: 14px;
      padding: 16px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 32px;
    }

    /* Community Live Bets Table */
    .live-bets-table-section {
      background: #121824;
      border: none;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
      border-radius: 16px;
      padding: 20px;
      margin-bottom: 10px !important;
    }
    .bets-table-head, .lbets-header-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
    }
    .bets-tabs-pills, .lbets-tabs {
      display: flex;
      background: #090d14;
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      padding: 3px;
      gap: 3px;
    }
    .lbets-live-badge {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
      font-weight: 800;
      color: #22c55e;
      background: rgba(34, 197, 94, 0.1);
      border: 1px solid rgba(34, 197, 94, 0.25);
      padding: 6px 12px;
      border-radius: 8px;
    }
    .btab-btn {
      padding: 7px 16px;
      border-radius: 8px;
      font-size: 13px;
      font-weight: 800;
      color: var(--text-muted);
      border: none;
      background: transparent;
      cursor: pointer;
    }
    .btab-btn.active { background: #182232; color: #fff; }

    .community-bets-table, .live-bets-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px;
    }
    .community-bets-table th, .live-bets-table th {
      text-align: left;
      padding: 10px 14px;
      font-size: 11px;
      font-weight: 800;
      color: var(--text-dim);
      text-transform: uppercase;
      border-bottom: 1px solid var(--border-subtle);
    }
    .community-bets-table td, .live-bets-table td {
      padding: 12px 14px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.04);
      color: var(--text-muted);
      font-weight: 700;
    }
    .community-bets-table tr:hover td, .live-bets-table tr:hover td { background: rgba(255, 255, 255, 0.02); }

    
    /* === UNIVERSAL CLEAN MOBILE & HORIZONTAL SCROLLBAR HIDING === */
    .sports-sports-icons-bar,
    #sportsFilterTabs,
    #sportsFilterPills,
    .sports-subnav-row,
    .sports-dash-nav,
    .trans-side-tabs,
    .providers-logo-row,
    .games-scroll-grid,
    .wallet-tabs-bar,
    .promo-category-tabs,
    #blogFilterBar,
    .no-scrollbar,
    .cat-scroll-track,
    .pills-scroll-row {
      scrollbar-width: none !important;
      -ms-overflow-style: none !important;
    }
    .sports-sports-icons-bar::-webkit-scrollbar,
    #sportsFilterTabs::-webkit-scrollbar,
    #sportsFilterPills::-webkit-scrollbar,
    .sports-subnav-row::-webkit-scrollbar,
    .sports-dash-nav::-webkit-scrollbar,
    .trans-side-tabs::-webkit-scrollbar,
    .providers-logo-row::-webkit-scrollbar,
    .games-scroll-grid::-webkit-scrollbar,
    .wallet-tabs-bar::-webkit-scrollbar,
    .promo-category-tabs::-webkit-scrollbar,
    #blogFilterBar::-webkit-scrollbar,
    .no-scrollbar::-webkit-scrollbar,
    .cat-scroll-track::-webkit-scrollbar,
    .pills-scroll-row::-webkit-scrollbar {
      display: none !important;
      width: 0 !important;
      height: 0 !important;
    }

    /* ========================================================
       SPORTSBOOK LIVE MATRIX (screencapture-rainbet-sportsbook-live)
       ======================================================== */
    .sports-sports-icons-bar {
      display: flex;
      gap: 10px;
      background: transparent;
      border: none;
      padding: 0 0 16px 0;
      overflow-x: auto;
      margin-bottom: 16px;
    }
    .s-icon-btn {
      width: 42px;
      height: 42px;
      border-radius: 10px;
      background: #182232;
      border: 1px solid rgba(255, 255, 255, 0.08);
      color: var(--text-muted);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 16px;
      flex-shrink: 0;
      transition: all 0.15s;
    }
    .s-icon-btn.active, .s-icon-btn:hover {
      background: var(--accent, #1d72fe);
      color: #fff;
    }

    .bet-row-game-link {
      cursor: pointer;
      color: #fff;
      text-decoration: none;
      font-weight: 700;
      transition: color .2s;
    }
    .bet-row-game-link:hover {
      color: var(--accent, #1d72fe) !important;
      text-decoration: underline;
    }

    .bkfc-promo-banner {
      background: linear-gradient(90deg, #1a0b0b 0%, #2e0808 50%, #121824 100%);
      border: 1px solid #ef4444;
      border-radius: 16px;
      padding: 24px 28px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 24px;
    }

    .live-matches-grid-2col {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      margin-bottom: 28px;
    }
    .sports-upcoming-card,
    .live-match-box {
      background: #182232;
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      padding: 14px 16px;
      cursor: pointer !important;
      transition: all 0.2s ease !important;
    }
    .sports-upcoming-card:hover,
    .live-match-box:hover {
      border-color: #1d72fe !important;
      transform: translateY(-2px) !important;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4) !important;
    }
    .lm-head {
      display: flex;
      justify-content: space-between;
      font-size: 11px;
      font-weight: 800;
      color: var(--text-dim);
      margin-bottom: 10px;
    }
    .lm-team-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 6px;
      font-size: 14px;
      font-weight: 800;
      color: #ffffff;
    }
    .lm-odds-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 6px;
      margin-top: 10px;
    }
    .odd-btn {
      background: #121824;
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      padding: 8px 10px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 12px;
      font-weight: 800;
      color: var(--text-muted);
      cursor: pointer;
      transition: all 0.15s;
    }
    .odd-btn:hover { background: #1f2c40; color: #fff; border-color: #1d72fe; }
    .odd-val { color: #1d72fe; font-size: 13px; }

    /* ========================================================
       AUTHENTIC BETSLIP.PNG FLOATING & EXPANDED DRAWER
       ======================================================== */
    .floating-betslip-pill {
      position: fixed;
      bottom: 24px;
      right: 24px;
      z-index: 999;
      background: #1d72fe;
      color: #ffffff;
      border-radius: 28px;
      padding: 10px 20px;
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 800;
      font-size: 14px;
      cursor: pointer;
      box-shadow: 0 8px 25px rgba(29, 114, 254, 0.5);
      transition: transform 0.2s;
    }
    .floating-betslip-pill:hover { transform: translateY(-2px); }
    .betslip-expanded-drawer {
      display: none;
      position: fixed;
      bottom: 24px;
      right: 24px;
      width: 330px;
      background: #121824;
      border: 1px solid var(--border-subtle);
      border-radius: 16px;
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.75);
      z-index: 1000;
      overflow: hidden;
      flex-direction: column;
    }
    .betslip-expanded-drawer.open { display: flex; }
    .betslip-blue-head {
      background: #1d72fe;
      color: #ffffff;
      padding: 12px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .betslip-title-left {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 800;
      font-size: 15px;
      cursor: pointer;
    }
    .betslip-count-badge {
      background: #ffffff;
      color: #1d72fe;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      font-weight: 900;
    }
    .betslip-tabs-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      background: #182232;
      border-bottom: 1px solid var(--border-subtle);
    }
    .bslip-tab {
      padding: 10px;
      text-align: center;
      font-size: 13px;
      font-weight: 700;
      color: var(--text-muted);
      cursor: pointer;
      border-bottom: 2px solid transparent;
    }
    .bslip-tab.active {
      color: #ffffff;
      border-bottom-color: #1d72fe;
      background: rgba(29, 114, 254, 0.08);
    }
    .bslip-match-card {
      background: #182232;
      border: 1px solid var(--border-subtle);
      border-left: 4px solid #22c55e;
      border-radius: 10px;
      padding: 10px 12px;
      margin: 10px 12px 6px;
      position: relative;
    }
    .bslip-comboboost-card {
      margin: 6px 12px 10px;
      border: 1px solid #22c55e;
      border-radius: 10px;
      padding: 10px 12px;
      background: rgba(34, 197, 94, 0.05);
    }
    .boost-badge-row {
      display: flex;
      justify-content: space-between;
      font-size: 10.5px;
      font-weight: 800;
      margin-bottom: 6px;
    }
    .boost-progress-bar {
      height: 6px;
      background: #090d14;
      border-radius: 3px;
      overflow: hidden;
      display: flex;
      gap: 2px;
    }
    .boost-progress-step {
      flex: 1;
      height: 100%;
      background: #22c55e;
      border-radius: 2px;
    }
    .boost-progress-step.inactive { background: #1e293b; }

    .bslip-stake-box {
      margin: 0 12px 10px;
      background: #090d14;
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      padding: 8px 12px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .bslip-quick-chips {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 6px;
      margin: 0 12px 10px;
    }
    .bslip-chip-btn {
      background: #182232;
      border: 1px solid var(--border-subtle);
      color: var(--text-muted);
      border-radius: 8px;
      padding: 7px;
      font-weight: 800;
      font-size: 13px;
      cursor: pointer;
      text-align: center;
    }
    .bslip-chip-btn.active {
      background: #1d72fe;
      color: #ffffff;
      border-color: #1d72fe;
    }
    .bslip-placebet-btn {
      margin: 0 12px 6px;
      background: #1d72fe;
      color: #ffffff;
      border: none;
      padding: 13px;
      border-radius: 10px;
      font-size: 15px;
      font-weight: 900;
      letter-spacing: 0.5px;
      cursor: pointer;
      transition: filter 0.2s;
    }
    .bslip-placebet-btn:hover { filter: brightness(1.15); }
    .bslip-share-btn {
      margin: 0 12px 10px;
      background: #1f2c40;
      color: var(--text-muted);
      border: 1px solid var(--border-subtle);
      padding: 9px;
      border-radius: 10px;
      font-weight: 800;
      font-size: 13px;
      cursor: pointer;
      text-align: center;
    }

    /* ========================================================
       REWARDS PAGE (screencapture-rainbet-rewards)
       ======================================================== */
    .vault-streak-row {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 10px;
      margin-bottom: 24px;
    }
    .vault-card {
      background: #182232;
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      padding: 16px 10px;
      text-align: center;
      position: relative;
    }
    .vault-card.active {
      border-color: #22c55e;
      background: rgba(34, 197, 94, 0.05);
    }
    .vault-tag {
      font-size: 11px;
      font-weight: 800;
      color: var(--text-dim);
      margin-bottom: 10px;
    }
    .vault-card.active .vault-tag { color: #22c55e; }
    .vault-icon {
      font-size: 32px;
      color: var(--text-dim);
      margin-bottom: 12px;
    }
    .vault-card.active .vault-icon { color: #22c55e; }
    .vault-val {
      font-size: 12px;
      font-weight: 800;
      color: var(--text-muted);
    }

    .rewards-chips-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin-bottom: 24px;
    }
    .reward-chip-card {
      background: #182232;
      border: 1px solid var(--border-subtle);
      border-radius: 14px;
      padding: 20px;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .chip-circle-graphic {
      width: 72px;
      height: 72px;
      border-radius: 50%;
      border: 4px dashed #22c55e;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 28px;
      font-weight: 900;
      color: #22c55e;
      margin: 14px 0 20px;
      box-shadow: 0 0 20px rgba(34, 197, 94, 0.25);
    }
    .reward-claim-btn {
      width: 100%;
      padding: 10px;
      border-radius: 8px;
      background: #22c55e;
      color: #ffffff;
      font-weight: 800;
      font-size: 14px;
      border: none;
      cursor: pointer;
      transition: filter 0.2s;
    }
    .reward-claim-btn:hover { filter: brightness(1.15); }
    .reward-claim-btn.disabled {
      background: #1e293b;
      color: var(--text-dim);
      cursor: not-allowed;
    }

    .rank-progress-card {
      background: #182232;
      border: 1px solid var(--border-subtle);
      border-radius: 14px;
      padding: 24px;
      margin-bottom: 24px;
    }
    .rank-bar-bg {
      height: 8px;
      background: #090d14;
      border-radius: 4px;
      overflow: hidden;
      margin: 14px 0 16px;
    }
    .rank-bar-fill {
      width: 15%;
      height: 100%;
      background: linear-gradient(90deg, #1d72fe, #22c55e);
    }
    .rank-tiers-row {
      display: flex;
      gap: 12px;
      overflow-x: auto;
      padding: 10px 0;
    }
    .rtier-chip {
      background: #121824;
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      padding: 8px 14px;
      text-align: center;
      min-width: 90px;
    }
    .rtier-name { font-size: 11px; font-weight: 800; color: #f59e0b; }
    .rtier-icon { font-size: 18px; color: var(--text-dim); margin-top: 6px; }

    /* ========================================================
       SETTINGS / PROFILE PAGE (screencapture-rainbet-settings)
       ======================================================== */
    #view-settings {
      max-width: 1040px;
      margin: 0 auto;
      width: 100%;
      padding-bottom: 40px;
    }
    .settings-page-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      align-items: start;
    }
    .settings-card-panel {
      background: #182232;
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: 14px;
      padding: 22px;
      margin-bottom: 20px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }
    .settings-card-panel:last-child {
      margin-bottom: 0;
    }
    .settings-card-panel h3 {
      font-size: 15px;
      font-weight: 800;
      color: #ffffff;
      margin-bottom: 16px;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .toggle-row-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 12px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .switch-toggle {
      width: 44px;
      height: 24px;
      background: #1e293b;
      border-radius: 12px;
      position: relative;
      cursor: pointer;
      transition: background 0.2s;
    }
    .switch-toggle.on {
      background: #22c55e;
    }
    .switch-toggle::after {
      content: '';
      position: absolute;
      width: 18px;
      height: 18px;
      border-radius: 50%;
      background: #ffffff;
      top: 3px;
      left: 3px;
      transition: transform 0.2s;
    }
    .switch-toggle.on::after {
      transform: translateX(20px);
    }

    /* ========================================================
       TRANSACTIONS VIEW (Luxury Theme Adaptive & Responsive)
       ======================================================== */
    .transactions-layout {
      display: grid;
      grid-template-columns: 240px 1fr;
      gap: 20px;
      align-items: start;
    }
    .trans-side-tabs {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: 14px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      box-shadow: 0 4px 20px rgba(0,0,0,0.15);
      padding: 6px;
      gap: 4px;
    }
    .trans-tab-btn {
      padding: 11px 16px;
      font-size: 13.5px;
      font-weight: 700;
      color: var(--text-muted);
      border: none !important;
      border-radius: 10px;
      background: transparent;
      text-align: left;
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      display: flex;
      align-items: center;
      gap: 10px;
      outline: none !important;
    }
    .trans-tab-btn:hover {
      background: var(--bg-card-hover);
      color: var(--text-main);
    }
    .trans-tab-btn.active {
      background: var(--accent) !important;
      color: #ffffff !important;
      border: none !important;
      box-shadow: 0 4px 14px var(--accent-glow, rgba(29,114,254,0.3));
    }
    .trans-tab-btn i {
      font-size: 14px;
      width: 18px;
      text-align: center;
    }
    .trans-filter-bar {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 16px;
    }
    .trans-filter-bar #transSearchInput {
      flex: 1;
      min-width: 180px;
      padding: 10px 14px;
    }
    .trans-filter-bar select.search-input {
      min-width: 130px;
      padding: 10px 12px;
    }
    .trans-filter-bar .search-input {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      color: var(--text-main);
      border-radius: 10px;
      transition: border-color 0.2s;
    }
    .trans-filter-bar .search-input:focus {
      border-color: var(--accent);
      outline: none;
    }
    .trans-header-actions button {
      background: rgba(56, 189, 248, 0.08) !important;
      border: 1px solid rgba(56, 189, 248, 0.28) !important;
      color: #38bdf8 !important;
      font-weight: 800 !important;
      font-size: 12.5px !important;
      border-radius: 10px !important;
      transition: all 0.2s ease !important;
      cursor: pointer !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 6px !important;
    }
    .trans-header-actions button i {
      color: #38bdf8 !important;
      transition: color 0.2s ease !important;
    }
    .trans-header-actions button:hover {
      background: rgba(56, 189, 248, 0.16) !important;
      border-color: rgba(56, 189, 248, 0.5) !important;
      color: #7dd3fc !important;
    }
    .trans-header-actions button:hover i {
      color: #7dd3fc !important;
    }

    /* ========================================================
       SKELETON & PROGRESSIVE LAZY LOADING SYSTEM
       ======================================================== */
    @keyframes skeletonShimmer {
      0% { background-position: -200% 0; }
      100% { background-position: 200% 0; }
    }
    .skeleton-shimmer,
    .game-card-rainbet.is-loading,
    .rainbet-game-card.is-loading,
    .partner-promo-tile.is-loading,
    .lux-promo-card.is-loading {
      background: linear-gradient(90deg, var(--bg-card, #182232) 25%, rgba(255, 255, 255, 0.08) 50%, var(--bg-card, #182232) 75%) !important;
      background-size: 200% 100% !important;
      animation: skeletonShimmer 1.5s infinite ease-in-out !important;
    }
    body[data-theme="light"] .skeleton-shimmer,
    body[data-theme="light"] .game-card-rainbet.is-loading,
    body[data-theme="light"] .rainbet-game-card.is-loading,
    body[data-theme="light"] .partner-promo-tile.is-loading,
    body[data-theme="light"] .lux-promo-card.is-loading {
      background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%) !important;
      background-size: 200% 100% !important;
      animation: skeletonShimmer 1.5s infinite ease-in-out !important;
    }
    .game-card-rainbet.is-loading .game-card-info,
    .rainbet-game-card.is-loading .game-card-info {
      opacity: 0.15;
      filter: blur(1px);
    }
    .game-card-rainbet.is-loading .game-card-tag,
    .rainbet-game-card.is-loading .game-card-tag {
      opacity: 0;
    }

    .skeleton-game-card {
      aspect-ratio: 3 / 4;
      border-radius: 12px;
      overflow: hidden;
      position: relative;
      background: var(--bg-card, #182232);
      border: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 12px;
      box-sizing: border-box;
      flex-shrink: 0;
    }
    .skeleton-line {
      height: 11px;
      border-radius: 5px;
      background: rgba(255, 255, 255, 0.12);
      margin-top: 6px;
      width: 75%;
    }
    body[data-theme="light"] .skeleton-line {
      background: rgba(0, 0, 0, 0.08);
    }
    .skeleton-line.short {
      width: 45%;
      height: 8px;
    }
    .skeleton-carousel-track {
      display: flex;
      gap: 12px;
      overflow-x: hidden;
      width: 100%;
      margin-bottom: 32px;
      padding-bottom: 4px;
    }
    .skeleton-carousel-track .skeleton-game-card {
      width: 148px;
      height: 198px;
      flex: 0 0 148px;
    }
    @media (max-width: 768px) {
      .skeleton-carousel-track .skeleton-game-card {
        width: 115px;
        height: 155px;
        flex: 0 0 115px;
        padding: 8px;
      }
    }
    .skeleton-grid-catalog {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
      gap: 12px;
      width: 100%;
    }
    @media (max-width: 768px) {
      .skeleton-grid-catalog {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
      }
    }
    @media (max-width: 460px) {
      .skeleton-grid-catalog {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
      }
    }
    .skeleton-banner-card {
      height: 155px;
      border-radius: 14px;
      background: var(--bg-card, #182232);
      border: 1px solid var(--border-subtle, rgba(255,255,255,0.06));
    }
    .skeleton-table-row {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 14px 16px;
      border-bottom: 1px solid var(--border-subtle);
    }
    .skeleton-table-row div {
      height: 12px;
      border-radius: 6px;
      background: rgba(255,255,255,0.08);
    }
    body[data-theme="light"] .skeleton-table-row div {
      background: rgba(0,0,0,0.06);
    }

    /* Image Lazy Loading Transitions */
    img.lazy-img {
      opacity: 0;
      transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    img.lazy-img.loaded {
      opacity: 1 !important;
    }
    .trans-table-wrap {
      width: 100%;
      overflow-x: auto;
      border-radius: 12px;
      border: 1px solid var(--border-subtle);
      background: var(--bg-card);
    }
    .trans-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 13px;
      text-align: left;
    }
    .trans-table th {
      padding: 12px 16px;
      background: var(--bg-darker);
      color: var(--text-dim);
      font-weight: 800;
      font-size: 11.5px;
      text-transform: uppercase;
      letter-spacing: 0.6px;
      border-bottom: 1px solid var(--border-subtle);
      white-space: nowrap;
    }
    .trans-table td {
      padding: 13px 16px;
      border-bottom: 1px solid var(--border-subtle);
      color: var(--text-main);
      vertical-align: middle;
      font-weight: 600;
    }
    .trans-table tr:last-child td {
      border-bottom: none;
    }
    .trans-table tr:hover td {
      background: var(--bg-card-hover);
    }
    .trans-mobile-view {
      display: none;
    }
    .trans-mobile-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      padding: 14px 16px;
      margin-bottom: 10px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      transition: border-color 0.2s, transform 0.15s;
    }
    .trans-mobile-card:hover {
      border-color: var(--accent);
      transform: translateY(-1px);
    }
    .trans-card-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 13px;
    }
    .trans-card-lbl {
      color: var(--text-dim);
      font-size: 11.5px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.3px;
    }
    .trans-card-val {
      color: var(--text-main);
      font-weight: 700;
    }

    /* ========================================================
       BLOG VIEW (screencapture-rainbet-blog)
       ======================================================== */
    .blog-featured-card {
      background: #182232;
      border: 1px solid var(--border-subtle);
      border-radius: 16px;
      padding: 32px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      align-items: center;
      margin-bottom: 28px;
    }
    .blog-posts-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 18px;
    }
    .blog-card-item {
      background: #182232;
      border: 1px solid var(--border-subtle);
      border-radius: 14px;
      padding: 20px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-height: 240px;
      cursor: pointer;
      transition: all 0.2s;
    }
    .blog-card-item:hover {
      background: #1f2c40 !important;
      transform: scale(0.98) !important;
    }

    /* ========================================================
       OFFICIAL VIPBET FOOTER
       ======================================================== */
    .rainbet-official-footer {
      background: #090d14;
      border-top: 1px solid var(--border-subtle);
      padding: 20px 24px 24px;
      margin-top: 10px !important;
    }
    .f-columns-row {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 36px;
      margin-bottom: 36px;
      max-width: 1400px;
      margin-left: auto;
      margin-right: auto;
    }
    .f-brand-name {
      font-family: 'Pacifico', cursive;
      font-size: 28px;
      color: #ffffff;
      margin-bottom: 12px;
    }
    .f-corp-text {
      font-size: 12.5px;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 14px;
      max-width: 440px;
    }
    .f-email-link {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      color: var(--text-dim);
      text-decoration: none;
      margin-bottom: 6px;
    }
    .f-email-link:hover { color: #1d72fe; }
    .f-socials-row {
      display: flex;
      gap: 8px;
      margin-top: 14px;
    }
    .f-social-btn {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: #182232;
      border: 1px solid var(--border-subtle);
      color: var(--text-muted);
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      font-size: 14px;
      transition: all 0.2s;
    }
    .f-social-btn:hover { background: #1d72fe; color: #fff; }

    .f-col-title {
      font-size: 13px;
      font-weight: 800;
      color: #ffffff;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 14px;
    }
    .f-links-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .f-links-list a {
      font-size: 13px;
      color: var(--text-dim);
      text-decoration: none;
      cursor: pointer;
      transition: color 0.15s;
    }
    .f-links-list a:hover { color: #ffffff; }

    .f-crypto-bar {
      border-top: 1px solid rgba(255, 255, 255, 0.07);
      border-bottom: 1px solid rgba(255, 255, 255, 0.07);
      padding: 14px 0;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
      gap: 12px 20px;
      margin-bottom: 24px;
      max-width: 1400px;
      margin-left: auto;
      margin-right: auto;
    }
    .crypto-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: 12px;
      font-weight: 800;
      color: #94a3b8;
      transition: color .2s;
    }
    .crypto-badge:hover { color: #ffffff; }
    .crypto-badge .crypto-icon {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
      border-radius: 50%;
      vertical-align: middle;
      display: block;
    }

    .f-seals-row {
      display: grid !important;
      grid-template-columns: repeat(2, 1fr) !important;
      column-gap: 24px !important;
      row-gap: 8px !important;
      max-width: 860px !important;
      margin: 20px auto 28px auto !important;
      padding: 0 12px !important;
    }
    .trust-seal-box {
      background: transparent !important;
      border: none !important;
      border-radius: 0 !important;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
      padding: 10px 4px !important;
      display: flex !important;
      align-items: center !important;
      gap: 12px !important;
      font-size: 13px !important;
      font-weight: 700 !important;
      color: #94a3b8 !important;
      transition: color .2s, border-bottom-color .2s;
    }
    .trust-seal-box:hover {
      color: #f1f5f9 !important;
      border-bottom-color: rgba(255, 255, 255, 0.18) !important;
    }
    .seal-icon-wrap {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 24px;
      height: 24px;
      flex-shrink: 0;
    }
    .f-copyright-text {
      text-align: center;
      font-size: 12px;
      color: var(--text-dim);
    }

    /* ========================================================
       MODALS (Auth, Wallet, Games)
       ======================================================== */
    .game-modal {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.85);
      backdrop-filter: blur(8px);
      z-index: 2000;
      align-items: center;
      justify-content: center;
      padding: 20px;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
    }
    .game-modal.active, .game-modal.show { display: flex; }

    /* 2-Column Auth Dialog */
    .rainbet-auth-dialog {
      background: #121824;
      border: 1px solid var(--border-subtle);
      border-radius: 18px;
      width: 100%;
      max-width: 820px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      overflow: hidden;
      position: relative;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
    }
    .auth-banner-col {
      background: #0c121d url('https://cdvipcard.com/auth_banner.jpg') center top / cover no-repeat;
      padding: 24px 20px 18px 20px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
      text-align: center;
      border-right: 1px solid var(--border-subtle);
      position: relative;
    }
    .auth-form-col {
      padding: 32px 28px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      max-height: 85vh;
      overflow-y: auto;
    }

    /* Wallet Modal */
    .rainbet-wallet-dialog {
      background: #121824;
      border: 1px solid var(--border-subtle);
      border-radius: 18px;
      width: 100%;
      max-width: 620px;
      overflow: hidden;
      position: relative;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
    }
    .wallet-tabs-bar {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      background: #090d14;
      border-bottom: 1px solid var(--border-subtle);
      padding: 6px;
      gap: 4px;
    }
    .wtab-btn {
      padding: 9px;
      text-align: center;
      font-size: 13px;
      font-weight: 700;
      color: var(--text-muted);
      border-radius: 8px;
      border: none;
      background: transparent;
      cursor: pointer;
      transition: all 0.15s;
    }
    .wtab-btn.active { background: #1d72fe; color: #ffffff; }

    /* Inputs */
    .search-input {
      background: #182232;
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      color: #ffffff;
      outline: none;
      transition: border-color 0.2s;
    }
    .search-input:focus { border-color: #1d72fe; }

    /* Toast */
    .toast-popup {
      position: fixed;
      bottom: 24px;
      left: 50%;
      transform: translateX(-50%) translateY(100px);
      background: #182232;
      border: 1px solid var(--border-subtle);
      border-left: 4px solid #22c55e;
      color: #ffffff;
      padding: 12px 20px;
      border-radius: 10px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
      font-size: 13.5px;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 10px;
      z-index: 3000;
      opacity: 0;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .toast-popup.show {
      transform: translateX(-50%) translateY(0);
      opacity: 1;
    }
  

/* === GAME ENGINES CSS === */
/* AVIATOR */
    .aviator-history-bar {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      padding-bottom: 12px;
      margin-bottom: 16px;
    }
    .mult-badge {
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 13px;
      font-weight: 800;
      white-space: nowrap;
    }
    .badge-blue { background: rgba(59, 130, 246, 0.2); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.4); }
    .badge-purple { background: rgba(168, 85, 247, 0.2); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.4); }
    .badge-gold { background: rgba(245, 158, 11, 0.2); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.4); }

    .aviator-canvas-wrap {
      position: relative;
      width: 100%;
      height: 420px;
      background: #06090e;
      border-radius: 12px;
      overflow: hidden;
      border: 1px solid var(--border-subtle);
    }
    #aviatorCanvas {
      width: 100%;
      height: 100%;
      display: block;
    }
    .aviator-overlay {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      text-align: center;
      pointer-events: none;
    }
    .aviator-big-mult {
      font-size: 64px;
      font-weight: 900;
      color: #ffffff;
      text-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
      font-family: 'Orbitron', monospace;
      letter-spacing: 2px;
    }
    .aviator-status-text {
      font-size: 15px;
      font-weight: 700;
      color: var(--text-muted);
      margin-top: 4px;
      letter-spacing: 1px;
    }

    .aviator-dash-controls, .plinko-dash-controls, .dice-dash-controls {
      display: grid;
      grid-template-columns: 1fr 1fr 1.2fr;
      gap: 16px;
      margin-top: 20px;
      background: var(--bg-darkest);
      padding: 16px 20px;
      border-radius: 12px;
      border: 1px solid var(--border-subtle);
      align-items: center;
    }
    .dash-col {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .dash-col label {
      font-size: 12px;
      font-weight: 700;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .dash-input-group {
      display: flex;
      align-items: center;
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      padding: 4px 6px;
      gap: 4px;
    }
    .dash-input-group input, .dash-text-input {
      flex: 1;
      background: transparent;
      border: none;
      outline: none;
      color: var(--text-main);
      font-size: 15px;
      font-weight: 800;
      padding: 6px 8px;
    }
    .quick-btn {
      background: var(--bg-card-light);
      border: 1px solid var(--border-subtle);
      color: var(--text-muted);
      font-size: 12px;
      font-weight: 700;
      padding: 6px 10px;
      border-radius: 6px;
      cursor: pointer;
      transition: all 0.2s;
    }
    .quick-btn:hover {
      background: var(--border-active);
      color: var(--text-main);
    }
    .dash-select {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      color: var(--text-main);
      padding: 10px 14px;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 700;
      outline: none;
      cursor: pointer;
    }
    .aviator-main-btn {
      width: 100%;
      height: 64px;
      border-radius: 10px;
      border: none;
      font-family: inherit;
      cursor: pointer;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: all 0.2s;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    }
    .aviator-main-btn.btn-idle {
      background: linear-gradient(135deg, #10b981 0%, #059669 100%);
      color: #ffffff;
    }
    .aviator-main-btn.btn-idle:hover {
      filter: brightness(1.1);
      transform: translateY(-2px);
    }
    .aviator-main-btn.btn-cashout {
      background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
      color: #000;
      animation: pulseCashout 1.2s infinite;
    }
    @keyframes pulseCashout {
      0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(245, 158, 11, 0.5); }
      50% { transform: scale(1.02); box-shadow: 0 0 35px rgba(245, 158, 11, 0.9); }
    }
    .btn-primary-title { font-size: 18px; font-weight: 900; letter-spacing: 1px; }
    .btn-secondary-sub { font-size: 13px; font-weight: 700; opacity: 0.9; }

    /* PLINKO */
    .plinko-canvas-wrap {
      position: relative;
      background: #070a10;
      border-radius: 12px;
      overflow: hidden;
      border: 1px solid var(--border-subtle);
      text-align: center;
    }
    #plinkoCanvas {
      width: 100%;
      max-width: 800px;
      height: 480px;
      display: inline-block;
    }
    .plinko-buckets-wrap {
      display: flex;
      justify-content: center;
      gap: 6px;
      padding: 10px;
      background: var(--bg-darkest);
      border-top: 1px solid var(--border-subtle);
    }
    .plinko-bucket {
      flex: 1;
      max-width: 60px;
      padding: 8px 2px;
      border-radius: 6px;
      text-align: center;
      font-size: 12px;
      font-weight: 800;
      color: #000;
      transition: transform 0.15s, filter 0.15s;
    }
    .plinko-drop-btn {
      width: 100%;
      height: 52px;
      background: var(--accent-gradient);
      color: #000;
      font-weight: 900;
      font-size: 15px;
      border-radius: 8px;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all 0.2s;
    }
    .plinko-drop-btn:hover { filter: brightness(1.15); transform: translateY(-2px); }

    /* MINES */
    .mines-game-container {
      display: grid;
      grid-template-columns: 1fr 340px;
      gap: 24px;
      align-items: start;
    }
    .mines-board-wrap {
      background: #080c14;
      border-radius: 12px;
      padding: 24px;
      border: 1px solid var(--border-subtle);
      display: flex;
      justify-content: center;
    }
    .mines-grid {
      display: grid;
      grid-template-columns: repeat(5, 75px);
      grid-gap: 12px;
    }
    .mine-tile {
      width: 75px;
      height: 75px;
      background: var(--bg-card);
      border: 2px solid var(--border-subtle);
      border-radius: 10px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 28px;
      transition: all 0.2s;
      user-select: none;
    }
    .mine-tile:hover {
      border-color: var(--accent);
      background: var(--bg-card-hover);
      transform: translateY(-2px);
    }
    .mine-tile.revealed-gem {
      background: rgba(16, 185, 129, 0.2);
      border-color: #10b981;
      animation: gemPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .mine-tile.revealed-bomb {
      background: rgba(239, 68, 68, 0.3);
      border-color: #ef4444;
      animation: bombShake 0.4s;
    }
    @keyframes gemPop { 0% { transform: scale(0.6); } 100% { transform: scale(1); } }
    @keyframes bombShake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

    .mines-dash-sidebar {
      background: var(--bg-darkest);
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      padding: 20px;
    }
    .mines-stats-card {
      background: var(--bg-card);
      border-radius: 8px;
      padding: 14px;
      border: 1px solid var(--border-subtle);
      margin-bottom: 16px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .mstat-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 13px;
      color: var(--text-muted);
    }
    .mines-btn-start, .mines-btn-cashout {
      width: 100%;
      height: 52px;
      border-radius: 8px;
      font-weight: 900;
      font-size: 15px;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all 0.2s;
    }
    .mines-btn-start { background: var(--accent-gradient); color: #000; }
    .mines-btn-cashout { background: linear-gradient(135deg, #10b981 0%, #059669 100%); color: #fff; animation: pulseCashout 1.2s infinite; }

    /* DICE */
    .dice-display-panel {
      background: #080c14;
      border-radius: 12px;
      padding: 30px;
      text-align: center;
      border: 1px solid var(--border-subtle);
      margin-bottom: 20px;
    }
    .dice-outcome-badge {
      font-size: 64px;
      font-weight: 900;
      color: var(--text-main);
      font-family: 'Orbitron', monospace;
      margin-bottom: 20px;
      text-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    }
    .dice-slider-track {
      position: relative;
      width: 100%;
      max-width: 600px;
      margin: 0 auto;
    }
    #diceSlider {
      width: 100%;
      height: 12px;
      border-radius: 6px;
      background: #1e293b;
      outline: none;
      cursor: pointer;
      -webkit-appearance: none;
    }
    #diceSlider::-webkit-slider-thumb {
      -webkit-appearance: none;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 15px var(--accent-glow);
      cursor: pointer;
    }
    .dice-stats-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px;
      margin-bottom: 20px;
    }
    .dice-stat-box {
      background: var(--bg-darkest);
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      padding: 14px;
      text-align: center;
    }
    .dstat-label { font-size: 12px; font-weight: 700; color: var(--text-muted); margin-bottom: 4px; }
    .dstat-val { font-size: 20px; font-weight: 900; color: var(--text-main); font-family: 'Orbitron', sans-serif; }
    .dice-roll-btn {
      width: 100%;
      height: 52px;
      background: var(--accent-gradient);
      color: #000;
      font-size: 16px;
      font-weight: 900;
      border-radius: 8px;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all 0.2s;
    }
    .dice-roll-btn:hover { filter: brightness(1.15); transform: translateY(-2px); }

  
    /* ==========================================
       FLOATING RIGHT SETTINGS WIDGET & LANG CHIPS
       ========================================== */
    .fixed-settings-widget {
      position: fixed;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      z-index: 9999;
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-right: none;
      border-radius: 12px 0 0 12px;
      padding: 14px 10px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      box-shadow: -6px 6px 25px var(--shadow-color);
      transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }
    .fixed-settings-widget:hover {
      background: var(--bg-card-hover);
      border-color: var(--accent);
      padding-right: 14px;
      box-shadow: -8px 8px 30px var(--accent-glow);
    }
    .fixed-settings-widget i {
      font-size: 18px;
      color: var(--accent);
    }
    .fixed-settings-widget .widget-label {
      writing-mode: vertical-rl;
      text-orientation: mixed;
      font-size: 11px;
      font-weight: 800;
      letter-spacing: 1.5px;
      color: var(--text-muted);
      text-transform: uppercase;
    }

    .lang-grid-wrap {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 8px;
    }
    .lang-chip {
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 10px 12px;
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      color: var(--text-main);
      font-size: 13px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.2s;
    }
    .lang-chip:hover {
      border-color: var(--border-active);
      background: var(--bg-card-hover);
    }
    .lang-chip.active {
      border-color: var(--accent);
      background: rgba(0, 212, 255, 0.12);
      color: var(--accent);
    }
    .lang-code {
      display: inline-block;
      padding: 2px 6px;
      border-radius: 4px;
      background: var(--bg-card-light);
      font-size: 11px;
      font-weight: 800;
      color: var(--text-muted);
    }

    /* CASINO FOOTER */
    .casino-main-footer {
      background: var(--bg-darker);
      border-top: 1px solid var(--border-subtle);
      margin-top: 60px;
      padding: 48px 32px 32px;
    }
    .footer-columns-grid {
      max-width: 1300px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
      gap: 36px;
      margin-bottom: 40px;
    }
    .fcol-title {
      font-size: 15px;
      font-weight: 800;
      color: var(--text-main);
      margin-bottom: 16px;
      letter-spacing: 0.5px;
    }
    .fcol-links {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .fcol-links li a {
      color: var(--text-muted);
      font-size: 13px;
      font-weight: 600;
      text-decoration: none;
      cursor: pointer;
      transition: color 0.2s;
    }
    .fcol-links li a:hover {
      color: var(--accent);
    }
    .license-badge-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      padding: 8px 14px;
      border-radius: 8px;
      font-size: 12px;
      font-weight: 700;
      color: var(--text-main);
      cursor: pointer;
      margin-top: 14px;
      transition: border-color 0.2s;
    }
    .license-badge-pill:hover { border-color: #10b981; }
    .pay-chip {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      padding: 6px 10px;
      border-radius: 6px;
      font-size: 11.5px;
      font-weight: 700;
      color: var(--text-muted);
    }
    .footer-copyright-row {
      max-width: 1300px;
      margin: 0 auto;
      padding-top: 24px;
      border-top: 1px solid var(--border-subtle);
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 12px;
      color: var(--text-dim);
      flex-wrap: wrap;
      gap: 12px;
    }

    /* POLICY MODAL */
    .policy-modal {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.85);
      z-index: 10000;
      align-items: center;
      justify-content: center;
      padding: 20px;
      backdrop-filter: blur(8px);
    }
    .policy-modal.show { display: flex; }
    .policy-modal-box {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: 16px;
      width: 100%;
      max-width: 640px;
      max-height: 85vh;
      display: flex;
      flex-direction: column;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    }
    .policy-modal-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 24px;
      border-bottom: 1px solid var(--border-subtle);
    }
    .policy-modal-title { font-size: 18px; font-weight: 800; color: var(--text-main); }
    .policy-modal-body {
      padding: 24px;
      overflow-y: auto;
      font-size: 13.5px;
      color: var(--text-muted);
      line-height: 1.7;
    }

  
    /* SPORTSBOOK NATIVE MATRIX */
    .sports-cat-bar {
      display: flex;
      gap: 8px;
      overflow-x: auto;
      padding-bottom: 12px;
      margin-bottom: 20px;
    }
    .sports-cat-btn {
      padding: 10px 18px;
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      color: var(--text-muted);
      font-size: 13.5px;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
      transition: all 0.2s;
    }
    .sports-cat-btn:hover { border-color: var(--border-active); color: var(--text-main); }
    .sports-cat-btn.active { background: var(--accent); color: #000; border-color: var(--accent); }

    .sports-layout-grid {
      display: grid;
      grid-template-columns: 1fr 340px;
      gap: 20px;
      align-items: start;
    }
    .match-row-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      padding: 16px 20px;
      margin-bottom: 12px;
      transition: border-color 0.2s;
    }
    .match-row-card:hover { border-color: var(--border-active); }
    .match-meta-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 12px;
      color: var(--text-dim);
      margin-bottom: 10px;
    }
    .match-teams-title {
      font-size: 15px;
      font-weight: 800;
      color: var(--text-main);
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 14px;
    }
    .match-odds-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
    }
    .odds-btn {
      background: var(--bg-darkest);
      border: 1px solid var(--border-subtle);
      padding: 8px 10px;
      border-radius: 8px;
      color: var(--text-main);
      cursor: pointer;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      transition: all 0.2s;
    }
    .odds-btn:hover {
      background: var(--bg-card-light);
      border-color: var(--accent);
    }
    .odds-btn.selected {
      background: rgba(0, 212, 255, 0.15);
      border-color: var(--accent);
    }
    .odds-label { font-size: 11px; font-weight: 700; color: var(--text-muted); }
    .odds-num { font-size: 13.5px; font-weight: 900; color: var(--accent); }

    .betslip-panel {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: 14px;
      padding: 20px;
      box-shadow: 0 10px 30px var(--shadow-color);
      position: sticky;
      top: 90px;
    }
    .betslip-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--border-subtle);
      margin-bottom: 16px;
    }
    .slip-item {
      background: var(--bg-darkest);
      border: 1px solid var(--border-subtle);
      padding: 12px;
      border-radius: 10px;
      margin-bottom: 16px;
    }

  
    /* ========================================================
       VIPBET 1:1 REPLICA OFFICIAL DESIGN SYSTEM
       ======================================================== */
    :root, [data-mode="dark"] {
      --bg-darkest: #0f141f;
      --bg-darker: #131b29;
      --bg-card: #182233;
      --bg-card-hover: #1f2c42;
      --bg-card-light: #24334d;
      --border-subtle: #222f44;
      --border-active: rgba(255, 255, 255, 0.18);
      --accent-blue: #1d72fe;
      --accent-green: #22c55e;
      --accent-orange: #f59e0b;
      --text-main: #ffffff;
      --text-muted: #94a3b8;
      --text-dim: #64748b;
      --header-bg: #101726;
      --sidebar-bg: #0f141f;
    }

    /* Authentic Header */
    .top-header {
      height: 68px;
      background: var(--header-bg);
      border-bottom: 1px solid var(--border-subtle);
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0 16px;
      position: sticky;
      top: 0;
      z-index: 1000;
    }
    .header-left, .header-right {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    /* [ Casino | Sports ] Pill Switcher */
    .lobby-switch-pill {
      display: flex;
      background: #0b0f17;
      border: 1px solid var(--border-subtle);
      border-radius: 24px;
      padding: 3px;
      gap: 3px;
    }
    .lswitch-btn {
      display: flex;
      align-items: center;
      gap: 7px;
      padding: 7px 16px;
      border-radius: 20px;
      font-size: 13.5px;
      font-weight: 800;
      border: none;
      cursor: pointer;
      color: var(--text-muted);
      background: transparent;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .lswitch-btn.active.casino {
      background: #1d72fe;
      color: #ffffff;
      box-shadow: 0 2px 12px rgba(29, 114, 254, 0.45);
    }
    .lswitch-btn.active.sports {
      background: linear-gradient(135deg, #f59e0b, #d97706);
      color: #0b0f17;
      box-shadow: 0 2px 12px rgba(245, 158, 11, 0.45);
    }

    /* Brand Logo */
    .logo-container {
      display: flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
      text-decoration: none;
      margin-left: 4px;
    }
    .rainbet-brand-name {
      font-family: 'Pacifico', cursive, sans-serif;
      font-size: 26px;
      font-weight: 700;
      color: #ffffff;
      letter-spacing: 0.5px;
      text-shadow: 0 0 16px rgba(255, 255, 255, 0.25);
    }

    /* Balance Dropdown */
    .balance-dropdown-btn {
      display: flex;
      align-items: center;
      gap: 6px;
      background: #182233;
      border: 1px solid var(--border-subtle);
      padding: 8px 14px;
      border-radius: 10px;
      font-size: 14.5px;
      font-weight: 800;
      color: #ffffff;
      cursor: pointer;
      transition: border-color 0.2s;
    }
    .balance-dropdown-btn:hover { border-color: var(--border-active); }
    .currency-symbol { color: #22c55e; }

    /* Green Wallet Button */
    .rainbet-wallet-btn {
      display: flex;
      align-items: center;
      gap: 8px;
      background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
      color: #ffffff;
      border: none;
      padding: 9px 18px;
      border-radius: 10px;
      font-size: 14px;
      font-weight: 800;
      cursor: pointer;
      box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35);
      transition: transform 0.15s, filter 0.15s;
    }
    .rainbet-wallet-btn:hover {
      filter: brightness(1.1);
      transform: translateY(-1px);
    }

    /* 15% Boost Pill */
    .boost-pill-widget {
      display: flex;
      align-items: center;
      gap: 10px;
      background: #182233;
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      padding: 6px 14px;
      cursor: pointer;
    }
    .boost-icon-circle {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: rgba(245, 158, 11, 0.22);
      color: #f59e0b;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      flex-shrink: 0;
    }
    .boost-label { font-size: 13.5px; font-weight: 800; color: #f59e0b; line-height: 1.2; }
    .boost-timer { font-size: 12px; font-weight: 700; color: #cbd5e1; line-height: 1.2; margin-top: 2px; }

    /* Square Icon Buttons */
    .h-square-btn {
      width: 40px;
      height: 40px;
      background: #182233;
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 15px;
      transition: all 0.2s;
    }
    .h-square-btn:hover {
      background: var(--bg-card-hover);
      color: #ffffff;
      border-color: var(--border-active);
    }

    /* User Profile Dropdown */
    .profile-dropdown-wrapper { position: relative; }
    .user-menu-dropdown {
      display: none;
      position: absolute;
      top: 48px;
      right: 0;
      background: #182233;
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      width: 220px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
      padding: 8px;
      z-index: 1001;
    }
    .user-menu-dropdown.show { display: block; }
    .user-menu-dropdown a {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 12px;
      border-radius: 8px;
      color: var(--text-muted);
      font-size: 13px;
      font-weight: 700;
      text-decoration: none;
      cursor: pointer;
      transition: all 0.15s;
    }
    .user-menu-dropdown a:hover {
      background: #1f2c42;
      color: #ffffff;
    }

    /* Currency / TRY Tooltip Banner */
    .try-tooltip-banner {
      position: absolute;
      top: 76px;
      left: 360px;
      background: #182233;
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      padding: 10px 16px;
      display: flex;
      align-items: center;
      gap: 12px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
      z-index: 998;
    }
    .try-badge-icon {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: #ef4444;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 900;
      font-size: 12px;
    }
    .try-switch-btn {
      background: #22c55e;
      color: #fff;
      border: none;
      padding: 6px 14px;
      border-radius: 8px;
      font-weight: 800;
      font-size: 12.5px;
      cursor: pointer;
    }

    /* SIDEBAR REPLICA */
    .sidebar-raffle-card {
      background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.05));
      border: 1px solid rgba(245, 158, 11, 0.35);
      border-radius: 12px;
      padding: 12px 14px;
      cursor: pointer;
      transition: border-color 0.2s;
      margin-bottom: 10px;
    }
    .sidebar-raffle-card:hover { border-color: #f59e0b; }
    .raffle-head {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .raffle-prize { font-size: 15px; font-weight: 900; color: #f59e0b; }
    .raffle-sub { font-size: 10px; font-weight: 800; color: #d97706; letter-spacing: 0.5px; }
    .raffle-timer-badge {
      margin-left: auto;
      background: #0b0f17;
      border: 1px solid rgba(245, 158, 11, 0.3);
      padding: 2px 8px;
      border-radius: 6px;
      font-size: 11px;
      font-weight: 800;
      color: #f59e0b;
    }

    .sidebar-races-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 6px;
      background: #131b29;
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      padding: 8px 6px;
      text-align: center;
      margin-bottom: 12px;
    }
    .rcol-lbl { font-size: 9px; font-weight: 800; color: var(--text-dim); display: block; }
    .rcol-val { font-size: 12.5px; font-weight: 900; color: #ffffff; }

    .slink {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 10px 14px;
      border-radius: 10px;
      color: var(--text-muted);
      font-size: 13.5px;
      font-weight: 700;
      text-decoration: none;
      cursor: pointer;
      transition: all 0.15s;
    }
    .slink:hover {
      background: #182233;
      color: #ffffff;
    }
    .slink.active {
      background: #182233;
      color: #ffffff;
      border-left: 3px solid #1d72fe;
    }
    .slink i { font-size: 15px; width: 20px; text-align: center; color: var(--text-dim); }
    .slink:hover i, .slink.active i { color: #1d72fe; }

    .accordion-sub-links {
      display: none;
      flex-direction: column;
      gap: 3px;
      padding-left: 24px;
      margin-top: 3px;
    }
    .accordion-sub-links.open { display: flex; }
    .accordion-sub-links a {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 7px 12px;
      border-radius: 8px;
      color: var(--text-dim);
      font-size: 12.5px;
      font-weight: 600;
      text-decoration: none;
      cursor: pointer;
    }
    .accordion-sub-links a:hover {
      color: #ffffff;
      background: #182233;
    }

    /* Bottom Language Selector in Sidebar */
    .sidebar-lang-selector {
      margin-top: 16px;
      background: #131b29;
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      overflow: hidden;
    }
    .lang-selector-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 14px;
      font-size: 13px;
      font-weight: 700;
      color: var(--text-muted);
      cursor: pointer;
    }
    .lang-opt {
      padding: 8px 14px;
      font-size: 12.5px;
      font-weight: 700;
      color: var(--text-muted);
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .lang-opt:hover { background: #182233; color: #fff; }
    .lang-opt.active { color: #1d72fe; background: rgba(29, 114, 254, 0.1); }

    /* ========================================================
       AUTHENTIC BETSLIP.PNG FLOATING & EXPANDED DRAWER
       ======================================================== */
    .floating-betslip-pill {
      position: fixed;
      bottom: 24px;
      right: 24px;
      z-index: 999;
      background: #1d72fe;
      color: #ffffff;
      border-radius: 28px;
      padding: 10px 20px;
      display: flex;
      align-items: center;
      gap: 12px;
      font-weight: 800;
      font-size: 14px;
      cursor: pointer;
      box-shadow: 0 8px 25px rgba(29, 114, 254, 0.5);
      transition: transform 0.2s;
    }
    .floating-betslip-pill:hover { transform: translateY(-2px); }
    .betslip-expanded-drawer {
      display: none;
      position: fixed;
      bottom: 24px;
      right: 24px;
      width: 330px;
      background: #121824;
      border: 1px solid var(--border-subtle);
      border-radius: 16px;
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.75);
      z-index: 1000;
      overflow: hidden;
      flex-direction: column;
    }
    .betslip-expanded-drawer.open { display: flex; }
    .betslip-blue-head {
      background: #1d72fe;
      color: #ffffff;
      padding: 12px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .betslip-title-left {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 800;
      font-size: 15px;
      cursor: pointer;
    }
    .betslip-count-badge {
      background: #ffffff;
      color: #1d72fe;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      font-weight: 900;
    }
    .betslip-tabs-row {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      background: #182233;
      border-bottom: 1px solid var(--border-subtle);
    }
    .bslip-tab {
      padding: 10px;
      text-align: center;
      font-size: 13px;
      font-weight: 700;
      color: var(--text-muted);
      cursor: pointer;
      border-bottom: 2px solid transparent;
    }
    .bslip-tab.active {
      color: #ffffff;
      border-bottom-color: #1d72fe;
      background: rgba(29, 114, 254, 0.08);
    }
    .bslip-match-card {
      background: #182233;
      border: 1px solid var(--border-subtle);
      border-left: 4px solid #22c55e;
      border-radius: 10px;
      padding: 10px 12px;
      margin: 10px 12px 6px;
      position: relative;
    }
    .bslip-comboboost-card {
      margin: 6px 12px 10px;
      border: 1px solid #22c55e;
      border-radius: 10px;
      padding: 10px 12px;
      background: rgba(34, 197, 94, 0.05);
    }
    .boost-badge-row {
      display: flex;
      justify-content: space-between;
      font-size: 10.5px;
      font-weight: 800;
      margin-bottom: 6px;
    }
    .boost-progress-bar {
      height: 6px;
      background: #0b0f17;
      border-radius: 3px;
      overflow: hidden;
      display: flex;
      gap: 2px;
    }
    .boost-progress-step {
      flex: 1;
      height: 100%;
      background: #22c55e;
      border-radius: 2px;
    }
    .boost-progress-step.inactive { background: #222f44; }

    .bslip-stake-box {
      margin: 0 12px 10px;
      background: #0b0f17;
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      padding: 8px 12px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .bslip-quick-chips {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 6px;
      margin: 0 12px 10px;
    }
    .bslip-chip-btn {
      background: #182233;
      border: 1px solid var(--border-subtle);
      color: var(--text-muted);
      border-radius: 8px;
      padding: 7px;
      font-weight: 800;
      font-size: 13px;
      cursor: pointer;
      text-align: center;
    }
    .bslip-chip-btn.active {
      background: #1d72fe;
      color: #ffffff;
      border-color: #1d72fe;
    }
    .bslip-placebet-btn {
      margin: 0 12px 6px;
      background: #1d72fe;
      color: #ffffff;
      border: none;
      padding: 13px;
      border-radius: 10px;
      font-size: 15px;
      font-weight: 900;
      letter-spacing: 0.5px;
      cursor: pointer;
      transition: filter 0.2s;
    }
    .bslip-placebet-btn:hover { filter: brightness(1.15); }
    .bslip-share-btn {
      margin: 0 12px 10px;
      background: #1f2c42;
      color: var(--text-muted);
      border: 1px solid var(--border-subtle);
      padding: 9px;
      border-radius: 10px;
      font-weight: 800;
      font-size: 13px;
      cursor: pointer;
      text-align: center;
    }

    /* ========================================================
       AUTHENTIC 2D PITCH TRACKER (Screen Shot 03.50.21)
       ======================================================== */
    .pitch-tracker-card {
      background: #182233;
      border: 1px solid var(--border-subtle);
      border-radius: 14px;
      overflow: hidden;
      margin-bottom: 20px;
    }
    .pitch-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 10px 16px;
      background: #131b29;
      border-bottom: 1px solid var(--border-subtle);
      font-size: 12.5px;
      font-weight: 700;
    }
    .pitch-canvas-wrap {
      position: relative;
      background: #1a472a;
      height: 240px;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .pitch-attack-banner {
      position: absolute;
      top: 50%;
      left: 70%;
      transform: translate(-50%, -50%);
      background: rgba(0, 0, 0, 0.7);
      border: 1px solid #f59e0b;
      padding: 6px 12px;
      border-radius: 6px;
      color: #f59e0b;
      font-weight: 900;
      font-size: 12px;
      letter-spacing: 1px;
      text-transform: uppercase;
      animation: pulseGlow 1.2s infinite alternate;
    }
    @keyframes pulseGlow {
      from { transform: translate(-50%, -50%) scale(1); opacity: 0.85; }
      to { transform: translate(-50%, -50%) scale(1.08); opacity: 1; filter: drop-shadow(0 0 8px #f59e0b); }
    }
    .pitch-stats-row {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      background: #131b29;
      border-top: 1px solid var(--border-subtle);
      text-align: center;
      padding: 8px 0;
    }
    .pstat-item {
      font-size: 11.5px;
      font-weight: 700;
      color: var(--text-muted);
    }
    .pstat-item strong {
      display: block;
      font-size: 13.5px;
      color: #ffffff;
      margin-top: 2px;
    }

    /* ========================================================
       REWARDS PAGE (screencapture-rainbet-rewards)
       ======================================================== */
    .vault-streak-row {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 10px;
      margin-bottom: 24px;
    }
    .vault-card {
      background: #182233;
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      padding: 16px 10px;
      text-align: center;
      position: relative;
    }
    .vault-card.active {
      border-color: #22c55e;
      background: rgba(34, 197, 94, 0.05);
    }
    .vault-tag {
      font-size: 11px;
      font-weight: 800;
      color: var(--text-dim);
      margin-bottom: 10px;
    }
    .vault-card.active .vault-tag { color: #22c55e; }
    .vault-icon {
      font-size: 32px;
      color: var(--text-dim);
      margin-bottom: 12px;
    }
    .vault-card.active .vault-icon { color: #22c55e; }
    .vault-val {
      font-size: 12px;
      font-weight: 800;
      color: var(--text-muted);
    }

    .rewards-chips-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin-bottom: 24px;
    }
    .reward-chip-card {
      background: #182233;
      border: 1px solid var(--border-subtle);
      border-radius: 14px;
      padding: 20px;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .chip-circle-graphic {
      width: 72px;
      height: 72px;
      border-radius: 50%;
      border: 4px dashed #22c55e;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 28px;
      font-weight: 900;
      color: #22c55e;
      margin: 14px 0 20px;
      box-shadow: 0 0 20px rgba(34, 197, 94, 0.25);
    }
    .reward-claim-btn {
      width: 100%;
      padding: 10px;
      border-radius: 8px;
      background: #22c55e;
      color: #ffffff;
      font-weight: 800;
      font-size: 14px;
      border: none;
      cursor: pointer;
      transition: filter 0.2s;
    }
    .reward-claim-btn:hover { filter: brightness(1.15); }
    .reward-claim-btn.disabled {
      background: #222f44;
      color: var(--text-dim);
      cursor: not-allowed;
    }

    .rank-progress-card {
      background: #182233;
      border: 1px solid var(--border-subtle);
      border-radius: 14px;
      padding: 24px;
      margin-bottom: 24px;
    }
    .rank-bar-bg {
      height: 8px;
      background: #0f141f;
      border-radius: 4px;
      overflow: hidden;
      margin: 14px 0 16px;
    }
    .rank-bar-fill {
      width: 15%;
      height: 100%;
      background: linear-gradient(90deg, #1d72fe, #22c55e);
    }
    .rank-tiers-row {
      display: flex;
      gap: 12px;
      overflow-x: auto;
      padding: 10px 0;
    }
    .rtier-chip {
      background: #131b29;
      border: 1px solid var(--border-subtle);
      border-radius: 10px;
      padding: 8px 14px;
      text-align: center;
      min-width: 90px;
    }
    .rtier-name { font-size: 11px; font-weight: 800; color: #f59e0b; }
    .rtier-icon { font-size: 18px; color: var(--text-dim); margin-top: 6px; }


    /* ========================================================
       OFFICIAL VIPBET FOOTER
       ======================================================== */
    .rainbet-official-footer {
      background: #0b0f17;
      border-top: 1px solid var(--border-subtle);
      padding: 20px 24px 20px;
      margin-top: 10px !important;
    }
    .f-columns-row {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 32px;
      margin-bottom: 32px;
    }
    .f-brand-name {
      font-family: 'Pacifico', cursive;
      font-size: 28px;
      color: #ffffff;
      margin-bottom: 12px;
    }
    .f-corp-text {
      font-size: 12.5px;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 14px;
    }
    .f-email-link {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      color: var(--text-dim);
      text-decoration: none;
      margin-bottom: 6px;
    }
    .f-email-link:hover { color: #1d72fe; }
    .f-socials-row {
      display: flex;
      gap: 8px;
      margin-top: 14px;
    }
    .f-social-btn {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: #182233;
      border: 1px solid var(--border-subtle);
      color: var(--text-muted);
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      font-size: 14px;
      transition: all 0.2s;
    }
    .f-social-btn:hover { background: #1d72fe; color: #fff; }

    .f-col-title {
      font-size: 13px;
      font-weight: 800;
      color: #ffffff;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 14px;
    }
    .f-links-list {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    .f-links-list a {
      font-size: 13px;
      color: var(--text-dim);
      text-decoration: none;
      cursor: pointer;
      transition: color 0.15s;
    }
    .f-links-list a:hover { color: #ffffff; }

    .f-crypto-bar {
      border-top: 1px solid var(--border-subtle);
      border-bottom: 1px solid var(--border-subtle);
      padding: 16px 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 16px;
      margin-bottom: 24px;
    }
    .crypto-badge {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      font-size: 12px;
      font-weight: 800;
      color: #94a3b8;
    }
    .crypto-badge .crypto-icon { width: 18px; height: 18px; }

    .f-seals-row {
      display: grid !important;
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 8px 24px !important;
      margin-bottom: 24px;
    }
    .trust-seal-box {
      background: transparent !important;
      border: none !important;
      border-radius: 0 !important;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
      padding: 10px 4px !important;
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 13px;
      font-weight: 700;
      color: #94a3b8;
    }
    .f-copyright-text {
      text-align: center;
      font-size: 12px;
      color: var(--text-dim);
    }

  
    /* AUTHENTIC 2-COLUMN AUTH MODAL (Screen Shot 03.24.43) */
    .rainbet-auth-dialog {
      background: #141b27;
      border: 1px solid var(--border-subtle);
      border-radius: 18px;
      width: 100%;
      max-width: 820px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      overflow: hidden;
      position: relative;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
    }
    .auth-banner-col {
      background: #0c121d url('https://cdvipcard.com/auth_banner.jpg') center top / cover no-repeat;
      padding: 24px 20px 18px 20px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      align-items: center;
      text-align: center;
      border-right: 1px solid var(--border-subtle);
      position: relative;
    }
    @media (max-width: 768px) {
      .rainbet-auth-dialog {
        grid-template-columns: 1fr !important;
        max-width: 440px !important;
      }
      .auth-banner-col {
        display: none !important;
      }
    }
    .auth-form-col {
      padding: 32px 28px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      max-height: 85vh;
      overflow-y: auto;
    }
    .social-auth-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-top: 14px;
    }
    .social-auth-btn {
      display: flex;
      align-items: center;
      gap: 12px;
      background: #182233;
      border: 1px solid var(--border-subtle);
      color: #ffffff;
      padding: 10px 16px;
      border-radius: 10px;
      font-size: 13.5px;
      font-weight: 700;
      cursor: pointer;
      transition: all 0.15s;
    }
    .social-auth-btn:hover {
      background: #1f2c42;
      border-color: var(--border-active);
    }
    .social-auth-btn i { font-size: 16px; width: 20px; text-align: center; }

    /* AUTHENTIC WALLET MODAL (Screen Shot 03.34.50) */
    .rainbet-wallet-dialog {
      background: #141b27;
      border: 1px solid var(--border-subtle);
      border-radius: 18px;
      width: 100%;
      max-width: 620px;
      overflow: hidden;
      position: relative;
      box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
    }
    .wallet-tabs-bar {
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      background: #0f141f;
      border-bottom: 1px solid var(--border-subtle);
      padding: 6px;
      gap: 4px;
    }
    .wtab-btn {
      padding: 9px;
      text-align: center;
      font-size: 13px;
      font-weight: 700;
      color: var(--text-muted);
      border-radius: 8px;
      border: none;
      background: transparent;
      cursor: pointer;
      transition: all 0.15s;
    }
    .wtab-btn.active {
      background: #1d72fe;
      color: #ffffff;
    }
    .wallet-body-content {
      padding: 24px;
    }
    .crypto-provider-card {
      background: #182233;
      border: 1px solid var(--border-subtle);
      border-radius: 12px;
      padding: 14px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 10px;
      cursor: pointer;
    }
    .crypto-provider-card.active {
      border-color: #1d72fe;
      background: rgba(29, 114, 254, 0.08);
    }

  

.auth-mode-tab, .auth-tab-btn {
  background: transparent !important;
  color: #94a3b8 !important;
  border: none !important;
  padding: 6px 12px 10px 12px !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  cursor: pointer !important;
  border-bottom: 2px solid transparent !important;
  transition: all 0.2s ease;
}
.auth-mode-tab:hover, .auth-tab-btn:hover {
  color: #fff !important;
}
.auth-mode-tab.active, .auth-tab-btn.active {
  color: #fff !important;
  border-bottom: 2px solid #1d72fe !important;
}


/* === AGENCY GRADE CASINO & CATALOG GRID CSS === */
.rainbet-catalog-section {
  margin-top: 36px;
  margin-bottom: 48px;
  background: #111823;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  border-radius: 16px;
  padding: 24px;
}
.catalog-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 14px;
}
.catalog-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.catalog-main-title {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.catalog-count-pill {
  background: rgba(29, 114, 254, 0.15);
  border: 1px solid rgba(29, 114, 254, 0.4);
  color: #60a5fa;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 800;
}
.catalog-controls-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.catalog-search-wrap {
  position: relative;
  min-width: 0;
}
.catalog-search-wrap i {
  position: absolute;
  left: 12px;
  top: 11px;
  color: #64748b;
  font-size: 12px;
  pointer-events: none;
}
.catalog-search-wrap input {
  padding: 8px 14px 8px 32px;
  font-size: 12.5px;
  width: 200px;
  background: #141c26;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #ffffff;
}

@media (max-width: 768px) {
  .catalog-header-bar {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
  }
  .catalog-title-group {
    justify-content: flex-start !important;
  }
  .catalog-controls-group {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 6px !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
  }
  .catalog-search-wrap {
    flex: 1.25 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
  }
  .catalog-search-wrap input {
    width: 100% !important;
    padding: 7px 8px 7px 24px !important;
    font-size: 11.5px !important;
    border-radius: 8px !important;
  }
  .catalog-search-wrap i {
    left: 8px !important;
    top: 9px !important;
    font-size: 10.5px !important;
  }
  .catalog-controls-group .rainbet-select {
    flex: 0.95 1 0 !important;
    min-width: 0 !important;
    width: auto !important;
    padding: 7px 6px !important;
    font-size: 11.5px !important;
    border-radius: 8px !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    white-space: nowrap !important;
  }
}
.rainbet-select {
  background: #141c26;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #ffffff;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.rainbet-select:hover, .rainbet-select:focus {
  border-color: #1d72fe;
  background: #182233;
}
.rainbet-catalog-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
@media (max-width: 1440px) {
  .rainbet-catalog-grid { grid-template-columns: repeat(7, 1fr); }
}
@media (max-width: 1100px) {
  .rainbet-catalog-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
}
@media (max-width: 768px) {
  .rainbet-catalog-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}
@media (max-width: 480px) {
  .rainbet-catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

.rainbet-game-card {
  position: relative;
  aspect-ratio: 1 / 1 !important;
  border-radius: 10px;
  overflow: hidden;
  background: #141c26;
  border: 1px solid rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  user-select: none;
}
.rainbet-game-card:hover {
  transform: scale(0.98) !important;
  border-color: rgba(13, 116, 245, 0.6);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.65);
  z-index: 5;
}
.rainbet-game-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.rainbet-game-card:hover img { transform: none !important; }
.rainbet-game-card .card-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 14, 21, 0.96) 0%, rgba(10, 14, 21, 0.6) 35%, transparent 68%);
  pointer-events: none;
}
.rainbet-game-card .card-meta {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px 10px;
  pointer-events: none;
}
.rainbet-game-card .card-title {
  font-size: 11px;
  font-weight: 900;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.95);
}
.rainbet-game-card .card-prov {
  font-size: 10px;
  font-weight: 900 !important;
  color: #cbd5e1 !important;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-top: 2px;
}
.rainbet-game-card .card-play-hover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(14, 19, 27, 0.4);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.rainbet-game-card:hover .card-play-hover {
  opacity: 1;
}
.rainbet-game-card .play-btn-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1d72fe;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 4px 16px rgba(29, 114, 254, 0.6);
  transform: scale(0.85);
  transition: transform 0.2s ease;
}
.rainbet-game-card:hover .play-btn-circle {
  transform: scale(1);
}
.rainbet-game-card .play-label {
  font-size: 10px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
  transform: translateY(4px);
  transition: transform 0.2s ease;
}
.rainbet-game-card:hover .play-label {
  transform: translateY(0);
}


.rainbet-loadmore-btn {
  background: #182233;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 800;
  padding: 12px 36px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.rainbet-loadmore-btn:hover {
  background: #1d72fe;
  border-color: #1d72fe;
  box-shadow: 0 4px 20px rgba(29, 114, 254, 0.4);
  transform: translateY(-2px);
}

/* ========================================================
   ORIGINALS CASE OPENING & SHARED UI UTILITIES
   ======================================================== */
.case-opening-box {
  background: #121824;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px;
  text-align: center;
}
.case-selector-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}
.case-item-card {
  background: #182232;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 18px 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.case-item-card:hover {
      transform: scale(0.98) !important;
      border-color: rgba(29, 114, 254, 0.5) !important;
    }
.case-item-card.selected {
  background: rgba(29, 114, 254, 0.12);
  border-color: #1d72fe;
  box-shadow: 0 0 20px rgba(29, 114, 254, 0.2);
}
.case-title {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.case-price {
  font-size: 13px;
  font-weight: 900;
  color: #22c55e;
}
.case-roulette-container {
  position: relative;
  background: #090d14;
  border: 2px solid var(--border-subtle);
  border-radius: 14px;
  height: 130px;
  overflow: hidden;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}
.case-center-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #f59e0b;
  box-shadow: 0 0 12px #f59e0b;
  z-index: 5;
  transform: translateX(-50%);
}
.case-roulette-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  transition: transform 3.8s cubic-bezier(0.12, 0.8, 0.18, 1);
}
.roulette-loot-card {
  min-width: 110px;
  height: 96px;
  background: #182232;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  flex-shrink: 0;
}
.loot-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}
.loot-val {
  font-size: 12px;
  font-weight: 900;
  color: #22c55e;
  margin-top: 2px;
}
.hero-btn-primary, .auth-btn.register-btn {
  background: #1d72fe;
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}
.hero-btn-primary:hover, .auth-btn.register-btn:hover {
  background: #155bd5;
  transform: translateY(-1px);
}
.badge-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 800;
  background: rgba(29, 114, 254, 0.15);
  color: #1d72fe;
}
.lang-options-list {
  background: #182232;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  margin-top: 6px;
  overflow: hidden;
}
.lang-opt {
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.15s;
}
.lang-opt:hover, .lang-opt.active {
  background: #1d72fe;
  color: #fff;
}

    /* ========================================================
       MASTER VIPBET HEADER, FIXED SIDEBAR & MODALS OVERRIDE
       ======================================================== */
    /* 1. Header Buttons Desktop & Mobile Canonical Styling */
    .h-auth-login-btn {
      height: 42px !important;
      padding: 0 20px !important;
      font-size: 14px !important;
      font-weight: 700 !important;
      background: #1c2636 !important;
      border: 1px solid rgba(255, 255, 255, 0.12) !important;
      color: #ffffff !important;
      border-radius: 10px !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      cursor: pointer !important;
      text-transform: none !important;
      letter-spacing: 0.2px !important;
      transition: all 0.2s ease !important;
      flex-shrink: 0 !important;
    }
    .h-auth-login-btn:hover {
      background: #253349 !important;
      border-color: rgba(255, 255, 255, 0.22) !important;
    }

    .h-auth-register-btn {
      height: 42px !important;
      padding: 0 24px !important;
      font-size: 14px !important;
      font-weight: 800 !important;
      background: #0070f3 !important;
      background-image: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 100%) !important;
      color: #ffffff !important;
      border: none !important;
      border-radius: 10px !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      cursor: pointer !important;
      text-transform: none !important;
      letter-spacing: 0.3px !important;
      box-shadow: 0 4px 16px rgba(0, 112, 243, 0.45) !important;
      transition: all 0.2s ease !important;
      flex-shrink: 0 !important;
    }
    .h-auth-register-btn:hover {
      background-color: #0060df !important;
      box-shadow: 0 6px 20px rgba(0, 112, 243, 0.6) !important;
      transform: translateY(-1px) !important;
    }

    /* 2. Top Header Container */
    .top-header {
      position: sticky !important;
      top: 0 !important;
      z-index: 1000 !important;
      height: 68px !important;
      background: #0e131b !important;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    /* 3. Left Sidebar: Fixed on Desktop, Never Scrolls Away */
    @media (min-width: 1025px) {
      .app-sidebar {
        position: fixed !important;
        top: 68px !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 250px !important;
        height: calc(100vh - 68px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        z-index: 990 !important;
        background: #0e131b !important;
        border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
      }
      .main-view-container {
        margin-left: 250px !important;
        width: calc(100% - 250px) !important;
        max-width: none !important;
        box-sizing: border-box !important;
      }
      body.sidebar-collapsed .main-view-container,
      .app-sidebar.collapsed ~ .main-view-container {
        margin-left: 0 !important;
        width: 100% !important;
      }
    }

    /* 4. Mobile Header 1:1 Matching media_1792378240135.png */
    @media (max-width: 768px) {
      .top-header {
        height: 60px !important;
        padding: 0 12px !important;
      }
      .sidebar-toggle-btn {
        display: none !important;
      }
      .top-header .lobby-switch-pill {
        display: none !important;
      }
      .site-main-logo {
        height: 32px !important;
        max-height: 36px !important;
      }
      .header-auth-group {
        gap: 8px !important;
      }
      .header-auth-group .h-square-btn:not(.header-rewards-btn) {
        display: none !important;
      }
      .header-rewards-btn {
        display: flex !important;
        width: 40px !important;
        height: 40px !important;
        background: #1c2636 !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 10px !important;
        align-items: center !important;
        justify-content: center !important;
      }
      .h-auth-login-btn {
        height: 40px !important;
        padding: 0 16px !important;
        font-size: 13.5px !important;
        font-weight: 700 !important;
        border-radius: 10px !important;
      }
      .h-auth-register-btn {
        height: 40px !important;
        padding: 0 18px !important;
        font-size: 13.5px !important;
        font-weight: 800 !important;
        border-radius: 10px !important;
      }
      .main-view-container {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 14px 12px 90px 12px !important;
      }
    }

    /* 5. Modals: Fail-Safe Overlay Backdrop Click */
    .game-modal {
      cursor: pointer;
    }
    .game-modal > * {
      cursor: default;
    }

  
    /* USER REQUEST: Zoom out slightly on hover (no translateY cut-off), circular play button with 30% transparent blue outer ring, white badges */
    .game-card-rainbet,
    .rainbet-game-card {
      transition: transform 0.22s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.22s ease, border-color 0.22s ease !important;
      position: relative !important;
      overflow: hidden !important;
    }
    .game-card-rainbet:hover,
    .rainbet-game-card:hover {
      transform: scale(0.97) !important;
      box-shadow: 0 10px 26px rgba(0, 0, 0, 0.6) !important;
      border-color: rgba(13, 116, 245, 0.5) !important;
    }
    /* Dark semi-transparent background on hover for carousel cards */
    .game-card-rainbet::before {
      content: "" !important;
      position: absolute !important;
      inset: 0 !important;
      background: rgba(10, 16, 28, 0.45) !important;
      opacity: 0 !important;
      transition: opacity 0.2s ease !important;
      pointer-events: none !important;
      z-index: 3 !important;
      border-radius: 12px !important;
    }
    .game-card-rainbet:hover::before {
      opacity: 1 !important;
    }
    /* Play Button with 30% transparent outer blue ring on hover */
    .game-card-rainbet::after {
      content: "\f04b" !important;
      font-family: "Font Awesome 6 Free" !important;
      font-weight: 900 !important;
      position: absolute !important;
      top: 50% !important;
      left: 50% !important;
      transform: translate(-50%, -50%) !important;
      width: 48px !important;
      height: 48px !important;
      background: #0d74f5 !important;
      border-radius: 50% !important;
      box-shadow: 0 0 0 10px rgba(13, 116, 245, 0.3) !important;
      color: #ffffff !important;
      font-size: 16px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      padding-left: 3px !important;
      opacity: 0 !important;
      transition: opacity 0.2s ease, transform 0.2s ease !important;
      pointer-events: none !important;
      z-index: 4 !important;
    }
    .game-card-rainbet:hover::after {
      opacity: 1 !important;
      transform: translate(-50%, -50%) scale(1.04) !important;
    }
    /* In catalog grid cards: matching circular play button + hide Play Now label */
    .rainbet-game-card .card-play-hover {
      position: absolute !important;
      inset: 0 !important;
      background: rgba(10, 16, 28, 0.45) !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      opacity: 0 !important;
      transition: opacity 0.2s ease !important;
      z-index: 4 !important;
      pointer-events: none !important;
      border-radius: 12px !important;
    }
    .rainbet-game-card:hover .card-play-hover {
      opacity: 1 !important;
    }
    .play-btn-circle {
      width: 48px !important;
      height: 48px !important;
      background: #0d74f5 !important;
      border-radius: 50% !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      box-shadow: 0 0 0 10px rgba(13, 116, 245, 0.3) !important;
      color: #ffffff !important;
      font-size: 16px !important;
      transition: transform 0.2s ease !important;
    }
    .play-btn-circle i {
      color: #ffffff !important;
      font-size: 16px !important;
      margin-left: 3px !important;
    }
    .play-label {
      display: none !important;
    }
    /* 3. USER REQUEST: Badges text must be crisp white */
    .game-card-tag,
    .game-badge,
    .badge-tag {
      color: #ffffff !important;
      font-weight: 900 !important;
      font-size: 10px !important;
      letter-spacing: 0.5px !important;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) !important;
      border: none !important;
      border-radius: 4px !important;
      padding: 3px 7px !important;
    }

    /* ========================================================
       OFFICIAL RAINBET 1:1 REWARDS PAGE STYLING
       (screencapture-rainbet-rewards-2026-10-16-03_26_24.png)
       ======================================================== */
    #view-rewards {
      max-width: 1144px;
      margin: 0 auto;
      padding: 8px 0 40px;
      position: relative;
    }
    .rewards-top-bar {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 22px;
      flex-wrap: wrap;
    }
    .rewards-title-box {
      display: flex;
      align-items: center;
      gap: 12px;
    }
    .rewards-header-icon {
      width: 38px;
      height: 38px;
      border-radius: 10px;
      background: rgba(34, 197, 94, 0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 0 16px rgba(34, 197, 94, 0.2);
    }
    .rewards-main-title {
      font-size: 26px;
      font-weight: 900;
      color: #ffffff;
      margin: 0;
      letter-spacing: -0.02em;
    }
    .rewards-currency-prompt {
      display: inline-flex;
      align-items: center;
      gap: 12px;
      background: #111927;
      border: 1px solid rgba(255, 255, 255, 0.09);
      border-radius: 9999px;
      padding: 6px 14px 6px 10px;
      margin-left: 8px;
    }
    .currency-try-icon {
      width: 22px;
      height: 22px;
      border-radius: 50%;
      background: #ef4444;
      color: #ffffff;
      font-size: 13px;
      font-weight: 900;
      display: flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
    }
    .currency-prompt-msg {
      font-size: 13px;
      font-weight: 600;
      color: #cbd5e1;
    }
    .currency-switch-action-btn {
      background: #22c55e;
      color: #0b1520;
      font-weight: 800;
      font-size: 12px;
      padding: 5px 12px;
      border-radius: 6px;
      border: none;
      cursor: pointer;
      transition: filter 0.2s, transform 0.1s;
    }
    .currency-switch-action-btn:hover {
      filter: brightness(1.15);
      transform: scale(0.98);
    }
    .currency-prompt-close {
      background: none;
      border: none;
      color: #64748b;
      font-size: 14px;
      cursor: pointer;
      padding: 0 2px;
      line-height: 1;
    }
    .currency-prompt-close:hover {
      color: #ffffff;
    }

    /* ── Daily Calendar Row with Arrows ── */
    .rewards-calendar-wrapper {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 24px;
    }
    .cal-arrow-btn {
      width: 36px;
      height: 36px;
      border-radius: 8px;
      background: #111827;
      border: 1px solid rgba(255, 255, 255, 0.08);
      color: #64748b;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s;
      flex-shrink: 0;
    }
    .cal-arrow-btn:hover {
      background: #1e293b;
      color: #ffffff;
    }
    .rewards-streak-grid {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 12px;
      flex: 1;
    }
    .streak-tile {
      background: #141c28;
      border: 1px solid #1e293b;
      border-radius: 12px;
      padding: 16px 8px 14px;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
      transition: all 0.2s;
    }
    .streak-tile.active {
      border-color: #22c55e;
      background: rgba(34, 197, 94, 0.04);
      box-shadow: 0 0 20px rgba(34, 197, 94, 0.08);
    }
    .streak-date-tag {
      font-size: 12px;
      font-weight: 700;
      color: #cbd5e1;
      padding: 3px 10px;
      border-radius: 6px;
      background: rgba(255, 255, 255, 0.04);
      display: inline-block;
      margin-bottom: 12px;
    }
    .streak-date-tag.active {
      background: #22c55e;
      color: #09121d;
      font-weight: 800;
    }
    .streak-dots-track {
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 14px;
      width: 60px;
    }
    .s-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: #273449;
    }
    .s-dot.active {
      background: #22c55e;
    }
    .s-line {
      height: 1px;
      flex: 1;
      background: #273449;
    }
    .s-line.active {
      background: #22c55e;
    }
    .streak-vault-svg {
      color: #27354a;
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .streak-vault-svg.active {
      color: #22c55e;
      filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.4));
    }
    .streak-amount {
      font-size: 12px;
      font-weight: 700;
      color: #94a3b8;
    }
    .streak-tile.active .streak-amount {
      color: #ffffff;
      font-weight: 800;
    }

    /* ── 5 Reward Claim Cards Matrix (4 cols) ── */
    .reward-claim-cards-matrix {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin-bottom: 24px;
    }
    .claim-tier-card {
      background: #141c28;
      border: 1px solid #1e293b;
      border-radius: 14px;
      padding: 18px 20px 20px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: space-between;
      min-height: 226px;
      box-sizing: border-box;
      transition: transform 0.2s, border-color 0.2s;
    }
    .claim-tier-card:hover {
      border-color: rgba(34, 197, 94, 0.4);
    }
    .monthly-claim-card {
      grid-column: 1 / 2;
    }
    .card-top-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }
    .card-title-with-info {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 14px;
      font-weight: 700;
      color: #e2e8f0;
    }
    .card-info-ico {
      font-size: 13px;
      color: #64748b;
    }
    .card-badge {
      font-size: 12px;
      font-weight: 700;
    }
    .card-badge.red { color: #ef4444; }
    .card-badge.orange { color: #f59e0b; }

    .claim-art-wrap {
      margin: 14px 0 16px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .green-claim-action-btn {
      width: 100%;
      padding: 10px 14px;
      border-radius: 8px;
      background: #22c55e;
      color: #0b1520;
      font-weight: 800;
      font-size: 14px;
      border: none;
      cursor: pointer;
      transition: filter 0.2s, transform 0.1s;
    }
    .green-claim-action-btn:hover {
      filter: brightness(1.15);
      transform: scale(0.98);
    }
    .locked-claim-action-btn {
      width: 100%;
      padding: 10px 14px;
      border-radius: 8px;
      background: #1c2636;
      color: #94a3b8;
      font-weight: 700;
      font-size: 13px;
      border: none;
      cursor: not-allowed;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }

    /* ── Rank Progress Card ── */
    .rewards-rank-section {
      background: #141c28;
      border: 1px solid #1e293b;
      border-radius: 14px;
      padding: 22px 24px;
      margin-bottom: 24px;
    }
    .rank-top-actions {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 18px;
      flex-wrap: wrap;
      gap: 12px;
    }
    .rank-title-group {
      display: flex;
      align-items: center;
      gap: 8px;
    }
    .rank-box-heading {
      font-size: 18px;
      font-weight: 800;
      color: #ffffff;
      margin: 0;
    }
    .rank-btns-group {
      display: flex;
      gap: 10px;
    }
    .green-rank-up-btn {
      background: #22c55e;
      color: #0b1520;
      font-weight: 800;
      font-size: 13px;
      padding: 8px 16px;
      border-radius: 8px;
      border: none;
      cursor: pointer;
      transition: filter 0.2s, transform 0.1s;
    }
    .green-rank-up-btn:hover {
      filter: brightness(1.15);
      transform: scale(0.98);
    }
    .dark-view-all-ranks-btn {
      background: #1c2636;
      color: #cbd5e1;
      font-weight: 700;
      font-size: 13px;
      padding: 8px 16px;
      border-radius: 8px;
      border: none;
      cursor: pointer;
      transition: background 0.2s;
    }
    .dark-view-all-ranks-btn:hover {
      background: #253347;
      color: #ffffff;
    }

    .rank-main-content-layout {
      display: grid;
      grid-template-columns: 1fr 390px;
      gap: 24px;
      align-items: center;
    }
    .wager-status-row {
      display: flex;
      justify-content: space-between;
      font-size: 13px;
      font-weight: 600;
      color: #94a3b8;
      margin-bottom: 8px;
    }
    .rank-custom-bar-track {
      height: 12px;
      background: #0c121c;
      border-radius: 6px;
      overflow: hidden;
      margin-bottom: 10px;
    }
    .rank-custom-bar-fill {
      height: 100%;
      background: linear-gradient(90deg, #1d72fe, #22c55e);
      border-radius: 6px;
    }
    .rank-extremes-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 12px;
      font-weight: 800;
    }
    .rank-extreme-tag {
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .rank-extreme-tag.unranked { color: #64748b; }
    .rank-extreme-tag.bronze1 { color: #d97706; }

    /* Right horizontal progression box */
    .rank-right-progression-box {
      background: #0f1622;
      border: 1px solid #1e293b;
      border-radius: 12px;
      padding: 14px 18px;
    }
    .tiers-titles-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 10px;
    }
    .tier-lbl {
      font-size: 11.5px;
      font-weight: 800;
    }
    .tier-lbl.bronze { color: #d97706; }
    .tier-lbl.silver { color: #94a3b8; }
    .tier-sep {
      color: #475569;
      font-size: 11px;
    }
    .tiers-icons-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .tier-icon-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 5px;
    }
    .tier-lock-ico {
      font-size: 10px;
      color: #64748b;
    }

    /* ── Total Rewards Matrix ── */
    .rewards-totals-container {
      background: #141c28;
      border: 1px solid #1e293b;
      border-radius: 12px;
      overflow: hidden;
      margin-bottom: 24px;
    }
    .totals-header-bar {
      padding: 16px 20px;
      font-size: 14px;
      font-weight: 800;
      color: #ffffff;
      border-bottom: 1px solid #1e293b;
      display: flex;
      align-items: center;
      gap: 8px;
      cursor: pointer;
    }
    .totals-chevron {
      color: #64748b;
      font-size: 14px;
    }
    .totals-highlight-sum {
      color: #ffffff;
      font-weight: 800;
    }
    .totals-six-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
    }
    .tot-cell {
      padding: 20px 24px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
    }
    .tot-cell.r-border { border-right: 1px solid #1e293b; }
    .tot-cell.b-border { border-bottom: 1px solid #1e293b; }
    .tot-lbl {
      font-size: 13px;
      font-weight: 600;
      color: #64748b;
      margin-bottom: 6px;
    }
    .tot-val {
      font-size: 15px;
      font-weight: 800;
      color: #ffffff;
    }
    .totals-other-footer {
      border-top: 1px solid #1e293b;
      padding: 16px;
      text-align: center;
      background: rgba(0, 0, 0, 0.12);
    }
    .other-bonuses-row {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
    }

    /* ── Floating Live Support Headset (Global & Positioned above bottom nav) ── */
    .rewards-floating-headset {
      display: none !important;
    }
    .global-live-support-btn {
      position: fixed;
      right: 24px;
      bottom: 24px;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: #0d74f5;
      display: flex;
      align-items: center;
      justify-content: center;
      color: #ffffff;
      font-size: 20px;
      box-shadow: 0 4px 18px rgba(13, 116, 245, 0.45);
      cursor: pointer;
      transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s, box-shadow 0.2s;
      z-index: 9980;
      user-select: none;
      -webkit-tap-highlight-color: transparent;
    }
    .global-live-support-btn:hover {
      background: #1d82fe;
      transform: scale(1.08);
      box-shadow: 0 6px 22px rgba(29, 130, 254, 0.6);
    }
    .global-live-support-btn:active {
      transform: scale(0.95);
    }

    @media (max-width: 900px) {
      .global-live-support-btn {
        right: 16px !important;
        bottom: 90px !important; /* Floating cleanly above the 77px mobile bottom nav */
        width: 44px !important;
        height: 44px !important;
        font-size: 18px !important;
        z-index: 9998 !important;
        box-shadow: 0 4px 16px rgba(13, 116, 245, 0.5) !important;
      }
    }

    @media (max-width: 992px) {
      .rank-main-content-layout { grid-template-columns: 1fr; }
      .reward-claim-cards-matrix { grid-template-columns: repeat(2, 1fr); }
      .monthly-claim-card { grid-column: auto; }
      .rewards-streak-grid { grid-template-columns: repeat(3, 1fr); }
    }
    @media (max-width: 600px) {
      .reward-claim-cards-matrix { grid-template-columns: 1fr; }
      .totals-six-grid { grid-template-columns: 1fr; }
      .tot-cell.r-border { border-right: none; }
      .tot-cell { border-bottom: 1px solid #1e293b; }
      .rewards-streak-grid { grid-template-columns: repeat(2, 1fr); }
      .rewards-currency-prompt { margin-left: 0; width: 100%; justify-content: space-between; }
    }

  
/* Transparent Payment Methods Strip (No artificial white card) */
.pay-methods-strip {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.pay-methods-strip img.strip-dark {
  display: block !important;
}
.pay-methods-strip img.strip-light {
  display: none !important;
}
body[data-theme="light"] .pay-methods-strip img.strip-dark,
html[data-theme="light"] .pay-methods-strip img.strip-dark {
  display: none !important;
}
body[data-theme="light"] .pay-methods-strip img.strip-light,
html[data-theme="light"] .pay-methods-strip img.strip-light {
  display: block !important;
}




    /* Global Typography & Font Weights */
    body {
      font-family: var(--font-family), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
      overflow-x: hidden !important;
      width: 100% !important;
      max-width: 100vw !important;
    }

    
    /* Table & Horizontal Scroller Protection */
    .live-bets-table {
      width: 100%;
    }
    @media (max-width: 768px) {
      .live-bets-table {
        min-width: 0 !important;
        width: 100% !important;
      }
      .live-bets-table th:nth-child(2),
      .live-bets-table th:nth-child(3),
      .live-bets-table th:nth-child(4),
      .live-bets-table th:nth-child(5),
      .live-bets-table td:nth-child(2),
      .live-bets-table td:nth-child(3),
      .live-bets-table td:nth-child(4),
      .live-bets-table td:nth-child(5) {
        display: none !important;
      }
      .live-bets-table th:first-child,
      .live-bets-table td:first-child {
        text-align: left !important;
        padding-left: 8px !important;
      }
      .live-bets-table th:last-child,
      .live-bets-table td:last-child {
        text-align: right !important;
        padding-right: 8px !important;
      }
      .live-bets-table tr td {
        padding: 10px 8px !important;
      }
      .lbets-header-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
      }
      .lbets-tabs {
        width: 100% !important;
        display: flex !important;
      }
      .lbets-tabs .btab-btn {
        flex: 1 !important;
        text-align: center !important;
        padding: 8px 4px !important;
        font-size: 12px !important;
      }
    }
    .live-bets-table-section, .live-bets-table-wrap, div:has(> .live-bets-table) {
      box-sizing: border-box !important;
      width: 100% !important;
      max-width: 100% !important;
      overflow-x: auto !important;
      -webkit-overflow-scrolling: touch;
    }
    .providers-logo-row {
      max-width: 100% !important;
      overflow-x: auto !important;
    }
    .live-wins-ticker-wrap {
      max-width: 100% !important;
      overflow: hidden !important;
    }

    
    .live-bets-table-section {
      width: 100% !important;
      max-width: 100% !important;
      overflow-x: auto !important;
      display: block !important;
    }
    .f-columns-row, .f-seals-row {
      flex-wrap: wrap !important;
    }

    
    @media (max-width: 768px) {
      .f-seals-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px 16px !important;
      }
    }
    @media (max-width: 480px) {
      .f-seals-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px 12px !important;
      }
      .trust-seal-box {
        font-size: 11.5px !important;
        gap: 8px !important;
        padding: 8px 2px !important;
      }
    }

    
    @media (max-width: 768px) {
      .f-columns-row {
        grid-template-columns: 1fr 1fr !important;
        gap: 20px !important;
      }
    }
    @media (max-width: 480px) {
      .f-columns-row {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
      }
    }

    
    @media (max-width: 500px) {
      .top-header {
        padding: 0 6px !important;
      }
      .header-left, .header-right {
        gap: 4px !important;
      }
      .h-square-btn {
        width: 30px !important;
        height: 30px !important;
      }
      /* cleaned small login btn */
      .h-auth-register-btn {
        padding: 5px 10px !important;
        font-size: 11px !important;
      }
    }

    
    /* PERFECT 0-OVERFLOW MOBILE HEADER (<= 520px) */
    @media (max-width: 520px) {
      .top-header {
        padding: 0 8px !important;
        height: 58px !important;
        overflow: visible !important;
      }
      .top-header .lobby-switch-pill {
        display: none !important;
      }
      #headerBalancePill,
      .balance-dropdown-btn {
        display: none !important;
      }
      .boost-pill-widget {
        display: none !important;
      }
      .header-search-btn,
      .header-gift-btn,
      .header-notif-btn,
      .header-profile-btn,
      .rainbet-wallet-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        padding: 0 !important;
        border-radius: 8px !important;
        font-size: 13.5px !important;
        cursor: pointer !important;
        flex-shrink: 0 !important;
      }
      .header-logged-group {
        gap: 4px !important;
      }
      .user-menu-dropdown {
        position: fixed !important;
        top: 60px !important;
        right: 10px !important;
        left: auto !important;
        width: 270px !important;
        max-width: calc(100vw - 20px) !important;
        z-index: 99999 !important;
      }
      .notifications-dropdown {
        position: fixed !important;
        top: 60px !important;
        right: 10px !important;
        left: auto !important;
        width: 310px !important;
        max-width: calc(100vw - 20px) !important;
        z-index: 99999 !important;
      }
      .user-menu-dropdown.show {
        display: block !important;
      }
      .header-left {
        gap: 8px !important;
      }
      .header-right {
        gap: 6px !important;
      }
      .site-main-logo {
        height: 24px !important;
        max-height: 26px !important;
      }
      .h-auth-login-btn {
        padding: 6px 10px !important;
        font-size: 12px !important;
      }
      .h-auth-register-btn {
        padding: 6px 12px !important;
        font-size: 12px !important;
      }
      .balance-dropdown-btn {
        padding: 4px 6px !important;
        font-size: 11px !important;
        max-width: 90px !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        flex-shrink: 1 !important;
      }
      .rainbet-wallet-btn {
        padding: 5px 8px !important;
        font-size: 11.5px !important;
        flex-shrink: 0 !important;
      }
      .rainbet-wallet-btn span {
        display: none !important;
      }
    }

    /* FIX 260PX OVERFLOW ISSUE */
    .app-body {
      display: flex !important;
      flex: 1 !important;
      position: relative !important;
      width: 100% !important;
      max-width: 100vw !important;
      overflow-x: hidden !important;
      box-sizing: border-box !important;
    }

    .main-view-container {
      flex: 1 1 0% !important;
      min-width: 0 !important;
      width: 100% !important;
      max-width: 1400px !important;
      margin: 0 auto !important;
      padding: 24px 20px !important;
      box-sizing: border-box !important;
      overflow-x: hidden !important;
    }

    /* TOP HEADER RESPONSIVE & SLEEK STYLING */
    .top-header {
      height: 68px !important;
      background: #0e131b !important;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      padding: 0 16px !important;
      position: sticky !important;
      top: 0 !important;
      z-index: 1000 !important;
      width: 100% !important;
      box-sizing: border-box !important;
      backdrop-filter: blur(14px) !important;
    }

    .header-left, .header-right {
      display: flex !important;
      align-items: center !important;
      gap: 10px !important;
      flex-shrink: 0 !important;
    }

    .site-main-logo {
      height: 34px !important;
      max-height: 36px !important;
      width: auto !important;
      max-width: 170px !important;
      object-fit: contain !important;
      display: block !important;
      cursor: pointer !important;
      transition: transform 0.2s ease;
    }
    .site-main-logo:hover {
      transform: scale(1.03);
    }

    /* GUEST AUTH BUTTONS */
    .h-auth-login-btn {
      background: rgba(255, 255, 255, 0.06) !important;
      border: 1px solid rgba(255, 255, 255, 0.16) !important;
      color: #ffffff !important;
      font-size: 13.5px !important;
      font-weight: 800 !important;
      padding: 8px 18px !important;
      border-radius: 10px !important;
      cursor: pointer !important;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
      display: inline-flex !important;
      align-items: center !important;
      gap: 7px !important;
    }
    .h-auth-login-btn:hover {
      background: rgba(255, 255, 255, 0.12) !important;
      border-color: rgba(255, 255, 255, 0.35) !important;
      transform: translateY(-1px) !important;
    }

    .h-auth-register-btn {
      background: linear-gradient(135deg, #1d72fe 0%, #155ecc 100%) !important;
      border: none !important;
      color: #ffffff !important;
      font-size: 13.5px !important;
      font-weight: 800 !important;
      padding: 9px 22px !important;
      border-radius: 10px !important;
      cursor: pointer !important;
      box-shadow: 0 4px 16px rgba(29, 114, 254, 0.45) !important;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
      display: inline-flex !important;
      align-items: center !important;
      gap: 7px !important;
    }
    .h-auth-register-btn:hover {
      filter: brightness(1.12) !important;
      transform: translateY(-1px) !important;
      box-shadow: 0 6px 20px rgba(29, 114, 254, 0.6) !important;
    }

    /* LOGGED IN USER DROPDOWN */
    .user-menu-dropdown {
      min-width: 230px !important;
      background: #121824 !important;
      border: 1px solid rgba(255, 255, 255, 0.1) !important;
      border-radius: 14px !important;
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.8) !important;
      padding: 6px !important;
    }
    .user-menu-dropdown a {
      display: flex !important;
      align-items: center !important;
      gap: 10px !important;
      padding: 10px 14px !important;
      border-radius: 8px !important;
      font-size: 13px !important;
      font-weight: 700 !important;
      color: #94a3b8 !important;
      cursor: pointer !important;
      transition: all 0.15s ease !important;
    }
    .user-menu-dropdown a:hover {
      background: rgba(29, 114, 254, 0.12) !important;
      color: #ffffff !important;
    }
    .user-menu-dropdown a.logout-btn {
      color: #ef4444 !important;
    }
    .user-menu-dropdown a.logout-btn:hover {
      background: rgba(239, 68, 68, 0.12) !important;
      color: #ff6b6b !important;
    }

    /* MOBILE SIDEBAR & BACKDROP */
    .sidebar-backdrop {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.75);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      z-index: 10000;
    }
    .sidebar-backdrop.active {
      display: block !important;
    }

    .sidebar-mobile-header {
      display: none;
    }

    @media (max-width: 1200px) {
      .boost-pill-widget { display: none !important; }
    }
    @media (max-width: 1024px) {
      .sidebar-backdrop {
        z-index: 10000 !important;
      }
      .sidebar-mobile-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 16px 18px 14px 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        background: #0b1019;
        margin-bottom: 8px;
        flex-shrink: 0;
      }
      .sb-mobile-close-btn {
        background: rgba(255, 255, 255, 0.07);
        border: 1px solid rgba(255, 255, 255, 0.1);
        color: #94a3b8;
        width: 32px;
        height: 32px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        cursor: pointer;
        transition: all 0.2s;
      }
      .sb-mobile-close-btn:hover,
      .sb-mobile-close-btn:active {
        background: rgba(255, 255, 255, 0.15);
        color: #ffffff;
      }
      .app-sidebar {
        position: fixed !important;
        top: 0 !important;
        bottom: 0 !important;
        height: 100vh !important;
        height: 100dvh !important;
        left: -300px !important;
        width: 280px !important;
        max-width: 85vw !important;
        z-index: 10001 !important;
        box-shadow: 14px 0 45px rgba(0, 0, 0, 0.9) !important;
        transition: left 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
        padding-top: 0 !important;
        padding-bottom: 80px !important;
      }
      .app-sidebar.mobile-open {
        left: 0 !important;
      }
      .main-view-container {
        padding: 16px 12px !important;
      }
    }
    @media (max-width: 768px) {
      /* ── Header ── */
      .top-header { padding: 0 10px !important; overflow: visible !important; }
      /* Hide lobby switch pill and top-header hamburger on mobile — matches VIPBET mobile 1:1 */
      .lobby-switch-pill { display: none !important; }
      .sidebar-toggle-btn { display: none !important; }
      /* Hide balance dropdown pill on mobile — moved to profile dropdown menu */
      #headerBalancePill,
      .balance-dropdown-btn {
        display: none !important;
      }
      /* Hide boost text pill widget on mobile header */
      .boost-pill-widget {
        display: none !important;
      }
      /* Show search, gift, notifications, wallet, and profile square buttons on mobile */
      .header-search-btn,
      .header-gift-btn,
      .header-notif-btn,
      .header-profile-btn,
      .rainbet-wallet-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 34px !important;
        min-width: 34px !important;
        height: 34px !important;
        padding: 0 !important;
        border-radius: 9px !important;
        flex-shrink: 0 !important;
      }
      .header-logged-group {
        align-items: center !important;
        gap: 4px !important;
      }
      .user-menu-dropdown {
        position: fixed !important;
        top: 60px !important;
        right: 10px !important;
        left: auto !important;
        width: 270px !important;
        max-width: calc(100vw - 20px) !important;
        z-index: 99999 !important;
      }
      .notifications-dropdown {
        position: fixed !important;
        top: 60px !important;
        right: 10px !important;
        left: auto !important;
        width: 320px !important;
        max-width: calc(100vw - 20px) !important;
        z-index: 99999 !important;
      }
      .user-menu-dropdown.show {
        display: block !important;
      }
      .rainbet-wallet-btn {
        width: 34px !important;
        height: 34px !important;
        padding: 0 !important;
        font-size: 13.5px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
      }
      .rainbet-wallet-btn span {
        display: none !important;
      }

      /* ── Main container: no horizontal overflow ── */
      .main-view-container { padding: 12px 10px !important; overflow-x: hidden !important; }
      .app-body { overflow-x: hidden !important; }

      /* ── Search + category bar: stack vertically ── */
      #mainSearchRow { flex-direction: column !important; gap: 10px !important; }
      #mainSearchRow > div:first-child { min-width: unset !important; width: 100% !important; }
      #mainSearchRow > div:last-child {
        display: flex !important;
        gap: 6px !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        width: 100% !important;
        padding-bottom: 2px;
      }
      #mainSearchRow > div:last-child::-webkit-scrollbar { display: none; }
      .btab-btn { white-space: nowrap !important; flex-shrink: 0 !important; padding: 7px 12px !important; font-size: 12px !important; }

      /* ── Live Wins ticker ── */
      .live-wins-ticker-wrap { overflow-x: auto !important; }
      .live-wins-stream { flex-wrap: nowrap !important; }

      /* ── Partner cards: horizontal scroll ── */
      .partners-grid-mobile {
        display: flex !important;
        overflow-x: auto !important;
        gap: 12px !important;
        scrollbar-width: none !important;
        padding-bottom: 4px;
      }
      .partners-grid-mobile::-webkit-scrollbar { display: none; }
      .partners-grid-mobile > div { flex: 0 0 260px !important; min-width: 260px !important; }

      /* ── Games grid: 2 columns on mobile ── */
      .games-scroll-grid {
        display: flex !important;
        gap: 10px !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
      }
      .games-scroll-grid::-webkit-scrollbar { display: none; }
      .game-card-rainbet { flex: 0 0 130px !important; min-width: 130px !important; }
      .game-card-poster { height: 130px !important; }

      /* ── Section headings ── */
      .section-head-row { margin-bottom: 10px !important; }
      .section-title-wrap { font-size: 14px !important; }

      /* ── Raffle/stats bar ── */
      .daily-raffle-bar { flex-wrap: wrap !important; gap: 8px !important; }

      /* ── Sidebar stats (daily/weekly/monthly) ── */
      .sb-stats-row { font-size: 11px !important; }

      /* ── Wallet Modal Responsive on mobile ── */
      #walletModal {
        padding: 16px 12px !important;
        align-items: center !important;
        justify-content: center !important;
      }
      .lux-wallet-dialog {
        width: 100% !important;
        max-width: 480px !important;
        max-height: 88vh !important;
        border-radius: 20px !important;
        margin: auto !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85) !important;
      }
      .lux-wallet-header {
        padding: 14px 54px 14px 18px !important;
        flex-shrink: 0 !important;
      }
      .lux-wallet-tabs {
        gap: 6px !important;
      }
      .lux-wtab-btn {
        padding: 8px 14px !important;
        font-size: 13px !important;
      }
      .lux-wallet-body {
        padding: 20px 20px 32px 20px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        flex: 1 !important;
        box-sizing: border-box !important;
      }
      .lux-method-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        margin-bottom: 14px !important;
      }
      .lux-method-card {
        padding: 10px 8px !important;
      }
      .lux-crypto-box {
        flex-direction: column !important;
        text-align: center !important;
        padding: 14px !important;
        gap: 12px !important;
      }
      .lux-qr-frame {
        width: 120px !important;
        height: 120px !important;
        margin: 0 auto !important;
      }
      .lux-addr-val {
        font-size: 11px !important;
        padding: 8px 10px !important;
      }
      .lux-copy-btn {
        width: 100% !important;
        justify-content: center !important;
      }
      .lux-fiat-presets {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 6px !important;
      }
      .lux-bank-card {
        padding: 12px !important;
      }
      .lux-bank-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
        margin-bottom: 8px !important;
      }

      /* ── Betslip drawer as mobile bottom sheet ── */
      .betslip-expanded-drawer {
        right: 0 !important;
        left: 0 !important;
        bottom: 62px !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 18px 18px 0 0 !important;
        max-height: 80vh !important;
        z-index: 1070 !important;
      }

      /* ── Sub-pages Responsive Layouts ── */
      .settings-page-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
      }

      .transactions-layout {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
      }
      .trans-side-tabs {
        flex-direction: row !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        width: 100% !important;
        border-radius: 12px !important;
        margin-bottom: 12px !important;
        padding: 5px !important;
        gap: 6px !important;
        background: var(--bg-card) !important;
      }
      .trans-side-tabs::-webkit-scrollbar { display: none; }
      .trans-tab-btn {
        white-space: nowrap !important;
        text-align: center !important;
        padding: 9px 14px !important;
        border-left: none !important;
        border-radius: 8px !important;
        font-size: 12.5px !important;
        flex-shrink: 0 !important;
      }
      .trans-tab-btn.active {
        border-left: none !important;
        border-bottom: none !important;
        box-shadow: 0 4px 12px var(--accent-glow, rgba(29,114,254,0.3)) !important;
      }
      .trans-filter-bar {
        display: grid !important;
        grid-template-columns: 1.15fr 0.9fr 0.95fr !important;
        gap: 6px !important;
        width: 100% !important;
        align-items: center !important;
      }
      .trans-filter-bar .search-input {
        width: 100% !important;
        min-width: 0 !important;
        padding: 8px 6px !important;
        font-size: 11.5px !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
        text-overflow: ellipsis !important;
      }
      .trans-header-actions {
        width: 100% !important;
        display: flex !important;
        gap: 8px !important;
        margin-top: 10px !important;
      }
      .trans-header-actions button {
        flex: 1 !important;
        padding: 8px 12px !important;
        font-size: 12px !important;
      }
      .trans-table-wrap {
        display: none !important;
      }
      .trans-mobile-view {
        display: block !important;
      }

      .blog-featured-card {
        grid-template-columns: 1fr !important;
        padding: 18px !important;
        gap: 16px !important;
      }
      .blog-posts-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
      }

      .rewards-chips-grid {
        display: flex !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        gap: 12px !important;
        padding-bottom: 6px;
      }
      .rewards-chips-grid::-webkit-scrollbar { display: none; }
      .reward-chip-card {
        flex: 0 0 160px !important;
        min-width: 160px !important;
      }
      .vault-streak-row {
        display: flex !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        gap: 8px !important;
        padding-bottom: 4px;
      }
      .vault-streak-row::-webkit-scrollbar { display: none; }
      .vault-card {
        flex: 0 0 76px !important;
        min-width: 76px !important;
      }

      #sportsUpcomingGrid, .sports-upcoming-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
      }
      #sportsLiveMatchesGrid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
      }

      /* ── Eliminate gap between main and footer, apply bottom nav clearance to footer bottom ── */
      .main-view-container { padding-bottom: 8px !important; }
      .rainbet-official-footer {
        padding-top: 16px !important;
        padding-bottom: 84px !important;
        margin-top: 8px !important;
      }
    }

    @media (max-width: 480px) {
      .lswitch-btn span, .lswitch-btn i { font-size: 11px !important; }
      .rainbet-wallet-btn span { display: none !important; }
      .site-main-logo { height: 24px !important; }
      .game-card-rainbet { flex: 0 0 115px !important; min-width: 115px !important; }
      .game-card-poster { height: 115px !important; }
    }

    
    @media (max-width: 600px) {
      .top-header {
        padding: 0 8px !important;
        height: 60px !important;
      }
      .header-left, .header-right {
        gap: 5px !important;
      }
      .site-main-logo {
        height: 28px !important;
        max-height: 32px !important;
      }
      .lobby-switch-pill {
        display: none !important;
      }
      .h-square-btn {
        width: 38px !important;
        height: 38px !important;
        font-size: 15px !important;
        border-radius: 9px !important;
      }
      .header-rewards-btn {
        background: #182232 !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
      }
      .h-auth-login-btn {
        padding: 9px 16px !important;
        font-size: 13.5px !important;
        font-weight: 800 !important;
        border-radius: 9px !important;
        background: #1c2636 !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
      }
      .h-auth-register-btn {
        padding: 9px 20px !important;
        font-size: 13.5px !important;
        font-weight: 900 !important;
        border-radius: 9px !important;
        background: #0070f3 !important;
        box-shadow: 0 4px 14px rgba(0, 112, 243, 0.4) !important;
      }
      .balance-dropdown-btn {
        padding: 6px 10px !important;
        font-size: 12.5px !important;
      }
      .rainbet-wallet-btn {
        padding: 6px 12px !important;
        font-size: 12.5px !important;
      }
    }
    /* cleaned 420px override */

    /* ========================================================
       LUXURY DEPOSIT & WALLET MODAL DESIGN
       ======================================================== */
    .lux-wallet-dialog {
      background: #111722 !important;
      border: 1px solid rgba(255, 255, 255, 0.1) !important;
      border-radius: 20px !important;
      width: 100% !important;
      max-width: 660px !important;
      max-height: 90vh !important;
      overflow: hidden !important;
      display: flex !important;
      flex-direction: column !important;
      position: relative !important;
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9), 0 0 40px rgba(29, 114, 254, 0.15) !important;
    }

    .lux-wallet-header {
      display: flex !important;
      align-items: center !important;
      gap: 8px !important;
      padding: 10px 12px !important;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
      flex-shrink: 0 !important;
    }

    .lux-wallet-close {
      background: rgba(255, 255, 255, 0.06) !important;
      border: 1px solid rgba(255, 255, 255, 0.1) !important;
      color: #94a3b8 !important;
      font-size: 15px !important;
      cursor: pointer !important;
      padding: 6px 10px !important;
      border-radius: 8px !important;
      flex-shrink: 0 !important;
      line-height: 1 !important;
      transition: all 0.15s ease !important;
    }
    .lux-wallet-close:hover {
      background: rgba(255, 255, 255, 0.12) !important;
      color: #fff !important;
    }

    .lux-wallet-body {
      overflow-y: auto !important;
      overflow-x: hidden !important;
      flex: 1 !important;
      padding: 20px !important;
      scrollbar-width: thin !important;
      scrollbar-color: rgba(29,114,254,0.4) transparent !important;
    }
    .lux-wallet-body::-webkit-scrollbar { width: 4px; }
    .lux-wallet-body::-webkit-scrollbar-track { background: transparent; }
    .lux-wallet-body::-webkit-scrollbar-thumb { background: rgba(29,114,254,0.4); border-radius: 4px; }

    .lux-wallet-tabs {
      display: flex !important;
      flex: 1 !important;
      gap: 4px !important;
      overflow-x: auto !important;
      scrollbar-width: none !important;
      background: transparent !important;
    }
    .lux-wallet-tabs::-webkit-scrollbar { display: none; }

    .lux-wtab-btn {
      padding: 10px 8px !important;
      text-align: center !important;
      font-size: 13px !important;
      font-weight: 800 !important;
      color: #94a3b8 !important;
      border-radius: 10px !important;
      border: none !important;
      background: transparent !important;
      cursor: pointer !important;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    .lux-wtab-btn:hover {
      color: #ffffff !important;
      background: rgba(255, 255, 255, 0.05) !important;
    }
    .lux-wtab-btn.active {
      background: #1d72fe !important;
      color: #ffffff !important;
      box-shadow: 0 4px 14px rgba(29, 114, 254, 0.4) !important;
    }

    /* METHOD SELECTOR CARDS GRID */
    .lux-method-grid {
      display: grid !important;
      grid-template-columns: repeat(4, 1fr) !important;
      gap: 10px !important;
      margin-bottom: 20px !important;
    }
    @media (max-width: 600px) {
      .lux-method-grid {
        grid-template-columns: repeat(2, 1fr) !important;
      }
    }

    .lux-method-card {
      background: #161e2b !important;
      border: 1px solid rgba(255, 255, 255, 0.07) !important;
      border-radius: 12px !important;
      padding: 12px 10px !important;
      cursor: pointer !important;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      text-align: center !important;
      gap: 6px !important;
      position: relative !important;
    }
    .lux-method-card:hover {
      background: #1c2637 !important;
      border-color: rgba(29, 114, 254, 0.4) !important;
      transform: translateY(-2px) !important;
    }
    .lux-method-card.active {
      background: rgba(29, 114, 254, 0.12) !important;
      border-color: #1d72fe !important;
      box-shadow: 0 0 18px rgba(29, 114, 254, 0.25) !important;
    }

    .lux-m-badge {
      width: 38px !important;
      height: 38px !important;
      border-radius: 50% !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      font-size: 18px !important;
      font-weight: 900 !important;
    }
    .lux-m-name {
      font-size: 13px !important;
      font-weight: 800 !important;
      color: #ffffff !important;
    }
    .lux-m-sub {
      font-size: 10px !important;
      font-weight: 700 !important;
      color: #64748b !important;
    }
    .lux-m-pill {
      font-size: 9.5px !important;
      font-weight: 800 !important;
      padding: 2px 6px !important;
      border-radius: 4px !important;
      background: rgba(255, 255, 255, 0.06) !important;
      color: #94a3b8 !important;
    }
    .lux-method-card.active .lux-m-pill {
      background: rgba(29, 114, 254, 0.2) !important;
      color: #60a5fa !important;
    }

    /* NETWORK SWITCHER PILLS */
    .lux-network-row {
      display: flex !important;
      gap: 8px !important;
      margin-bottom: 16px !important;
      flex-wrap: wrap !important;
    }
    .lux-net-btn {
      background: #161e2b !important;
      border: 1px solid rgba(255, 255, 255, 0.08) !important;
      color: #94a3b8 !important;
      padding: 6px 14px !important;
      border-radius: 8px !important;
      font-size: 12px !important;
      font-weight: 800 !important;
      cursor: pointer !important;
      transition: all 0.15s ease !important;
    }
    .lux-net-btn:hover {
      background: #1c2637 !important;
      color: #fff !important;
    }
    .lux-net-btn.active {
      background: #1d72fe !important;
      color: #ffffff !important;
      border-color: #1d72fe !important;
    }

    /* CRYPTO QR & ADDRESS BOX */
    .lux-crypto-box {
      background: #0b0f17 !important;
      border: 1px solid rgba(255, 255, 255, 0.08) !important;
      border-radius: 14px !important;
      padding: 20px !important;
      display: flex !important;
      gap: 20px !important;
      align-items: center !important;
      margin-bottom: 16px !important;
    }
    @media (max-width: 540px) {
      .lux-crypto-box {
        flex-direction: column !important;
        text-align: center !important;
      }
    }

    .lux-qr-frame {
      width: 140px !important;
      height: 140px !important;
      background: #ffffff !important;
      border-radius: 10px !important;
      padding: 8px !important;
      flex-shrink: 0 !important;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5) !important;
    }
    .lux-qr-frame img {
      width: 100% !important;
      height: 100% !important;
      display: block !important;
    }

    .lux-address-col {
      flex: 1 !important;
      display: flex !important;
      flex-direction: column !important;
      gap: 8px !important;
    }
    .lux-addr-label {
      font-size: 11px !important;
      font-weight: 800 !important;
      color: #64748b !important;
      letter-spacing: 0.6px !important;
      text-transform: uppercase !important;
    }
    .lux-addr-val {
      font-family: 'JetBrains Mono', monospace !important;
      font-size: 13px !important;
      font-weight: 800 !important;
      color: #22c55e !important;
      background: #121824 !important;
      border: 1px solid rgba(255, 255, 255, 0.1) !important;
      padding: 10px 12px !important;
      border-radius: 8px !important;
      word-break: break-all !important;
      line-height: 1.4 !important;
    }
    .lux-copy-btn {
      background: #1d72fe !important;
      border: none !important;
      color: #ffffff !important;
      font-size: 13px !important;
      font-weight: 800 !important;
      padding: 9px 18px !important;
      border-radius: 8px !important;
      cursor: pointer !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 8px !important;
      transition: all 0.2s ease !important;
      align-self: flex-start !important;
    }
    .lux-copy-btn:hover {
      background: #155ecc !important;
      transform: translateY(-1px) !important;
    }

    /* FIAT / BANK HAVALE SECTION */
    .lux-fiat-presets {
      display: grid !important;
      grid-template-columns: repeat(6, 1fr) !important;
      gap: 8px !important;
      margin-bottom: 14px !important;
    }
    @media (max-width: 540px) {
      .lux-fiat-presets { grid-template-columns: repeat(3, 1fr) !important; }
    }
    .lux-chip-btn {
      background: #161e2b !important;
      border: 1px solid rgba(255, 255, 255, 0.08) !important;
      color: #ffffff !important;
      font-size: 11.5px !important;
      font-weight: 700 !important;
      padding: 6px 8px !important;
      border-radius: 8px !important;
      cursor: pointer !important;
      text-align: center !important;
      transition: all 0.15s ease !important;
    }
    .lux-chip-btn:hover, .lux-chip-btn.active {
      background: #1d72fe !important;
      border-color: #1d72fe !important;
    }

    .lux-bank-card {
      background: #0b0f17 !important;
      border: 1px solid rgba(255, 255, 255, 0.08) !important;
      border-radius: 12px !important;
      padding: 16px !important;
      margin-bottom: 16px !important;
    }
    .lux-bank-row {
      display: flex !important;
      justify-content: space-between !important;
      align-items: center !important;
      padding: 8px 0 !important;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
      font-size: 13px !important;
    }
    .lux-bank-row:last-child { border-bottom: none !important; }
    .lux-bank-lbl { color: #64748b !important; font-weight: 700 !important; }
    .lux-bank-val { color: #ffffff !important; font-weight: 800 !important; font-family: monospace !important; }

    .lux-submit-btn {
      width: 100% !important;
      background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
      border: none !important;
      color: #ffffff !important;
      font-size: 15px !important;
      font-weight: 900 !important;
      padding: 14px !important;
      border-radius: 10px !important;
      cursor: pointer !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 10px !important;
      box-shadow: 0 4px 18px rgba(34, 197, 94, 0.4) !important;
      transition: all 0.2s ease !important;
    }
    .lux-submit-btn:hover {
      filter: brightness(1.1) !important;
      transform: translateY(-1px) !important;
    }
    /* ========================================================
       VIPBET COMMUNITY CHAT DRAWER & RAIN DROP STYLING
       ======================================================== */
    .rainbet-chat-drawer {
      position: fixed;
      top: 0;
      right: 0;
      bottom: 0;
      width: 380px;
      max-width: 92vw;
      background: #0d1420;
      border-left: 1px solid var(--border-subtle);
      z-index: 1060;
      display: flex;
      flex-direction: column;
      transform: translateX(100%);
      transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.28s;
      box-shadow: none;
      visibility: hidden;
      pointer-events: none;
    }
    .rainbet-chat-drawer.open {
      transform: translateX(0);
      visibility: visible;
      pointer-events: auto;
      box-shadow: -10px 0 40px rgba(0, 0, 0, 0.75);
    }
    .chat-header {
      padding: 14px 16px;
      background: #131c2a;
      border-bottom: 1px solid var(--border-subtle);
      display: flex;
      align-items: center;
      justify-content: space-between;
    }
    .chat-online-badge {
      font-size: 11px;
      font-weight: 800;
      color: #22c55e;
      background: rgba(34, 197, 94, 0.12);
      padding: 2px 8px;
      border-radius: 12px;
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }
    .chat-online-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: #22c55e;
      box-shadow: 0 0 6px #22c55e;
    }
    .chat-rain-card {
      margin: 12px;
      background: linear-gradient(135deg, rgba(29, 114, 254, 0.22) 0%, rgba(13, 24, 38, 0.95) 100%);
      border: 1px solid rgba(29, 114, 254, 0.4);
      border-radius: 12px;
      padding: 12px 14px;
      box-shadow: 0 4px 16px rgba(29, 114, 254, 0.15);
    }
    .chat-rain-timer {
      font-size: 12px;
      font-weight: 900;
      color: #60a5fa;
      background: rgba(0, 0, 0, 0.45);
      padding: 3px 8px;
      border-radius: 6px;
      letter-spacing: 0.5px;
    }
    .chat-rain-claim-btn {
      width: 100%;
      background: linear-gradient(135deg, #22c55e, #16a34a);
      color: #fff;
      border: none;
      border-radius: 8px;
      padding: 9px 12px;
      font-size: 12px;
      font-weight: 900;
      cursor: pointer;
      margin-top: 8px;
      transition: all 0.15s ease;
      box-shadow: 0 2px 12px rgba(34, 197, 94, 0.35);
      text-transform: uppercase !important;
      letter-spacing: 0.5px !important;
    }
    .chat-rain-claim-btn:hover { filter: brightness(1.1); transform: translateY(-1px); }
    .chat-messages-scroll {
      flex: 1;
      overflow-y: auto;
      padding: 12px 14px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    .chat-msg-row {
      display: flex;
      gap: 10px;
      align-items: flex-start;
      font-size: 12.5px;
      line-height: 1.45;
    }
    .chat-msg-avatar {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: #1e293b;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 900;
      font-size: 11px;
      flex-shrink: 0;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }
    .chat-msg-body {
      flex: 1;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.05);
      border-radius: 8px;
      padding: 8px 10px;
    }
    .chat-msg-head {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-bottom: 2px;
    }
    .chat-msg-user {
      font-weight: 800;
      color: #f1f5f9;
      font-size: 12px;
    }
    .chat-msg-vip {
      font-size: 9px;
      font-weight: 900;
      padding: 1px 5px;
      border-radius: 4px;
      letter-spacing: 0.5px;
    }
    .vip-bronze { background: rgba(245, 158, 11, 0.2); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.3); }
    .vip-silver { background: rgba(148, 163, 184, 0.2); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.3); }
    .vip-gold { background: rgba(234, 179, 8, 0.25); color: #facc15; border: 1px solid rgba(234, 179, 8, 0.4); }
    .vip-platinum { background: rgba(168, 85, 247, 0.2); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }
    .vip-diamond { background: rgba(56, 189, 248, 0.2); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.4); }
    .vip-staff { background: rgba(239, 68, 68, 0.25); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.4); }
    .chat-msg-time {
      font-size: 10px;
      color: var(--text-dim);
      margin-left: auto;
    }
    .chat-msg-text {
      color: #cbd5e1;
      word-break: break-word;
    }
    .chat-input-bar {
      padding: 10px 14px;
      background: #131c2a;
      border-top: 1px solid var(--border-subtle);
    }

    /* ========================================================
       MOBILE iOS 26.4-STYLE SCROLLABLE TAB BAR
       ======================================================== */
    .mobile-bottom-nav {
      display: none;
      position: fixed;
      bottom: 0;
      left: 0;
      right: 0;
      height: auto;
      padding: 8px 10px 14px;
      background: rgba(10, 14, 23, 0.92);
      backdrop-filter: blur(20px) saturate(1.5);
      -webkit-backdrop-filter: blur(20px) saturate(1.5);
      border-top: 1px solid rgba(255, 255, 255, 0.07);
      z-index: 999;
      overflow-x: auto;
      overflow-y: hidden;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
      flex-direction: row;
      gap: 6px;
      align-items: center;
    }
    .mobile-bottom-nav::-webkit-scrollbar { display: none; }
    @media (max-width: 768px) {
      .mobile-bottom-nav {
        display: flex;
      }
      body {
        padding-bottom: 76px;
      }
      .floating-betslip-pill {
        bottom: 84px !important;
      }
    }
    .mobile-nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 4px;
      cursor: pointer;
      padding: 9px 14px;
      border-radius: 14px;
      transition: color 0.15s ease, transform 0.15s ease;
      font-size: 10px;
      font-weight: 800;
      letter-spacing: 0.6px;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.5);
      background: transparent !important;
      border: none !important;
      outline: none !important;
      box-shadow: none !important;
      white-space: nowrap;
      flex-shrink: 0;
      min-width: 60px;
      -webkit-tap-highlight-color: transparent !important;
      -webkit-touch-callout: none !important;
      user-select: none !important;
    }
    .mobile-nav-item i {
      font-size: 19px;
      transition: color 0.15s ease, transform 0.15s ease;
      color: inherit;
    }
    .mobile-nav-item.active {
      background: transparent !important;
      border: none !important;
      outline: none !important;
      box-shadow: none !important;
      color: var(--accent, #1d72fe) !important;
    }
    .mobile-nav-item.active i {
      color: var(--accent, #1d72fe) !important;
      transform: translateY(-1px);
    }
    .mobile-nav-item.active span {
      color: var(--accent, #1d72fe) !important;
    }
    .mobile-nav-item:hover,
    .mobile-nav-item:focus,
    .mobile-nav-item:focus-visible,
    .mobile-nav-item:active {
      background: transparent !important;
      border: none !important;
      outline: none !important;
      box-shadow: none !important;
      -webkit-tap-highlight-color: transparent !important;
    }
    .mob-slip-badge {
      position: absolute;
      top: -5px;
      right: -8px;
      background: #1d72fe;
      color: #fff;
      font-size: 9px;
      font-weight: 900;
      border-radius: 10px;
      padding: 1px 5px;
      min-width: 14px;
      text-align: center;
      line-height: 12px;
      border: 1px solid rgba(0, 0, 0, 0.5);
    }
  
    /* ========================================================
       MASTER VIPBET HEADER, FIXED SIDEBAR & MODALS OVERRIDE
       ======================================================== */
    /* 1. Header Buttons Desktop & Mobile Canonical Styling */
    .h-auth-login-btn {
      height: 42px !important;
      padding: 0 20px !important;
      font-size: 14px !important;
      font-weight: 700 !important;
      background: #1c2636 !important;
      border: 1px solid rgba(255, 255, 255, 0.12) !important;
      color: #ffffff !important;
      border-radius: 10px !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      cursor: pointer !important;
      text-transform: none !important;
      letter-spacing: 0.2px !important;
      transition: all 0.2s ease !important;
      flex-shrink: 0 !important;
    }
    .h-auth-login-btn:hover {
      background: #253349 !important;
      border-color: rgba(255, 255, 255, 0.22) !important;
    }

    .h-auth-register-btn {
      height: 42px !important;
      padding: 0 24px !important;
      font-size: 14px !important;
      font-weight: 800 !important;
      background: #0070f3 !important;
      background-image: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 100%) !important;
      color: #ffffff !important;
      border: none !important;
      border-radius: 10px !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      cursor: pointer !important;
      text-transform: none !important;
      letter-spacing: 0.3px !important;
      box-shadow: 0 4px 16px rgba(0, 112, 243, 0.45) !important;
      transition: all 0.2s ease !important;
      flex-shrink: 0 !important;
    }
    .h-auth-register-btn:hover {
      background-color: #0060df !important;
      box-shadow: 0 6px 20px rgba(0, 112, 243, 0.6) !important;
      transform: translateY(-1px) !important;
    }

    /* 2. Top Header Container */
    .top-header {
      position: sticky !important;
      top: 0 !important;
      z-index: 1000 !important;
      height: 68px !important;
      background: #0e131b !important;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    /* 3. Left Sidebar: Fixed on Desktop, Never Scrolls Away */
    @media (min-width: 1025px) {
      .app-sidebar {
        position: fixed !important;
        top: 68px !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 250px !important;
        height: calc(100vh - 68px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        z-index: 990 !important;
        background: #0e131b !important;
        border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
      }
      .main-view-container {
        margin-left: 250px !important;
        width: calc(100% - 250px) !important;
        max-width: none !important;
        box-sizing: border-box !important;
      }
      body.sidebar-collapsed .main-view-container,
      .app-sidebar.collapsed ~ .main-view-container {
        margin-left: 0 !important;
        width: 100% !important;
      }
    }

    /* 4. Mobile Header 1:1 Matching media_1792378240135.png */
    @media (max-width: 768px) {
      .top-header {
        height: 60px !important;
        padding: 0 12px !important;
      }
      .sidebar-toggle-btn {
        display: none !important;
      }
      .top-header .lobby-switch-pill {
        display: none !important;
      }
      .site-main-logo {
        height: 32px !important;
        max-height: 36px !important;
      }
      .header-auth-group {
        gap: 8px !important;
      }
      .header-auth-group .h-square-btn:not(.header-rewards-btn) {
        display: none !important;
      }
      .header-rewards-btn {
        display: flex !important;
        width: 40px !important;
        height: 40px !important;
        background: #1c2636 !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 10px !important;
        align-items: center !important;
        justify-content: center !important;
      }
      .h-auth-login-btn {
        height: 40px !important;
        padding: 0 16px !important;
        font-size: 13.5px !important;
        font-weight: 700 !important;
        border-radius: 10px !important;
      }
      .h-auth-register-btn {
        height: 40px !important;
        padding: 0 18px !important;
        font-size: 13.5px !important;
        font-weight: 800 !important;
        border-radius: 10px !important;
      }
      .main-view-container {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 14px 12px 90px 12px !important;
      }
    }

    /* 5. Modals: Fail-Safe Overlay Backdrop Click */
    .game-modal {
      cursor: pointer;
    }
    .game-modal > * {
      cursor: default;
    }

  


    /* ========================================================
       VIPBET 1:1 PIXEL-PERFECT VISUAL SYSTEM
       ======================================================== */
    html[data-theme="dark"], html[data-theme="cyan"],
    body[data-theme="dark"], body[data-theme="cyan"] {
      --bg-darkest: #0f1421;
      --bg-darker: #131a2a;
      --sidebar-bg: #111726;
      --header-bg: #111726;
      --bg-card: #192234;
    }
    body[data-theme="dark"], body[data-theme="cyan"] {
      background: var(--bg-darkest) !important;
      color: var(--text-main) !important;
    }
    body[data-theme]:not([data-theme="dark"]):not([data-theme="cyan"]) {
      background: var(--bg-darkest) !important;
      color: var(--text-main) !important;
    }
    body[data-theme]:not([data-theme="dark"]):not([data-theme="cyan"]) .top-header {
      background: var(--header-bg) !important;
      border-bottom-color: var(--border-subtle) !important;
    }
    body[data-theme]:not([data-theme="dark"]):not([data-theme="cyan"]) .app-sidebar {
      background: var(--sidebar-bg) !important;
    }

    /* ── 1. TOP HEADER (Matches media_1792378932824.png & media_1792152354938.png) ── */
    .top-header {
      height: 64px !important;
      background: var(--header-bg) !important;
      border-bottom: 1px solid var(--border-subtle) !important;
      padding: 0 20px 0 0 !important;
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      position: sticky !important;
      top: 0 !important;
      z-index: 1000 !important;
    }
    .header-left {
      display: flex !important;
      align-items: center !important;
      gap: 0 !important;
      height: 100% !important;
    }
    @media (min-width: 1025px) {
      .header-left-rail {
        width: 250px !important;
        min-width: 250px !important;
        max-width: 250px !important;
        height: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        box-sizing: border-box !important;
        border-right: 1px solid var(--border-subtle) !important;
        flex-shrink: 0 !important;
      }
      .sidebar-toggle-btn {
        width: 38px !important;
        height: 38px !important;
        margin-left: 14px !important;
        margin-right: 10px !important;
        border-radius: 8px !important;
        background: transparent !important;
        color: #cbd5e1 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
      }
      .lobby-switch-pill {
        width: 174px !important;
        height: 40px !important;
        background: var(--bg-darker) !important;
        border: 1px solid var(--border-subtle) !important;
        border-radius: 8px !important;
        padding: 3px !important;
        display: flex !important;
        align-items: center !important;
        gap: 3px !important;
        margin: 0 !important;
      }
      .lswitch-btn {
        flex: 1 !important;
        height: 100% !important;
        border-radius: 6px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        color: #94a3b8 !important;
        background: transparent !important;
        border: none !important;
        padding: 0 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
      }
      .lswitch-btn i {
        font-size: 12px !important;
        opacity: 0.75 !important;
      }
      .lswitch-btn.active {
        background: var(--accent-blue) !important;
        color: #ffffff !important;
        box-shadow: 0 2px 8px var(--accent-glow) !important;
      }
      .logo-container {
        padding-left: 20px !important;
        height: 100% !important;
        border-left: none !important;
        margin-left: 0 !important;
        display: flex !important;
        align-items: center !important;
      }
    }
    @media (max-width: 1024px) {
      .header-left-rail {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        border-right: none !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;
      }
    }

    /* Hide header language button on desktop & mobile (language is in sidebar like VIPBET) */
    .header-lang-wrapper {
      display: none !important;
    }

    /* Header Right Buttons */
    .header-auth-group {
      display: flex !important;
      align-items: center !important;
      gap: 8px !important;
    }
    .h-square-btn {
      width: 40px !important;
      height: 40px !important;
      background: #1c2538 !important;
      border: 1px solid rgba(255, 255, 255, 0.08) !important;
      border-radius: 8px !important;
      color: #cbd5e1 !important;
      font-size: 15px !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      cursor: pointer !important;
    }
    .h-square-btn:hover {
      background: #243048 !important;
      color: #ffffff !important;
    }
    .header-rewards-btn i {
      color: #cbd5e1 !important;
    }
    .h-auth-login-btn {
      height: 40px !important;
      padding: 0 20px !important;
      background: #1c2538 !important;
      border: 1px solid rgba(255, 255, 255, 0.08) !important;
      border-radius: 8px !important;
      color: #ffffff !important;
      font-size: 13.5px !important;
      font-weight: 700 !important;
      text-transform: none !important;
      letter-spacing: 0 !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
    }
    .h-auth-register-btn {
      height: 40px !important;
      padding: 0 22px !important;
      background-color: var(--accent-blue) !important;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='42' viewBox='0 0 90 42'%3E%3Cg stroke='rgba(255,255,255,0.22)' stroke-width='0.9' fill='none'%3E%3Cpath d='M0 0 L28 42 M0 16 L36 42 M0 30 L18 0 M14 42 L28 0'/%3E%3Cpath d='M90 0 L62 42 M90 16 L54 42 M90 30 L72 0 M76 42 L62 0'/%3E%3C/g%3E%3C/svg%3E") !important;
      background-size: cover !important;
      border: 1px solid rgba(255, 255, 255, 0.18) !important;
      border-radius: 8px !important;
      color: #ffffff !important;
      font-size: 13.5px !important;
      font-weight: 700 !important;
      text-transform: none !important;
      letter-spacing: 0 !important;
      box-shadow: 0 4px 14px rgba(13, 116, 245, 0.35) !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
    }

    /* ── 2. LEFT SIDEBAR (Matches media_1792381132549.png & media_1792381164345.png 1:1) ── */
    @media (min-width: 1025px) {
      .app-sidebar {
        position: fixed !important;
        top: 64px !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 250px !important;
        height: calc(100vh - 64px) !important;
        background: var(--sidebar-bg) !important;
        border-right: 1px solid var(--border-subtle) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        z-index: 990 !important;
        padding: 0 0 20px 0 !important;
      }
      .main-view-container {
        margin: 0 0 0 250px !important;
        width: calc(100% - 250px) !important;
        max-width: none !important;
        padding: 20px 28px !important;
      }
      body.sidebar-collapsed .main-view-container,
      .app-sidebar.collapsed ~ .main-view-container {
        margin-left: 0 !important;
        width: 100% !important;
      }
    }

    .sidebar-raffle-card {
      background: linear-gradient(90deg, rgba(234, 179, 8, 0.08) 0%, transparent 100%) !important;
      border: none !important;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
      border-radius: 0 !important;
      margin: 0 !important;
      padding: 14px 14px !important;
      cursor: pointer !important;
    }
    .raffle-head {
      display: flex !important;
      align-items: center !important;
      gap: 12px !important;
    }
    .raffle-prize {
      font-size: 15.5px !important;
      font-weight: 900 !important;
      font-style: italic !important;
      color: #ffffff !important;
      line-height: 1.1 !important;
    }
    .raffle-sub {
      font-size: 10px !important;
      font-weight: 800 !important;
      font-style: italic !important;
      color: #fbbf24 !important;
      letter-spacing: 0.3px !important;
      margin-top: 2px !important;
    }
    .raffle-timer-badge {
      background: rgba(234, 179, 8, 0.12) !important;
      border: 1px solid #eab308 !important;
      color: #ffffff !important;
      font-size: 11px !important;
      font-weight: 800 !important;
      font-style: italic !important;
      padding: 2px 9px !important;
      border-radius: 6px !important;
    }

    .sidebar-races-row {
      display: grid !important;
      grid-template-columns: repeat(3, 1fr) !important;
      background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.07) 0%, transparent 75%) !important;
      border: none !important;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
      border-radius: 0 !important;
      margin: 0 !important;
      padding: 11px 8px !important;
      text-align: center !important;
      cursor: pointer !important;
    }
    .sidebar-races-row .rcol-lbl {
      display: block !important;
      font-size: 8.5px !important;
      font-weight: 700 !important;
      font-style: italic !important;
      color: #94a3b8 !important;
      margin-bottom: 2px !important;
    }
    .sidebar-races-row .rcol-val {
      display: block !important;
      font-size: 13px !important;
      font-weight: 900 !important;
      font-style: italic !important;
      color: #ffffff !important;
    }

    .sb-top-nav-group {
      padding: 10px 10px !important;
      border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
      display: flex !important;
      flex-direction: column !important;
      gap: 2px !important;
    }
    .sb-top-nav-group .slink,
    .sb-bottom-group .slink {
      margin: 0 !important;
      padding: 10px 12px !important;
      border-radius: 8px !important;
      border: 1px solid transparent !important;
      background: transparent !important;
      color: #cbd5e1 !important;
      font-size: 13.5px !important;
      font-weight: 600 !important;
      display: flex !important;
      align-items: center !important;
      gap: 12px !important;
      transition: all 0.2s ease !important;
    }
    .sb-top-nav-group .slink i,
    .sb-bottom-group .slink i {
      color: #64748b !important;
      font-size: 15px !important;
      width: 18px !important;
      text-align: center !important;
    }
    .sb-top-nav-group .slink:hover,
    .sb-bottom-group .slink:hover {
      background: rgba(255, 255, 255, 0.04) !important;
      color: #ffffff !important;
    }
    .sb-top-nav-group .slink.active,
    .sb-bottom-group .slink.active {
      background: rgba(13, 116, 245, 0.22) !important;
      border: 1px solid #1d72fe !important;
      color: #ffffff !important;
    }
    .sb-top-nav-group .slink.active i,
    .sb-bottom-group .slink.active i {
      color: #38bdf8 !important;
    }
    [data-accent] .sb-top-nav-group .slink.active,
    [data-accent] .sb-bottom-group .slink.active {
      background: var(--accent-bg-subtle, rgba(13, 116, 245, 0.22)) !important;
      border-color: var(--accent-blue, #1d72fe) !important;
    }

    /* Sidebar Rounded Accordion Cards */
    .app-sidebar > * {
      flex-shrink: 0 !important;
    }
    .sb-acc-card {
      margin: 8px 10px 0 10px !important;
      background: #151d2e !important;
      border: 1px solid rgba(255, 255, 255, 0.07) !important;
      border-radius: 10px !important;
      overflow: hidden !important;
      flex-shrink: 0 !important;
    }
    .sb-acc-head {
      padding: 10px 12px !important;
      background: #1b2538 !important;
      display: flex !important;
      align-items: center !important;
      gap: 10px !important;
      cursor: pointer !important;
      font-size: 13.5px !important;
      font-weight: 700 !important;
      color: #ffffff !important;
    }
    .sb-acc-chev {
      margin-left: auto !important;
      width: 24px !important;
      height: 24px !important;
      border-radius: 6px !important;
      background: rgba(255, 255, 255, 0.06) !important;
      border: 1px solid rgba(255, 255, 255, 0.1) !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      font-size: 10px !important;
      color: #cbd5e1 !important;
    }
    .sb-acc-card .accordion-sub-links {
      margin: 0 !important;
      padding: 4px 0 !important;
      border-left: none !important;
      background: #141c2c !important;
    }
    .sb-acc-card .accordion-sub-links a {
      padding: 9px 12px !important;
      font-size: 13px !important;
      font-weight: 600 !important;
      color: #cbd5e1 !important;
      border-radius: 0 !important;
      display: flex !important;
      align-items: center !important;
      gap: 10px !important;
    }
    .sb-acc-card .accordion-sub-links a:hover {
      background: rgba(255, 255, 255, 0.04) !important;
      color: #ffffff !important;
    }
    .sb-acc-card .accordion-sub-links a i {
      width: 18px !important;
      text-align: center !important;
      color: #64748b !important;
      font-size: 14px !important;
    }
    .sb-badge-purple {
      background: transparent !important;
      border: none !important;
      color: #c084fc !important;
      font-size: 11px !important;
      font-weight: 900 !important;
      padding: 0 4px !important;
      text-transform: uppercase !important;
    }
    .sb-badge-green {
      background: transparent !important;
      border: none !important;
      color: #22c55e !important;
      font-size: 11px !important;
      font-weight: 900 !important;
      padding: 0 4px !important;
      text-transform: uppercase !important;
    }
    .sb-bottom-group {
      margin-top: 8px !important;
      padding: 8px 10px 0 10px !important;
      border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
      display: flex !important;
      flex-direction: column !important;
      gap: 2px !important;
    }
    .sidebar-lang-selector {
      margin: 4px 0 0 0 !important;
    }
    .lang-selector-head {
      background: transparent !important;
      border: none !important;
      padding: 10px 12px !important;
      color: #cbd5e1 !important;
      font-size: 13.5px !important;
      font-weight: 600 !important;
    }

    /* ── 3. HERO SECTION (1:1 Match with media_1792152354938.png & media_1792378240135.png) ── */
    .rainbet-hero-grid {
      display: grid !important;
      grid-template-columns: 1.35fr 1fr !important;
      gap: 16px !important;
      align-items: stretch !important;
      background: transparent !important;
      border: none !important;
      border-radius: 0 !important;
      padding: 0 !important;
      margin-bottom: 24px !important;
      min-height: unset !important;
      position: relative !important;
      overflow: visible !important;
    }
    .hero-banner-left {
      background: transparent !important;
      border: none !important;
      padding: 12px 8px !important;
      display: flex !important;
      flex-direction: column !important;
      justify-content: center !important;
    }
    .hero-main-heading {
      font-size: 34px !important;
      font-weight: 800 !important;
      line-height: 1.2 !important;
      color: #ffffff !important;
      margin: 0 0 24px 0 !important;
      letter-spacing: -0.4px !important;
    }
    .hero-cta-row {
      display: flex !important;
      align-items: center !important;
      gap: 14px !important;
      flex-wrap: wrap !important;
    }
    .hero-reg-outer-frame {
      padding: 5px !important;
      background: rgba(255, 255, 255, 0.05) !important;
      border: 1px solid rgba(255, 255, 255, 0.12) !important;
      border-radius: 12px !important;
      display: inline-flex !important;
    }
    .hero-register-btn {
      background-color: #22c55e !important;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='46' viewBox='0 0 120 46'%3E%3Cg stroke='rgba(255,255,255,0.22)' stroke-width='0.9' fill='none'%3E%3Cpath d='M0 0 L40 46 M0 20 L50 46 M20 46 L40 0 M120 0 L80 46 M120 20 L70 46 M100 46 L80 0'/%3E%3C/g%3E%3C/svg%3E") !important;
      background-size: cover !important;
      color: #ffffff !important;
      font-size: 14.5px !important;
      font-weight: 700 !important;
      padding: 11px 24px !important;
      border-radius: 8px !important;
      border: none !important;
      display: inline-flex !important;
      align-items: center !important;
      gap: 10px !important;
      text-transform: none !important;
      letter-spacing: 0 !important;
      box-shadow: 0 4px 16px rgba(34, 197, 94, 0.35) !important;
      cursor: pointer !important;
    }
    .hero-or-label {
      color: #64748b !important;
      font-size: 13.5px !important;
      font-weight: 600 !important;
    }
    .hero-social-pill {
      background: #1c2538 !important;
      border: 1px solid rgba(255, 255, 255, 0.1) !important;
      border-radius: 10px !important;
      padding: 10px 16px !important;
      height: 48px !important;
      display: inline-flex !important;
      align-items: center !important;
      gap: 6px !important;
      cursor: pointer !important;
    }
    .hero-social-icons-stack {
      display: flex !important;
      align-items: center !important;
    }
    .hs-ico {
      width: 22px !important;
      height: 22px !important;
      border-radius: 50% !important;
      display: inline-flex !important;
      align-items: center !important;
      justify-content: center !important;
      font-size: 11px !important;
      margin-left: -5px !important;
      border: 1.5px solid #1c2538 !important;
    }
    .hs-ico:first-child {
      margin-left: 0 !important;
    }

    /* Hero Right Cards — NO BLACK GAP AT BOTTOM */
    .hero-cards-wrap {
      display: grid !important;
      grid-template-columns: 1fr 1fr !important;
      gap: 16px !important;
      height: 265px !important;
      align-items: stretch !important;
    }
    .hero-banner-left.hero-home-slider-col,
    .hero-home-slider-col {
      background: transparent !important;
      border: none !important;
      padding: 0 !important;
      min-height: 0 !important;
      height: 265px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
    }
    .hero-home-slider {
      position: relative !important;
      width: 100% !important;
      height: 265px !important;
      border-radius: 16px !important;
      overflow: hidden !important;
      background: #161f30 !important;
      border: none !important;
      outline: none !important;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5) !important;
    }
    .hero-home-track {
      display: flex !important;
      height: 100% !important;
      width: 100% !important;
      transition: transform 0.45s ease !important;
    }
    .hero-home-slide {
      flex: 0 0 100% !important;
      width: 100% !important;
      height: 100% !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      overflow: hidden !important;
      cursor: pointer !important;
      background: #0f1622 !important;
    }
    .hero-home-slide img {
      width: 100% !important;
      height: 100% !important;
      object-fit: cover !important;
      object-position: center center !important;
      display: block !important;
    }
    .hero-home-nav {
      display: none !important;
      position: absolute !important;
      top: 50% !important;
      transform: translateY(-50%) !important;
      width: 34px !important;
      height: 34px !important;
      border-radius: 50% !important;
      border: none !important;
      background: transparent !important;
      color: transparent !important;
      cursor: pointer !important;
      align-items: center !important;
      justify-content: center !important;
      z-index: -1 !important;
      opacity: 0 !important;
      pointer-events: none !important;
    }
    .hero-home-nav.prev { left: 10px !important; }
    .hero-home-nav.next { right: 10px !important; }
    .hero-home-dots {
      position: absolute !important;
      left: 50% !important;
      bottom: 10px !important;
      transform: translateX(-50%) !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      gap: 7px !important;
      z-index: 3 !important;
    }
    .hero-home-dot {
      width: 8px !important;
      height: 8px !important;
      border-radius: 50% !important;
      border: none !important;
      padding: 0 !important;
      background: rgba(255,255,255,0.35) !important;
      cursor: pointer !important;
    }
    .hero-home-dot.active {
      background: #ffffff !important;
      width: 18px !important;
      border-radius: 8px !important;
    }
    .hero-banner-card {
      border-radius: 16px !important;
      overflow: hidden !important;
      display: flex !important;
      flex-direction: column !important;
      height: 265px !important;
      background: #161f30 !important;
      border: none !important;
      outline: none !important;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45) !important;
    }
    .hero-banner-img-wrap {
      flex: 1 1 auto !important;
      height: auto !important;
      min-height: 0 !important;
      width: 100% !important;
      overflow: hidden !important;
    }
    .hero-banner-img-wrap img {
      width: 100% !important;
      height: 100% !important;
      object-fit: cover !important;
      display: block !important;
    }
    .hero-banner-label-bar {
      height: 46px !important;
      flex-shrink: 0 !important;
      padding: 0 16px !important;
      display: flex !important;
      align-items: center !important;
      gap: 10px !important;
      font-size: 15.5px !important;
      font-weight: 800 !important;
      color: #ffffff !important;
    }
    .casino-label-bar {
      background: #1b68e0 !important;
    }
    .sports-label-bar {
      background: #283347 !important;
    }
    .hb-arrow {
      margin-left: 4px !important;
      font-size: 13px !important;
      opacity: 0.7 !important;
    }

    /* ── 4. LIVE WINS (Floating Badge + Portrait Cards Only) ── */
    .live-wins-ticker-wrap {
      position: relative !important;
      display: block !important;
      padding-top: 8px !important;
      margin-bottom: 26px !important;
      overflow: visible !important;
    }
    .live-wins-badge {
      position: absolute !important;
      top: 0 !important;
      left: 0 !important;
      z-index: 6 !important;
      height: 30px !important;
      padding: 0 12px !important;
      background: #1b2436 !important;
      border: 1px solid rgba(255, 255, 255, 0.12) !important;
      border-radius: 8px !important;
      font-size: 12px !important;
      font-weight: 700 !important;
      color: #ffffff !important;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.65) !important;
    }
    .live-wins-stream {
      display: flex !important;
      align-items: flex-start !important;
      gap: 10px !important;
      overflow-x: auto !important;
      scrollbar-width: none !important;
      padding: 4px 0 !important;
    }
    .live-win-tile {
      width: 88px !important;
      flex: 0 0 88px !important;
      display: flex !important;
      flex-direction: column !important;
      align-items: center !important;
      gap: 5px !important;
      background: transparent !important;
      border: none !important;
      padding: 0 !important;
    }
    .lw-thumb {
      width: 88px !important;
      height: 114px !important;
      min-width: 88px !important;
      max-width: 88px !important;
      border-radius: 10px !important;
      object-fit: cover !important;
    }
    .lw-user::before {
      display: none !important;
    }

    /* ── 5. GAME CARDS (Matches media_1792378477011.png 1:1) ── */
    .game-card-rainbet {
      flex: 0 0 156px !important;
      min-width: 156px !important;
      border-radius: 10px !important;
      overflow: hidden !important;
      position: relative !important;
      background: #151d2e !important;
      border: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
    .game-card-poster {
      width: 100% !important;
      aspect-ratio: 3 / 3.95 !important;
      object-fit: cover !important;
      border-radius: 10px !important;
      display: block !important;
    }
    /* Local poster images already have title+provider artwork at bottom; hide redundant bottom bar */
    .game-card-rainbet .game-card-info {
      display: none !important;
    }
    /* Blue Play Hover Overlay like WAR card in media_1792378477011.png */
    .game-card-rainbet::after {
      content: "\f04b";
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      position: absolute;
      inset: 0;
      background: rgba(13, 116, 245, 0.42);
      color: #ffffff;
      font-size: 32px;
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.2s ease;
      pointer-events: none;
    }
    .game-card-rainbet:hover::after {
      opacity: 1;
    }

    /* ── 6. MOBILE 1:1 OVERRIDES (media_1792378240135.png) ── */
    @media (max-width: 768px) {
      .top-header {
        padding: 0 12px !important;
        height: 60px !important;
      }
      .logo-container {
        padding-left: 0 !important;
        border-left: none !important;
      }
      .rainbet-hero-grid {
        grid-template-columns: 1fr !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        gap: 14px !important;
        margin-bottom: 20px !important;
      }
      .hero-main-heading {
        font-size: 24px !important;
        margin-bottom: 16px !important;
      }
      /* Keep Casino & Bahis Merkezi side-by-side 2 columns on mobile like media_1792378240135.png! */
      .hero-cards-wrap {
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        height: 220px !important;
      }
      .hero-banner-left.hero-home-slider-col,
      .hero-home-slider-col,
      .hero-home-slider {
        height: 220px !important;
      }
      .hero-banner-card {
        height: 220px !important;
      }
      .hero-banner-label-bar {
        height: 42px !important;
        padding: 0 12px !important;
        font-size: 14px !important;
      }
      .hb-arrow {
        display: none !important;
      }
    }
  
    /* === 1:1 VIPBET REWARDS, FAQ, FOOTER, WALLET & AUTH OVERRIDES === */
    .rb-rewards-showcase-box {
      background: #141c2b;
      border: none;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
      border-radius: 14px;
      padding: 24px;
      display: grid;
      grid-template-columns: 1.15fr 1fr;
      gap: 28px;
      align-items: center;
    }
    .rb-help-faq-box {
      background: #141c2b;
      border: none;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
      border-radius: 14px;
      padding: 18px;
      display: grid;
      grid-template-columns: 260px 1fr;
      gap: 20px;
      align-items: stretch;
    }
    .rb-sports-tournament-grid {
      display: grid;
      grid-template-columns: 380px 1fr;
      gap: 20px;
      align-items: stretch;
    }
    .rb-wallet-2col-grid {
      display: grid;
      grid-template-columns: 1.42fr 1fr;
      gap: 20px;
      align-items: start;
    }
    .lux-wallet-dialog {
      max-width: 820px !important;
      width: 95% !important;
      max-height: 90vh !important;
      overflow-y: auto !important;
      background: #141c2b !important;
      border: 1px solid rgba(255,255,255,0.09) !important;
      border-radius: 16px !important;
      position: relative !important;
    }
    .lux-wallet-header {
      background: #141c2b !important;
      padding: 14px 54px 14px 16px !important;
      border-bottom: 1px solid rgba(255,255,255,0.07) !important;
      position: relative !important;
      display: flex !important;
      align-items: center !important;
    }
    .lux-wallet-tabs {
      background: #0f1623 !important;
      border: 1px solid rgba(255,255,255,0.08) !important;
      border-radius: 10px !important;
      padding: 4px !important;
      display: flex !important;
      flex-direction: row !important;
      flex-wrap: nowrap !important;
      overflow-x: auto !important;
      -webkit-overflow-scrolling: touch !important;
      scrollbar-width: none !important;
      gap: 6px !important;
      width: 100% !important;
    }
    .lux-wallet-tabs::-webkit-scrollbar {
      display: none !important;
    }
    .lux-wtab-btn {
      border-radius: 7px !important;
      padding: 8px 16px !important;
      font-size: 13px !important;
      font-weight: 800 !important;
      color: #94a3b8 !important;
      background: transparent !important;
      border: none !important;
      flex-shrink: 0 !important;
      white-space: nowrap !important;
      cursor: pointer !important;
      transition: all 0.15s ease !important;
    }
    .lux-wtab-btn.active {
      background: #1d72fe !important;
      color: #fff !important;
      box-shadow: 0 2px 10px rgba(29,114,254,0.35) !important;
    }
    .lux-wallet-close {
      position: absolute !important;
      top: 13px !important;
      right: 14px !important;
      z-index: 20 !important;
      width: 34px !important;
      height: 34px !important;
      border-radius: 8px !important;
      display: flex !important;
      align-items: center !important;
      justify-content: center !important;
      background: rgba(255, 255, 255, 0.08) !important;
      border: 1px solid rgba(255, 255, 255, 0.1) !important;
      color: #94a3b8 !important;
      cursor: pointer !important;
      transition: all 0.15s ease !important;
    }
    .lux-wallet-close:hover {
      background: rgba(255, 255, 255, 0.16) !important;
      color: #ffffff !important;
    }
    @font-face {
      font-family: 'Plus Jakarta Sans';
      src: local('Arial'), local('Segoe UI'), local('-apple-system'), local('BlinkMacSystemFont');
      unicode-range: U+20BA;
    }
    .lux-wallet-dialog,
    .lux-chip-btn,
    .lux-bank-card,
    .lux-submit-btn,
    .currency-symbol {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    }
    .lux-chip-btn {
      font-size: 11.5px !important;
      font-weight: 700 !important;
      padding: 6px 8px !important;
      letter-spacing: -0.2px !important;
    }
    .pitch-tracker-grid {
      display: grid;
      grid-template-columns: 1fr 340px;
      gap: 20px;
      align-items: stretch;
    }
    @media (max-width: 900px) {
      .pitch-tracker-card {
        padding: 14px !important;
      }
      .pitch-tracker-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
      }
      .pitch-canvas-box {
        height: 180px !important;
      }
    }
    /* Game Detail Responsive, Pure Game Fullscreen & Breadcrumb styles */
    .gd-breadcrumb {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 13px;
      color: var(--text-muted);
      margin-top: 0;
      margin-bottom: 12px;
    }
    .gd-info-grid {
      display: grid;
      grid-template-columns: 260px 1fr;
      gap: 24px;
      background: #121a28;
      border: 1px solid rgba(255,255,255,0.06);
      border-radius: 16px;
      padding: 24px;
      margin-bottom: 36px;
    }
    @media (max-width: 900px) {
      #view-game-detail {
        padding-top: 0 !important;
      }
      .gd-breadcrumb {
        margin-top: 0 !important;
        margin-bottom: 10px !important;
        font-size: 12px !important;
        flex-wrap: wrap !important;
      }
      .gd-stage-container {
        margin-bottom: 20px !important;
      }
      .gd-info-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 16px !important;
      }
      .gd-info-left {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
      }
      #gdInfoCover {
        max-width: 180px !important;
        margin: 0 auto 14px auto !important;
      }
    }
    /* Pure Game Fullscreen (Only the game fills the screen, not the site) */
    .gd-game-fullscreen {
      position: fixed !important;
      inset: 0 !important;
      width: 100vw !important;
      height: 100vh !important;
      max-width: 100vw !important;
      max-height: 100vh !important;
      z-index: 999999 !important;
      background: #000000 !important;
      border-radius: 0 !important;
      margin: 0 !important;
      padding: 0 !important;
    }
    .gd-game-fullscreen iframe {
      width: 100% !important;
      height: 100% !important;
      border: none !important;
      border-radius: 0 !important;
    }
    .gd-fullscreen-close-btn {
      display: none;
      position: fixed;
      top: 14px;
      right: 14px;
      z-index: 1000000;
      background: rgba(0, 0, 0, 0.75);
      border: 1px solid rgba(255, 255, 255, 0.25);
      color: #ffffff;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      cursor: pointer;
      align-items: center;
      justify-content: center;
      font-size: 17px;
      box-shadow: 0 4px 16px rgba(0,0,0,0.6);
      transition: all 0.15s ease;
    }
    .gd-fullscreen-close-btn:hover {
      background: rgba(239, 68, 68, 0.9);
      transform: scale(1.05);
    }
    .gd-game-fullscreen .gd-fullscreen-close-btn {
      display: flex !important;
    }
    .rainbet-auth-dialog {
      max-width: 780px !important;
      width: 95% !important;
      border-radius: 16px !important;
      overflow: hidden !important;
      border: 1px solid rgba(255,255,255,0.1) !important;
    }
    @media (min-width: 901px) {
      .rainbet-official-footer {
        margin-left: 250px !important;
        width: calc(100% - 250px) !important;
        box-sizing: border-box !important;
      }
      .app-sidebar.collapsed ~ .rainbet-official-footer {
        margin-left: 68px !important;
        width: calc(100% - 68px) !important;
      }
    }
    @media (max-width: 900px) {
      .rb-rewards-showcase-box,
      .rb-help-faq-box,
      .rb-sports-tournament-grid,
      .rb-wallet-2col-grid {
        grid-template-columns: 1fr !important;
      }
    }

  


    /* ============================================================================
       1. VIPBET 1:1 COLLAPSED SIDEBAR (68px ICON-ONLY VERTICAL RAIL ON DESKTOP)
       ============================================================================ */
    @media (min-width: 901px) {
      .app-sidebar {
        transition: width 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
      }
      .app-sidebar.collapsed {
        width: 68px !important;
        min-width: 68px !important;
        max-width: 68px !important;
        transform: none !important;
        padding: 8px 6px 20px 6px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
      }
      /* Shift main view & footer to 68px when sidebar is collapsed */
      body.sidebar-collapsed .main-view-container,
      .app-sidebar.collapsed ~ .main-view-container {
        margin-left: 68px !important;
        width: calc(100% - 68px) !important;
      }
      body.sidebar-collapsed .rainbet-official-footer,
      .app-sidebar.collapsed ~ .rainbet-official-footer {
        margin-left: 68px !important;
        width: calc(100% - 68px) !important;
      }

      /* Hide text, badges, chevrons, and 3-column race text row inside collapsed sidebar */
      .app-sidebar.collapsed .sidebar-races-row,
      .app-sidebar.collapsed .raffle-head > div:nth-child(2),
      .app-sidebar.collapsed .raffle-timer-badge,
      .app-sidebar.collapsed .slink span,
      .app-sidebar.collapsed .sb-acc-head > span[data-i18n],
      .app-sidebar.collapsed .sb-acc-chev,
      .app-sidebar.collapsed .accordion-sub-links a span:not(:first-child),
      .app-sidebar.collapsed .accordion-sub-links a > div > div,
      .app-sidebar.collapsed .sb-badge-purple,
      .app-sidebar.collapsed .sb-badge-green,
      .app-sidebar.collapsed #sidebarUserBox > div:nth-child(2),
      .app-sidebar.collapsed #sidebarUserBox > button,
      .app-sidebar.collapsed .lang-selector-head span span,
      .app-sidebar.collapsed #sidebarLangChevron,
      .app-sidebar.collapsed #sidebarLangOpts {
        display: none !important;
      }

      /* Style Raffle Ticket button as 48x44 centered gold icon tile */
      .app-sidebar.collapsed .sidebar-raffle-card {
        width: 48px !important;
        height: 44px !important;
        padding: 0 !important;
        margin: 4px auto 6px auto !important;
        border-radius: 10px !important;
        background: rgba(234, 179, 8, 0.14) !important;
        border: 1px solid rgba(234, 179, 8, 0.35) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
      }
      .app-sidebar.collapsed .raffle-head {
        justify-content: center !important;
        gap: 0 !important;
      }

      /* Top & Bottom nav groups in collapsed rail */
      .app-sidebar.collapsed .sb-top-nav-group,
      .app-sidebar.collapsed .sb-bottom-group {
        width: 100% !important;
        padding: 6px 0 !important;
        align-items: center !important;
        gap: 4px !important;
      }
      .app-sidebar.collapsed .slink {
        width: 46px !important;
        height: 42px !important;
        padding: 0 !important;
        justify-content: center !important;
        border-radius: 10px !important;
        gap: 0 !important;
      }
      .app-sidebar.collapsed .slink i {
        font-size: 16px !important;
        width: auto !important;
        margin: 0 !important;
      }

      /* Accordion Cards (Casino, Originals, Promosyonlar) in collapsed rail */
      .app-sidebar.collapsed .sb-acc-card {
        width: 48px !important;
        margin: 6px auto 0 auto !important;
        border-radius: 10px !important;
        background: #151d2e !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
      }
      .app-sidebar.collapsed .sb-acc-head {
        width: 100% !important;
        height: 42px !important;
        padding: 0 !important;
        justify-content: center !important;
        gap: 0 !important;
      }
      .app-sidebar.collapsed .accordion-sub-links {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        padding: 4px 0 !important;
      }
      .app-sidebar.collapsed .accordion-sub-links a {
        width: 44px !important;
        height: 38px !important;
        padding: 0 !important;
        justify-content: center !important;
        gap: 0 !important;
        border-radius: 8px !important;
      }
      .app-sidebar.collapsed .accordion-sub-links a > div {
        justify-content: center !important;
        gap: 0 !important;
      }
      .app-sidebar.collapsed .sidebar-lang-selector,
      .app-sidebar.collapsed .lang-selector-head {
        width: 46px !important;
        height: 42px !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
      }
      .app-sidebar.collapsed #currentLangLabel {
        gap: 0 !important;
        justify-content: center !important;
      }
      .app-sidebar.collapsed .sidebar-lang-selector .sb-lang-text,
      .app-sidebar.collapsed .sidebar-lang-selector #sidebarLangChevron {
        display: none !important;
      }
      .app-sidebar.collapsed .sidebar-lang-selector .sb-lang-flag {
        font-size: 22px !important;
        line-height: 1 !important;
        margin: 0 !important;
      }
    }

    /* ============================================================================
       2. GENUINE RIM GAME COVERS + VIPBET WHITE SHADOWED TYPOGRAPHY OVERLAY
       (Matches user instruction: "oyunların resimlerini orjinal bizim altyapının
        verdiği resimlerden çek üzerindeki yazıları ve sağlayıcıları buradaki
        büyüklükte olsun... beyaz hafif gölgeli olacak")
       ============================================================================ */
    .game-card-rainbet,
    .rainbet-game-card {
      position: relative !important;
      border-radius: 12px !important;
      overflow: hidden !important;
      aspect-ratio: 3 / 3.95 !important;
      background: #151d2e !important;
      border: 1px solid rgba(255, 255, 255, 0.09) !important;
      cursor: pointer !important;
      transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease !important;
    }
    .game-card-rainbet:hover,
    .rainbet-game-card:hover {
      transform: scale(0.98) !important;
      border-color: rgba(56, 189, 248, 0.55) !important;
      box-shadow: 0 10px 24px rgba(0, 0, 0, 0.55) !important;
    }
    .game-card-rainbet .game-card-poster,
    .rainbet-game-card img {
      width: 100% !important;
      height: 100% !important;
      object-fit: cover !important;
      display: block !important;
      border-radius: 11px !important;
    }
    /* Show .game-card-info and .card-meta over the bottom of every genuine Rim cover */
    .game-card-rainbet .game-card-info,
    .rainbet-game-card .card-meta {
      display: flex !important;
      flex-direction: column !important;
      justify-content: flex-end !important;
      align-items: center !important;
      position: absolute !important;
      left: 0 !important;
      right: 0 !important;
      bottom: 0 !important;
      height: 55% !important;
      padding: 18px 10px 12px 10px !important;
      background: linear-gradient(180deg, rgba(10, 15, 28, 0) 0%, rgba(10, 15, 28, 0.68) 48%, rgba(10, 15, 28, 0.96) 100%) !important;
      text-align: center !important;
      pointer-events: none !important;
      z-index: 3 !important;
    }
    .game-card-rainbet .game-title,
    .rainbet-game-card .card-title,
    .game-title,
    .card-title {
      font-size: 13px !important;
      font-weight: 900 !important;
      color: #ffffff !important;
      text-transform: uppercase !important;
      line-height: 1.25 !important;
      letter-spacing: 0.2px !important;
      text-shadow: 0 2px 8px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 0.95) !important;
      display: block !important;
      white-space: nowrap !important;
      overflow: hidden !important;
      text-overflow: ellipsis !important;
      width: 100% !important;
      max-width: 100% !important;
      box-sizing: border-box !important;
      margin: 0 !important;
    }
    .game-card-rainbet .game-prov,
    .rainbet-game-card .card-prov {
      font-size: 10px !important;
      font-weight: 800 !important;
      color: rgba(255, 255, 255, 0.85) !important;
      text-transform: uppercase !important;
      letter-spacing: 0.75px !important;
      margin-top: 4px !important;
      text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95) !important;
    }
  
    /* === ABSOLUTE FINAL OVERRIDE: NEVER LIFT UP (NO translateY), SHRINK 2% (scale 0.98) === */
    .game-card-rainbet,
    .rainbet-game-card,
    .live-win-tile,
    .lw-tile {
      transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.2s ease, border-color 0.2s ease !important;
      will-change: transform !important;
    }
    .game-card-rainbet:hover,
    .rainbet-game-card:hover,
    .live-win-tile:hover,
    .lw-tile:hover {
      transform: scale(0.98) !important;
      box-shadow: 0 8px 22px rgba(0, 0, 0, 0.65) !important;
      border-color: rgba(13, 116, 245, 0.6) !important;
    }
    .game-card-rainbet:hover img,
    .game-card-rainbet:hover .game-card-poster,
    .rainbet-game-card:hover img,
    .rainbet-game-card:hover .game-card-poster {
      transform: none !important;
    }




    /* ============================================================================
       GLOBAL FIX: NEVER MOVE UP (ZERO translateY). STAY IN PLACE, SHRINK ~2% (scale 0.98)
       APPLIED TO EVERY IMAGE, BANNER, POSTER AND GAME CARD ACROSS THE ENTIRE PLATFORM
       ============================================================================ */
    .game-card-rainbet,
    .rainbet-game-card,
    .hero-banner-card,
    .partner-promo-tile,
    .hero-promo-card,
    .live-win-tile,
    .lw-tile,
    .sport-tile-card,
    .sports-cat-card,
    .blog-card-item,
    .case-item-card,
    .games-scroll-grid > div,
    #origScroll > div,
    #recSlotsScroll > div,
    #trendSlotsScroll > div,
    #newReleasesScroll > div,
    #gamesGrid > div,
    .partners-grid-mobile > div {
      transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.2s ease, border-color 0.2s ease !important;
      transform-origin: center center !important;
      will-change: transform !important;
    }

    .game-card-rainbet:hover,
    .rainbet-game-card:hover,
    .hero-banner-card:hover,
    .partner-promo-tile:hover,
    .hero-promo-card:hover,
    .live-win-tile:hover,
    .lw-tile:hover,
    .sport-tile-card:hover,
    .sports-cat-card:hover,
    .blog-card-item:hover,
    .case-item-card:hover,
    .games-scroll-grid > div:hover,
    #origScroll > div:hover,
    #recSlotsScroll > div:hover,
    #trendSlotsScroll > div:hover,
    #newReleasesScroll > div:hover,
    #gamesGrid > div:hover,
    .partners-grid-mobile > div:hover {
      transform: scale(0.98) !important;
      box-shadow: 0 8px 22px rgba(0, 0, 0, 0.65) !important;
      border-color: rgba(13, 116, 245, 0.6) !important;
    }

    /* Images inside cards must never move or scale independently */
    .game-card-rainbet img,
    .game-card-rainbet .game-card-poster,
    .rainbet-game-card img,
    .hero-banner-card img,
    .hero-banner-img-wrap img,
    .partner-promo-tile img,
    .live-win-tile img,
    .lw-thumb {
      transform: none !important;
      transition: none !important;
    }
    .game-card-rainbet:hover img,
    .game-card-rainbet:hover .game-card-poster,
    .rainbet-game-card:hover img,
    .hero-banner-card:hover img,
    .hero-banner-card:hover .hero-banner-img-wrap img,
    .partner-promo-tile:hover img,
    .live-win-tile:hover img,
    .live-win-tile:hover .lw-thumb {
      transform: none !important;
    }
  


    /* ========================================================
       FOOTER MENUS SIDE-BY-SIDE WITH HORIZONTAL SCROLL ON MOBILE
       ======================================================== */
    .f-columns-row {
      display: flex !important;
      justify-content: space-between !important;
      gap: 40px !important;
      margin-bottom: 36px !important;
      max-width: 1400px !important;
      margin-left: auto !important;
      margin-right: auto !important;
    }
    .f-corp-col {
      flex: 0 0 360px !important;
      max-width: 440px !important;
    }
    #rimFooterExtraCol { display: none !important; }
    .f-nav-columns-wrap {
      display: flex !important;
      gap: 32px !important;
      flex: 1 1 auto !important;
      justify-content: flex-start !important;
      background: transparent !important;
      background-color: transparent !important;
      border: none !important;
      box-shadow: none !important;
    }
    .f-nav-col {
      min-width: 120px !important;
      flex-shrink: 0 !important;
      background: transparent !important;
      background-color: transparent !important;
      border: none !important;
      box-shadow: none !important;
    }

    @media (max-width: 900px) {
      .rainbet-official-footer {
        padding: 16px 16px 84px !important;
        margin-top: 8px !important;
      }
      .f-columns-row {
        flex-direction: column !important;
        gap: 14px !important;
        margin-bottom: 20px !important;
      }
      .f-corp-col {
        flex: none !important;
        max-width: 100% !important;
        height: auto !important;
      }
      .f-corp-text {
        margin-bottom: 10px !important;
      }
      .f-socials-row {
        margin-top: 10px !important;
        margin-bottom: 0 !important;
      }
      .f-nav-columns-wrap {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        gap: 16px !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin !important;
        padding-bottom: 8px !important;
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
      }
      .f-nav-columns-wrap::-webkit-scrollbar {
        height: 3px;
        display: block !important;
      }
      .f-nav-columns-wrap::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.2);
        border-radius: 3px;
      }
      .f-nav-col {
        min-width: 105px !important;
        flex-shrink: 0 !important;
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
      }
      .f-col-title {
        margin-bottom: 8px !important;
      }
      .f-links-list {
        gap: 6px !important;
      }
    }
  


/* ==========================================================================
   VIPBET ULTIMATE 7-THEME & MULTI-ACCENT OMNI-ENGINE (100% COVERAGE)
   Dark, Light, OLED/Midnight, Emerald, Sapphire, Gold, Ruby/Crimson
   ========================================================================== */

/* --- ROOT VARIABLES PER THEME --- */
:root[data-theme="light"], html[data-theme="light"], body[data-theme="light"] {
  --bg-darkest: #f1f5f9;
  --bg-darker: #e2e8f0;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-card-light: #f1f5f9;
  --border-subtle: #e2e8f0;
  --border-active: #cbd5e1;
  --accent-blue: #1d72fe;
  --accent-blue-hover: #155ecc;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --header-bg: #ffffff;
  --sidebar-bg: #ffffff;
}

:root[data-theme="emerald"], html[data-theme="emerald"], body[data-theme="emerald"] {
  --bg-darkest: #02140d;
  --bg-darker: #031c12;
  --bg-card: #062b1b;
  --bg-card-hover: #083824;
  --bg-card-light: #0c472e;
  --border-subtle: rgba(16, 185, 129, 0.24);
  --border-active: rgba(16, 185, 129, 0.55);
  --accent-blue: #10b981;
  --accent-blue-hover: #059669;
  --text-main: #ecfdf5;
  --text-muted: #a7f3d0;
  --text-dim: #6ee7b7;
  --header-bg: #031c12;
  --sidebar-bg: #031c12;
}

:root[data-theme="sapphire"], html[data-theme="sapphire"], body[data-theme="sapphire"] {
  --bg-darkest: #0c0d1e;
  --bg-darker: #101127;
  --bg-card: #181938;
  --bg-card-hover: #20224a;
  --bg-card-light: #282a5c;
  --border-subtle: rgba(139, 92, 246, 0.25);
  --border-active: rgba(168, 85, 247, 0.55);
  --accent-blue: #8b5cf6;
  --accent-blue-hover: #7c3aed;
  --text-main: #faf5ff;
  --text-muted: #c4b5fd;
  --text-dim: #a78bfa;
  --header-bg: #101127;
  --sidebar-bg: #101127;
}

:root[data-theme="gold"], html[data-theme="gold"], body[data-theme="gold"] {
  --bg-darkest: #141008;
  --bg-darker: #1b150a;
  --bg-card: #241d0e;
  --bg-card-hover: #2e2412;
  --bg-card-light: #3a2e17;
  --border-subtle: rgba(245, 158, 11, 0.25);
  --border-active: rgba(245, 158, 11, 0.55);
  --accent-blue: #f59e0b;
  --accent-blue-hover: #d97706;
  --text-main: #fefce8;
  --text-muted: #fde68a;
  --text-dim: #fcd34d;
  --header-bg: #1b150a;
  --sidebar-bg: #1b150a;
}

:root[data-theme="ruby"], html[data-theme="ruby"], body[data-theme="ruby"],
:root[data-theme="crimson"], html[data-theme="crimson"], body[data-theme="crimson"] {
  --bg-darkest: #1a080b;
  --bg-darker: #240b0f;
  --bg-card: #2e0d14;
  --bg-card-hover: #3b111a;
  --bg-card-light: #4c1622;
  --border-subtle: rgba(239, 68, 68, 0.25);
  --border-active: rgba(239, 68, 68, 0.55);
  --accent-blue: #ef4444;
  --accent-blue-hover: #dc2626;
  --text-main: #fff1f2;
  --text-muted: #fca5a5;
  --text-dim: #f87171;
  --header-bg: #240b0f;
  --sidebar-bg: #240b0f;
}

:root[data-theme="oled"], html[data-theme="oled"], body[data-theme="oled"],
:root[data-theme="midnight"], html[data-theme="midnight"], body[data-theme="midnight"] {
  --bg-darkest: #000000;
  --bg-darker: #050505;
  --bg-card: #0d0d0d;
  --bg-card-hover: #161616;
  --bg-card-light: #202020;
  --border-subtle: #1f1f1f;
  --border-active: #333333;
  --accent-blue: #38bdf8;
  --accent-blue-hover: #0ea5e9;
  --text-main: #ffffff;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  --header-bg: #050505;
  --sidebar-bg: #050505;
}

:root[data-theme="dark"], html[data-theme="dark"], body[data-theme="dark"] {
  --bg-darkest: #0e131b;
  --bg-darker: #121824;
  --bg-card: #182232;
  --bg-card-hover: #1f2c40;
  --bg-card-light: #24334a;
  --border-subtle: #1e293b;
  --border-active: rgba(255, 255, 255, 0.16);
  --accent-blue: #1d72fe;
  --accent-blue-hover: #155ecc;
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --header-bg: #101622;
  --sidebar-bg: #0e131b;
}

/* Gamdom-inspired (gandom.com / gamdom) — lime neon on charcoal, Postman wiring unchanged */
:root[data-theme="gamdom"], html[data-theme="gamdom"], body[data-theme="gamdom"],
:root[data-theme="gandom"], html[data-theme="gandom"], body[data-theme="gandom"],
html[data-theme="gamdom"][data-mode="dark"], body[data-theme="gamdom"][data-mode="dark"] {
  --bg-darkest: #0c1017 !important;
  --bg-darker: #101622 !important;
  --bg-card: #151d2a !important;
  --bg-card-hover: #1c2738 !important;
  --bg-card-light: #222f44 !important;
  --border-subtle: #202b3b !important;
  --border-active: #00e701 !important;
  --accent-blue: #00e701 !important;
  --accent-blue-hover: #00cc01 !important;
  --text-main: #ffffff !important;
  --text-muted: #8b9cb5 !important;
  --text-dim: #5c6f89 !important;
  --header-bg: #111723 !important;
  --sidebar-bg: #0e131b !important;
  --accent: #00e701 !important;
  --accent-glow: rgba(0, 231, 1, 0.4) !important;
  --accent-bg-subtle: rgba(0, 231, 1, 0.12) !important;
}

html[data-font="jakarta"], body[data-font="jakarta"] { --font-family: 'StandardTurkishLira', 'Plus Jakarta Sans', -apple-system, sans-serif !important; }
html[data-font="inter"], body[data-font="inter"] { --font-family: 'StandardTurkishLira', 'Inter', sans-serif !important; }
html[data-font="poppins"], body[data-font="poppins"] { --font-family: 'StandardTurkishLira', 'Poppins', sans-serif !important; }
html[data-font="montserrat"], body[data-font="montserrat"] { --font-family: 'StandardTurkishLira', 'Montserrat', sans-serif !important; }
html[data-font="outfit"], body[data-font="outfit"] { --font-family: 'StandardTurkishLira', 'Outfit', sans-serif !important; }
html[data-font="roboto"], body[data-font="roboto"] { --font-family: 'StandardTurkishLira', 'Roboto', sans-serif !important; }
html[data-font="orbitron"], body[data-font="orbitron"] { --font-family: 'StandardTurkishLira', 'Orbitron', sans-serif !important; }
html[data-font="space"], body[data-font="space"] { --font-family: 'StandardTurkishLira', 'Space Grotesk', sans-serif !important; }
html[data-font="syne"], body[data-font="syne"] { --font-family: 'StandardTurkishLira', 'Syne', sans-serif !important; }
html[data-font="rajdhani"], body[data-font="rajdhani"] { --font-family: 'StandardTurkishLira', 'Rajdhani', sans-serif !important; }
html[data-font="bebas"], body[data-font="bebas"] { --font-family: 'StandardTurkishLira', 'Bebas Neue', 'Montserrat', sans-serif !important; }
html[data-font="exo"], body[data-font="exo"] { --font-family: 'StandardTurkishLira', 'Exo 2', sans-serif !important; }

/* ==========================================================================
   DYNAMIC 6 ACCENT COLOR OVERRIDES (Applies seamlessly across all 7 themes!)
   ========================================================================== */
:root[data-accent="blue"], html[data-accent="blue"], body[data-accent="blue"] {
  --accent-blue: #1d72fe !important;
  --accent-blue-hover: #155ecc !important;
  --accent: #1d72fe !important;
  --accent-glow: rgba(29, 114, 254, 0.45) !important;
  --accent-bg-subtle: rgba(29, 114, 254, 0.12) !important;
}

:root[data-accent="green"], html[data-accent="green"], body[data-accent="green"] {
  --accent-blue: #10b981 !important;
  --accent-blue-hover: #059669 !important;
  --accent: #10b981 !important;
  --accent-glow: rgba(16, 185, 129, 0.45) !important;
  --accent-bg-subtle: rgba(16, 185, 129, 0.12) !important;
}

:root[data-accent="gold"], html[data-accent="gold"], body[data-accent="gold"] {
  --accent-blue: #f59e0b !important;
  --accent-blue-hover: #d97706 !important;
  --accent: #f59e0b !important;
  --accent-glow: rgba(245, 158, 11, 0.45) !important;
  --accent-bg-subtle: rgba(245, 158, 11, 0.14) !important;
}

:root[data-accent="purple"], html[data-accent="purple"], body[data-accent="purple"] {
  --accent-blue: #8b5cf6 !important;
  --accent-blue-hover: #7c3aed !important;
  --accent: #8b5cf6 !important;
  --accent-glow: rgba(139, 92, 246, 0.45) !important;
  --accent-bg-subtle: rgba(139, 92, 246, 0.14) !important;
}

:root[data-accent="crimson"], html[data-accent="crimson"], body[data-accent="crimson"] {
  --accent-blue: #ef4444 !important;
  --accent-blue-hover: #dc2626 !important;
  --accent: #ef4444 !important;
  --accent-glow: rgba(239, 68, 68, 0.45) !important;
  --accent-bg-subtle: rgba(239, 68, 68, 0.14) !important;
}

:root[data-accent="cyan"], html[data-accent="cyan"], body[data-accent="cyan"] {
  --accent-blue: #06b6d4 !important;
  --accent-blue-hover: #0891b2 !important;
  --accent: #06b6d4 !important;
  --accent-glow: rgba(6, 182, 212, 0.45) !important;
  --accent-bg-subtle: rgba(6, 182, 212, 0.14) !important;
}

:root[data-accent="lime"], html[data-accent="lime"], body[data-accent="lime"] {
  --accent-blue: #00e701 !important;
  --accent-blue-hover: #00cc01 !important;
  --accent: #00e701 !important;
  --accent-glow: rgba(0, 231, 1, 0.45) !important;
  --accent-bg-subtle: rgba(0, 231, 1, 0.14) !important;
}

/* ==========================================================================
   DYNAMIC ACCENT-RESPONSIVE INTERACTIVE ELEMENTS
   ========================================================================== */
[data-accent] .h-auth-register-btn,
[data-accent] .hero-register-btn,
[data-accent] .auth-submit-btn,
[data-accent] .global-live-support-btn,
[data-accent] .betslip-blue-head,
[data-accent] .lux-wtab-btn.active,
[data-accent] #luxCopyBtn,
[data-accent] .cat-pill.active,
[data-accent] .promo-cat-pill.active,
[data-accent] .sports-nav-btn.active,
[data-accent] .lswitch-btn.active,
[data-accent] .btab-btn.active,
[data-accent] .live-filter-pill.active,
[data-accent] .lux-net-btn.active,
[data-accent] .lux-chip-btn.active,
[data-accent] .bslip-chip-btn.active,
[data-accent] .crypto-provider-card.active,
[data-accent] .currency-switch-action-btn,
[data-accent] .chat-send-btn {
  background: var(--accent-blue) !important;
  border: none !important;
  outline: none !important;
  color: #ffffff !important;
  box-shadow: 0 4px 16px var(--accent-glow) !important;
}

/* ==========================================================================
   HIGH-CONTRAST DARK TEXT FOR LIGHT & BRIGHT HIGHLIGHTS / ACCENTS
   (Gamdom Lime #b6ff2e, Monaco Gold #f59e0b, Light Mode, Siber Cyan)
   Prevents unreadable white text on bright/light button backgrounds.
   ========================================================================== */
[data-accent="lime"] .h-auth-register-btn,
[data-accent="lime"] .hero-register-btn,
[data-accent="lime"] .auth-submit-btn,
[data-accent="lime"] .global-live-support-btn,
[data-accent="lime"] .betslip-blue-head,
[data-accent="lime"] .lux-wtab-btn.active,
[data-accent="lime"] #luxCopyBtn,
[data-accent="lime"] .cat-pill.active,
[data-accent="lime"] .promo-cat-pill.active,
[data-accent="lime"] .promo-tab-btn.active,
[data-accent="lime"] .sports-nav-btn.active,
[data-accent="lime"] .lswitch-btn.active,
[data-accent="lime"] .btab-btn.active,
[data-accent="lime"] .live-filter-pill.active,
[data-accent="lime"] .lux-net-btn.active,
[data-accent="lime"] .lux-chip-btn.active,
[data-accent="lime"] .bslip-chip-btn.active,
[data-accent="lime"] .crypto-provider-card.active,
[data-accent="lime"] .currency-switch-action-btn,
[data-accent="lime"] .chat-send-btn,
[data-accent="gold"] .h-auth-register-btn,
[data-accent="gold"] .hero-register-btn,
[data-accent="gold"] .auth-submit-btn,
[data-accent="gold"] .global-live-support-btn,
[data-accent="gold"] .betslip-blue-head,
[data-accent="gold"] .lux-wtab-btn.active,
[data-accent="gold"] #luxCopyBtn,
[data-accent="gold"] .cat-pill.active,
[data-accent="gold"] .promo-cat-pill.active,
[data-accent="gold"] .promo-tab-btn.active,
[data-accent="gold"] .sports-nav-btn.active,
[data-accent="gold"] .lswitch-btn.active,
[data-accent="gold"] .btab-btn.active,
[data-accent="gold"] .live-filter-pill.active,
[data-accent="gold"] .lux-net-btn.active,
[data-accent="gold"] .lux-chip-btn.active,
[data-accent="gold"] .bslip-chip-btn.active,
[data-accent="gold"] .crypto-provider-card.active,
[data-accent="gold"] .currency-switch-action-btn,
[data-accent="gold"] .chat-send-btn,
[data-accent="cyan"] .promo-tab-btn.active,
[data-accent="cyan"] .cat-pill.active,
[data-accent="cyan"] .btab-btn.active,
[data-accent="cyan"] .sports-nav-btn.active,
[data-accent="cyan"] .lswitch-btn.active,
body[data-theme="gamdom"] .h-auth-register-btn,
body[data-theme="gamdom"] .hero-register-btn,
body[data-theme="gamdom"] .auth-submit-btn,
body[data-theme="gamdom"] .global-live-support-btn,
body[data-theme="gamdom"] .betslip-blue-head,
body[data-theme="gamdom"] .lux-wtab-btn.active,
body[data-theme="gamdom"] #luxCopyBtn,
body[data-theme="gamdom"] .cat-pill.active,
body[data-theme="gamdom"] .promo-cat-pill.active,
body[data-theme="gamdom"] .promo-tab-btn.active,
body[data-theme="gamdom"] .sports-nav-btn.active,
body[data-theme="gamdom"] .lswitch-btn.active,
body[data-theme="gamdom"] .btab-btn.active,
body[data-theme="gamdom"] .live-filter-pill.active,
body[data-theme="gamdom"] .lux-net-btn.active,
body[data-theme="gamdom"] .lux-chip-btn.active,
body[data-theme="gamdom"] .bslip-chip-btn.active,
body[data-theme="gamdom"] .crypto-provider-card.active,
body[data-theme="gamdom"] .currency-switch-action-btn,
body[data-theme="gamdom"] .chat-send-btn,
body[data-theme="gold"] .h-auth-register-btn,
body[data-theme="gold"] .hero-register-btn,
body[data-theme="gold"] .auth-submit-btn,
body[data-theme="gold"] .global-live-support-btn,
body[data-theme="gold"] .betslip-blue-head,
body[data-theme="gold"] .lux-wtab-btn.active,
body[data-theme="gold"] #luxCopyBtn,
body[data-theme="gold"] .cat-pill.active,
body[data-theme="gold"] .promo-cat-pill.active,
body[data-theme="gold"] .promo-tab-btn.active,
body[data-theme="gold"] .sports-nav-btn.active,
body[data-theme="gold"] .lswitch-btn.active,
body[data-theme="gold"] .btab-btn.active,
body[data-theme="gold"] .live-filter-pill.active,
body[data-theme="gold"] .lux-net-btn.active,
body[data-theme="gold"] .lux-chip-btn.active,
body[data-theme="gold"] .bslip-chip-btn.active,
body[data-theme="gold"] .crypto-provider-card.active,
body[data-theme="gold"] .currency-switch-action-btn,
body[data-theme="gold"] .chat-send-btn,
body[data-theme="light"] .promo-tab-btn.active,
body[data-theme="light"] .cat-pill.active,
body[data-theme="light"] .btab-btn.active,
body[data-theme="light"] .sports-nav-btn.active,
body[data-theme="light"] .lswitch-btn.active,
body[data-theme="light"] .lux-wtab-btn.active {
  color: #0b141d !important;
  font-weight: 800 !important;
  border: none !important;
  outline: none !important;
  text-shadow: none !important;
}

[data-accent="lime"] .promo-tab-btn.active *,
[data-accent="lime"] .cat-pill.active *,
[data-accent="lime"] .lswitch-btn.active *,
[data-accent="lime"] .btab-btn.active *,
[data-accent="gold"] .promo-tab-btn.active *,
[data-accent="gold"] .cat-pill.active *,
[data-accent="gold"] .lswitch-btn.active *,
[data-accent="gold"] .btab-btn.active *,
[data-accent="cyan"] .promo-tab-btn.active *,
body[data-theme="gamdom"] .promo-tab-btn.active *,
body[data-theme="gamdom"] .cat-pill.active *,
body[data-theme="gamdom"] .lswitch-btn.active *,
body[data-theme="gamdom"] .btab-btn.active *,
body[data-theme="gamdom"] .sports-nav-btn.active *,
body[data-theme="gold"] .promo-tab-btn.active *,
body[data-theme="gold"] .cat-pill.active *,
body[data-theme="gold"] .lswitch-btn.active *,
body[data-theme="gold"] .btab-btn.active *,
body[data-theme="light"] .promo-tab-btn.active *,
body[data-theme="light"] .cat-pill.active *,
body[data-theme="light"] .lswitch-btn.active *,
body[data-theme="light"] .btab-btn.active * {
  color: #0b141d !important;
  -webkit-text-fill-color: #0b141d !important;
  text-shadow: none !important;
}

.auth-mode-tab {
  background: transparent !important;
  color: var(--text-dim) !important;
  border: none !important;
  padding: 6px 12px 10px 12px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  cursor: pointer !important;
  border-bottom: 2px solid transparent !important;
  transition: all 0.2s ease !important;
}
.auth-mode-tab:hover {
  color: var(--text-main) !important;
}
.auth-mode-tab.active,
[data-accent] .auth-mode-tab.active {
  background: transparent !important;
  color: var(--text-main) !important;
  border-bottom: 2px solid var(--accent-blue) !important;
  box-shadow: none !important;
}

[data-accent] .h-auth-register-btn:hover,
[data-accent] .hero-register-btn:hover,
[data-accent] .auth-submit-btn:hover,
[data-accent] .global-live-support-btn:hover,
[data-accent] #luxCopyBtn:hover,
[data-accent] .currency-switch-action-btn:hover {
  background: var(--accent-blue-hover) !important;
  border-color: var(--accent-blue-hover) !important;
}

[data-accent] .sb-nav-item.active {
  border-left: 3px solid var(--accent-blue) !important;
  color: var(--accent-blue) !important;
  background: var(--accent-bg-subtle) !important;
}
[data-accent] .sb-nav-item.active i {
  color: var(--accent-blue) !important;
}
[data-accent] .accordion-sub-links a.active {
  color: var(--accent-blue) !important;
  background: var(--accent-bg-subtle) !important;
}

[data-accent] .odd-btn .odd-val,
[data-accent] .odd-btn b,
[data-accent] #gdSplashProv,
[data-accent] .bslip-tab.active,
[data-accent] .slink:hover i,
[data-accent] .slink.active i,
[data-accent] .section-title-wrap a:hover {
  color: var(--accent-blue) !important;
}

[data-accent] .odd-btn:hover,
[data-accent] .odd-btn.active {
  border-color: var(--accent-blue) !important;
  background: var(--accent-bg-subtle) !important;
}

[data-accent] input:focus,
[data-accent] select:focus,
[data-accent] textarea:focus,
[data-accent] .search-input:focus {
  border-color: var(--accent-blue) !important;
  box-shadow: 0 0 0 2px var(--accent-glow) !important;
}

[data-accent] #gdModeSwitch:checked + #gdModeTrack {
  background: var(--accent-blue) !important;
}

/* Sidebar Theme Swatches & Mode Buttons */
.accent-swatch {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  max-width: 24px !important;
  max-height: 24px !important;
  aspect-ratio: 1 / 1 !important;
  flex: 0 0 24px !important;
  border-radius: 50% !important;
  border: none !important;
  cursor: pointer !important;
  padding: 0 !important;
  outline: none !important;
  box-sizing: border-box !important;
  position: relative !important;
  display: inline-block !important;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.accent-swatch:hover {
  transform: scale(1.15) !important;
}
.accent-swatch.active {
  box-shadow: 0 0 0 2px var(--bg-card), 0 0 0 4px var(--accent-blue), 0 4px 12px var(--accent-glow) !important;
}
body[data-theme="light"] .accent-swatch.active {
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px var(--accent-blue), 0 4px 12px var(--accent-glow) !important;
}

.theme-mode-btn {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  background: var(--bg-card);
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.theme-mode-btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-main);
  border-color: var(--border-active);
}
.theme-mode-btn.active {
  background: var(--accent-bg-subtle) !important;
  border: 1.5px solid var(--accent-blue) !important;
  color: var(--accent-blue) !important;
  font-weight: 800 !important;
  box-shadow: 0 0 12px var(--accent-glow) !important;
}

/* ==========================================================================
   GLOBAL FOCUS OUTLINE & BUTTON HIGHLIGHT RESET (NO WHITE OUTLINES/RINGS)
   ========================================================================== */
button,
button:focus,
button:focus-visible,
button:active,
a:focus,
a:focus-visible,
input:focus,
input:focus-visible,
select:focus,
select:focus-visible,
textarea:focus,
textarea:focus-visible,
[role="button"]:focus,
[role="button"]:focus-visible,
.promo-tab-btn,
.promo-tab-btn:focus,
.promo-tab-btn:focus-visible,
.promo-tab-btn:active,
.promo-tab-btn.active,
.cat-pill,
.cat-pill:focus,
.cat-pill:focus-visible,
.cat-pill:active,
.cat-pill.active,
.tab-btn,
.tab-btn:focus,
.tab-btn:focus-visible,
.tab-btn:active,
.tab-btn.active,
.btab-btn,
.btab-btn:focus,
.btab-btn:focus-visible,
.btab-btn:active,
.btab-btn.active,
.sports-nav-btn,
.sports-nav-btn:focus,
.sports-nav-btn:focus-visible,
.sports-nav-btn:active,
.sports-nav-btn.active,
.s-icon-btn,
.s-icon-btn:focus,
.s-icon-btn:focus-visible,
.s-icon-btn:active,
.s-icon-btn.active,
.lux-wtab-btn,
.lux-wtab-btn:focus,
.lux-wtab-btn:focus-visible,
.lux-wtab-btn:active,
.lux-wtab-btn.active,
.lswitch-btn,
.lswitch-btn:focus,
.lswitch-btn:focus-visible,
.lswitch-btn:active,
.lswitch-btn.active,
.live-filter-pill,
.live-filter-pill:focus,
.live-filter-pill:focus-visible,
.live-filter-pill:active,
.live-filter-pill.active,
.accent-swatch:focus,
.accent-swatch:focus-visible {
  outline: none !important;
  outline-width: 0 !important;
  outline-style: none !important;
  outline-color: transparent !important;
  -webkit-focus-ring-color: transparent !important;
  -webkit-tap-highlight-color: transparent !important;
}

.promo-tab-btn,
.promo-tab-btn.active,
.cat-pill.active,
.btab-btn.active,
.sports-nav-btn.active,
.s-icon-btn.active,
.lux-wtab-btn.active,
.lswitch-btn.active,
.live-filter-pill.active {
  border: none !important;
  outline: none !important;
}

/* ==========================================================================
   UNIVERSAL THEME-AWARE COMPONENTS, MODALS & DRAWERS (100% COVERAGE)
   ========================================================================== */
.promo-category-tabs {
  display: flex !important;
  gap: 10px !important;
  overflow-x: auto !important;
  padding: 6px 6px 14px 6px !important;
  margin-bottom: 20px !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.promo-category-tabs::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.promo-tab-btn {
  padding: 9px 18px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  background: var(--bg-card) !important;
  color: var(--text-dim) !important;
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.08)) !important;
  outline: none !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  -webkit-tap-highlight-color: transparent !important;
}
.promo-tab-btn:hover {
  background: var(--bg-card-hover) !important;
  color: var(--text-main) !important;
  border-color: rgba(255, 255, 255, 0.16) !important;
}
.promo-tab-btn.active,
[data-accent] .promo-tab-btn.active {
  background: var(--accent-blue) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  outline: none !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.08) !important;
}
.promo-tab-btn.active i,
.promo-tab-btn.active svg,
.promo-tab-btn.active span {
  color: inherit !important;
  text-shadow: none !important;
}

/* Base Modal Container Universals */
.game-modal > * {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-main) !important;
}

.match-detail-box,
#matchDetailModal > div,
.policy-modal-box,
#policyModal > div,
.game-modal-box,
#gameModal > div,
.rainbet-auth-dialog,
#blogReaderModal > div,
#promoDetailModal > div {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-main) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45) !important;
}

/* Modal Headers */
.match-detail-head,
#matchDetailModal > div > div:first-child,
.policy-modal-head,
#policyModal > div > div:first-child,
.game-modal-head,
#gameModal > div > div:first-child {
  background: var(--bg-card-hover) !important;
  border-bottom: 1px solid var(--border-subtle) !important;
  color: var(--text-main) !important;
}

/* Auth Modal Internals */
.auth-form-col {
  background: var(--bg-card) !important;
  color: var(--text-main) !important;
}
.auth-form-col label {
  color: var(--text-muted) !important;
}
.auth-form-col input {
  background: var(--bg-darkest) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-main) !important;
}
.auth-form-col input:focus {
  border-color: var(--accent-blue) !important;
  box-shadow: 0 0 0 2px var(--accent-glow) !important;
}
.auth-cloudflare-box {
  background: var(--bg-card-hover) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-muted) !important;
}
.auth-close-btn {
  background: var(--bg-card-hover) !important;
  color: var(--text-dim) !important;
}
.auth-social-list {
  background: var(--bg-darker) !important;
  border: 1px solid var(--border-subtle) !important;
}
.auth-social-list .btab-btn {
  background: var(--bg-card-hover) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-main) !important;
}
.auth-other-btn {
  background: var(--bg-card-hover) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-muted) !important;
}

/* Match Detail Box Elements */
.match-tip-box {
  background: var(--bg-darker) !important;
  border: 1px solid var(--border-subtle) !important;
}
.md-tab-btn {
  color: var(--text-dim) !important;
}
.md-tab-btn.active {
  color: var(--text-main) !important;
  border-bottom-color: var(--accent-blue) !important;
}

/* Betslip Drawer Universal Base */
.betslip-expanded-drawer {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-main) !important;
}
.bslip-match-card {
  background: var(--bg-card-hover) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-main) !important;
}
.bslip-match-card div[style*="color:#fff"],
.bslip-match-card div[style*="color: #fff"] {
  color: var(--text-main) !important;
}
.bslip-comboboost-card {
  background: var(--bg-card-light) !important;
  border: 1px solid var(--border-subtle) !important;
}
.bslip-stake-box {
  background: var(--bg-darkest) !important;
  border: 1px solid var(--border-subtle) !important;
}

/* Community Chat Drawer Universal Base */
.rainbet-chat-drawer {
  background: var(--bg-darker) !important;
  border-left: 1px solid var(--border-subtle) !important;
  color: var(--text-main) !important;
}
.chat-header {
  background: var(--bg-card) !important;
  border-bottom: 1px solid var(--border-subtle) !important;
  color: var(--text-main) !important;
}
.chat-messages-scroll {
  background: var(--bg-darkest) !important;
}
.chat-input-bar {
  background: var(--bg-card) !important;
  border-top: 1px solid var(--border-subtle) !important;
}
.chat-input-box {
  background: var(--bg-darkest) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-main) !important;
}


/* ==========================================================================
   1. INCI BEYAZI / LUXURY PEARL LIGHT THEME
   ========================================================================== */
body[data-theme="light"], html[data-theme="light"] {
  background-color: #f1f5f9 !important;
  color: #0f172a !important;
}

body[data-theme="light"] .main-view-container,
body[data-theme="light"] .main-content,
body[data-theme="light"] main,
body[data-theme="light"] #mainView {
  background-color: #f1f5f9 !important;
}

/* Header & Sidebar */
body[data-theme="light"] .top-header,
body[data-theme="light"] header {
  background: #ffffff !important;
  border-bottom: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05) !important;
  color: #0f172a !important;
}
body[data-theme="light"] .top-header .h-balance-box {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
body[data-theme="light"] .top-header .h-balance-amt {
  color: #0f172a !important;
}
body[data-theme="light"] .top-header .h-user-pill {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}

body[data-theme="light"] .app-sidebar,
body[data-theme="light"] aside.app-sidebar,
body[data-theme="light"] #appSidebar {
  background: #ffffff !important;
  border-right: 1px solid #e2e8f0 !important;
  box-shadow: 2px 0 10px rgba(15, 23, 42, 0.03) !important;
  color: #0f172a !important;
}

/* Sidebar Navigation Items & Links */
body[data-theme="light"] .slink,
body[data-theme="light"] .sb-nav-item {
  color: #1e293b !important;
  background: transparent !important;
  font-weight: 700 !important;
}
body[data-theme="light"] .slink i,
body[data-theme="light"] .sb-nav-item i {
  color: #475569 !important;
}
body[data-theme="light"] .slink:hover,
body[data-theme="light"] .sb-nav-item:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}
body[data-theme="light"] .slink:hover i,
body[data-theme="light"] .sb-nav-item:hover i {
  color: #1d72fe !important;
}
body[data-theme="light"] .slink.active,
body[data-theme="light"] .sb-nav-item.active {
  background: #eff6ff !important;
  color: #1d72fe !important;
  font-weight: 800 !important;
  border-left: 3px solid #1d72fe !important;
}
body[data-theme="light"] .slink.active i,
body[data-theme="light"] .sb-nav-item.active i {
  color: #1d72fe !important;
}

/* Sidebar Accordion Cards */
body[data-theme="light"] .sb-acc-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.02) !important;
}
body[data-theme="light"] .sb-acc-head {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
body[data-theme="light"] .sb-acc-head i,
body[data-theme="light"] .sb-acc-head span {
  color: #0f172a !important;
}
body[data-theme="light"] .sb-acc-card .accordion-sub-links {
  background: #ffffff !important;
}
body[data-theme="light"] .sb-acc-card .accordion-sub-links a {
  color: #334155 !important;
  font-weight: 600 !important;
}
body[data-theme="light"] .sb-acc-card .accordion-sub-links a:hover {
  background: #f8fafc !important;
  color: #0f172a !important;
}
body[data-theme="light"] .sb-acc-card .accordion-sub-links a.active {
  background: #eff6ff !important;
  color: #1d72fe !important;
}
body[data-theme="light"] .accordion-sub-links a i {
  color: #475569 !important;
}
body[data-theme="light"] .accordion-sub-links a:hover i,
body[data-theme="light"] .accordion-sub-links a.active i {
  color: #1d72fe !important;
}
body[data-theme="light"] .accordion-sub-links a span[style*="color:#fff"],
body[data-theme="light"] .accordion-sub-links a span[style*="color: #fff"],
body[data-theme="light"] .accordion-sub-links a div[style*="color:#fff"],
body[data-theme="light"] .accordion-sub-links a div[style*="color: #fff"] {
  color: #0f172a !important;
}

/* Sidebar Profile, Raffle & Race Stats */
body[data-theme="light"] #sidebarUserBox {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}
body[data-theme="light"] #sbUsername {
  color: #0f172a !important;
  font-weight: 800 !important;
}
body[data-theme="light"] .sidebar-raffle-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}
body[data-theme="light"] .raffle-prize {
  color: #0f172a !important;
  font-weight: 900 !important;
}
body[data-theme="light"] .raffle-sub {
  color: #64748b !important;
}
body[data-theme="light"] .sidebar-races-row {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}
body[data-theme="light"] .sidebar-races-row .rcol-val,
body[data-theme="light"] .rcol-val {
  color: #0f172a !important;
  font-weight: 900 !important;
}
body[data-theme="light"] .sidebar-races-row .rcol-lbl,
body[data-theme="light"] .rcol-lbl {
  color: #64748b !important;
  font-weight: 800 !important;
}

/* Header Boost Widget, Logo & Buttons */
body[data-theme="light"] .boost-pill-widget {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
}
body[data-theme="light"] .boost-label {
  color: #d97706 !important;
  font-weight: 900 !important;
}
body[data-theme="light"] .boost-timer {
  color: #475569 !important;
  font-weight: 700 !important;
}
body[data-theme="light"] .balance-dropdown-btn {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
body[data-theme="light"] .balance-dropdown-btn * {
  color: #0f172a !important;
}
body[data-theme="light"] .h-square-btn {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #1e293b !important;
}
body[data-theme="light"] .h-square-btn:hover {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}
body[data-theme="light"] .user-menu-dropdown,
body[data-theme="light"] .notif-dropdown-menu {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12) !important;
  color: #0f172a !important;
}
body[data-theme="light"] .user-menu-dropdown *,
body[data-theme="light"] .notif-dropdown-menu * {
  color: #1e293b !important;
}
body[data-theme="light"] .user-menu-item:hover,
body[data-theme="light"] .notif-item:hover {
  background: #f8fafc !important;
}

/* Light Theme Dark Logo Support */
body[data-theme="light"] .site-main-logo.logo-dark-theme,
html[data-theme="light"] .site-main-logo.logo-dark-theme {
  display: none !important;
}
body[data-theme="light"] .site-main-logo.logo-light-theme,
html[data-theme="light"] .site-main-logo.logo-light-theme {
  display: block !important;
}
body:not([data-theme="light"]) .site-main-logo.logo-light-theme,
html:not([data-theme="light"]) .site-main-logo.logo-light-theme {
  display: none !important;
}
body:not([data-theme="light"]) .site-main-logo.logo-dark-theme,
html:not([data-theme="light"]) .site-main-logo.logo-dark-theme {
  display: block !important;
}

/* Sidebar Theme Selector In Light Mode */
body[data-theme="light"] .theme-selector-head {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
body[data-theme="light"] .theme-selector-head .sb-theme-text {
  color: #0f172a !important;
}
body[data-theme="light"] .theme-options-list {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}
body[data-theme="light"] .theme-mode-btn {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
}
body[data-theme="light"] .theme-mode-btn.active {
  background: #eff6ff !important;
  border-color: #1d72fe !important;
  color: #1d72fe !important;
}
body[data-theme="light"] #appFontSelect {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

/* Search Bar & Inputs */
body[data-theme="light"] .rainbet-search-bar,
body[data-theme="light"] #catalogSearchInput,
body[data-theme="light"] .search-input,
body[data-theme="light"] input[type="text"],
body[data-theme="light"] input[type="search"],
body[data-theme="light"] input[type="number"],
body[data-theme="light"] input[type="password"],
body[data-theme="light"] select,
body[data-theme="light"] .rainbet-select {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}
body[data-theme="light"] .search-input::placeholder,
body[data-theme="light"] input::placeholder,
body[data-theme="light"] #catalogSearchInput::placeholder {
  color: #64748b !important;
}

/* Category Pills & Tabs */
body[data-theme="light"] .cat-pill,
body[data-theme="light"] .promo-cat-pill,
body[data-theme="light"] .sports-nav-btn,
body[data-theme="light"] .filter-chip,
body[data-theme="light"] .rainbet-filter-tab {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #334155 !important;
  font-weight: 700 !important;
}
body[data-theme="light"] .cat-pill:hover,
body[data-theme="light"] .promo-cat-pill:hover,
body[data-theme="light"] .sports-nav-btn:hover,
body[data-theme="light"] .filter-chip:hover,
body[data-theme="light"] .rainbet-filter-tab:hover {
  background: #f8fafc !important;
  color: #0f172a !important;
}
body[data-theme="light"] .cat-pill.active,
body[data-theme="light"] .promo-cat-pill.active,
body[data-theme="light"] .sports-nav-btn.active,
body[data-theme="light"] .filter-chip.active,
body[data-theme="light"] .rainbet-filter-tab.active {
  background: #1d72fe !important;
  color: #ffffff !important;
  border-color: #1d72fe !important;
}
body[data-theme="light"] .filter-chip.active *,
body[data-theme="light"] .rainbet-filter-tab.active * {
  color: #ffffff !important;
}

/* Provider Boxes In Light Mode */
body[data-theme="light"] .provider-logo-box {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03) !important;
}
body[data-theme="light"] .provider-logo-box:hover {
  background: #f8fafc !important;
  border-color: #cbd5e1 !important;
}
body[data-theme="light"] .provider-logo-box.active {
  background: rgba(29, 114, 254, 0.1) !important;
  border-color: #1d72fe !important;
  box-shadow: 0 4px 12px rgba(29, 114, 254, 0.15) !important;
}
body[data-theme="light"] .provider-name-text,
body[data-theme="light"] .provider-logo-box span:first-of-type {
  color: #0f172a !important;
}
body[data-theme="light"] .provider-logo-box.active .provider-name-text,
body[data-theme="light"] .provider-logo-box.active span:first-of-type {
  color: #1d72fe !important;
}
body[data-theme="light"] .provider-count-pill {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border: 1px solid #e2e8f0 !important;
}
body[data-theme="light"] .provider-logo-box.active .provider-count-pill {
  background: rgba(29, 114, 254, 0.2) !important;
  color: #1d72fe !important;
  border-color: rgba(29, 114, 254, 0.3) !important;
}

/* Carousel Buttons & Game Cards */
body[data-theme="light"] .c-arrow-btn {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}
body[data-theme="light"] .c-arrow-btn:hover {
  background: #f1f5f9 !important;
  border-color: #94a3b8 !important;
}
body[data-theme="light"] .rainbet-game-card,
body[data-theme="light"] .game-card-rainbet {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05) !important;
}
body[data-theme="light"] .card-meta,
body[data-theme="light"] .game-card-info {
  background: #ffffff !important;
}
body[data-theme="light"] .card-title,
body[data-theme="light"] .game-title {
  color: #0f172a !important;
  font-weight: 800 !important;
}
body[data-theme="light"] .card-prov,
body[data-theme="light"] .game-prov {
  color: #64748b !important;
  font-weight: 700 !important;
}

/* General Cards & Grids */
body[data-theme="light"] .game-card-rainbet,
body[data-theme="light"] .partner-promo-tile,
body[data-theme="light"] .lux-promo-card,
body[data-theme="light"] .settings-card,
body[data-theme="light"] .live-match-box,
body[data-theme="light"] .sports-match-card,
body[data-theme="light"] #sportsUpcomingGrid > div,
body[data-theme="light"] .pitch-stats-box,
body[data-theme="light"] .tot-card,
body[data-theme="light"] .rewards-streak-day,
body[data-theme="light"] .streak-tile,
body[data-theme="light"] .claim-tier-card,
body[data-theme="light"] .rewards-rank-section,
body[data-theme="light"] .rewards-totals-container,
body[data-theme="light"] .totals-header-bar,
body[data-theme="light"] .provider-logo-box,
body[data-theme="light"] .lux-bank-card,
body[data-theme="light"] .bslip-match-card,
body[data-theme="light"] .theme-options-list,
body[data-theme="light"] .theme-mode-btn:not(.active),
body[data-theme="light"] #appFontSelect,
body[data-theme="light"] .gd-info-left > div,
body[data-theme="light"] .aviator-dash-controls,
body[data-theme="light"] .vip-tier-card,
body[data-theme="light"] .blog-card-item,
body[data-theme="light"] .blog-featured-card,
body[data-theme="light"] #myBetsPanel,
body[data-theme="light"] .rb-sports-tournament-grid > div,
body[data-theme="light"] #sportsTournamentSection > div,
body[data-theme="light"] .trans-table-wrap,
body[data-theme="light"] .crypto-provider-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
  color: #0f172a !important;
}

body[data-theme="light"] .streak-date-tag:not(.active) {
  background: #e2e8f0 !important;
  color: #334155 !important;
}

body[data-theme="light"] .streak-vault-svg:not(.active) {
  color: #94a3b8 !important;
}

/* Headings & Text In Light Mode */
body[data-theme="light"] h1,
body[data-theme="light"] h2,
body[data-theme="light"] h3,
body[data-theme="light"] h4,
body[data-theme="light"] h5,
body[data-theme="light"] h6,
body[data-theme="light"] .section-title-wrap,
body[data-theme="light"] .section-title-wrap span,
body[data-theme="light"] .tot-title,
body[data-theme="light"] .blog-card-body h3,
body[data-theme="light"] .streak-amount,
body[data-theme="light"] .card-title-with-info,
body[data-theme="light"] .rewards-main-title,
body[data-theme="light"] .sb-theme-text,
body[data-theme="light"] .totals-header-bar,
body[data-theme="light"] .raffle-prize,
body[data-theme="light"] .sidebar-races-row .rcol-val {
  color: #0f172a !important;
}
body[data-theme="light"] .raffle-timer-badge {
  color: #b45309 !important;
  border-color: #d97706 !important;
  background: #fef3c7 !important;
}
body[data-theme="light"] .sidebar-races-row .rcol-lbl {
  color: #64748b !important;
}
body[data-theme="light"] .sidebar-raffle-card,
body[data-theme="light"] .sidebar-races-row,
body[data-theme="light"] .sb-top-nav-group {
  border-bottom-color: #e2e8f0 !important;
}
body[data-theme="light"] p,
body[data-theme="light"] .tot-desc {
  color: #475569 !important;
}

body[data-theme="light"] .section-title-wrap a {
  color: #0284c7 !important;
}
body[data-theme="light"] .section-title-wrap a:hover {
  color: #0369a1 !important;
}
body[data-theme="light"] .trans-header-actions button {
  background: #f0f9ff !important;
  border-color: #bae6fd !important;
  color: #0284c7 !important;
}
body[data-theme="light"] .trans-header-actions button i {
  color: #0284c7 !important;
}
body[data-theme="light"] .trans-header-actions button:hover {
  background: #e0f2fe !important;
  border-color: #7dd3fc !important;
  color: #0369a1 !important;
}
body[data-theme="light"] .trans-header-actions button:hover i {
  color: #0369a1 !important;
}

/* Dark Image Overlays Must ALWAYS Retain Crisp White Text In ALL Themes */
.rainbet-hero-grid .hero-main-heading,
.rainbet-hero-grid h1,
body[data-theme="light"] .rainbet-hero-grid .hero-main-heading,
body[data-theme="light"] .rainbet-hero-grid h1 {
  color: #ffffff !important;
  text-shadow: 0 4px 18px rgba(0,0,0,0.85) !important;
}
.rainbet-hero-grid .hero-or-label,
body[data-theme="light"] .rainbet-hero-grid .hero-or-label {
  color: rgba(255,255,255,0.85) !important;
}
.partner-promo-tile h4,
body[data-theme="light"] .partner-promo-tile h4 {
  color: #ffffff !important;
  text-shadow: 0 2px 6px rgba(0,0,0,0.85) !important;
}
.partner-promo-tile p,
body[data-theme="light"] .partner-promo-tile p {
  color: #cbd5e1 !important;
}
.auth-banner-col h3,
body[data-theme="light"] .auth-banner-col h3 {
  color: #ffffff !important;
  text-shadow: 0 4px 14px rgba(0,0,0,0.95) !important;
}
.auth-banner-col p,
body[data-theme="light"] .auth-banner-col p {
  color: #cbd5e1 !important;
}
.auth-banner-col a,
body[data-theme="light"] .auth-banner-col a {
  color: #ffffff !important;
}

/* Odds Buttons In Light Mode */
body[data-theme="light"] .odd-btn,
body[data-theme="light"] button.odd-btn,
body[data-theme="light"] .odds-box {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}
body[data-theme="light"] .odd-btn:hover,
body[data-theme="light"] button.odd-btn:hover {
  background: #eff6ff !important;
  border-color: #1d72fe !important;
}
body[data-theme="light"] .odd-btn span {
  color: #64748b !important;
}
body[data-theme="light"] .odd-btn .odd-val,
body[data-theme="light"] .odd-btn b {
  color: #1d72fe !important;
}

/* ==========================================================================
   LIGHT MODE: MODALS (AUTH, WALLET, POLICY, MATCH DETAIL, GAME)
   ========================================================================== */

/* 1. AUTH MODAL */
body[data-theme="light"] .rainbet-auth-dialog {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2) !important;
}
body[data-theme="light"] .auth-form-col {
  background: #ffffff !important;
  color: #0f172a !important;
}
body[data-theme="light"] .auth-form-col h3 {
  color: #0f172a !important;
}
body[data-theme="light"] .auth-form-col label {
  color: #334155 !important;
}
body[data-theme="light"] .auth-form-col input {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}
body[data-theme="light"] .auth-mode-tab {
  color: #64748b !important;
  background: transparent !important;
}
body[data-theme="light"] .auth-mode-tab.active {
  color: #0f172a !important;
  background: transparent !important;
  border-bottom: 2px solid var(--accent-blue) !important;
}
body[data-theme="light"] .auth-cloudflare-box {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}
body[data-theme="light"] .auth-cloudflare-box #cfLabel {
  color: #334155 !important;
}
body[data-theme="light"] .auth-close-btn {
  background: #f1f5f9 !important;
  color: #64748b !important;
}
body[data-theme="light"] .auth-close-btn:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}
body[data-theme="light"] .auth-social-list {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
}
body[data-theme="light"] .auth-social-list .btab-btn {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
body[data-theme="light"] .auth-social-list .btab-btn:hover {
  background: #f1f5f9 !important;
}
body[data-theme="light"] .auth-other-btn {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}
body[data-theme="light"] .auth-other-btn:hover {
  background: #f1f5f9 !important;
}
body[data-theme="light"] .auth-banner-col {
  background: #0f172a !important;
}

/* Header Language Dropdown in Light Mode */
body[data-theme="light"] .lang-dropdown-box,
body[data-theme="light"] #headerLangMenu {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12) !important;
}
body[data-theme="light"] .lang-opt-item {
  color: #0f172a !important;
}
body[data-theme="light"] .lang-opt-item:hover {
  background: #f1f5f9 !important;
}
body[data-theme="light"] .lang-opt-item.active {
  background: #eff6ff !important;
  color: #1d72fe !important;
}

/* 2. WALLET MODAL IN LIGHT MODE (FLAWLESS & DEEP) */
body[data-theme="light"] .lux-wallet-dialog {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25) !important;
  color: #0f172a !important;
}
body[data-theme="light"] .lux-wallet-header {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
body[data-theme="light"] .lux-wallet-tabs {
  background: #edf2f7 !important;
  border: 1px solid #cbd5e1 !important;
}
body[data-theme="light"] .lux-wtab-btn {
  color: #475569 !important;
}
body[data-theme="light"] .lux-wtab-btn.active {
  background: #1d72fe !important;
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(29, 114, 254, 0.35) !important;
}
body[data-theme="light"] .lux-wallet-close {
  background: #e2e8f0 !important;
  border: 1px solid #cbd5e1 !important;
  color: #475569 !important;
}
body[data-theme="light"] .lux-wallet-close:hover {
  background: #cbd5e1 !important;
  color: #0f172a !important;
}

/* Wallet Stepper (1, 2, 3) in Light */
body[data-theme="light"] #wContentDeposit [style*="border-radius:50%"][style*="background:#25324a"],
body[data-theme="light"] #wContentDeposit [style*="background: #25324a"] {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}
body[data-theme="light"] #wContentDeposit [style*="font-size:13px"][style*="color:#fff"] {
  color: #0f172a !important;
}
body[data-theme="light"] #luxDepLabel,
body[data-theme="light"] #luxDepLabel + div,
body[data-theme="light"] #luxNoticeText {
  color: #475569 !important;
}
body[data-theme="light"] #luxNoticeText b {
  color: #0f172a !important;
}

/* Wallet Method Grid Cards */
body[data-theme="light"] .lux-method-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}
body[data-theme="light"] .lux-method-card [style*="color:#fff"] {
  color: #0f172a !important;
}
body[data-theme="light"] .lux-method-card.active {
  border-color: #1d72fe !important;
  background: #eff6ff !important;
}

/* Network Selector In Light */
body[data-theme="light"] .lux-net-btn {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}
body[data-theme="light"] .lux-net-btn:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}
body[data-theme="light"] .lux-net-btn.active {
  background: #1d72fe !important;
  color: #ffffff !important;
  border-color: #1d72fe !important;
}

/* QR Code & Address Box In Light */
body[data-theme="light"] #wContentDeposit [style*="background:#1c263b"],
body[data-theme="light"] #wContentDeposit [style*="background: #1c263b"] {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}
body[data-theme="light"] #luxDepAddr {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

/* Direct Crypto & Banking Buttons In Light */
body[data-theme="light"] #wContentDeposit [style*="background:#222c42"],
body[data-theme="light"] #wContentDeposit [style*="background: #222c42"] {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

/* Right Side Promo Cards In Light Mode */
body[data-theme="light"] #wContentDeposit [style*="linear-gradient(135deg, rgba(16,185,129"] {
  background: #f0fdf4 !important;
  border: 1px solid #86efac !important;
}
body[data-theme="light"] #wContentDeposit [style*="linear-gradient(135deg, rgba(16,185,129"] div span,
body[data-theme="light"] #wContentDeposit [style*="linear-gradient(135deg, rgba(16,185,129"] div i {
  color: #15803d !important;
}
body[data-theme="light"] #wContentDeposit [style*="linear-gradient(135deg, rgba(16,185,129"] p {
  color: #166534 !important;
}

body[data-theme="light"] #wContentDeposit [style*="linear-gradient(135deg, rgba(29,114,254"] {
  background: #eff6ff !important;
  border: 1px solid #93c5fd !important;
}
body[data-theme="light"] #wContentDeposit [style*="linear-gradient(135deg, rgba(29,114,254"] div span,
body[data-theme="light"] #wContentDeposit [style*="linear-gradient(135deg, rgba(29,114,254"] div i {
  color: #1d4ed8 !important;
}
body[data-theme="light"] #wContentDeposit [style*="linear-gradient(135deg, rgba(29,114,254"] p {
  color: #1e40af !important;
}

body[data-theme="light"] #wContentDeposit [style*="linear-gradient(135deg, rgba(168,85,247"] {
  background: #faf5ff !important;
  border: 1px solid #d8b4fe !important;
}
body[data-theme="light"] #wContentDeposit [style*="linear-gradient(135deg, rgba(168,85,247"] div span,
body[data-theme="light"] #wContentDeposit [style*="linear-gradient(135deg, rgba(168,85,247"] div i {
  color: #7e22ce !important;
}
body[data-theme="light"] #wContentDeposit [style*="linear-gradient(135deg, rgba(168,85,247"] p {
  color: #6b21a8 !important;
}

/* Other Wallet Tabs In Light Mode */
body[data-theme="light"] #wContentWithdraw,
body[data-theme="light"] #wContentBuy,
body[data-theme="light"] #wContentTip,
body[data-theme="light"] #wContentRedeem {
  color: #0f172a !important;
}
body[data-theme="light"] #wContentWithdraw div[style*="color:#fff"],
body[data-theme="light"] #wContentBuy div[style*="color:#fff"],
body[data-theme="light"] #wContentTip h3,
body[data-theme="light"] #wContentRedeem h3 {
  color: #0f172a !important;
}
body[data-theme="light"] #wContentBuy [style*="background:#1e293b"] {
  background: #eff6ff !important;
  border: 1px solid #bfdbfe !important;
  color: #1e3a8a !important;
}
body[data-theme="light"] #wContentBuy [style*="background:#1a2336"] {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #475569 !important;
}
body[data-theme="light"] .crypto-provider-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
body[data-theme="light"] .crypto-provider-card.active {
  border-color: #1d72fe !important;
  background: #eff6ff !important;
}
body[data-theme="light"] .crypto-provider-card span[style*="color:#fff"] {
  color: #0f172a !important;
}
body[data-theme="light"] .lux-bank-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
body[data-theme="light"] .lux-bank-lbl {
  color: #64748b !important;
}
body[data-theme="light"] .lux-bank-val {
  color: #0f172a !important;
}
body[data-theme="light"] .lux-chip-btn {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}
body[data-theme="light"] .lux-chip-btn.active {
  background: #1d72fe !important;
  color: #ffffff !important;
  border-color: #1d72fe !important;
}

/* Theme/responsive audit patches (Postman UI pass) */
body[data-theme="light"] .lobby-switch-pill {
  background: #e2e8f0 !important;
  border-color: #cbd5e1 !important;
}
body[data-theme="light"] .sidebar-toggle-btn:hover,
body[data-theme="light"] .lswitch-btn:hover {
  color: var(--text-main) !important;
}
body[data-theme="light"] .provider-logo-box span {
  color: var(--text-main) !important;
}
@media (max-width: 768px) {
  #walletModal .lux-wallet-dialog,
  .lux-wallet-dialog {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 92vh !important;
    border-radius: 16px 16px 0 0 !important;
  }
  #walletDepositMainGrid,
  .rb-wallet-2col-grid {
    grid-template-columns: 1fr !important;
  }
  #authModal .auth-modal-box,
  .auth-modal-box {
    width: 96% !important;
    max-width: 420px !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    padding: 16px !important;
  }
}

/* 3. POLICY MODAL IN LIGHT MODE */
body[data-theme="light"] #policyModal > div {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25) !important;
  color: #0f172a !important;
}
body[data-theme="light"] #policyModal > div > div:first-child {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
body[data-theme="light"] #policyModalTitle {
  color: #0f172a !important;
}
body[data-theme="light"] #policyModalBody {
  color: #334155 !important;
}

/* 4. SPORTSBOOK & MATCH CENTER IN LIGHT MODE (CRISP & HIGH-CONTRAST) */
body[data-theme="light"] .sports-sports-icons-bar {
  background: transparent !important;
  border: none !important;
}
body[data-theme="light"] .s-icon-btn {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}
body[data-theme="light"] .s-icon-btn:hover {
  background: #f8fafc !important;
  color: #0f172a !important;
  border-color: #94a3b8 !important;
}
body[data-theme="light"] .s-icon-btn.active {
  background: var(--accent, #1d72fe) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 12px rgba(29, 114, 254, 0.35) !important;
}

/* Stadium Tournament Hero Banner: Always preserve white text on night photo */
.sports-tournament-hero-banner h2,
body[data-theme="light"] .sports-tournament-hero-banner h2,
body[data-theme="light"] div[onclick*="sportsTournamentSection"] h2 {
  color: #ffffff !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.95) !important;
}
.sports-tournament-hero-banner p,
body[data-theme="light"] .sports-tournament-hero-banner p,
body[data-theme="light"] div[onclick*="sportsTournamentSection"] p {
  color: #e2e8f0 !important;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.9) !important;
}

/* In-Page Sports Match Center */
body[data-theme="light"] #sportsMatchCenter {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08) !important;
}
body[data-theme="light"] #sportsMatchCenter > div:first-child {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
body[data-theme="light"] #sportsMatchCenter > div:first-child button {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}
body[data-theme="light"] #sportsMatchCenter > div:first-child button:hover {
  background: #f1f5f9 !important;
}
body[data-theme="light"] #mdLeagueName {
  color: #64748b !important;
}

/* Scoreboard & Team Names */
body[data-theme="light"] #sportsMatchCenter > div:nth-child(2) {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
body[data-theme="light"] #mdTeam1,
body[data-theme="light"] #mdTeam2 {
  color: #0f172a !important;
}
body[data-theme="light"] #mdScore1,
body[data-theme="light"] #mdScore2 {
  color: #16a34a !important;
}
body[data-theme="light"] #sportsMatchCenter > div:nth-child(2) [style*="font-size:11.5px"],
body[data-theme="light"] #sportsMatchCenter > div:nth-child(2) [style*="color:var(--text-dim)"] {
  color: #64748b !important;
}

/* Expert Tips Section */
body[data-theme="light"] #sportsMatchCenter > div:nth-child(3) {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
body[data-theme="light"] #sportsMatchCenter .match-tip-box {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}
body[data-theme="light"] #mdTip1,
body[data-theme="light"] #mdTip2 {
  color: #334155 !important;
}
body[data-theme="light"] #sportsMatchCenter .match-tip-box [style*="color:var(--text-dim)"] {
  color: #64748b !important;
}
body[data-theme="light"] #sportsMatchCenter .match-tip-box [style*="color:#f59e0b"] {
  color: #d97706 !important;
}

/* Market Tabs Bar */
body[data-theme="light"] #sportsMatchCenter > div:nth-child(4) {
  background: #f1f5f9 !important;
  border-top: 1px solid #e2e8f0 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
body[data-theme="light"] .md-tab-btn {
  color: #64748b !important;
  border-bottom: 2px solid transparent !important;
}
body[data-theme="light"] .md-tab-btn:hover {
  color: #0f172a !important;
}
body[data-theme="light"] .md-tab-btn.active {
  color: var(--accent, #1d72fe) !important;
  border-bottom: 2px solid var(--accent, #1d72fe) !important;
  font-weight: 800 !important;
}
body[data-theme="light"] .md-tab-btn span {
  color: #94a3b8 !important;
}

/* Markets Content Container */
body[data-theme="light"] #mdMarketsContent {
  background: #ffffff !important;
}
body[data-theme="light"] #mdMarketsContent [style*="color:var(--text-dim)"] {
  color: #475569 !important;
}
body[data-theme="light"] #sportsMatchCenter .odd-btn,
body[data-theme="light"] .live-match-box .odd-btn,
body[data-theme="light"] #sportsUpcomingGrid .odd-btn {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}
body[data-theme="light"] #sportsMatchCenter .odd-btn:hover,
body[data-theme="light"] .live-match-box .odd-btn:hover,
body[data-theme="light"] #sportsUpcomingGrid .odd-btn:hover {
  background: #f1f5f9 !important;
  border-color: var(--accent, #1d72fe) !important;
}
body[data-theme="light"] #sportsMatchCenter .odd-btn .odd-val,
body[data-theme="light"] .live-match-box .odd-btn .odd-val,
body[data-theme="light"] #sportsUpcomingGrid .odd-btn .odd-val {
  color: var(--accent, #1d72fe) !important;
}
body[data-theme="light"] #mdTab-halves div,
body[data-theme="light"] #mdTab-totals div,
body[data-theme="light"] #mdTab-stats div,
body[data-theme="light"] #mdTab-props div {
  color: #64748b !important;
}

/* Live Matches Cards on Homepage & Sports Page */
body[data-theme="light"] .live-match-box {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}
body[data-theme="light"] .live-match-box div[style*="color:#fff"],
body[data-theme="light"] .live-match-box div[style*="color: #fff"],
body[data-theme="light"] .live-match-box [style*="color:#fff"],
body[data-theme="light"] .live-match-box [style*="color: #fff"],
body[data-theme="light"] .live-match-box .lm-team-row,
body[data-theme="light"] .live-match-box .lm-team-row span {
  color: #0f172a !important;
}
body[data-theme="light"] #sportsUpcomingGrid > div {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}
body[data-theme="light"] #sportsUpcomingGrid div[style*="color:#fff"],
body[data-theme="light"] #sportsUpcomingGrid div[style*="color: #fff"] {
  color: #0f172a !important;
}
body[data-theme="light"] .bet-row-game-link {
  color: #0f172a !important;
}
body[data-theme="light"] .bet-row-game-link:hover {
  color: var(--accent, #1d72fe) !important;
}

/* 5. GAME MODAL IN LIGHT MODE */
body[data-theme="light"] .game-modal-box {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25) !important;
  color: #0f172a !important;
}
body[data-theme="light"] .game-modal-head {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
body[data-theme="light"] #gameModalTitle {
  color: #0f172a !important;
}

/* 6. BETSLIP DRAWER & COMMUNITY CHAT IN LIGHT MODE */
body[data-theme="light"] .betslip-expanded-drawer {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: -5px 0 25px rgba(0,0,0,0.08) !important;
  color: #0f172a !important;
}
body[data-theme="light"] .betslip-blue-head {
  background: #1d72fe !important;
  color: #ffffff !important;
}
body[data-theme="light"] .bslip-tab {
  background: #f1f5f9 !important;
  color: #64748b !important;
}
body[data-theme="light"] .bslip-tab.active {
  background: #ffffff !important;
  color: #1d72fe !important;
}
body[data-theme="light"] .bslip-match-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
body[data-theme="light"] .bslip-match-card div[style*="color:#fff"],
body[data-theme="light"] .bslip-match-card div[style*="color: #fff"] {
  color: #0f172a !important;
}
body[data-theme="light"] .bslip-comboboost-card {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
}
body[data-theme="light"] .bslip-stake-box {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
}
body[data-theme="light"] #bslipStakeInput,
body[data-theme="light"] .bslip-stake-box span {
  color: #0f172a !important;
}
body[data-theme="light"] #bslipTotalOddsVal,
body[data-theme="light"] #bslipTotalBetVal {
  color: #0f172a !important;
}
body[data-theme="light"] .betslip-expanded-drawer > div:last-child {
  background: #f8fafc !important;
  border-top: 1px solid #e2e8f0 !important;
}
body[data-theme="light"] .chat-input-box {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}

body[data-theme="light"] .rainbet-chat-drawer {
  background: #ffffff !important;
  border-left: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
body[data-theme="light"] .chat-header {
  background: #f8fafc !important;
  border-bottom: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
body[data-theme="light"] .chat-header span[style*="color:#fff"] {
  color: #0f172a !important;
}
body[data-theme="light"] .chat-rain-card {
  background: #eff6ff !important;
  border: 1px solid #bfdbfe !important;
}
body[data-theme="light"] #chatRainTitle {
  color: #1e3a8a !important;
}
body[data-theme="light"] .chat-messages-scroll {
  background: #f8fafc !important;
}
body[data-theme="light"] .chat-input-bar {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
}

/* Footer In Light Mode */
body[data-theme="light"] .rainbet-official-footer {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
body[data-theme="light"] .f-corp-text,
body[data-theme="light"] .f-nav-links a {
  color: #475569 !important;
}
body[data-theme="light"] .f-nav-col h4,
body[data-theme="light"] .f-nav-title {
  color: #0f172a !important;
}
body[data-theme="light"] .f-social-btn {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}
body[data-theme="light"] .mobile-bottom-nav {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
}
body[data-theme="light"] .mobile-nav-item {
  color: #64748b !important;
}
body[data-theme="light"] .mobile-nav-item.active {
  color: #1d72fe !important;
}


/* ==========================================================================
   2. ZÜMRÜT / EMERALD GREEN THEME (MESMERIZING EMERALD LUXURY)
   ========================================================================== */
body[data-theme="emerald"], html[data-theme="emerald"] {
  background-color: #02140d !important;
  color: #ecfdf5 !important;
}
body[data-theme="emerald"] .main-view-container,
body[data-theme="emerald"] .main-content,
body[data-theme="emerald"] main,
body[data-theme="emerald"] #mainView {
  background-color: #02140d !important;
}

body[data-theme="emerald"] .top-header,
body[data-theme="emerald"] header {
  background: #031c12 !important;
  border-bottom: 1px solid rgba(16, 185, 129, 0.25) !important;
  color: #ecfdf5 !important;
}

/* ==========================================================================
   LIGHT MODE: COMPREHENSIVE SUBPAGE CONTRAST & CARD FIXES
   ========================================================================== */

/* 1. NOTIFICATIONS DROPDOWN */
body[data-theme="light"] .notifications-dropdown {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15) !important;
  color: #0f172a !important;
}
body[data-theme="light"] .notifications-dropdown span,
body[data-theme="light"] .notifications-dropdown h4,
body[data-theme="light"] .notifications-dropdown div {
  color: #0f172a !important;
}
body[data-theme="light"] .notifications-dropdown p {
  color: #334155 !important;
}
body[data-theme="light"] .notifications-dropdown div[style*="border-bottom"],
body[data-theme="light"] .notifications-dropdown div[style*="border-top"] {
  border-color: #e2e8f0 !important;
}
body[data-theme="light"] .notif-item {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}
body[data-theme="light"] .notif-item.unread {
  background: #eff6ff !important;
  border: 1px solid #bfdbfe !important;
}
body[data-theme="light"] .notif-item span,
body[data-theme="light"] .notif-item span[style*="color:#fff"] {
  color: #0f172a !important;
}
body[data-theme="light"] .notif-item p {
  color: #334155 !important;
}
body[data-theme="light"] .notifications-dropdown button {
  color: #64748b !important;
}
body[data-theme="light"] .notifications-dropdown button:hover {
  color: #1d72fe !important;
}
body[data-theme="light"] .user-menu-dropdown {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15) !important;
}
body[data-theme="light"] .user-menu-dropdown div[style*="color:#fff"],
body[data-theme="light"] #headerUsername {
  color: #0f172a !important;
}
body[data-theme="light"] .user-menu-dropdown a {
  color: #1e293b !important;
}
body[data-theme="light"] .user-menu-dropdown a:hover {
  background: #f1f5f9 !important;
}

/* 2. SETTINGS / PROFILE PAGE */
body[data-theme="light"] #view-settings {
  color: #0f172a !important;
}
body[data-theme="light"] .settings-header-banner h2 {
  color: #0f172a !important;
}
body[data-theme="light"] .settings-header-banner span {
  color: #475569 !important;
}
body[data-theme="light"] .settings-header-banner strong,
body[data-theme="light"] .settings-header-banner strong[style*="color:#fff"] {
  color: #0f172a !important;
}
body[data-theme="light"] .settings-header-banner div[style*="border-bottom"] {
  border-color: #e2e8f0 !important;
}
body[data-theme="light"] .settings-card-panel {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04) !important;
  color: #0f172a !important;
}
body[data-theme="light"] .settings-card-panel h3 {
  color: #0f172a !important;
}
body[data-theme="light"] .settings-card-panel label {
  color: #475569 !important;
}
body[data-theme="light"] .settings-card-panel input,
body[data-theme="light"] #settingsUsername,
body[data-theme="light"] #settingsEmail {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}
body[data-theme="light"] .settings-card-panel input:focus {
  border-color: #1d72fe !important;
  background: #ffffff !important;
}
body[data-theme="light"] .settings-card-panel .toggle-row-item {
  border-bottom: 1px solid #f1f5f9 !important;
}
body[data-theme="light"] .settings-card-panel .toggle-row-item div {
  color: #0f172a !important;
}
body[data-theme="light"] .settings-card-panel .toggle-row-item div[style*="color:#fff"],
body[data-theme="light"] .settings-card-panel .toggle-row-item div[style*="color: #fff"] {
  color: #0f172a !important;
}
body[data-theme="light"] .settings-card-panel .toggle-row-item div[style*="color:var(--text-dim)"] {
  color: #64748b !important;
}
body[data-theme="light"] .settings-card-panel div[style*="background:#111824"] {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
}
body[data-theme="light"] .settings-card-panel div[style*="background:#111824"] span[style*="color:var(--text-muted)"] {
  color: #334155 !important;
}

/* 3. PROMOTIONS VIEW */
body[data-theme="light"] #view-promotions {
  color: #0f172a !important;
}
body[data-theme="light"] .promo-hero-banner {
  background: transparent !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: none !important;
}
body[data-theme="light"] .promo-hero-banner h1 {
  color: #0f172a !important;
}
body[data-theme="light"] .promo-hero-banner p {
  color: #475569 !important;
}
body[data-theme="light"] .promo-hero-banner .btab-btn {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
}
body[data-theme="light"] .promo-hero-banner .btab-btn:hover {
  background: #f1f5f9 !important;
}
body[data-theme="light"] .promo-tab-btn {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}
body[data-theme="light"] .promo-tab-btn:hover {
  background: #f8fafc !important;
  color: #0f172a !important;
}
body[data-theme="light"] .promo-tab-btn.active {
  background: #1d72fe !important;
  color: #ffffff !important;
  border-color: #1d72fe !important;
}
body[data-theme="light"] .lux-promo-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
}
body[data-theme="light"] .lux-promo-card h3 {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 1px 4px rgba(0, 0, 0, 0.8) !important;
}
body[data-theme="light"] .lux-promo-card p {
  color: #475569 !important;
}
body[data-theme="light"] .lux-promo-card div[style*="background:#0e1522"] {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}
body[data-theme="light"] .lux-promo-card div[style*="background:#0e1522"] div {
  color: #0f172a !important;
}
body[data-theme="light"] .lux-promo-card div[style*="background:#0e1522"] div[style*="color:#94a3b8"] {
  color: #64748b !important;
}
body[data-theme="light"] .lux-promo-card button[style*="background:#1b2537"] {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
}
body[data-theme="light"] .lux-promo-card button[style*="background:#1b2537"]:hover {
  background: #e2e8f0 !important;
}

/* 4. REWARDS / VIP PAGE */
body[data-theme="light"] #view-rewards {
  color: #0f172a !important;
}
body[data-theme="light"] .rewards-rank-section {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
}
body[data-theme="light"] .rank-box-heading {
  color: #0f172a !important;
}
body[data-theme="light"] .wager-stat-text {
  color: #0f172a !important;
}
body[data-theme="light"] .dark-view-all-ranks-btn {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
}
body[data-theme="light"] .dark-view-all-ranks-btn:hover {
  background: #e2e8f0 !important;
}
body[data-theme="light"] .rank-right-progression-box {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}
body[data-theme="light"] .tier-sep {
  color: #94a3b8 !important;
}
body[data-theme="light"] .tier-lock-ico {
  color: #94a3b8 !important;
}
body[data-theme="light"] .rewards-totals-container {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
}
body[data-theme="light"] .totals-header-bar {
  color: #0f172a !important;
  border-bottom: 1px solid #e2e8f0 !important;
  background: #f8fafc !important;
}
body[data-theme="light"] .totals-highlight-sum {
  color: #1d72fe !important;
}
body[data-theme="light"] .tot-cell {
  background: #ffffff !important;
}
body[data-theme="light"] .tot-cell.r-border {
  border-right: 1px solid #e2e8f0 !important;
}
body[data-theme="light"] .tot-cell.b-border {
  border-bottom: 1px solid #e2e8f0 !important;
}
body[data-theme="light"] .tot-lbl {
  color: #64748b !important;
}
body[data-theme="light"] .tot-val {
  color: #0f172a !important;
}
body[data-theme="light"] .totals-other-footer {
  border-top: 1px solid #e2e8f0 !important;
  background: #f8fafc !important;
}
body[data-theme="light"] .totals-other-footer .tot-lbl {
  color: #475569 !important;
}
body[data-theme="light"] .totals-other-footer span {
  color: #0f172a !important;
}

/* 5. TOURNAMENT LEADERBOARD & SPORTSBOOK CONTRAST */
body[data-theme="light"] .tournament-leaderboard-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
}
body[data-theme="light"] .tournament-leaderboard-card h4,
body[data-theme="light"] .tournament-leaderboard-card h4[style*="color:#fff"] {
  color: #0f172a !important;
}
body[data-theme="light"] .tournament-leaderboard-card div[style*="border-bottom"] {
  border-color: #e2e8f0 !important;
}
body[data-theme="light"] .tournament-leaderboard-card div[style*="border-top"] {
  border-color: #e2e8f0 !important;
}
body[data-theme="light"] .tournament-leaderboard-card div[style*="color:#94a3b8"] {
  color: #64748b !important;
}
body[data-theme="light"] .leaderboard-row.top-row {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}
body[data-theme="light"] .leaderboard-row.standard-row {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
}
body[data-theme="light"] .leaderboard-row .player-name {
  color: #0f172a !important;
}
body[data-theme="light"] .leaderboard-row .player-pts {
  color: #475569 !important;
}
body[data-theme="light"] .pitch-tracker-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04) !important;
}
body[data-theme="light"] .pitch-tracker-card .pitch-tracker-header div {
  color: #0f172a !important;
}
body[data-theme="light"] .pitch-stats-box {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  color: #0f172a !important;
}
body[data-theme="light"] .pitch-stats-box div {
  color: #475569 !important;
}
body[data-theme="light"] .pitch-stats-box b {
  color: #0f172a !important;
}
body[data-theme="light"] #sportsTournamentSection div[style*="color:#fff"] {
  color: #0f172a !important;
}

body[data-theme="emerald"] .app-sidebar,
body[data-theme="emerald"] aside.app-sidebar,
body[data-theme="emerald"] #appSidebar {
  background: #031c12 !important;
  border-right: 1px solid rgba(16, 185, 129, 0.25) !important;
  color: #ecfdf5 !important;
}

body[data-theme="emerald"] .sb-acc-card {
  background: #042417 !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
}
body[data-theme="emerald"] .sb-acc-head {
  background: #063120 !important;
  border-bottom: 1px solid rgba(16, 185, 129, 0.25) !important;
  color: #ecfdf5 !important;
}
body[data-theme="emerald"] .sb-acc-card .accordion-sub-links {
  background: #042417 !important;
}
body[data-theme="emerald"] .sb-acc-card .accordion-sub-links a {
  color: #a7f3d0 !important;
}

body[data-theme="emerald"] .game-card-rainbet,
body[data-theme="emerald"] .partner-promo-tile,
body[data-theme="emerald"] .lux-promo-card,
body[data-theme="emerald"] .settings-card,
body[data-theme="emerald"] .live-match-box,
body[data-theme="emerald"] .sports-match-card,
body[data-theme="emerald"] #sportsUpcomingGrid > div,
body[data-theme="emerald"] .pitch-stats-box,
body[data-theme="emerald"] .tot-card,
body[data-theme="emerald"] .rewards-streak-day,
body[data-theme="emerald"] .claim-tier-card,
body[data-theme="emerald"] .rewards-rank-section,
body[data-theme="emerald"] .vip-tier-card,
body[data-theme="emerald"] .blog-card-item,
body[data-theme="emerald"] .blog-featured-card,
body[data-theme="emerald"] #myBetsPanel,
body[data-theme="emerald"] .rb-sports-tournament-grid > div,
body[data-theme="emerald"] #sportsTournamentSection > div,
body[data-theme="emerald"] .trans-table-wrap,
body[data-theme="emerald"] .crypto-provider-card {
  background: #062b1b !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  color: #ecfdf5 !important;
}

body[data-theme="emerald"] .odd-btn,
body[data-theme="emerald"] button.odd-btn,
body[data-theme="emerald"] .odds-box {
  background: #083824 !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  color: #ecfdf5 !important;
}
body[data-theme="emerald"] .odd-btn span { color: #6ee7b7 !important; }
body[data-theme="emerald"] .odd-btn .odd-val,
body[data-theme="emerald"] .odd-btn b { color: #34d399 !important; }

/* WALLET IN EMERALD */
body[data-theme="emerald"] .lux-wallet-dialog {
  background: #041f14 !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
  color: #ecfdf5 !important;
}
body[data-theme="emerald"] .lux-wallet-header {
  background: #02140d !important;
  border-bottom: 1px solid rgba(16, 185, 129, 0.25) !important;
}
body[data-theme="emerald"] .lux-wallet-tabs {
  background: #010d08 !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
}
body[data-theme="emerald"] .lux-wtab-btn.active {
  background: #10b981 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.45) !important;
}
body[data-theme="emerald"] .lux-net-btn {
  background: #062b1b !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  color: #a7f3d0 !important;
}
body[data-theme="emerald"] .lux-net-btn.active {
  background: #10b981 !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
}
body[data-theme="emerald"] #luxCopyBtn {
  background: #10b981 !important;
  color: #ffffff !important;
}
body[data-theme="emerald"] #wContentDeposit [style*="background:#1c263b"],
body[data-theme="emerald"] #wContentDeposit [style*="background: #1c263b"] {
  background: #062b1b !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
}
body[data-theme="emerald"] #luxDepAddr {
  background: #02140d !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
  color: #ecfdf5 !important;
}
body[data-theme="emerald"] .betslip-blue-head {
  background: #10b981 !important;
  color: #ffffff !important;
}
body[data-theme="emerald"] .rainbet-official-footer,
body[data-theme="emerald"] .mobile-bottom-nav {
  background: #02140d !important;
  border-top: 1px solid rgba(16, 185, 129, 0.25) !important;
}


/* ==========================================================================
   3. SAFİR MOR / SAPPHIRE VIOLET THEME (ROYAL DEEP VIOLET)
   ========================================================================== */
body[data-theme="sapphire"], html[data-theme="sapphire"] {
  background-color: #0c0d1e !important;
  color: #faf5ff !important;
}
body[data-theme="sapphire"] .main-view-container,
body[data-theme="sapphire"] .main-content,
body[data-theme="sapphire"] main,
body[data-theme="sapphire"] #mainView {
  background-color: #0c0d1e !important;
}

body[data-theme="sapphire"] .top-header,
body[data-theme="sapphire"] header {
  background: #101127 !important;
  border-bottom: 1px solid rgba(139, 92, 246, 0.25) !important;
  color: #faf5ff !important;
}
body[data-theme="sapphire"] .app-sidebar,
body[data-theme="sapphire"] aside.app-sidebar,
body[data-theme="sapphire"] #appSidebar {
  background: #101127 !important;
  border-right: 1px solid rgba(139, 92, 246, 0.25) !important;
  color: #faf5ff !important;
}

body[data-theme="sapphire"] .sb-acc-card {
  background: #141533 !important;
  border: 1px solid rgba(139, 92, 246, 0.25) !important;
}
body[data-theme="sapphire"] .sb-acc-head {
  background: #1c1d42 !important;
  border-bottom: 1px solid rgba(139, 92, 246, 0.25) !important;
  color: #faf5ff !important;
}
body[data-theme="sapphire"] .sb-acc-card .accordion-sub-links {
  background: #141533 !important;
}
body[data-theme="sapphire"] .sb-acc-card .accordion-sub-links a {
  color: #c4b5fd !important;
}

body[data-theme="sapphire"] .game-card-rainbet,
body[data-theme="sapphire"] .partner-promo-tile,
body[data-theme="sapphire"] .lux-promo-card,
body[data-theme="sapphire"] .settings-card,
body[data-theme="sapphire"] .live-match-box,
body[data-theme="sapphire"] .sports-match-card,
body[data-theme="sapphire"] #sportsUpcomingGrid > div,
body[data-theme="sapphire"] .pitch-stats-box,
body[data-theme="sapphire"] .tot-card,
body[data-theme="sapphire"] .rewards-streak-day,
body[data-theme="sapphire"] .claim-tier-card,
body[data-theme="sapphire"] .rewards-rank-section,
body[data-theme="sapphire"] .vip-tier-card,
body[data-theme="sapphire"] .blog-card-item,
body[data-theme="sapphire"] .blog-featured-card,
body[data-theme="sapphire"] #myBetsPanel,
body[data-theme="sapphire"] .rb-sports-tournament-grid > div,
body[data-theme="sapphire"] #sportsTournamentSection > div,
body[data-theme="sapphire"] .trans-table-wrap,
body[data-theme="sapphire"] .crypto-provider-card {
  background: #181938 !important;
  border: 1px solid rgba(139, 92, 246, 0.25) !important;
  color: #faf5ff !important;
}

body[data-theme="sapphire"] .odd-btn,
body[data-theme="sapphire"] button.odd-btn,
body[data-theme="sapphire"] .odds-box {
  background: #20224a !important;
  border: 1px solid rgba(139, 92, 246, 0.35) !important;
  color: #faf5ff !important;
}
body[data-theme="sapphire"] .odd-btn span { color: #a78bfa !important; }
body[data-theme="sapphire"] .odd-btn .odd-val,
body[data-theme="sapphire"] .odd-btn b { color: #c084fc !important; }

/* WALLET IN SAPPHIRE */
body[data-theme="sapphire"] .lux-wallet-dialog {
  background: #12132b !important;
  border: 1px solid rgba(139, 92, 246, 0.35) !important;
  color: #faf5ff !important;
}
body[data-theme="sapphire"] .lux-wallet-header {
  background: #0c0d1e !important;
  border-bottom: 1px solid rgba(139, 92, 246, 0.25) !important;
}
body[data-theme="sapphire"] .lux-wallet-tabs {
  background: #080814 !important;
  border: 1px solid rgba(139, 92, 246, 0.25) !important;
}
body[data-theme="sapphire"] .lux-wtab-btn.active {
  background: #8b5cf6 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(139, 92, 246, 0.45) !important;
}
body[data-theme="sapphire"] .lux-net-btn {
  background: #181938 !important;
  border: 1px solid rgba(139, 92, 246, 0.25) !important;
  color: #c4b5fd !important;
}
body[data-theme="sapphire"] .lux-net-btn.active {
  background: #8b5cf6 !important;
  border-color: #8b5cf6 !important;
  color: #ffffff !important;
}
body[data-theme="sapphire"] #luxCopyBtn {
  background: #8b5cf6 !important;
  color: #ffffff !important;
}
body[data-theme="sapphire"] #wContentDeposit [style*="background:#1c263b"],
body[data-theme="sapphire"] #wContentDeposit [style*="background: #1c263b"] {
  background: #181938 !important;
  border: 1px solid rgba(139, 92, 246, 0.25) !important;
}
body[data-theme="sapphire"] #luxDepAddr {
  background: #0c0d1e !important;
  border: 1px solid rgba(139, 92, 246, 0.25) !important;
  color: #faf5ff !important;
}
body[data-theme="sapphire"] .betslip-blue-head {
  background: #8b5cf6 !important;
  color: #ffffff !important;
}
body[data-theme="sapphire"] .rainbet-official-footer,
body[data-theme="sapphire"] .mobile-bottom-nav {
  background: #0c0d1e !important;
  border-top: 1px solid rgba(139, 92, 246, 0.25) !important;
}


/* ==========================================================================
   4. MONACO ALTIN / GOLD LUXURY THEME (CASINO ROYALE GOLD)
   ========================================================================== */
body[data-theme="gold"], html[data-theme="gold"] {
  background-color: #141008 !important;
  color: #fefce8 !important;
}
body[data-theme="gold"] .main-view-container,
body[data-theme="gold"] .main-content,
body[data-theme="gold"] main,
body[data-theme="gold"] #mainView {
  background-color: #141008 !important;
}

body[data-theme="gold"] .top-header,
body[data-theme="gold"] header {
  background: #1b150a !important;
  border-bottom: 1px solid rgba(245, 158, 11, 0.25) !important;
  color: #fefce8 !important;
}
body[data-theme="gold"] .app-sidebar,
body[data-theme="gold"] aside.app-sidebar,
body[data-theme="gold"] #appSidebar {
  background: #1b150a !important;
  border-right: 1px solid rgba(245, 158, 11, 0.25) !important;
  color: #fefce8 !important;
}

body[data-theme="gold"] .sb-acc-card {
  background: #241d0e !important;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
}
body[data-theme="gold"] .sb-acc-head {
  background: #2e2412 !important;
  border-bottom: 1px solid rgba(245, 158, 11, 0.25) !important;
  color: #fefce8 !important;
}
body[data-theme="gold"] .sb-acc-card .accordion-sub-links {
  background: #241d0e !important;
}
body[data-theme="gold"] .sb-acc-card .accordion-sub-links a {
  color: #fde68a !important;
}

body[data-theme="gold"] .game-card-rainbet,
body[data-theme="gold"] .partner-promo-tile,
body[data-theme="gold"] .lux-promo-card,
body[data-theme="gold"] .settings-card,
body[data-theme="gold"] .live-match-box,
body[data-theme="gold"] .sports-match-card,
body[data-theme="gold"] #sportsUpcomingGrid > div,
body[data-theme="gold"] .pitch-stats-box,
body[data-theme="gold"] .tot-card,
body[data-theme="gold"] .rewards-streak-day,
body[data-theme="gold"] .claim-tier-card,
body[data-theme="gold"] .rewards-rank-section,
body[data-theme="gold"] .vip-tier-card,
body[data-theme="gold"] .blog-card-item,
body[data-theme="gold"] .blog-featured-card,
body[data-theme="gold"] #myBetsPanel,
body[data-theme="gold"] .rb-sports-tournament-grid > div,
body[data-theme="gold"] #sportsTournamentSection > div,
body[data-theme="gold"] .trans-table-wrap,
body[data-theme="gold"] .crypto-provider-card {
  background: #241d0e !important;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
  color: #fefce8 !important;
}

body[data-theme="gold"] .odd-btn,
body[data-theme="gold"] button.odd-btn,
body[data-theme="gold"] .odds-box {
  background: #2e2412 !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  color: #fefce8 !important;
}
body[data-theme="gold"] .odd-btn span { color: #fcd34d !important; }
body[data-theme="gold"] .odd-btn .odd-val,
body[data-theme="gold"] .odd-btn b { color: #fbbf24 !important; }

/* WALLET IN GOLD */
body[data-theme="gold"] .lux-wallet-dialog {
  background: #1a1408 !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  color: #fefce8 !important;
}
body[data-theme="gold"] .lux-wallet-header {
  background: #120e05 !important;
  border-bottom: 1px solid rgba(245, 158, 11, 0.25) !important;
}
body[data-theme="gold"] .lux-wallet-tabs {
  background: #0b0803 !important;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
}
body[data-theme="gold"] .lux-wtab-btn.active {
  background: #f59e0b !important;
  color: #000000 !important;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.45) !important;
}
body[data-theme="gold"] .lux-net-btn {
  background: #241d0e !important;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
  color: #fde68a !important;
}
body[data-theme="gold"] .lux-net-btn.active {
  background: #f59e0b !important;
  border-color: #f59e0b !important;
  color: #000000 !important;
}
body[data-theme="gold"] #luxCopyBtn {
  background: #f59e0b !important;
  color: #000000 !important;
}
body[data-theme="gold"] #wContentDeposit [style*="background:#1c263b"],
body[data-theme="gold"] #wContentDeposit [style*="background: #1c263b"] {
  background: #241d0e !important;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
}
body[data-theme="gold"] #luxDepAddr {
  background: #141008 !important;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
  color: #fefce8 !important;
}
body[data-theme="gold"] .betslip-blue-head {
  background: #f59e0b !important;
  color: #000000 !important;
}
body[data-theme="gold"] .rainbet-official-footer,
body[data-theme="gold"] .mobile-bottom-nav {
  background: #141008 !important;
  border-top: 1px solid rgba(245, 158, 11, 0.25) !important;
}


/* ==========================================================================
   5. YAKUT KIRMIZI / RUBY CRIMSON THEME (DEEP CRIMSON LUXURY)
   Supports BOTH data-theme="ruby" and data-theme="crimson"
   ========================================================================== */
body[data-theme="ruby"], html[data-theme="ruby"],
body[data-theme="crimson"], html[data-theme="crimson"] {
  background-color: #1a080b !important;
  color: #fff1f2 !important;
}
body[data-theme="ruby"] .main-view-container, body[data-theme="crimson"] .main-view-container,
body[data-theme="ruby"] .main-content, body[data-theme="crimson"] .main-content,
body[data-theme="ruby"] main, body[data-theme="crimson"] main,
body[data-theme="ruby"] #mainView, body[data-theme="crimson"] #mainView {
  background-color: #1a080b !important;
}

body[data-theme="ruby"] .top-header, body[data-theme="crimson"] .top-header,
body[data-theme="ruby"] header, body[data-theme="crimson"] header {
  background: #240b0f !important;
  border-bottom: 1px solid rgba(239, 68, 68, 0.25) !important;
  color: #fff1f2 !important;
}
body[data-theme="ruby"] .app-sidebar, body[data-theme="crimson"] .app-sidebar,
body[data-theme="ruby"] aside.app-sidebar, body[data-theme="crimson"] aside.app-sidebar,
body[data-theme="ruby"] #appSidebar, body[data-theme="crimson"] #appSidebar {
  background: #240b0f !important;
  border-right: 1px solid rgba(239, 68, 68, 0.25) !important;
  color: #fff1f2 !important;
}

body[data-theme="ruby"] .sb-acc-card, body[data-theme="crimson"] .sb-acc-card {
  background: #2e0d14 !important;
  border: 1px solid rgba(239, 68, 68, 0.25) !important;
}
body[data-theme="ruby"] .sb-acc-head, body[data-theme="crimson"] .sb-acc-head {
  background: #3b111a !important;
  border-bottom: 1px solid rgba(239, 68, 68, 0.25) !important;
  color: #fff1f2 !important;
}
body[data-theme="ruby"] .sb-acc-card .accordion-sub-links, body[data-theme="crimson"] .sb-acc-card .accordion-sub-links {
  background: #2e0d14 !important;
}
body[data-theme="ruby"] .sb-acc-card .accordion-sub-links a, body[data-theme="crimson"] .sb-acc-card .accordion-sub-links a {
  color: #fca5a5 !important;
}

body[data-theme="ruby"] .game-card-rainbet, body[data-theme="crimson"] .game-card-rainbet,
body[data-theme="ruby"] .partner-promo-tile, body[data-theme="crimson"] .partner-promo-tile,
body[data-theme="ruby"] .lux-promo-card, body[data-theme="crimson"] .lux-promo-card,
body[data-theme="ruby"] .settings-card, body[data-theme="crimson"] .settings-card,
body[data-theme="ruby"] .live-match-box, body[data-theme="crimson"] .live-match-box,
body[data-theme="ruby"] .sports-match-card, body[data-theme="crimson"] .sports-match-card,
body[data-theme="ruby"] #sportsUpcomingGrid > div, body[data-theme="crimson"] #sportsUpcomingGrid > div,
body[data-theme="ruby"] .pitch-stats-box, body[data-theme="crimson"] .pitch-stats-box,
body[data-theme="ruby"] .tot-card, body[data-theme="crimson"] .tot-card,
body[data-theme="ruby"] .rewards-streak-day, body[data-theme="crimson"] .rewards-streak-day,
body[data-theme="ruby"] .claim-tier-card, body[data-theme="crimson"] .claim-tier-card,
body[data-theme="ruby"] .rewards-rank-section, body[data-theme="crimson"] .rewards-rank-section,
body[data-theme="ruby"] .vip-tier-card, body[data-theme="crimson"] .vip-tier-card,
body[data-theme="ruby"] .blog-card-item, body[data-theme="crimson"] .blog-card-item,
body[data-theme="ruby"] .blog-featured-card, body[data-theme="crimson"] .blog-featured-card,
body[data-theme="ruby"] #myBetsPanel, body[data-theme="crimson"] #myBetsPanel,
body[data-theme="ruby"] .rb-sports-tournament-grid > div, body[data-theme="crimson"] .rb-sports-tournament-grid > div,
body[data-theme="ruby"] #sportsTournamentSection > div, body[data-theme="crimson"] #sportsTournamentSection > div,
body[data-theme="ruby"] .trans-table-wrap, body[data-theme="crimson"] .trans-table-wrap,
body[data-theme="ruby"] .crypto-provider-card, body[data-theme="crimson"] .crypto-provider-card {
  background: #2e0d14 !important;
  border: 1px solid rgba(239, 68, 68, 0.25) !important;
  color: #fff1f2 !important;
}

body[data-theme="ruby"] .odd-btn, body[data-theme="crimson"] .odd-btn,
body[data-theme="ruby"] button.odd-btn, body[data-theme="crimson"] button.odd-btn,
body[data-theme="ruby"] .odds-box, body[data-theme="crimson"] .odds-box {
  background: #3b111a !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  color: #fff1f2 !important;
}
body[data-theme="ruby"] .odd-btn span, body[data-theme="crimson"] .odd-btn span { color: #f87171 !important; }
body[data-theme="ruby"] .odd-btn .odd-val, body[data-theme="crimson"] .odd-btn .odd-val,
body[data-theme="ruby"] .odd-btn b, body[data-theme="crimson"] .odd-btn b { color: #fca5a5 !important; }

/* WALLET IN RUBY / CRIMSON */
body[data-theme="ruby"] .lux-wallet-dialog, body[data-theme="crimson"] .lux-wallet-dialog {
  background: #21070b !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  color: #fff1f2 !important;
}
body[data-theme="ruby"] .lux-wallet-header, body[data-theme="crimson"] .lux-wallet-header {
  background: #160407 !important;
  border-bottom: 1px solid rgba(239, 68, 68, 0.25) !important;
}
body[data-theme="ruby"] .lux-wallet-tabs, body[data-theme="crimson"] .lux-wallet-tabs {
  background: #0e0204 !important;
  border: 1px solid rgba(239, 68, 68, 0.25) !important;
}
body[data-theme="ruby"] .lux-wtab-btn.active, body[data-theme="crimson"] .lux-wtab-btn.active {
  background: #ef4444 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(239, 68, 68, 0.45) !important;
}
body[data-theme="ruby"] .lux-net-btn, body[data-theme="crimson"] .lux-net-btn {
  background: #2e0d14 !important;
  border: 1px solid rgba(239, 68, 68, 0.25) !important;
  color: #fca5a5 !important;
}
body[data-theme="ruby"] .lux-net-btn.active, body[data-theme="crimson"] .lux-net-btn.active {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
}
body[data-theme="ruby"] #luxCopyBtn, body[data-theme="crimson"] #luxCopyBtn {
  background: #ef4444 !important;
  color: #ffffff !important;
}
body[data-theme="ruby"] #wContentDeposit [style*="background:#1c263b"],
body[data-theme="crimson"] #wContentDeposit [style*="background:#1c263b"] {
  background: #2e0d14 !important;
  border: 1px solid rgba(239, 68, 68, 0.25) !important;
}
body[data-theme="ruby"] #luxDepAddr, body[data-theme="crimson"] #luxDepAddr {
  background: #1a080b !important;
  border: 1px solid rgba(239, 68, 68, 0.25) !important;
  color: #fff1f2 !important;
}
body[data-theme="ruby"] .betslip-blue-head, body[data-theme="crimson"] .betslip-blue-head {
  background: #ef4444 !important;
  color: #ffffff !important;
}
body[data-theme="ruby"] .rainbet-official-footer, body[data-theme="crimson"] .rainbet-official-footer,
body[data-theme="ruby"] .mobile-bottom-nav, body[data-theme="crimson"] .mobile-bottom-nav {
  background: #1a080b !important;
  border-top: 1px solid rgba(239, 68, 68, 0.25) !important;
}


/* ==========================================================================
   6. OLED GECE / MIDNIGHT THEME (TRUE PITCH BLACK OLED)
   Supports BOTH data-theme="oled" and data-theme="midnight"
   ========================================================================== */
body[data-theme="oled"], html[data-theme="oled"],
body[data-theme="midnight"], html[data-theme="midnight"] {
  background-color: #000000 !important;
  color: #ffffff !important;
}
body[data-theme="oled"] .main-view-container, body[data-theme="midnight"] .main-view-container,
body[data-theme="oled"] .main-content, body[data-theme="midnight"] .main-content,
body[data-theme="oled"] main, body[data-theme="midnight"] main,
body[data-theme="oled"] #mainView, body[data-theme="midnight"] #mainView {
  background-color: #000000 !important;
}

body[data-theme="oled"] .top-header, body[data-theme="midnight"] .top-header,
body[data-theme="oled"] header, body[data-theme="midnight"] header {
  background: #050505 !important;
  border-bottom: 1px solid #1f1f1f !important;
  color: #ffffff !important;
}
body[data-theme="oled"] .app-sidebar, body[data-theme="midnight"] .app-sidebar,
body[data-theme="oled"] aside.app-sidebar, body[data-theme="midnight"] aside.app-sidebar,
body[data-theme="oled"] #appSidebar, body[data-theme="midnight"] #appSidebar {
  background: #050505 !important;
  border-right: 1px solid #1f1f1f !important;
  color: #ffffff !important;
}

body[data-theme="oled"] .sb-acc-card, body[data-theme="midnight"] .sb-acc-card {
  background: #0c0c0c !important;
  border: 1px solid #1f1f1f !important;
}
body[data-theme="oled"] .sb-acc-head, body[data-theme="midnight"] .sb-acc-head {
  background: #141414 !important;
  border-bottom: 1px solid #1f1f1f !important;
  color: #ffffff !important;
}
body[data-theme="oled"] .sb-acc-card .accordion-sub-links, body[data-theme="midnight"] .sb-acc-card .accordion-sub-links {
  background: #0c0c0c !important;
}
body[data-theme="oled"] .sb-acc-card .accordion-sub-links a, body[data-theme="midnight"] .sb-acc-card .accordion-sub-links a {
  color: #a1a1aa !important;
}

body[data-theme="oled"] .game-card-rainbet, body[data-theme="midnight"] .game-card-rainbet,
body[data-theme="oled"] .partner-promo-tile, body[data-theme="midnight"] .partner-promo-tile,
body[data-theme="oled"] .lux-promo-card, body[data-theme="midnight"] .lux-promo-card,
body[data-theme="oled"] .settings-card, body[data-theme="midnight"] .settings-card,
body[data-theme="oled"] .live-match-box, body[data-theme="midnight"] .live-match-box,
body[data-theme="oled"] .sports-match-card, body[data-theme="midnight"] .sports-match-card,
body[data-theme="oled"] #sportsUpcomingGrid > div, body[data-theme="midnight"] #sportsUpcomingGrid > div,
body[data-theme="oled"] .pitch-stats-box, body[data-theme="midnight"] .pitch-stats-box,
body[data-theme="oled"] .tot-card, body[data-theme="midnight"] .tot-card,
body[data-theme="oled"] .rewards-streak-day, body[data-theme="midnight"] .rewards-streak-day,
body[data-theme="oled"] .claim-tier-card, body[data-theme="midnight"] .claim-tier-card,
body[data-theme="oled"] .rewards-rank-section, body[data-theme="midnight"] .rewards-rank-section,
body[data-theme="oled"] .vip-tier-card, body[data-theme="midnight"] .vip-tier-card,
body[data-theme="oled"] .blog-card-item, body[data-theme="midnight"] .blog-card-item,
body[data-theme="oled"] .blog-featured-card, body[data-theme="midnight"] .blog-featured-card,
body[data-theme="oled"] #myBetsPanel, body[data-theme="midnight"] #myBetsPanel,
body[data-theme="oled"] .rb-sports-tournament-grid > div, body[data-theme="midnight"] .rb-sports-tournament-grid > div,
body[data-theme="oled"] #sportsTournamentSection > div, body[data-theme="midnight"] #sportsTournamentSection > div,
body[data-theme="oled"] .trans-table-wrap, body[data-theme="midnight"] .trans-table-wrap,
body[data-theme="oled"] .crypto-provider-card, body[data-theme="midnight"] .crypto-provider-card {
  background: #0d0d0d !important;
  border: 1px solid #222222 !important;
  color: #ffffff !important;
}

body[data-theme="oled"] .odd-btn, body[data-theme="midnight"] .odd-btn,
body[data-theme="oled"] button.odd-btn, body[data-theme="midnight"] button.odd-btn,
body[data-theme="oled"] .odds-box, body[data-theme="midnight"] .odds-box {
  background: #161616 !important;
  border: 1px solid #2a2a2a !important;
  color: #ffffff !important;
}
body[data-theme="oled"] .odd-btn span, body[data-theme="midnight"] .odd-btn span { color: #a1a1aa !important; }
body[data-theme="oled"] .odd-btn .odd-val, body[data-theme="midnight"] .odd-btn .odd-val,
body[data-theme="oled"] .odd-btn b, body[data-theme="midnight"] .odd-btn b { color: #38bdf8 !important; }

/* WALLET IN OLED / MIDNIGHT */
body[data-theme="oled"] .lux-wallet-dialog, body[data-theme="midnight"] .lux-wallet-dialog {
  background: #060606 !important;
  border: 1px solid #222222 !important;
  color: #ffffff !important;
}
body[data-theme="oled"] .lux-wallet-header, body[data-theme="midnight"] .lux-wallet-header {
  background: #000000 !important;
  border-bottom: 1px solid #1f1f1f !important;
}
body[data-theme="oled"] .lux-wallet-tabs, body[data-theme="midnight"] .lux-wallet-tabs {
  background: #000000 !important;
  border: 1px solid #27272a !important;
}
body[data-theme="oled"] .lux-wtab-btn.active, body[data-theme="midnight"] .lux-wtab-btn.active {
  background: #ffffff !important;
  color: #000000 !important;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.25) !important;
}
body[data-theme="oled"] .lux-net-btn, body[data-theme="midnight"] .lux-net-btn {
  background: #141414 !important;
  border: 1px solid #2a2a2a !important;
  color: #a1a1aa !important;
}
body[data-theme="oled"] .lux-net-btn.active, body[data-theme="midnight"] .lux-net-btn.active {
  background: #ffffff !important;
  border-color: #ffffff !important;
  color: #000000 !important;
}
body[data-theme="oled"] #luxCopyBtn, body[data-theme="midnight"] #luxCopyBtn {
  background: #38bdf8 !important;
  color: #000000 !important;
}
body[data-theme="oled"] #wContentDeposit [style*="background:#1c263b"],
body[data-theme="midnight"] #wContentDeposit [style*="background:#1c263b"] {
  background: #0e0e0e !important;
  border: 1px solid #222222 !important;
}
body[data-theme="oled"] #luxDepAddr, body[data-theme="midnight"] #luxDepAddr {
  background: #000000 !important;
  border: 1px solid #222222 !important;
  color: #ffffff !important;
}
body[data-theme="oled"] .betslip-blue-head, body[data-theme="midnight"] .betslip-blue-head {
  background: #27272a !important;
  color: #ffffff !important;
}
body[data-theme="oled"] .rainbet-official-footer, body[data-theme="midnight"] .rainbet-official-footer,
body[data-theme="oled"] .mobile-bottom-nav, body[data-theme="midnight"] .mobile-bottom-nav {
  background: #050505 !important;
  border-top: 1px solid #1f1f1f !important;
}


/* ==========================================================================
   UNIVERSAL INLINE BACKGROUND SWEEPER (Ensures ZERO navy left behind in any theme)
   ========================================================================== */
/* Universal Background & Card Sweeper for all themes */
body:not([data-theme="dark"]) [style*="background: #182232"],
body:not([data-theme="dark"]) [style*="background:#182232"],
body:not([data-theme="dark"]) [style*="background: #141d2e"],
body:not([data-theme="dark"]) [style*="background:#141d2e"],
body:not([data-theme="dark"]) [style*="background: #151e2e"],
body:not([data-theme="dark"]) [style*="background:#151e2e"],
body:not([data-theme="dark"]) [style*="background: #131c2c"],
body:not([data-theme="dark"]) [style*="background:#131c2c"],
body:not([data-theme="dark"]) [style*="background: #0e1522"],
body:not([data-theme="dark"]) [style*="background:#0e1522"],
body:not([data-theme="dark"]) [style*="background: #0b111a"],
body:not([data-theme="dark"]) [style*="background:#0b111a"],
body:not([data-theme="dark"]) [style*="background: #111824"],
body:not([data-theme="dark"]) [style*="background:#111824"],
body:not([data-theme="dark"]) [style*="background: #121824"],
body:not([data-theme="dark"]) [style*="background:#121824"],
body:not([data-theme="dark"]) [style*="background: #222c42"],
body:not([data-theme="dark"]) [style*="background:#222c42"],
body:not([data-theme="dark"]) [style*="background: #1b2537"],
body:not([data-theme="dark"]) [style*="background:#1b2537"],
body:not([data-theme="dark"]) [style*="background: #1b2538"],
body:not([data-theme="dark"]) [style*="background:#1b2538"],
body:not([data-theme="dark"]) [style*="background: #1a2336"],
body:not([data-theme="dark"]) [style*="background:#1a2336"],
body:not([data-theme="dark"]) [style*="background: #1a2438"],
body:not([data-theme="dark"]) [style*="background:#1a2438"],
body:not([data-theme="dark"]) [style*="background: #0f1623"],
body:not([data-theme="dark"]) [style*="background:#0f1623"],
body:not([data-theme="dark"]) [style*="background: #0f1624"],
body:not([data-theme="dark"]) [style*="background:#0f1624"],
body:not([data-theme="dark"]) [style*="background: #141c28"],
body:not([data-theme="dark"]) [style*="background:#141c28"],
body:not([data-theme="dark"]) [style*="background: #141c2a"],
body:not([data-theme="dark"]) [style*="background:#141c2a"],
body:not([data-theme="dark"]) [style*="background: #1c263b"],
body:not([data-theme="dark"]) [style*="background:#1c263b"],
body:not([data-theme="dark"]) [style*="background: #182335"],
body:not([data-theme="dark"]) [style*="background:#182335"],
body:not([data-theme="dark"]) [style*="background: #101826"],
body:not([data-theme="dark"]) [style*="background:#101826"],
body:not([data-theme="dark"]) [style*="background: #09121d"],
body:not([data-theme="dark"]) [style*="background:#09121d"],
body:not([data-theme="dark"]) .streak-tile,
body:not([data-theme="dark"]) .claim-tier-card,
body:not([data-theme="dark"]) .rewards-rank-section,
body:not([data-theme="dark"]) .rewards-totals-container,
body:not([data-theme="dark"]) .totals-header-bar,
body:not([data-theme="dark"]) .provider-logo-box,
body:not([data-theme="dark"]) .game-card-rainbet,
body:not([data-theme="dark"]) .partner-promo-tile,
body:not([data-theme="dark"]) .lux-promo-card,
body:not([data-theme="dark"]) .settings-card,
body:not([data-theme="dark"]) .live-match-box,
body:not([data-theme="dark"]) .sports-match-card,
body:not([data-theme="dark"]) #sportsUpcomingGrid > div,
body:not([data-theme="dark"]) .pitch-stats-box,
body:not([data-theme="dark"]) .tot-card,
body:not([data-theme="dark"]) .vip-tier-card,
body:not([data-theme="dark"]) .blog-card-item,
body:not([data-theme="dark"]) .blog-featured-card,
body:not([data-theme="dark"]) #myBetsPanel,
body:not([data-theme="dark"]) .rb-sports-tournament-grid > div,
body:not([data-theme="dark"]) #sportsTournamentSection > div,
body:not([data-theme="dark"]) .trans-table-wrap,
body:not([data-theme="dark"]) .crypto-provider-card,
body:not([data-theme="dark"]) .lux-bank-card,
body:not([data-theme="dark"]) .theme-options-list,
body:not([data-theme="dark"]) .theme-mode-btn:not(.active),
body:not([data-theme="dark"]) #appFontSelect,
body:not([data-theme="dark"]) .gd-info-left > div,
body:not([data-theme="dark"]) .aviator-dash-controls {
  background: var(--bg-card) !important;
  border-color: var(--border-subtle) !important;
  color: var(--text-main) !important;
}

/* Modals & Drawers in Non-Dark Themes (Emerald, Sapphire, Gold, Ruby/Crimson, OLED/Midnight, Light) */
body:not([data-theme="dark"]) .rainbet-auth-dialog,
body:not([data-theme="dark"]) .auth-form-col,
body:not([data-theme="dark"]) .policy-modal-box,
body:not([data-theme="dark"]) #policyModal > div,
body:not([data-theme="dark"]) .game-modal-box,
body:not([data-theme="dark"]) #gameModal > div,
body:not([data-theme="dark"]) .match-detail-box,
body:not([data-theme="dark"]) #matchDetailModal > div,
body:not([data-theme="dark"]) #blogReaderModal > div,
body:not([data-theme="dark"]) #promoDetailModal > div {
  background: var(--bg-card) !important;
  border-color: var(--border-subtle) !important;
  color: var(--text-main) !important;
}

body:not([data-theme="dark"]) .policy-modal-head,
body:not([data-theme="dark"]) #policyModal > div > div:first-child,
body:not([data-theme="dark"]) .game-modal-head,
body:not([data-theme="dark"]) #gameModal > div > div:first-child,
body:not([data-theme="dark"]) .match-detail-head,
body:not([data-theme="dark"]) #matchDetailModal > div > div:first-child {
  background: var(--bg-card-hover) !important;
  border-bottom: 1px solid var(--border-subtle) !important;
  color: var(--text-main) !important;
}

body:not([data-theme="dark"]) .auth-form-col input {
  background: var(--bg-darkest) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-main) !important;
}

body:not([data-theme="dark"]) .auth-cloudflare-box {
  background: var(--bg-card-hover) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-muted) !important;
}

body:not([data-theme="dark"]) .auth-close-btn {
  background: var(--bg-card-hover) !important;
  color: var(--text-dim) !important;
}

body:not([data-theme="dark"]) .auth-social-list {
  background: var(--bg-darker) !important;
  border: 1px solid var(--border-subtle) !important;
}

body:not([data-theme="dark"]) .auth-social-list .btab-btn {
  background: var(--bg-card-hover) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-main) !important;
}

body:not([data-theme="dark"]) .auth-other-btn {
  background: var(--bg-card-hover) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-muted) !important;
}

body:not([data-theme="dark"]) .match-tip-box,
body:not([data-theme="dark"]) #matchDetailModal [style*="background:#182232"],
body:not([data-theme="dark"]) #matchDetailModal [style*="background: #182232"] {
  background: var(--bg-card-hover) !important;
  border: 1px solid var(--border-subtle) !important;
}

body:not([data-theme="dark"]) .rainbet-chat-drawer {
  background: var(--bg-darker) !important;
  border-left: 1px solid var(--border-subtle) !important;
  color: var(--text-main) !important;
}

body:not([data-theme="dark"]) .chat-header {
  background: var(--bg-card) !important;
  border-bottom: 1px solid var(--border-subtle) !important;
  color: var(--text-main) !important;
}

body:not([data-theme="dark"]) .chat-header span[style*="color:#fff"],
body:not([data-theme="dark"]) .chat-header span[style*="color: #fff"] {
  color: var(--text-main) !important;
}

body:not([data-theme="dark"]) .chat-messages-scroll {
  background: var(--bg-darkest) !important;
}

body:not([data-theme="dark"]) .chat-input-bar {
  background: var(--bg-card) !important;
  border-top: 1px solid var(--border-subtle) !important;
}

body:not([data-theme="dark"]) .chat-input-box {
  background: var(--bg-darkest) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-main) !important;
}

body:not([data-theme="dark"]) .betslip-expanded-drawer {
  background: var(--bg-card) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-main) !important;
}

body:not([data-theme="dark"]) .bslip-match-card {
  background: var(--bg-card-hover) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-main) !important;
}

body:not([data-theme="dark"]) .bslip-match-card div[style*="color:#fff"],
body:not([data-theme="dark"]) .bslip-match-card div[style*="color: #fff"] {
  color: var(--text-main) !important;
}

body:not([data-theme="dark"]) .bslip-comboboost-card {
  background: var(--bg-card-light) !important;
  border: 1px solid var(--border-subtle) !important;
}

body:not([data-theme="dark"]) .bslip-stake-box {
  background: var(--bg-darkest) !important;
  border: 1px solid var(--border-subtle) !important;
}

body:not([data-theme="dark"]) #bslipStakeInput,
body:not([data-theme="dark"]) .bslip-stake-box span {
  color: var(--text-main) !important;
}

body:not([data-theme="dark"]) #bslipTotalOddsVal,
body:not([data-theme="dark"]) #bslipTotalBetVal {
  color: var(--text-main) !important;
}

body:not([data-theme="dark"]) .betslip-expanded-drawer > div:last-child {
  background: var(--bg-card-hover) !important;
  border-top: 1px solid var(--border-subtle) !important;
}

/* Alternative-theme leftovers: header / sidebar / footer / wallet / catalog */
body:not([data-theme="dark"]) .top-header,
body:not([data-theme="dark"]) header.top-header {
  background: var(--header-bg) !important;
  border-bottom-color: var(--border-subtle) !important;
  color: var(--text-main) !important;
}
body:not([data-theme="dark"]) .app-sidebar,
body:not([data-theme="dark"]) aside.app-sidebar {
  background: var(--sidebar-bg) !important;
  border-right-color: var(--border-subtle) !important;
  color: var(--text-main) !important;
}
body:not([data-theme="dark"]) .theme-selector-head {
  background: var(--bg-card) !important;
  border-color: var(--border-subtle) !important;
  color: var(--text-main) !important;
}
body:not([data-theme="dark"]) .lobby-switch-pill,
body:not([data-theme="dark"]) .h-square-btn,
body:not([data-theme="dark"]) .h-auth-login-btn,
body:not([data-theme="dark"]) .balance-dropdown-btn,
body:not([data-theme="dark"]) .header-profile-btn,
body:not([data-theme="dark"]) .header-rewards-btn,
body:not([data-theme="dark"]) .search-input,
body:not([data-theme="dark"]) .provider-logo-box,
body:not([data-theme="dark"]) .game-card-rainbet,
body:not([data-theme="dark"]) .live-win-tile,
body:not([data-theme="dark"]) .lux-wallet-dialog,
body:not([data-theme="dark"]) footer,
body:not([data-theme="dark"]) .mobile-bottom-nav {
  background: var(--bg-card) !important;
  border-color: var(--border-subtle) !important;
  color: var(--text-main) !important;
}
body:not([data-theme="dark"]) .lswitch-btn:not(.active),
body:not([data-theme="dark"]) .sb-nav-item,
body:not([data-theme="dark"]) .btab-btn:not(.active) {
  color: var(--text-muted) !important;
}
body:not([data-theme="dark"]) .main-view-container {
  background: var(--bg-darkest) !important;
  color: var(--text-main) !important;
}
body:not([data-theme="dark"]) .hero-main-heading,
body:not([data-theme="dark"]) h1, body:not([data-theme="dark"]) h2, body:not([data-theme="dark"]) h3 {
  color: var(--text-main) !important;
}

/* Lime accent on primary CTAs when theme default is lime (gamdom) */
body[data-accent="lime"] .h-auth-register-btn,
body[data-accent="lime"] .hero-register-btn,
body[data-accent="lime"] .auth-submit-btn,
body[data-accent="lime"] .rainbet-wallet-btn,
body[data-theme="gamdom"] .lswitch-btn.active {
  background: var(--accent-blue) !important;
  background-color: var(--accent-blue) !important;
  color: #0b1204 !important;
  box-shadow: 0 4px 14px var(--accent-glow) !important;
}

body[data-theme="gamdom"] .hero-banner-left:not(.hero-home-slider-col) {
  background:
    radial-gradient(circle at 12% 20%, rgba(182,255,46,0.18) 0%, transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(88,101,242,0.16) 0%, transparent 50%),
    var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 22px;
}
body[data-theme="gamdom"] .hero-home-slider {
  border: none !important;
  outline: none !important;
}
body[data-theme="gamdom"] .casino-banner-card .hero-banner-img-wrap,
body[data-theme="gamdom"] .sports-banner-card .hero-banner-img-wrap {
  background:
    linear-gradient(180deg, rgba(7,8,12,0.15) 0%, rgba(7,8,12,0.72) 100%),
    radial-gradient(circle at 70% 30%, rgba(182,255,46,0.35), transparent 55%),
    url('https://gamdom.com/static/img/og.avif') center/cover no-repeat,
    var(--bg-card-light);
}
body[data-theme="gamdom"] .hero-banner-label-bar {
  background: linear-gradient(90deg, #b6ff2e, #6ee7b7) !important;
  color: #0b192c !important;
}
body[data-theme="gamdom"] .hero-banner-label-bar .hb-icon,
body[data-theme="gamdom"] .hero-banner-label-bar i,
body[data-theme="gamdom"] .hero-banner-label-bar .hb-arrow {
  color: #0b192c !important;
  opacity: 1 !important;
}
body[data-theme="light"] .hero-banner-label-bar {
  color: #0b192c !important;
}
body[data-theme="light"] .hero-banner-label-bar .hb-icon,
body[data-theme="light"] .hero-banner-label-bar i,
body[data-theme="light"] .hero-banner-label-bar .hb-arrow {
  color: #0b192c !important;
  opacity: 1 !important;
}

html[data-theme="gamdom"] .h-auth-register-btn,
html[data-theme="gamdom"] .hero-register-btn,
html[data-theme="gamdom"] .auth-submit-btn,
html[data-theme="gamdom"] .lswitch-btn.active,
html[data-theme="gamdom"] .promo-tab-btn.active,
html[data-accent="lime"] .h-auth-register-btn,
html[data-accent="lime"] .hero-register-btn,
html[data-accent="lime"] .lswitch-btn.active,
html[data-accent="lime"] .promo-tab-btn.active,
body[data-theme="gamdom"] .h-auth-register-btn,
body[data-theme="gamdom"] .hero-register-btn,
body[data-theme="gamdom"] .auth-submit-btn,
body[data-theme="gamdom"] .lswitch-btn.active,
body[data-theme="gamdom"] .promo-tab-btn.active,
body[data-accent="lime"] .h-auth-register-btn,
body[data-accent="lime"] .hero-register-btn,
body[data-accent="lime"] .lswitch-btn.active,
body[data-accent="lime"] .promo-tab-btn.active {
  background: #b6ff2e !important;
  background-color: #b6ff2e !important;
  background-image: none !important;
  color: #0b1204 !important;
  border: none !important;
  outline: none !important;
  box-shadow: 0 4px 14px rgba(182, 255, 46, 0.4) !important;
}
html[data-theme="gamdom"] .sb-nav-item.active,
body[data-theme="gamdom"] .sb-nav-item.active {
  border-left-color: #b6ff2e !important;
}

/* ==========================================================================
   THEME COLOR HARMONY & READABILITY ENHANCER (ALL THEMES & LIGHT MODE)
   Eliminates color mismatches, fixes dark-on-dark contrast, and ensures
   cohesive card backgrounds, tables, catalog, FAQ, rewards, and payments styling.
   ========================================================================== */

/* --- 1. LIGHT THEME COMPREHENSIVE OVERRIDES --- */
body[data-theme="light"] .rainbet-catalog-section,
body[data-theme="light"] .rb-rewards-showcase-box,
body[data-theme="light"] .rb-help-faq-box,
body[data-theme="light"] .live-bets-table-section,
body[data-theme="light"] .pref-payments-container,
body[data-theme="light"] .pref-payments-bar {
  background: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
  color: #0f172a !important;
}

body[data-theme="light"] .live-wins-ticker-wrap {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body[data-theme="light"] .hero-home-slider,
body[data-theme="light"] .hero-banner-card {
  background: #ffffff !important;
  border: none !important;
  outline: none !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06) !important;
}

body[data-theme="light"] .live-win-tile {
  background: transparent !important;
  border: none !important;
}
body[data-theme="light"] .live-win-tile .lw-user {
  color: #334155 !important;
}
body[data-theme="light"] .live-win-tile .lw-amt {
  color: #059669 !important;
}

/* Light Theme Catalog */
body[data-theme="light"] .catalog-main-title {
  color: #0f172a !important;
}
body[data-theme="light"] .catalog-count-pill {
  background: #eff6ff !important;
  border: 1px solid #bfdbfe !important;
  color: #1d72fe !important;
}
body[data-theme="light"] .catalog-search-wrap input,
body[data-theme="light"] .catalog-controls-group .rainbet-select {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
}
body[data-theme="light"] .rainbet-game-card {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

/* Light Theme Rewards Box */
body[data-theme="light"] .rb-rewards-showcase-box h3 {
  color: #0f172a !important;
}
body[data-theme="light"] .rb-rewards-showcase-box [style*="background:#222c42"],
body[data-theme="light"] .rb-rewards-showcase-box [style*="background: #222c42"] {
  background: #f8fafc !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}
body[data-theme="light"] .rb-rewards-showcase-box h4 {
  color: #0f172a !important;
}

/* Light Theme FAQ Accordions & Help Box */
body[data-theme="light"] .rb-help-faq-box h2,
body[data-theme="light"] div[data-i18n="needHelpHeading"] {
  color: #0f172a !important;
}
body[data-theme="light"] .rb-help-faq-box [style*="background:#222c42"],
body[data-theme="light"] .rb-help-faq-box [style*="background: #222c42"] {
  background: #f8fafc !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}
body[data-theme="light"] .rb-help-faq-box span[data-i18n^="faqQ"] {
  color: #0f172a !important;
  font-weight: 800 !important;
}
body[data-theme="light"] .rb-help-faq-box div[data-i18n^="faqA"] {
  color: #475569 !important;
}
body[data-theme="light"] .rb-help-faq-box .rb-help-live-card {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  border: none !important;
  box-shadow: 0 10px 24px rgba(5, 150, 105, 0.25) !important;
}
body[data-theme="light"] .rb-help-faq-box .rb-faq-chat-btn {
  background: #059669 !important;
  color: #ffffff !important;
}
body[data-theme="light"] .rb-help-faq-box [style*="background:#1a2336"],
body[data-theme="light"] .rb-help-faq-box [style*="background: #1a2336"] {
  background: #f1f5f9 !important;
  border: none !important;
}
body[data-theme="light"] .rb-help-faq-box [style*="background:#1a2336"] div[data-i18n="sendUsMessage"] {
  color: #0f172a !important;
}

/* Light Theme Payments */
body[data-theme="light"] .pref-payments-container,
body[data-theme="light"] .pref-payments-bar {
  background: #ffffff !important;
  border: none !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
}
body[data-theme="light"] .pref-payments-container .pref-payment-title,
body[data-theme="light"] .pref-payments-bar .pref-payment-title,
body[data-theme="light"] .pref-payments-container h4 {
  color: #0f172a !important;
}
body[data-theme="light"] .pref-payments-container .pref-payment-desc,
body[data-theme="light"] .pref-payments-bar .pref-payment-desc,
body[data-theme="light"] .pref-payments-container p {
  color: #64748b !important;
}
body[data-theme="light"] .pref-crypto-pill {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
}
body[data-theme="light"] .pref-crypto-pill span {
  color: #0f172a !important;
}

/* Light Theme Live Bets Table */
body[data-theme="light"] .bets-tabs-pills {
  background: #f1f5f9 !important;
  border: 1px solid #e2e8f0 !important;
}
body[data-theme="light"] .btab-btn {
  color: #64748b !important;
}
body[data-theme="light"] .btab-btn.active {
  background: #ffffff !important;
  color: #0f172a !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
}
body[data-theme="light"] .community-bets-table th,
body[data-theme="light"] .live-bets-table th {
  color: #64748b !important;
  border-bottom: 1px solid #e2e8f0 !important;
}
body[data-theme="light"] .community-bets-table td,
body[data-theme="light"] .live-bets-table td {
  color: #334155 !important;
  border-bottom: 1px solid #f1f5f9 !important;
}
body[data-theme="light"] .community-bets-table tr:hover td,
body[data-theme="light"] .live-bets-table tr:hover td {
  background: #f8fafc !important;
}

/* Light Theme Hero Label Bars */
body[data-theme="light"] .casino-label-bar {
  background: #1d72fe !important;
  color: #ffffff !important;
}
body[data-theme="light"] .sports-label-bar {
  background: #f1f5f9 !important;
  color: #0f172a !important;
}


/* --- 2. EMERALD THEME COMPREHENSIVE HARMONY --- */
body[data-theme="emerald"] .rainbet-catalog-section,
body[data-theme="emerald"] .rb-rewards-showcase-box,
body[data-theme="emerald"] .rb-help-faq-box,
body[data-theme="emerald"] .live-bets-table-section,
body[data-theme="emerald"] .pref-payments-container,
body[data-theme="emerald"] .pref-payments-bar {
  background: #062b1b !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(2, 20, 13, 0.5) !important;
  color: #ecfdf5 !important;
}

body[data-theme="emerald"] .live-wins-ticker-wrap {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body[data-theme="emerald"] .hero-home-slider,
body[data-theme="emerald"] .hero-banner-card {
  background: #062b1b !important;
  border: none !important;
  outline: none !important;
  box-shadow: 0 8px 28px rgba(2, 20, 13, 0.7) !important;
}

body[data-theme="emerald"] .lswitch-btn.active.casino {
  background: #10b981 !important;
  color: #ffffff !important;
  box-shadow: 0 2px 14px rgba(16, 185, 129, 0.45) !important;
}

/* Emerald Hero Cards Color Coordination */
body[data-theme="emerald"] .casino-label-bar {
  background: linear-gradient(90deg, #059669, #10b981) !important;
  color: #ffffff !important;
}
body[data-theme="emerald"] .sports-label-bar {
  background: #042417 !important;
  color: #ecfdf5 !important;
}

/* Emerald Catalog */
body[data-theme="emerald"] .catalog-count-pill {
  background: rgba(16, 185, 129, 0.15) !important;
  border: 1px solid rgba(16, 185, 129, 0.45) !important;
  color: #6ee7b7 !important;
}
body[data-theme="emerald"] .catalog-search-wrap input,
body[data-theme="emerald"] .catalog-controls-group .rainbet-select {
  background: #042417 !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
  color: #ecfdf5 !important;
}
body[data-theme="emerald"] .rainbet-game-card {
  background: #042417 !important;
  border: none !important;
}

/* Emerald Rewards Box */
body[data-theme="emerald"] .rb-rewards-showcase-box [style*="background:#222c42"],
body[data-theme="emerald"] .rb-rewards-showcase-box [style*="background: #222c42"] {
  background: #031e13 !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18) !important;
}
body[data-theme="emerald"] .rb-rewards-showcase-box button[data-i18n="exploreVipRewards"] {
  background: #10b981 !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4) !important;
  color: #ffffff !important;
}

/* Emerald FAQ Accordions */
body[data-theme="emerald"] .rb-help-faq-box [style*="background:#222c42"],
body[data-theme="emerald"] .rb-help-faq-box [style*="background: #222c42"] {
  background: #031e13 !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18) !important;
}
body[data-theme="emerald"] .rb-help-faq-box span[data-i18n^="faqQ"] {
  color: #ecfdf5 !important;
  font-weight: 700 !important;
}
body[data-theme="emerald"] .rb-help-faq-box div[data-i18n^="faqA"] {
  color: #a7f3d0 !important;
  line-height: 1.6 !important;
}
body[data-theme="emerald"] .rb-help-faq-box i.fa-chevron-right {
  color: #34d399 !important;
}
body[data-theme="emerald"] .rb-help-faq-box [style*="background:#1a2336"],
body[data-theme="emerald"] .rb-help-faq-box [style*="background: #1a2336"] {
  background: #02170e !important;
  border: none !important;
}
body[data-theme="emerald"] .rb-help-live-card {
  background: radial-gradient(circle at 25% 20%, #10b981 0%, #059669 45%, #064e3b 100%) !important;
  border: none !important;
  box-shadow: 0 10px 30px rgba(5, 150, 105, 0.35) !important;
}
body[data-theme="emerald"] .rb-faq-chat-btn {
  background: #059669 !important;
  color: #ffffff !important;
}

/* Emerald Payments */
body[data-theme="emerald"] .pref-payments-container,
body[data-theme="emerald"] .pref-payments-bar {
  background: #062b1b !important;
  border: none !important;
  box-shadow: 0 6px 20px rgba(2, 20, 13, 0.4) !important;
}
body[data-theme="emerald"] .pref-payment-title {
  color: #ffffff !important;
}
body[data-theme="emerald"] .pref-payment-desc {
  color: #a7f3d0 !important;
}
body[data-theme="emerald"] .pref-crypto-pill {
  background: #042417 !important;
  border: none !important;
}

/* Emerald Live Bets Table */
body[data-theme="emerald"] .bets-tabs-pills {
  background: #02140d !important;
  border: 1px solid rgba(16, 185, 129, 0.25) !important;
}
body[data-theme="emerald"] .btab-btn.active {
  background: #083824 !important;
  color: #ecfdf5 !important;
}
body[data-theme="emerald"] .community-bets-table th,
body[data-theme="emerald"] .live-bets-table th {
  color: #6ee7b7 !important;
  border-bottom: 1px solid rgba(16, 185, 129, 0.2) !important;
}
body[data-theme="emerald"] .community-bets-table td,
body[data-theme="emerald"] .live-bets-table td {
  color: #a7f3d0 !important;
  border-bottom: 1px solid rgba(16, 185, 129, 0.1) !important;
}


/* --- 3. MONACO GOLD THEME COMPREHENSIVE HARMONY --- */
body[data-theme="gold"] .rainbet-catalog-section,
body[data-theme="gold"] .rb-rewards-showcase-box,
body[data-theme="gold"] .rb-help-faq-box,
body[data-theme="gold"] .live-bets-table-section,
body[data-theme="gold"] .pref-payments-container,
body[data-theme="gold"] .pref-payments-bar {
  background: #241d0e !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(20, 16, 8, 0.5) !important;
  color: #fefce8 !important;
}

body[data-theme="gold"] .live-wins-ticker-wrap {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body[data-theme="gold"] .hero-home-slider,
body[data-theme="gold"] .hero-banner-card {
  background: #241d0e !important;
  border: none !important;
  outline: none !important;
  box-shadow: 0 8px 28px rgba(20, 16, 8, 0.7) !important;
}

body[data-theme="gold"] .lswitch-btn.active.casino {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #090d14 !important;
  box-shadow: 0 2px 14px rgba(245, 158, 11, 0.45) !important;
}

/* Gold Hero Cards */
body[data-theme="gold"] .casino-label-bar {
  background: linear-gradient(90deg, #d97706, #f59e0b) !important;
  color: #ffffff !important;
}
body[data-theme="gold"] .sports-label-bar {
  background: #3a2e17 !important;
  color: #fefce8 !important;
}

/* Gold Catalog */
body[data-theme="gold"] .catalog-count-pill {
  background: rgba(245, 158, 11, 0.15) !important;
  border: 1px solid rgba(245, 158, 11, 0.45) !important;
  color: #fcd34d !important;
}
body[data-theme="gold"] .catalog-search-wrap input,
body[data-theme="gold"] .catalog-controls-group .rainbet-select {
  background: #1b150a !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  color: #fefce8 !important;
}
body[data-theme="gold"] .rainbet-game-card {
  background: #1b150a !important;
  border: none !important;
}

/* Gold Rewards Box */
body[data-theme="gold"] .rb-rewards-showcase-box [style*="background:#222c42"],
body[data-theme="gold"] .rb-rewards-showcase-box [style*="background: #222c42"] {
  background: #181308 !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18) !important;
}
body[data-theme="gold"] .rb-rewards-showcase-box button[data-i18n="exploreVipRewards"] {
  background: #f59e0b !important;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4) !important;
  color: #1b150a !important;
}

/* Gold FAQ Accordions */
body[data-theme="gold"] .rb-help-faq-box [style*="background:#222c42"],
body[data-theme="gold"] .rb-help-faq-box [style*="background: #222c42"] {
  background: #181308 !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18) !important;
}
body[data-theme="gold"] .rb-help-faq-box span[data-i18n^="faqQ"] {
  color: #fefce8 !important;
  font-weight: 700 !important;
}
body[data-theme="gold"] .rb-help-faq-box div[data-i18n^="faqA"] {
  color: #fde68a !important;
  line-height: 1.6 !important;
}
body[data-theme="gold"] .rb-help-faq-box i.fa-chevron-right {
  color: #f59e0b !important;
}
body[data-theme="gold"] .rb-help-faq-box [style*="background:#1a2336"],
body[data-theme="gold"] .rb-help-faq-box [style*="background: #1a2336"] {
  background: #120e06 !important;
  border: none !important;
}
body[data-theme="gold"] .rb-help-live-card {
  background: radial-gradient(circle at 25% 20%, #f59e0b 0%, #b45309 50%, #451a03 100%) !important;
  border: none !important;
  box-shadow: 0 10px 30px rgba(180, 83, 9, 0.3) !important;
}
body[data-theme="gold"] .rb-faq-chat-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706) !important;
  color: #090d14 !important;
}

/* Gold Payments */
body[data-theme="gold"] .pref-payments-container,
body[data-theme="gold"] .pref-payments-bar {
  background: #241d0e !important;
  border: none !important;
  box-shadow: 0 6px 20px rgba(20, 16, 8, 0.4) !important;
}
body[data-theme="gold"] .pref-payment-title {
  color: #ffffff !important;
}
body[data-theme="gold"] .pref-payment-desc {
  color: #fde68a !important;
}
body[data-theme="gold"] .pref-crypto-pill {
  background: #1b150a !important;
  border: none !important;
}

/* Gold Live Bets Table */
body[data-theme="gold"] .bets-tabs-pills {
  background: #141008 !important;
  border: 1px solid rgba(245, 158, 11, 0.25) !important;
}
body[data-theme="gold"] .btab-btn.active {
  background: #2e2412 !important;
  color: #fefce8 !important;
}
body[data-theme="gold"] .community-bets-table th,
body[data-theme="gold"] .live-bets-table th {
  color: #fcd34d !important;
  border-bottom: 1px solid rgba(245, 158, 11, 0.2) !important;
}
body[data-theme="gold"] .community-bets-table td,
body[data-theme="gold"] .live-bets-table td {
  color: #fde68a !important;
  border-bottom: 1px solid rgba(245, 158, 11, 0.1) !important;
}


/* --- 4. RUBY CRIMSON THEME COMPREHENSIVE HARMONY --- */
body[data-theme="crimson"] .rainbet-catalog-section,
body[data-theme="crimson"] .rb-rewards-showcase-box,
body[data-theme="crimson"] .rb-help-faq-box,
body[data-theme="crimson"] .live-bets-table-section,
body[data-theme="crimson"] .pref-payments-container,
body[data-theme="crimson"] .pref-payments-bar,
body[data-theme="ruby"] .rainbet-catalog-section,
body[data-theme="ruby"] .rb-rewards-showcase-box,
body[data-theme="ruby"] .rb-help-faq-box,
body[data-theme="ruby"] .live-bets-table-section,
body[data-theme="ruby"] .pref-payments-container,
body[data-theme="ruby"] .pref-payments-bar {
  background: #2e0d14 !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(26, 8, 11, 0.5) !important;
  color: #fff1f2 !important;
}

body[data-theme="crimson"] .live-wins-ticker-wrap,
body[data-theme="ruby"] .live-wins-ticker-wrap {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body[data-theme="crimson"] .hero-home-slider,
body[data-theme="crimson"] .hero-banner-card,
body[data-theme="ruby"] .hero-home-slider,
body[data-theme="ruby"] .hero-banner-card {
  background: #2e0d14 !important;
  border: none !important;
  outline: none !important;
  box-shadow: 0 8px 28px rgba(26, 8, 11, 0.7) !important;
}

body[data-theme="crimson"] .lswitch-btn.active.casino,
body[data-theme="ruby"] .lswitch-btn.active.casino {
  background: linear-gradient(135deg, #f43f5e, #be123c) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 14px rgba(244, 63, 94, 0.45) !important;
}

/* Crimson Hero Cards */
body[data-theme="crimson"] .casino-label-bar,
body[data-theme="ruby"] .casino-label-bar {
  background: linear-gradient(90deg, #b91c1c, #ef4444) !important;
  color: #ffffff !important;
}
body[data-theme="crimson"] .sports-label-bar,
body[data-theme="ruby"] .sports-label-bar {
  background: #4c1622 !important;
  color: #fff1f2 !important;
}

/* Crimson Catalog */
body[data-theme="crimson"] .catalog-count-pill,
body[data-theme="ruby"] .catalog-count-pill {
  background: rgba(239, 68, 68, 0.15) !important;
  border: 1px solid rgba(239, 68, 68, 0.45) !important;
  color: #fca5a5 !important;
}
body[data-theme="crimson"] .catalog-search-wrap input,
body[data-theme="crimson"] .catalog-controls-group .rainbet-select,
body[data-theme="ruby"] .catalog-search-wrap input,
body[data-theme="ruby"] .catalog-controls-group .rainbet-select {
  background: #240b0f !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
  color: #fff1f2 !important;
}
body[data-theme="crimson"] .rainbet-game-card,
body[data-theme="ruby"] .rainbet-game-card {
  background: #240b0f !important;
  border: none !important;
}

/* Crimson FAQ & Rewards */
body[data-theme="crimson"] .rb-rewards-showcase-box [style*="background:#222c42"],
body[data-theme="crimson"] .rb-help-faq-box [style*="background:#222c42"],
body[data-theme="ruby"] .rb-rewards-showcase-box [style*="background:#222c42"],
body[data-theme="ruby"] .rb-help-faq-box [style*="background:#222c42"] {
  background: #20080d !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18) !important;
}
body[data-theme="crimson"] .rb-help-faq-box span[data-i18n^="faqQ"],
body[data-theme="ruby"] .rb-help-faq-box span[data-i18n^="faqQ"] {
  color: #fff1f2 !important;
  font-weight: 700 !important;
}
body[data-theme="crimson"] .rb-help-faq-box div[data-i18n^="faqA"],
body[data-theme="ruby"] .rb-help-faq-box div[data-i18n^="faqA"] {
  color: #fca5a5 !important;
  line-height: 1.6 !important;
}
body[data-theme="crimson"] .rb-help-live-card,
body[data-theme="ruby"] .rb-help-live-card {
  background: radial-gradient(circle at 25% 20%, #f43f5e 0%, #be123c 50%, #4c0519 100%) !important;
  border: none !important;
  box-shadow: 0 10px 30px rgba(190, 18, 60, 0.3) !important;
}
body[data-theme="crimson"] .rb-faq-chat-btn,
body[data-theme="ruby"] .rb-faq-chat-btn {
  background: linear-gradient(135deg, #f43f5e, #be123c) !important;
  color: #ffffff !important;
}

/* Crimson Payments */
body[data-theme="crimson"] .pref-payments-container,
body[data-theme="crimson"] .pref-payments-bar,
body[data-theme="ruby"] .pref-payments-container,
body[data-theme="ruby"] .pref-payments-bar {
  background: #2e0d14 !important;
  border: none !important;
  box-shadow: 0 6px 20px rgba(26, 8, 11, 0.4) !important;
}
body[data-theme="crimson"] .pref-payment-title,
body[data-theme="ruby"] .pref-payment-title {
  color: #ffffff !important;
}
body[data-theme="crimson"] .pref-payment-desc,
body[data-theme="ruby"] .pref-payment-desc {
  color: #fca5a5 !important;
}
body[data-theme="crimson"] .pref-crypto-pill,
body[data-theme="ruby"] .pref-crypto-pill {
  background: #240b0f !important;
  border: none !important;
}


/* --- 5. SAPPHIRE THEME COMPREHENSIVE HARMONY --- */
body[data-theme="sapphire"] .rainbet-catalog-section,
body[data-theme="sapphire"] .rb-rewards-showcase-box,
body[data-theme="sapphire"] .rb-help-faq-box,
body[data-theme="sapphire"] .live-bets-table-section,
body[data-theme="sapphire"] .pref-payments-container,
body[data-theme="sapphire"] .pref-payments-bar {
  background: #181938 !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(12, 13, 30, 0.5) !important;
  color: #faf5ff !important;
}

body[data-theme="sapphire"] .live-wins-ticker-wrap {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

body[data-theme="sapphire"] .hero-home-slider,
body[data-theme="sapphire"] .hero-banner-card {
  background: #181938 !important;
  border: none !important;
  outline: none !important;
  box-shadow: 0 8px 28px rgba(12, 13, 30, 0.7) !important;
}

body[data-theme="sapphire"] .lswitch-btn.active.casino {
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 14px rgba(139, 92, 246, 0.45) !important;
}

body[data-theme="sapphire"] .casino-label-bar {
  background: linear-gradient(90deg, #6366f1, #8b5cf6) !important;
  color: #ffffff !important;
}
body[data-theme="sapphire"] .sports-label-bar {
  background: #282a5c !important;
  color: #faf5ff !important;
}
body[data-theme="sapphire"] .catalog-count-pill {
  background: rgba(139, 92, 246, 0.15) !important;
  border: 1px solid rgba(139, 92, 246, 0.45) !important;
  color: #c4b5fd !important;
}
body[data-theme="sapphire"] .catalog-search-wrap input,
body[data-theme="sapphire"] .catalog-controls-group .rainbet-select {
  background: #101127 !important;
  border: 1px solid rgba(139, 92, 246, 0.3) !important;
  color: #faf5ff !important;
}
body[data-theme="sapphire"] .rb-rewards-showcase-box [style*="background:#222c42"],
body[data-theme="sapphire"] .rb-help-faq-box [style*="background:#222c42"] {
  background: #101127 !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18) !important;
}
body[data-theme="sapphire"] .rb-help-faq-box span[data-i18n^="faqQ"] {
  color: #faf5ff !important;
  font-weight: 700 !important;
}
body[data-theme="sapphire"] .rb-help-faq-box div[data-i18n^="faqA"] {
  color: #c4b5fd !important;
  line-height: 1.6 !important;
}
body[data-theme="sapphire"] .rb-help-live-card {
  background: radial-gradient(circle at 25% 20%, #6366f1 0%, #4338ca 50%, #1e1b4b 100%) !important;
  border: none !important;
  box-shadow: 0 10px 30px rgba(67, 56, 202, 0.3) !important;
}
body[data-theme="sapphire"] .rb-faq-chat-btn {
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  color: #ffffff !important;
}

/* Sapphire Payments */
body[data-theme="sapphire"] .pref-payments-container,
body[data-theme="sapphire"] .pref-payments-bar {
  background: #181938 !important;
  border: none !important;
  box-shadow: 0 6px 20px rgba(12, 13, 30, 0.4) !important;
}
body[data-theme="sapphire"] .pref-payment-title {
  color: #ffffff !important;
}
body[data-theme="sapphire"] .pref-payment-desc {
  color: #c4b5fd !important;
}
body[data-theme="sapphire"] .pref-crypto-pill {
  background: #101127 !important;
  border: none !important;
}


/* --- 6. GAMDOM THEME COMPREHENSIVE HARMONY (AUTHENTIC GAMDOM.COM DESIGN) --- */

/* Canvas, Body & Structural Containers */
body[data-theme="gamdom"], html[data-theme="gamdom"],
body[data-theme="gandom"], html[data-theme="gandom"] {
  background-color: #0c1017 !important;
  color: #ffffff !important;
}

body[data-theme="gamdom"] .main-view-container,
body[data-theme="gamdom"] .main-content,
body[data-theme="gamdom"] main,
body[data-theme="gamdom"] #mainView {
  background-color: #0c1017 !important;
}

body[data-theme="gamdom"] .top-header,
body[data-theme="gamdom"] header {
  background: #111723 !important;
  border-bottom: 1px solid #1e2837 !important;
}

body[data-theme="gamdom"] .app-sidebar,
body[data-theme="gamdom"] aside.app-sidebar,
body[data-theme="gamdom"] #appSidebar {
  background: #0e131b !important;
  border-right: 1px solid #1e2837 !important;
}

body[data-theme="gamdom"] .rainbet-official-footer,
body[data-theme="gamdom"] .mobile-bottom-nav {
  background: #0e131b !important;
  border-top: 1px solid #1e2837 !important;
}

/* Sidebar Navigation Items */
body[data-theme="gamdom"] .sb-acc-card {
  background: #131a26 !important;
  border: 1px solid #1f2a3a !important;
}
body[data-theme="gamdom"] .sb-acc-head {
  background: #161e2c !important;
  border-bottom: 1px solid #1f2a3a !important;
  color: #ffffff !important;
}
body[data-theme="gamdom"] .sb-acc-card .accordion-sub-links {
  background: #131a26 !important;
}
body[data-theme="gamdom"] .sb-acc-card .accordion-sub-links a {
  color: #8b9cb5 !important;
}
body[data-theme="gamdom"] .sb-acc-card .accordion-sub-links a:hover {
  color: #00e701 !important;
  background: rgba(0, 231, 1, 0.08) !important;
}
body[data-theme="gamdom"] .slink {
  color: #8b9cb5 !important;
}
body[data-theme="gamdom"] .slink:hover,
body[data-theme="gamdom"] .slink.active {
  color: #00e701 !important;
  background: rgba(0, 231, 1, 0.08) !important;
}
body[data-theme="gamdom"] .sidebar-nav .nav-item.active,
body[data-theme="gamdom"] .sb-nav-item.active {
  background: rgba(0, 231, 1, 0.1) !important;
  border-left: 3px solid #00e701 !important;
  color: #00e701 !important;
}

/* Header & Mobile Buttons */
body[data-theme="gamdom"] .lswitch-btn.active.casino {
  background: #00e701 !important;
  color: #0b141d !important;
  box-shadow: 0 2px 14px rgba(0, 231, 1, 0.35) !important;
}
body[data-theme="gamdom"] .lswitch-btn.active.casino i,
body[data-theme="gamdom"] .lswitch-btn.active.casino span {
  color: #0b141d !important;
}
body[data-theme="gamdom"] .mobile-bottom-nav .mobile-nav-item.active,
body[data-theme="gamdom"] .mobile-bottom-nav .mobile-nav-item.active i,
body[data-theme="gamdom"] .mobile-bottom-nav .mobile-nav-item.active span {
  color: #00e701 !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Homepage Hero Cards & Sliders */
body[data-theme="gamdom"] .hero-home-slider,
body[data-theme="gamdom"] .hero-banner-card {
  background: #151d2a !important;
  border: none !important;
  outline: none !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.5) !important;
}
body[data-theme="gamdom"] .casino-label-bar {
  background: #00e701 !important;
  color: #0b141d !important;
}
body[data-theme="gamdom"] .casino-label-bar * {
  color: #0b141d !important;
}
body[data-theme="gamdom"] .sports-label-bar {
  background: #1a2434 !important;
  color: #ffffff !important;
  border-top: none !important;
}
body[data-theme="gamdom"] .sports-label-bar * {
  color: #ffffff !important;
}

/* Live Wins Ticker */
body[data-theme="gamdom"] .live-wins-ticker-wrap {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
body[data-theme="gamdom"] .live-win-tile {
  background: transparent !important;
  border: none !important;
}

/* Game Catalog Grid */
body[data-theme="gamdom"] .rainbet-catalog-section {
  background: #151d2a !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
  color: #ffffff !important;
}
body[data-theme="gamdom"] .catalog-count-pill {
  background: rgba(0, 231, 1, 0.12) !important;
  border: 1px solid rgba(0, 231, 1, 0.35) !important;
  color: #00e701 !important;
}
body[data-theme="gamdom"] .catalog-search-wrap input,
body[data-theme="gamdom"] .catalog-controls-group .rainbet-select {
  background: #101622 !important;
  border: 1px solid #222e40 !important;
  color: #ffffff !important;
}
body[data-theme="gamdom"] .catalog-search-wrap input:focus,
body[data-theme="gamdom"] .catalog-controls-group .rainbet-select:focus {
  border-color: #00e701 !important;
  box-shadow: 0 0 0 2px rgba(0, 231, 1, 0.25) !important;
}
body[data-theme="gamdom"] .game-card-rainbet,
body[data-theme="gamdom"] .rainbet-game-card {
  background: #121824 !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25) !important;
}
body[data-theme="gamdom"] .game-card-rainbet:hover,
body[data-theme="gamdom"] .rainbet-game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 231, 1, 0.25) !important;
}

/* Rewards Showcase Box on Home */
body[data-theme="gamdom"] .rb-rewards-showcase-box {
  background: #151d2a !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}
body[data-theme="gamdom"] .rb-rewards-showcase-box [style*="background:#222c42"],
body[data-theme="gamdom"] .rb-rewards-showcase-box [style*="background: #222c42"] {
  background: #101622 !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18) !important;
}
body[data-theme="gamdom"] .rb-rewards-showcase-box button[data-i18n="exploreVipRewards"] {
  background: #00e701 !important;
  color: #0b141d !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(0, 231, 1, 0.35) !important;
}

/* 7/24 Support & FAQ Accordions */
body[data-theme="gamdom"] .rb-help-faq-box {
  background: #151d2a !important;
  border: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3) !important;
}
body[data-theme="gamdom"] .rb-help-live-card {
  background: radial-gradient(circle at 25% 20%, #1e293b 0%, #0f172a 100%) !important;
  border: none !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4) !important;
}
body[data-theme="gamdom"] .rb-help-live-card [style*="background:rgba(0,0,0,0.28)"] {
  background: #00e701 !important;
  color: #0b141d !important;
  font-weight: 800 !important;
  border: none !important;
}
body[data-theme="gamdom"] .rb-help-live-card [style*="background:rgba(0,0,0,0.28)"] * {
  color: #0b141d !important;
}
body[data-theme="gamdom"] .rb-help-faq-box [style*="background:#222c42"],
body[data-theme="gamdom"] .rb-help-faq-box [style*="background: #222c42"] {
  background: #101622 !important;
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18) !important;
}
body[data-theme="gamdom"] .rb-help-faq-box span[data-i18n^="faqQ"] {
  color: #ffffff !important;
  font-weight: 700 !important;
}
body[data-theme="gamdom"] .rb-help-faq-box div[data-i18n^="faqA"] {
  color: #8b9cb5 !important;
  line-height: 1.6 !important;
}
body[data-theme="gamdom"] .rb-help-faq-box i.fa-chevron-right {
  color: #00e701 !important;
}
body[data-theme="gamdom"] .rb-help-faq-box [style*="background:#1a2336"],
body[data-theme="gamdom"] .rb-help-faq-box [style*="background: #1a2336"] {
  background: #0d121c !important;
  border: none !important;
}
body[data-theme="gamdom"] .rb-faq-chat-btn {
  background: #00e701 !important;
  color: #0b141d !important;
  font-weight: 800 !important;
}

/* Preferred Payment Methods */
body[data-theme="gamdom"] .pref-payments-container,
body[data-theme="gamdom"] .pref-payments-bar {
  background: #151d2a !important;
  border: none !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
}
body[data-theme="gamdom"] .pref-payment-title {
  color: #ffffff !important;
}
body[data-theme="gamdom"] .pref-payment-desc {
  color: #8b9cb5 !important;
}
body[data-theme="gamdom"] .pref-crypto-pill {
  background: #101622 !important;
  border: none !important;
}
body[data-theme="gamdom"] .pref-crypto-pill span {
  color: #ffffff !important;
}

/* Live Bets Table */
body[data-theme="gamdom"] .live-bets-table-section {
  background: #151d2a !important;
  border: 1px solid #202b3b !important;
}
body[data-theme="gamdom"] .bets-tabs-pills {
  background: #0e131b !important;
  border: 1px solid #1f2a3a !important;
}
body[data-theme="gamdom"] .btab-btn.active {
  background: #00e701 !important;
  color: #0b141d !important;
  font-weight: 800 !important;
}
body[data-theme="gamdom"] .btab-btn:not(.active) {
  color: #8b9cb5 !important;
}
body[data-theme="gamdom"] .community-bets-table th,
body[data-theme="gamdom"] .live-bets-table th {
  color: #8b9cb5 !important;
  border-bottom: 1px solid #1f2a3a !important;
}
body[data-theme="gamdom"] .community-bets-table td,
body[data-theme="gamdom"] .live-bets-table td {
  color: #ffffff !important;
  border-bottom: 1px solid #17202d !important;
}

/* ==========================================================================
   GAMDOM SUBPAGES (ALT SAYFALAR) STYLING
   ========================================================================== */

/* 1. SPORTSBOOK & BAHIS MERKEZI (#view-sports) */
body[data-theme="gamdom"] .sports-sports-icons-bar {
  background: #111723 !important;
  border: 1px solid #1f2a3a !important;
}
body[data-theme="gamdom"] .s-icon-btn {
  background: #151d2a !important;
  border: 1px solid #202b3b !important;
  color: #8b9cb5 !important;
}
body[data-theme="gamdom"] .s-icon-btn.active,
body[data-theme="gamdom"] .s-icon-btn:hover {
  background: #00e701 !important;
  color: #0b141d !important;
  border-color: #00e701 !important;
}
body[data-theme="gamdom"] .s-icon-btn.active i,
body[data-theme="gamdom"] .s-icon-btn:hover i {
  color: #0b141d !important;
}
body[data-theme="gamdom"] #myBetsPanel {
  background: #151d2a !important;
  border: 1px solid #202b3b !important;
  color: #ffffff !important;
}
body[data-theme="gamdom"] .live-match-box,
body[data-theme="gamdom"] .sports-match-card,
body[data-theme="gamdom"] #sportsUpcomingGrid > div,
body[data-theme="gamdom"] .pitch-stats-box,
body[data-theme="gamdom"] .rb-sports-tournament-grid > div,
body[data-theme="gamdom"] #sportsTournamentSection > div {
  background: #151d2a !important;
  border: 1px solid #202b3b !important;
  color: #ffffff !important;
}
body[data-theme="gamdom"] .odd-btn,
body[data-theme="gamdom"] button.odd-btn,
body[data-theme="gamdom"] .odds-box {
  background: #111723 !important;
  border: 1px solid #222e40 !important;
  color: #ffffff !important;
}
body[data-theme="gamdom"] .odd-btn:hover,
body[data-theme="gamdom"] button.odd-btn:hover,
body[data-theme="gamdom"] .odds-box:hover {
  background: #182232 !important;
  border-color: #00e701 !important;
}
body[data-theme="gamdom"] .odd-btn.active,
body[data-theme="gamdom"] button.odd-btn.active,
body[data-theme="gamdom"] .odds-box.active {
  background: #00e701 !important;
  color: #0b141d !important;
  border-color: #00e701 !important;
}
body[data-theme="gamdom"] .odd-btn.active *,
body[data-theme="gamdom"] button.odd-btn.active *,
body[data-theme="gamdom"] .odds-box.active * {
  color: #0b141d !important;
  font-weight: 800 !important;
}
body[data-theme="gamdom"] .odd-btn .odd-val,
body[data-theme="gamdom"] .odd-btn b {
  color: #00e701 !important;
}
body[data-theme="gamdom"] .betslip-blue-head {
  background: #00e701 !important;
  color: #0b141d !important;
  font-weight: 800 !important;
}
body[data-theme="gamdom"] .betslip-blue-head * {
  color: #0b141d !important;
}
body[data-theme="gamdom"] .betslip-panel,
body[data-theme="gamdom"] .betslip-expanded-drawer {
  background: #111723 !important;
  border: 1px solid #202b3b !important;
}
body[data-theme="gamdom"] #floatingBetslipPill {
  background: #00e701 !important;
  color: #0b141d !important;
  font-weight: 800 !important;
}
body[data-theme="gamdom"] #floatingBetslipPill * {
  color: #0b141d !important;
}

/* 2. REWARDS & VIP (#view-rewards) */
body[data-theme="gamdom"] .rewards-top-bar,
body[data-theme="gamdom"] .rewards-calendar-wrapper,
body[data-theme="gamdom"] .rewards-rank-section,
body[data-theme="gamdom"] .vip-tier-card,
body[data-theme="gamdom"] .claim-tier-card,
body[data-theme="gamdom"] .tot-card,
body[data-theme="gamdom"] .rewards-streak-day,
body[data-theme="gamdom"] .rewards-totals-container {
  background: #151d2a !important;
  border: 1px solid #202b3b !important;
  color: #ffffff !important;
}
body[data-theme="gamdom"] .streak-tile {
  background: #111723 !important;
  border: 1px solid #1f2a3a !important;
}
body[data-theme="gamdom"] .streak-tile.active {
  background: rgba(0, 231, 1, 0.12) !important;
  border: 1px solid #00e701 !important;
}
body[data-theme="gamdom"] .streak-date-tag.active {
  background: #00e701 !important;
  color: #0b141d !important;
  font-weight: 800 !important;
}
body[data-theme="gamdom"] .s-dot.active {
  background: #00e701 !important;
}
body[data-theme="gamdom"] .s-line.active {
  background: #00e701 !important;
}
body[data-theme="gamdom"] .streak-vault-svg.active {
  color: #00e701 !important;
}
body[data-theme="gamdom"] .currency-switch-action-btn {
  background: #00e701 !important;
  color: #0b141d !important;
  font-weight: 800 !important;
}
body[data-theme="gamdom"] .vip-progress-fill,
body[data-theme="gamdom"] .rank-progress-fill {
  background: linear-gradient(90deg, #00c74d, #00e701) !important;
  box-shadow: 0 0 12px rgba(0, 231, 1, 0.5) !important;
}

/* 3. PROMOTIONS (#view-promotions) */
body[data-theme="gamdom"] .partner-promo-tile,
body[data-theme="gamdom"] .lux-promo-card,
body[data-theme="gamdom"] .promo-card {
  background: #151d2a !important;
  border: 1px solid #202b3b !important;
  color: #ffffff !important;
}
body[data-theme="gamdom"] .promo-cat-pill {
  background: #111723 !important;
  border: 1px solid #202b3b !important;
  color: #8b9cb5 !important;
}
body[data-theme="gamdom"] .promo-cat-pill.active {
  background: #00e701 !important;
  color: #0b141d !important;
  font-weight: 800 !important;
  border-color: #00e701 !important;
}
body[data-theme="gamdom"] .promo-card button,
body[data-theme="gamdom"] .lux-promo-card button {
  background: #00e701 !important;
  color: #0b141d !important;
  font-weight: 800 !important;
}

/* 4. TRANSACTIONS & WALLET (#view-transactions & Modal) */
body[data-theme="gamdom"] .trans-table-wrap,
body[data-theme="gamdom"] .crypto-provider-card,
body[data-theme="gamdom"] .lux-bank-card {
  background: #151d2a !important;
  border: 1px solid #202b3b !important;
  color: #ffffff !important;
}
body[data-theme="gamdom"] .crypto-provider-card.active {
  border-color: #00e701 !important;
  background: rgba(0, 231, 1, 0.1) !important;
}
body[data-theme="gamdom"] .trans-table th {
  background: #111723 !important;
  color: #8b9cb5 !important;
  border-bottom: 1px solid #1f2a3a !important;
}
body[data-theme="gamdom"] .trans-table td {
  border-bottom: 1px solid #192230 !important;
  color: #ffffff !important;
}
body[data-theme="gamdom"] .lux-wallet-dialog {
  background: #141c29 !important;
  border: 1px solid #202b3b !important;
  color: #ffffff !important;
}
body[data-theme="gamdom"] .lux-wallet-header {
  background: #0f1621 !important;
  border-bottom: 1px solid #1f2a3a !important;
}
body[data-theme="gamdom"] .lux-wallet-tabs {
  background: #0b1018 !important;
  border: 1px solid #1f2a3a !important;
}
body[data-theme="gamdom"] .lux-wtab-btn.active {
  background: #00e701 !important;
  color: #0b141d !important;
  font-weight: 800 !important;
}
body[data-theme="gamdom"] .lux-wtab-btn:not(.active) {
  color: #8b9cb5 !important;
}
body[data-theme="gamdom"] .lux-net-btn {
  background: #151d2a !important;
  border: 1px solid #202b3b !important;
  color: #8b9cb5 !important;
}
body[data-theme="gamdom"] .lux-net-btn.active {
  background: #00e701 !important;
  color: #0b141d !important;
  font-weight: 800 !important;
  border-color: #00e701 !important;
}
body[data-theme="gamdom"] #luxCopyBtn {
  background: #00e701 !important;
  color: #0b141d !important;
  font-weight: 800 !important;
}
body[data-theme="gamdom"] #luxDepAddr {
  background: #0e141e !important;
  border: 1px solid #202b3b !important;
  color: #ffffff !important;
}

/* 5. SETTINGS & PROFILE (#view-settings) */
body[data-theme="gamdom"] .settings-card,
body[data-theme="gamdom"] .settings-tab-content {
  background: #151d2a !important;
  border: 1px solid #202b3b !important;
  color: #ffffff !important;
}
body[data-theme="gamdom"] .settings-card input,
body[data-theme="gamdom"] .settings-card select {
  background: #101622 !important;
  border: 1px solid #222e40 !important;
  color: #ffffff !important;
}
body[data-theme="gamdom"] .settings-card button.btn-primary,
body[data-theme="gamdom"] .settings-card .btn-submit {
  background: #00e701 !important;
  color: #0b141d !important;
  font-weight: 800 !important;
}

/* 6. ORIGINALS (#view-originals) */
body[data-theme="gamdom"] .orig-tab-btn.active,
body[data-theme="gamdom"] #view-originals .btab-btn.active {
  background: #00e701 !important;
  color: #0b141d !important;
  font-weight: 800 !important;
}
body[data-theme="gamdom"] .orig-game-container,
body[data-theme="gamdom"] .orig-controls-box {
  background: #151d2a !important;
  border: 1px solid #202b3b !important;
}
body[data-theme="gamdom"] .orig-play-btn,
body[data-theme="gamdom"] .orig-action-btn {
  background: #00e701 !important;
  color: #0b141d !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 16px rgba(0, 231, 1, 0.4) !important;
}

/* 7. BLOG & NEWS (#view-blog) */
body[data-theme="gamdom"] .blog-card-item,
body[data-theme="gamdom"] .blog-featured-card {
  background: #151d2a !important;
  border: 1px solid #202b3b !important;
  color: #ffffff !important;
}

/* 8. MODALS & POPUPS */
body[data-theme="gamdom"] .rainbet-auth-dialog,
body[data-theme="gamdom"] .auth-form-col,
body[data-theme="gamdom"] .policy-modal-box,
body[data-theme="gamdom"] #policyModal > div,
body[data-theme="gamdom"] .game-modal-box,
body[data-theme="gamdom"] #gameModal > div,
body[data-theme="gamdom"] .match-detail-box,
body[data-theme="gamdom"] #matchDetailModal > div,
body[data-theme="gamdom"] #blogReaderModal > div,
body[data-theme="gamdom"] #promoDetailModal > div,
body[data-theme="gamdom"] #searchModal > div {
  background: #141c29 !important;
  border: 1px solid #202b3b !important;
  color: #ffffff !important;
}
body[data-theme="gamdom"] .auth-submit-btn,
body[data-theme="gamdom"] .h-auth-register-btn,
body[data-theme="gamdom"] .hero-register-btn {
  background: #00e701 !important;
  color: #0b141d !important;
  font-weight: 800 !important;
  border: none !important;
  box-shadow: 0 4px 18px rgba(0, 231, 1, 0.4) !important;
}
body[data-theme="gamdom"] .chat-drawer {
  background: #111723 !important;
  border-left: 1px solid #202b3b !important;
}
body[data-theme="gamdom"] .chat-send-btn {
  background: #00e701 !important;
  color: #0b141d !important;
}

/* --- 7. DEFAULT DARK / MIDNIGHT / OLED ENHANCEMENTS --- */
body:not([data-theme="light"]):not([data-theme="emerald"]):not([data-theme="gold"]):not([data-theme="crimson"]):not([data-theme="ruby"]):not([data-theme="sapphire"]):not([data-theme="gamdom"]) .rb-help-faq-box span[data-i18n^="faqQ"] {
  color: #f8fafc !important;
  font-weight: 700 !important;
}
body:not([data-theme="light"]):not([data-theme="emerald"]):not([data-theme="gold"]):not([data-theme="crimson"]):not([data-theme="ruby"]):not([data-theme="sapphire"]):not([data-theme="gamdom"]) .rb-help-faq-box div[data-i18n^="faqA"] {
  color: #94a3b8 !important;
  line-height: 1.6 !important;
}
body:not([data-theme="light"]):not([data-theme="emerald"]):not([data-theme="gold"]):not([data-theme="crimson"]):not([data-theme="ruby"]):not([data-theme="sapphire"]):not([data-theme="gamdom"]) .pref-payments-container,
body:not([data-theme="light"]):not([data-theme="emerald"]):not([data-theme="gold"]):not([data-theme="crimson"]):not([data-theme="ruby"]):not([data-theme="sapphire"]):not([data-theme="gamdom"]) .pref-payments-bar {
  background: #111827 !important;
  border: none !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
}
body:not([data-theme="light"]):not([data-theme="emerald"]):not([data-theme="gold"]):not([data-theme="crimson"]):not([data-theme="ruby"]):not([data-theme="sapphire"]):not([data-theme="gamdom"]) .pref-crypto-pill {
  background: #1a2234 !important;
  border: none !important;
}

/* ==========================================================================
   8. UNIVERSAL BORDERLESS ARCHITECTURE & TONAL SURFACE LAYERING
   Replaces thin, wireframe-like 1px borders with smooth depth & tone hierarchy
   ========================================================================== */
.live-wins-ticker-wrap {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.rainbet-catalog-section,
.rb-rewards-showcase-box,
.rb-help-faq-box,
.live-bets-table-section,
.pref-payments-container,
.pref-payments-bar {
  border: none !important;
}

/* Partner Promo Cards - Frameless Floating Elevation */
.partner-promo-tile {
  border: none !important;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.32) !important;
}
.partner-promo-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45) !important;
}

/* FAQ & Help Box Elements */
.rb-help-live-card {
  border: none !important;
}
.rb-help-faq-box [style*="background:#222c42"],
.rb-help-faq-box [style*="background: #222c42"],
.rb-rewards-showcase-box [style*="background:#222c42"],
.rb-rewards-showcase-box [style*="background: #222c42"] {
  border: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16) !important;
}
.rb-help-faq-box [style*="background:#1a2336"],
.rb-help-faq-box [style*="background: #1a2336"] {
  border: none !important;
}

/* Game Cards */
.game-card-rainbet,
.rainbet-game-card {
  border: none !important;
}

/* ==========================================================================
   9. CANLI KAZANÇLAR (LIVE WINS) GREEN HEARTBEAT ANIMATION & CLICK INTERACTION
   ========================================================================== */
@keyframes liveWinsBadgeHeartbeat {
  0% {
    transform: scale(1);
    background-color: rgba(16, 185, 129, 0.22) !important;
    border-color: rgba(16, 185, 129, 0.45) !important;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45), 0 4px 14px rgba(0, 0, 0, 0.5) !important;
  }
  14% {
    transform: scale(1.05);
    background-color: rgba(16, 185, 129, 0.65) !important;
    border-color: #34d399 !important;
    box-shadow: 0 0 18px 4px rgba(16, 185, 129, 0.85), 0 4px 16px rgba(16, 185, 129, 0.45) !important;
  }
  28% {
    transform: scale(1);
    background-color: rgba(16, 185, 129, 0.28) !important;
    border-color: rgba(16, 185, 129, 0.5) !important;
    box-shadow: 0 0 8px 1px rgba(16, 185, 129, 0.4), 0 4px 14px rgba(0, 0, 0, 0.5) !important;
  }
  42% {
    transform: scale(1.08);
    background-color: rgba(16, 185, 129, 0.8) !important;
    border-color: #10b981 !important;
    box-shadow: 0 0 24px 6px rgba(16, 185, 129, 0.95), 0 4px 22px rgba(16, 185, 129, 0.55) !important;
  }
  68% {
    transform: scale(1);
    background-color: rgba(16, 185, 129, 0.22) !important;
    border-color: rgba(16, 185, 129, 0.45) !important;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0), 0 4px 14px rgba(0, 0, 0, 0.5) !important;
  }
  100% {
    transform: scale(1);
    background-color: rgba(16, 185, 129, 0.22) !important;
    border-color: rgba(16, 185, 129, 0.45) !important;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0), 0 4px 14px rgba(0, 0, 0, 0.5) !important;
  }
}

.live-wins-badge,
body .live-wins-badge,
body[data-theme] .live-wins-badge {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  z-index: 6 !important;
  height: 32px !important;
  padding: 0 14px !important;
  border-radius: 20px !important;
  border: 1.5px solid rgba(16, 185, 129, 0.5) !important;
  color: #ffffff !important;
  font-size: 12.5px !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  animation: liveWinsBadgeHeartbeat 1.6s infinite cubic-bezier(0.215, 0.61, 0.355, 1) !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7) !important;
  pointer-events: none !important;
}

.live-wins-badge * {
  pointer-events: none !important;
}

.live-win-tile {
  cursor: pointer !important;
  user-select: none !important;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.live-win-tile:hover {
  transform: translateY(-3px) scale(1.03) !important;
}
.live-win-tile:hover .lw-thumb {
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45) !important;
  filter: brightness(1.1) !important;
}
.live-win-tile:active {
  transform: scale(0.97) !important;
}




    /* Instant route display on reload - no !important so switchView functions seamlessly */
    html[data-initial-view] .page-view { display: none; }
    html[data-initial-view="promotions"] #view-promotions { display: block; }
    html[data-initial-view="rewards"] #view-rewards { display: block; }
    html[data-initial-view="live"] #view-live { display: block; }
    html[data-initial-view="virtual"] #view-virtual { display: block; }
    html[data-initial-view="sports"] #view-sports { display: block; }
    html[data-initial-view="transactions"] #view-transactions { display: block; }
    html[data-initial-view="settings"] #view-settings { display: block; }
    html[data-initial-view="blog"] #view-blog { display: block; }
    html[data-initial-view="originals"] #view-originals { display: block; }
  