/* ==========================================================================
   TKB9 theme  -  https://coolors.co/97dffc-858ae3-613dc1
   60 / 30 / 10:
     60%  base       #858AE3  page field, header band, footer, article
     30%  secondary  #97DFFC  cards, panels, topbar (+ #BCE9FD / #DCF3FE tints)
     10%  accent     #613DC1  CTA buttons and links only
   Body copy is dark (#1F1B3A): 5.3:1 on the base, 11.2:1 on the secondary.
   White is reserved for nav and large headings, where 3:1 is the threshold.
   Everything here overrides the shipped dark theme's custom properties.
   Delete this file and its <link> in index.html to restore the original.
   ========================================================================== */

:root{
  /* ---------- 60% base ---------- */
  --tkb-base:        #858AE3;
  --tkb-base-dark:   #6E74D8;
  --tkb-base-deep:   #5A60C4;
  /* ---------- 30% secondary ---------- */
  --tkb-surface:     #97DFFC;
  --tkb-surface-2:   #BCE9FD;
  --tkb-surface-3:   #DCF3FE;
  --tkb-line:        #7AD4FB;
  /* ---------- 10% accent ---------- */
  --tkb-accent:      #613DC1;
  --tkb-accent-dark: #4E31A0;
  --tkb-accent-deep: #35217A;
  /* ---------- text ---------- */
  --tkb-text:        #1F1B3A;
  --tkb-muted:       #2A2550;
  --tkb-on-dark:     #FFFFFF;

  /* ================= shell ================= */
  --body-bg: var(--tkb-base);
  --site-content-cntr-bg: var(--tkb-base);
  --home-inner-cntr-bg: rgba(151,223,252,.55);

  /* ================= topbar (secondary) ================= */
  --topbar-cntr-bg: var(--tkb-surface);
  --topbar-cntr-border: var(--tkb-line);
  --topbar-left-section-item-color: var(--tkb-text);
  --topbar-left-section-item-a-color: var(--tkb-text);
  --topbar-left-section-item-a-hover-color: var(--tkb-accent);
  --topbar-left-section-item-item-border: var(--tkb-line);
  --topbar-left-section-lang-sel-bg: var(--tkb-surface-3);
  --topbar-left-section-lang-sel-cntr-color: var(--tkb-text);
  --topbar-left-section-lang-sel-li-bg: var(--tkb-surface-3);
  --topbar-left-section-lang-sel-li-hover-bg: var(--tkb-surface-2);
  --topbar-left-section-lang-sel-trig-after-btop: var(--tkb-text);
  --topbar-left-section-icon-android-filter: none;

  /* ================= header band (base) ================= */
  --site-header-bg: linear-gradient(to right, var(--tkb-base-dark) 0%, var(--tkb-base-deep) 100%);
  --site-header-bs: inset 0px 2px 1px rgba(255,255,255,.28);

  /* ================= main nav ================= */
  --top-menu-li-color: var(--tkb-on-dark);
  --top-menu-li-true-hover-color: var(--tkb-surface);
  --top-menu-li-before-bg: rgba(255,255,255,.38);
  --top-menu-game-list-cntr-bg: rgba(220,243,254,.98);
  --top-menu-game-list-cntr-border: var(--tkb-accent);
  --top-menu-games-cntr-li-a-img-bg: linear-gradient(180deg, var(--tkb-surface-3) 25%, var(--tkb-surface-2) 100%);
  --top-menu-games-cntr-li-bg: linear-gradient(180deg, rgba(0,0,0,0) 25%, var(--tkb-base) 100%);
  --top-menu-games-cntr-li-hover-a-bg: rgba(97,61,193,.12);
  --top-tab-cntr-a-bg: var(--tkb-surface-2);
  --top-tab-cntr-a-color: var(--tkb-text);
  --top-tab-cntr-a-true-hover-bg: var(--tkb-surface);

  /* ================= CTAs (accent - the 10%) ================= */
  --login-panel-reg-btn-bg: linear-gradient(to right, var(--tkb-accent) 0%, var(--tkb-accent-dark) 100%);
  --login-panel-reg-btn-hover-bg: linear-gradient(to right, var(--tkb-accent-dark) 0%, var(--tkb-accent) 100%);
  --login-panel-btn-bg: var(--tkb-accent-deep);
  --login-panel-btn-hover-bg: var(--tkb-accent-dark);
  --play-now-bg: var(--tkb-accent);
  --play-now-hover-bg: var(--tkb-accent-dark);

  /* ================= jackpot ================= */
  --jackpot-cntr-bg: linear-gradient(var(--tkb-accent), var(--tkb-accent-deep));
  --jackpot-cntr-box-shadow: 0px 5px 15px rgba(53,33,122,.35);
  --jackpot-border-cntr-border: var(--tkb-accent);
  --jackpot-inner-cntr-bg: var(--tkb-accent-deep);
  --jackpot-currency-color: var(--tkb-surface);
  --jackpot-play-section-text-color: var(--tkb-accent);
  --jackpot-play-section-text-label-color: var(--tkb-text);
  --home-progressive-jackpot-bg: linear-gradient(var(--tkb-surface-2), var(--tkb-surface-3), var(--tkb-surface-2));
  --home-progressive-jackpot-color: var(--tkb-text);
  --home-progressive-jackpot-outer-cntr-bg: transparent;
  --home-progressive-jackpot-border-cntr-bg: rgba(255,255,255,.55);
  --home-progressive-jackpot-border-cntr-border: var(--tkb-accent);
  --home-progressive-jackpot-inner-cntr-bg: linear-gradient(var(--tkb-surface), rgba(255,255,255,0));
  --home-progressive-jackpot-jackpot-cntr-bg: linear-gradient(var(--tkb-accent), var(--tkb-accent-deep));
  --home-progressive-jackpot-jackpot-inner-cntr-bg: var(--tkb-accent-deep);
  --home-progressive-jackpot-jackpot-border-cntr-border: var(--tkb-accent);
  --home-progressive-jackpot-jackpot-border-cntr-text-shadow: 0px 2px 18px rgba(151,223,252,.75);
  --home-progressive-jackpot-jackpot-currency-color: var(--tkb-surface);
  --home-progressive-jackpot-jackpot-play-text-color: var(--tkb-accent);
  --home-progressive-jackpot-jackpot-play-text-label-color: var(--tkb-text);

  /* ================= game lists (secondary) ================= */
  --game-list-cntr-bg: rgba(151,223,252,.92);
  --game-list-game-item-bg: linear-gradient(to bottom, var(--tkb-surface-3) 0%, var(--tkb-surface-2) 100%);
  --game-list-game-player-color: var(--tkb-text);
  --game-list-provider-name-color: var(--tkb-accent);
  --game-list-cntr-vendor-name-color: var(--tkb-text);
  --game-desc-cntr-game-title-color: var(--tkb-text);
  --game-desc-cntr-game-desc-color: var(--tkb-muted);
  --game-list-cntr-category-filter-link-active-hover-bg: var(--tkb-accent);
  --game-list-cntr-filter-section-bg: linear-gradient(to right, var(--tkb-surface-2) 0%, var(--tkb-surface-3) 100%);
  --game-list-cntr-filter-section-after-bg: var(--tkb-accent);
  --game-list-cntr-filter-section-input-text-bg: var(--tkb-surface-3);
  --game-list-cntr-filter-section-input-text-border: var(--tkb-line);
  --game-list-cntr-filter-section-input-text-color: var(--tkb-text);

  /* ================= section headings ================= */
  --popular-game-title-cntr-color: var(--tkb-text);
  --popular-game-title-cntr-a-bg: var(--tkb-accent);
  --popular-game-title-cntr-a-color: var(--tkb-on-dark);
  --popular-game-title-cntr-game-list-cntr-bg: var(--tkb-surface-3);
  --popular-game-title-cntr-game-list-cntr-border: var(--tkb-line);
  --popular-game-title-cntr-i-border-top: var(--tkb-line);
  --popular-game-title-cntr-i-border-bottom: var(--tkb-accent);
  --popular-game-title-cntr-content-game-list-scrollbar-thumb-bg: var(--tkb-accent);

  /* ================= providers / trust ================= */
  --provider-cntr-border: var(--tkb-line);
  --provider-cntr-legend-color: var(--tkb-text);
  --provider-slide-bg: var(--tkb-surface-2);
  --provider-slide-bg-linear: linear-gradient(to bottom, var(--tkb-surface-3) 0%, var(--tkb-surface-2) 100%);
  --provider-slide-border: var(--tkb-line);
  --provider-slide-i-color: var(--tkb-text);
  --provider-slide-i-hover-bg: rgba(97,61,193,.10);
  --provider-outer-game-list-cntr-game-info-bg: var(--tkb-surface-3);
  --provider-outer-game-list-cntr-game-info-border: var(--tkb-line);

  /* ================= footer (base) ================= */
  --site-footer-bg: var(--tkb-base);
  --site-desc-color: var(--tkb-text);
  --site-info-cntr-bg: var(--tkb-surface);
  --site-info-cntr-section-title-color: var(--tkb-text);
  --site-info-title-h3-color: var(--tkb-text);
  --site-info-inner-cntr-color: var(--tkb-text);
  --site-info-inner-cntr-footer-links-li-a-color: var(--tkb-accent-deep);
  --site-info-inner-cntr-footer-links-li-a-hover-color: var(--tkb-accent);
  --site-info-inner-cntr-site-links-cntr-border: rgba(31,27,58,.22);
  --site-info-inner-cntr-supp-list-li-border: rgba(31,27,58,.22);
  --footer-separator-border: rgba(31,27,58,.25);
  --footer-sitemap-header-color: var(--tkb-text);
  --footer-description-header-color: var(--tkb-text);
  --footer-transaction-service-header-color: var(--tkb-text);
  --footer-sitemap-link-color: var(--tkb-muted);
  --footer-description-note-color: var(--tkb-text);
  --footer-transaction-service-note-color: var(--tkb-muted);
  --footer-bank-list-note-color: var(--tkb-muted);
  --footer-featured-product-card-header-color: var(--tkb-text);
  --footer-featured-product-card-note-color: var(--tkb-muted);
  --footer-hero-icon-bg: var(--tkb-surface-2);
  --footer-sitemap-icon-bg: var(--tkb-surface-2);
  --footer-sitemap-icon-filter: none;
  --footer-banking-card-bg: var(--tkb-surface-3);
  --footer-featured-product-bg: var(--tkb-surface-3);
  --footer-card-container-border: var(--tkb-line);

  /* ================= modals / forms ================= */
  --std-form-content-bg: rgba(220,243,254,.98);
  --std-form-content-color: var(--tkb-text);
  --std-form-title-color: var(--tkb-accent);
  --std-form-title-flex-a-color: var(--tkb-accent);
  --std-form-sub-title-border: var(--tkb-accent);
  --std-form-note-bg: var(--tkb-surface-2);
  --std-form-note-color: var(--tkb-text);
  --std-form-note-a-color: var(--tkb-accent);
  --std-form-note-span: var(--tkb-accent);
  --std-form-title-with-back-icon-a-img-filter: none;
  --std-outline-btn-border: var(--tkb-accent);
  --std-inline-form-group-form-content-form-cntrl-bg: #fff;
  --std-inline-form-group-form-content-form-cntrl-border: var(--tkb-line);
  --std-inline-form-group-form-cntrl-disabled-bg: var(--tkb-surface-2);
  --std-nav-bar-a-border: var(--tkb-line);
  --std-nav-bar-title: var(--tkb-accent);
  --std-nav-bar-a-not-active-true-hover-border: var(--tkb-accent);
  --std-nav-bar-a-not-active-true-hover-color: var(--tkb-accent);
  --std-side-menu-bg: var(--tkb-surface-2);
  --std-side-menu-color: var(--tkb-text);
  --std-side-menu-a-border: var(--tkb-line);
  --search-input-cntr-input-bg: #fff;
  --search-input-cntr-input-border: var(--tkb-line);
  --search-input-cntr-input-placeholder-color: var(--tkb-muted);
  --search-result-provider-list-item-item-border: var(--tkb-line);
  --search-header-title-img-filter: none;
  --data-cntr-bg: var(--tkb-surface-3);
}

