/* ==========================================================================
   TKB9 palette  —  1C3144 / D00000 / FFBA08
   Mirrors the design system in cafe.cafe-21.com/assets/css/tkb9.css.

   The rule that makes this palette work: RED IS STRUCTURE, NOT FILL.
   It lives in 1px panel outlines, dividers, borders and one title bar per
   section. Gold is the single loudest thing on screen and is reserved for
   the primary CTA, links and key figures. Everything else is the navy scale.

     60%  base       navy scale, #0C1620 floor up to #26425B raised
     30%  secondary  #D00000 — outlines, dividers, title bars, login button
     10%  accent     #FFBA08 — register / play CTAs, links, prices, RTP
   ========================================================================== */

:root {
    /* 60% — base */
    --navy: #1c3144;
    --navy-900: #0c1620;
    --navy-800: #12212e;
    --navy-700: #1c3144;
    --navy-600: #26425b;

    /* 30% — secondary */
    --red: #d00000;
    --red-deep: #8e0000;
    --red-bright: #f51818;
    --red-soft: rgba(208, 0, 0, .38);
    --red-glow: rgba(208, 0, 0, .45);

    /* 10% — accent */
    --gold: #ffba08;
    --gold-deep: #c78a00;
    --gold-light: #ffd968;
    --gold-soft: rgba(255, 186, 8, .32);
    --gold-glow: rgba(255, 186, 8, .55);

    /* type */
    --text: #f2f6fa;
    --text-dim: #9fb4c6;
    --on-gold: #14212e;

    /* ---- base surfaces --------------------------------------------- */
    --body-bg: var(--navy-900);
    --site-footer-bg: var(--navy-900);
    --modal-body-bg: var(--navy-800);
    --modal-footer-bg: var(--navy-800);
    --transactions-table-body-bg: var(--navy-800);

    /* Masthead: navy, so the logo's red "9" and swooshes keep separation. */
    --site-header-bg: linear-gradient(90deg, var(--navy-900), var(--navy-700) 50%, var(--navy-900));
    --topbar-cntr-bg: var(--navy-900);
    --topbar-cntr-border: var(--red);
    --topbar-left-section-item-color: var(--text);
    --topbar-left-section-item-a-color: var(--text);
    --topbar-left-section-item-item-border: var(--red-soft);

    /* ---- secondary: outlines and dividers --------------------------- */
    --modal-header-bg: linear-gradient(90deg, var(--red-deep) 0, var(--red) 50%, var(--red-deep) 100%);
    --register-forgot-pass-modal-header-bg: var(--red-deep);
    --modal-footer-border: var(--red-soft);
    --announcement-outer-cntr-bg: linear-gradient(90deg, var(--red-deep) 0, var(--red) 50%, var(--red-deep) 100%);
    --announcement-outer-cntr-color: #fff;
    --provider-cntr-border: var(--red);
    --footer-separator-border: var(--red-soft);
    --top-menu-game-list-cntr-border: var(--red);
    --top-menu-li-before-bg: var(--red);
    --game-list-cntr-category-filter-link-active-bg: var(--red);
    --game-list-cntr-category-filter-link-active-hover-bg: var(--red-deep);
    --game-list-cntr-category-filter-link-active-color: #fff;
    --site-info-inner-cntr-site-links-cntr-border: var(--red-soft);
    --footer-card-container-border: var(--red-soft);

    /* secondary action */
    --login-panel-btn-bg: linear-gradient(180deg, var(--red) 0, var(--red-deep) 100%);
    --login-panel-btn-hover-bg: var(--red-bright);

    /* ---- accent: CTA, links, figures -------------------------------- */
    --primary-button-bg: var(--gold);
    --primary-button-hover-bg: var(--gold-deep);
    --play-now-bg: linear-gradient(135deg, var(--gold-light) 0, var(--gold) 45%, var(--gold-deep) 100%);
    --login-panel-reg-btn-bg: linear-gradient(135deg, var(--gold-light) 0, var(--gold) 45%, var(--gold-deep) 100%);

    --theme-text-color: var(--gold);
    --footer-sitemap-link-color: var(--gold);
    --view-link-color: var(--gold);
    --site-info-inner-cntr-footer-links-li-a-color: var(--text-dim);
    --site-info-inner-cntr-footer-links-li-a-hover-color: var(--gold);
    --top-menu-li-true-hover-color: var(--gold);
    --game-list-provider-name-color: var(--gold);

    /* jackpot: dark well, gold figures, red frame */
    --home-progressive-jackpot-bg: linear-gradient(180deg, var(--navy-800), var(--navy-900));
    --home-progressive-jackpot-jackpot-cntr-bg: linear-gradient(180deg, var(--navy-900), #000);
    --jackpot-cntr-bg: linear-gradient(180deg, var(--navy-900), #000);
    --home-progressive-jackpot-color: var(--gold);
    --home-progressive-jackpot-border-cntr-border: var(--red);
    --home-progressive-jackpot-jackpot-border-cntr-border: var(--red);
    --jackpot-border-cntr-border: var(--red);
    --home-progressive-jackpot-jackpot-currency-color: var(--text-dim);
    --jackpot-currency-color: var(--text-dim);
    --home-progressive-jackpot-jackpot-play-text-color: var(--gold);
    --jackpot-play-section-text-color: var(--gold);
}

/* --------------------------------------------------------------------------
   Links. Element-level, so any class-styled link keeps its own colour.
   Bootstrap's default #428bca is only 3.8:1 on this ground.
   -------------------------------------------------------------------------- */
a {
    color: var(--gold);
}

a:hover,
a:focus {
    color: var(--gold-light);
}

/* --------------------------------------------------------------------------
   Structure: navy panels outlined in red.
   -------------------------------------------------------------------------- */
.site-header {
    border-bottom: 1px solid var(--red);
}

.topbar-container {
    border-bottom: 1px solid var(--red-soft);
}

.home-progressive-jackpot {
    border-top: 4px solid var(--red);
    border-bottom: 4px solid var(--red);
}

.download-apk-container {
    background: linear-gradient(180deg, var(--navy-700) 0, var(--navy-800) 55%, var(--navy-900) 100%);
    border-top: 4px solid var(--red);
    border-bottom: 4px solid var(--red);
}

/* The certification row and the provider grid are panels, not red slabs. */
.site-footer .row.tkb9-band {
    background: linear-gradient(180deg, var(--navy-800) 0, var(--navy-900) 100%);
    border: 1px solid var(--red);
    border-radius: 12px;
    padding: 20px 18px 12px;
    margin-left: 0;
    margin-right: 0;
    box-shadow: 0 0 0 1px rgba(255, 186, 8, .06), 0 10px 28px rgba(0, 0, 0, .5);
}

.site-footer .row.tkb9-band + .row.tkb9-band {
    margin-top: 16px;
}

fieldset.provider-container {
    border: 1px solid var(--red-soft);
    border-radius: 10px;
    padding: 6px 12px 10px;
}

/* --------------------------------------------------------------------------
   Title bars — the one place red is a fill, one per section.
   -------------------------------------------------------------------------- */
.popular-game-title-container,
.site-footer .footer-section-title,
fieldset.provider-container legend {
    background: linear-gradient(90deg, var(--red-deep) 0, var(--red) 50%, var(--red-deep) 100%);
    color: #fff;
    border: 0;
    border-bottom: 1px solid var(--gold-soft);
    text-shadow: 0 1px 2px rgba(0, 0, 0, .55);
}

.popular-game-title-container {
    border-radius: 8px;
    padding: 10px 16px;
}

.site-footer .footer-section-title,
fieldset.provider-container legend {
    display: inline-block;
    width: auto;
    border-radius: 8px;
    padding: 4px 14px;
}

.popular-game-title-container a {
    color: #fff;
}

.popular-game-title-container a:hover,
.popular-game-title-container a:focus {
    color: var(--gold-light);
}

/* A gold hairline under each red bar, as on the landing page. */
.cyber-line,
.footer-separator {
    height: 2px;
    border: 0;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, var(--red) 30%, var(--gold) 50%, var(--red) 70%, transparent);
}

/* --------------------------------------------------------------------------
   Accent: the loudest elements. Dark ink on gold is 9.5:1; white would be 1.8.
   -------------------------------------------------------------------------- */
.play-now {
    color: var(--on-gold);
    font-weight: 700;
    border: 1px solid var(--gold);
    box-shadow: 0 0 12px var(--gold-soft);
}

.login-panel .register-button {
    color: var(--on-gold);
    font-weight: 700;
    border: 2px solid var(--gold);
    box-shadow: 0 0 10px var(--gold-soft);
}

.login-panel .login-button {
    color: #fff;
    border: 2px solid var(--red-bright);
}

.login-panel .register-button:hover,
.login-panel .register-button:focus {
    background: linear-gradient(135deg, #ffe08a 0, var(--gold-light) 45%, var(--gold) 100%);
    color: var(--on-gold);
}

/* Key figures pick up the accent, as the stat values do on the landing page. */
#progressive_jackpot,
.game-list-provider-name,
.provider-name {
    color: var(--gold);
    text-shadow: 0 0 12px rgba(255, 186, 8, .35);
}

/* Telegram keeps its brand blue but deepened: stock #0bb4ff put white text at
   2.3:1. This lands at 5.5:1 and sits better against the navy ground. */
.topbar-left-section .topbar-item a.telegram-btn,
.topbar-left-section .topbar-item a.telegram-btn:hover {
    color: #fff;
    background-image: linear-gradient(to bottom, #0a6fa5, #024b73);
}

/* --------------------------------------------------------------------------
   Editorial block: navy panel, red outline, gold headline.
   -------------------------------------------------------------------------- */
.site-description {
    color: var(--text);
}

.site-description h1 {
    color: var(--gold);
    text-shadow: 0 0 18px rgba(255, 186, 8, .28);
}

.site-description h2 {
    color: var(--text);
    border-left: 3px solid var(--red);
    padding-left: 12px;
}

.site-description p {
    color: var(--text);
}

.site-description a {
    color: var(--gold);
    text-decoration: none;
}

.site-description a:hover,
.site-description a:focus {
    color: var(--gold-light);
    text-decoration: underline;
}

.footer-links > li > a {
    color: var(--gold);
}

.footer-links > li > a:hover {
    color: var(--gold-light);
}

.copyright {
    color: var(--text-dim);
}