/* ---- the shipped page background art is dark; the base colour replaces it ---- */
[data-container-background="home"]{
  background-image: linear-gradient(180deg, var(--tkb-base-dark) 0%, var(--tkb-base) 55%) !important;
}

/* ---- inline colours in the markup were written for the dark theme ---- */
.site-description p{ color: var(--tkb-text) !important; }
.site-description h1,
.site-description h2{ color: var(--tkb-accent-deep) !important; }
.site-description a{ color: var(--tkb-accent-deep); }
.site-description a:hover{ color: var(--tkb-accent); }
.copyright{ color: var(--tkb-text) !important; }

/* ---- telegram button ships a hardcoded blue gradient ---- */
.telegram-btn,
.topbar-left-section .topbar-item a.telegram-btn:hover{
  background-image: linear-gradient(to bottom, var(--tkb-accent) , var(--tkb-accent-dark)) !important;
  color:#fff !important;
}

/* ---- .game-list .game-name ships a hardcoded white; the cards are light now.
        The selector must keep the shipped (0,2,0) specificity to win. ---- */
.game-list .game-name{ color: var(--tkb-text); }
.game-list .provider-name{ color: var(--tkb-muted); }
.search-result-game-list .game-item .game-item-info .game-name{ color: var(--tkb-text); }

/* ---- keyword chips read as links (accent = the 10%) ---- */
.footer-links li a{ color: var(--tkb-accent-deep); }
.footer-links li a:hover{ color: var(--tkb-accent); }

/* ---- Provider / trust logos are white greyscale artwork cut for the dark theme
        (brightness ~178, saturation 0). The :first-child picture is the resting
        state and the :last-child is the coloured hover state, so darkening only
        the resting one keeps the hover reveal intact. ---- */
.hover-list > li > picture:first-child img,
.hover-list > li a > picture:first-child img,
.hover-list > li > img:first-child{
  filter: brightness(0);
  opacity: .72;
}
.hover-list > li:hover > picture:first-child img,
.hover-list > li:hover a > picture:first-child img{ opacity: 0; }

/* ---- The APK band pulls its background from the red-white theme's artwork
        (assets/cdn2/.../download-apk-background.webp). Replace it with the
        palette so the section matches; the white copy over it still clears
        4.5:1 against the deep accent. ---- */
.download-apk-container{
  background: linear-gradient(135deg,
      var(--tkb-accent-deep) 0%,
      var(--tkb-accent) 55%,
      var(--tkb-base-deep) 100%) !important;
  background-size: cover !important;
}
