:root {
    /*  ============================================ Colors ============================================ */
    --color-bg-page: #160f10;
    /* Header */
    --color-bg-header: #121218;
    --color-border-header: rgba(227, 82, 103, 0.2);
    /* Footer */
    --color-bg-footer: #160f10;
    --color-border-footer: rgba(227, 82, 103, 0.2);
    --color-text-footer: #bdb6b1;
    /* Navigation */
    --color-bg-nav: #121218;
    --color-bg-nav-mobile: #160f10;
    --color-bg-nav-link: #1c1312;
    --color-icon-menu: #e35267;
    --color-text-nav: #eeeceb;
    --color-text-nav-hover: #e35267;
    --color-text-nav-mobile: #bdb6b1;
    --color-text-nav-mobile-hover: #e35267;
    /* Text */
    --color-text: #eeeceb;
    /* Buttons and Banner*/
    --color-bg-btn-header: radial-gradient(circle at 30% 20%, #e35267 0%, #1a1213 72%);
    --color-bg-btn-primary: linear-gradient(145deg, #991f30 0%, #e0435a 16%, #ea4f65 34%, #e0435a 52%, #991f30 70%, #fe435e 100%);
    --color-border-btn-header: rgba(227, 82, 103, 0.2);
    --color-border-btn-primary: #ff7286;
    --color-text-bonus: #bf8968;
    --color-text-bonus-subtitle: #bdb6b1;
    --color-text-btn-primary: #ffffff;
    --color-text-btn-header:#eeeceb;
    --color-bg-banner: linear-gradient(135deg, #1a1213 0%, #fe435e 100%);
    /* for classic large banners */
    --banner-position-desktop:  top right;
    --banner-position-mobile:  top right 15%;
    /* can be also used for hero (template1) */
    --banner-height-desktop: 200px;
    --banner-height-mobile: 200px;

    /* Other */
    --color-border-card: rgba(227, 82, 103, 0.15);
    --color-bg-card: #1c1312;
    --color-border-table: #e35267;
    --color-bg-table-row: rgba(227, 82, 103, 0.05);
    --color-bg-section: #1c1312;
    --color-border-section: rgba(227, 82, 103, 0.15);

    /*  ============================================ Optional ============================================ */
    --height-header: 50px;
    --color-outline-focus: #e35267;
    --color-tap-highlight: #fff0;
    --color-scrollbar-thumb: #e35267;

    /* lang menu */
    --color-bg-lang-btn: #31313100;
    --color-bg-lang-menu: #1c1312;
    --color-bg-lang-option-hover: #121218;

    /* Radius tokens */
    --radius-btn: 40px;
    --radius-nav: 8px;
    --radius-game-card: 16px;
    --radius-banner-mobile: 10px;
    --radius-banner-desktop: 10px;
    --radius-bonus-banner: 10px;
    --radius-table-cell: 10px;
    --radius-section: 10px;
    --radius-author-image: 50%;
    --radius-lang-menu: 8px;

    /* Typography tokens */
    --font-size-base: 1rem;
    --font-size-h1: 35px;
    --font-size-h2: 25px;
    --font-size-h3: 22px;
    --font-size-h4: 20px;
    --font-size-h1-mobile: 30px;
    --font-size-h2-mobile: 25px;
    --font-size-h3-mobile: 20px;
    --font-size-h4-mobile: 18px;
    --font-size-bonus: 25px;
    --font-size-bonus-mobile: 20px;
    --font-size-bonus-subtitle: 20px;
    --font-size-menu-item: 16px;
    --font-size-lang: 14px;
    --font-size-footer: 13px;
    --font-size-card-title: 14px;
    --font-size-card-btn: 14px;
    --font-size-btn-primary: 1.3rem;
    --font-size-table: 14px;
    --font-size-subtitle: 18px;

    /* Font weight tokens */
    --fw-body: 400;
    --fw-h1: 700;
    --fw-h2: 700;
    --fw-h3: 700;
    --fw-h4: 700;
    --fw-btn: 700;
    --fw-menu-item: 700;
    --fw-strong: 700;
    --fw-link-footer: 700;
    --fw-bonus: 700;
    --fw-bonus-subtitle: 700;
    --fw-table: 500;
    --fw-card-title: 500;

    /* Text transform tokens */
    --text-transform-uppercase: uppercase;
    --text-transform-none: uppercase;
    --text-transform-button-primary: uppercase;
    --text-transform-button-header: uppercase;
    --text-transform-bonus-subtitle: none;
    --text-transform-bonus: uppercase;
    --text-transform-menu: uppercase;
    --color-scrollbar-thumb-hover: #1a1213;
    --color-scrollbar-track: #160f10;
    --color-border-btn-log: #e35267;
    --color-bg-social-hover: rgba(238, 236, 235, 0.1);
    --color-bg-btn-log: linear-gradient(180deg, #1a1213 0%, #121218 100%);
    --color-text-btn-bonus: #ffffff;
    --cta-btn-text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 0, 0, 0.22);
    --color-bg-btn-primary-hover: linear-gradient(145deg, #e0435a 0%, #ea4f65 26%, #fe435e 64%, #ff5971 100%);
    --stb-main-button-box-shadow: 0 0 0 2px rgba(255, 114, 134, 0.65), inset 0 1px 0 rgba(234, 79, 101, 0.55), 0 0 48px rgba(224, 67, 90, 0.85), 0 0 22px rgba(254, 67, 94, 0.65), 0 14px 34px rgba(0, 0, 0, 0.45);
    --stb-reg-log-box-shadow: 0 0 28px rgba(224, 67, 90, 0.75), 0 8px 22px rgba(0, 0, 0, 0.38);
    --cta-btn-shadow-rest: 0 0 0 2px rgba(255, 114, 134, 0.65), inset 0 1px 0 rgba(234, 79, 101, 0.55), 0 0 48px rgba(224, 67, 90, 0.85), 0 0 22px rgba(254, 67, 94, 0.65), 0 14px 34px rgba(0, 0, 0, 0.45);
    --cta-btn-shadow-pulse: 0 0 0 3px rgba(255, 114, 134, 0.85), inset 0 1px 0 rgba(255, 89, 113, 0.68), 0 0 64px rgba(224, 67, 90, 1), 0 0 32px rgba(254, 67, 94, 0.82), 0 16px 40px rgba(0, 0, 0, 0.5);
    --hero-text-panel-bg: rgba(22, 15, 16, 0.8);
    --hero-text-panel-border: rgba(254, 67, 94, 0.32);
    --hero-text-panel-shadow: 0 1px 4px rgba(0, 0, 0, 0.45), 0 0 1px rgba(0, 0, 0, 0.55);
    --hero-text-panel-radius: var(--radius-bonus-banner, 10px);
    --hero-description-color: #bf8968;
    --content-frame-mode: frame_radius;
    --content-frame-kind: card_panel;
    --content-frame-radius: 12px;
    --content-frame-pad: 14px;
    --content-frame-border-width: 1px;
    --content-frame-bg: rgba(28, 19, 18, 0.78);
    --content-frame-border: rgba(227, 82, 103, 0.55);
    --content-frame-border-inner: transparent;
    --content-frame-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
    --content-frame-img-radius: calc(12px - 4px);
}

/* Theme enhancements */

/* === MB1 casino bar (auto) === */
.casino {
  background:
    linear-gradient(180deg, rgba(158, 141, 143, 0.16) 0%, transparent 45%),
    linear-gradient(135deg, transparent 0%, rgba(155, 89, 214, 0.08) 48%, transparent 74%),
    linear-gradient(135deg, #110b0c 0%, #4c3639 34%, #171011 66%, #140e0f 100%);
  box-shadow:
    inset 0 1px 0 rgba(76, 54, 57, 0.32),
    inset 0 -22px 36px rgba(17, 11, 12, 0.42);
}

/* === UI icon contrast (auto) === */
.header-burger svg path,
.burger.header-burger svg path {
  fill: var(--color-text-nav) !important;
  fill-opacity: 0.85;
}
.c-burger .svg-icon,
.c-burger .svg-icon path,
.c-burger__line {
  fill: var(--color-text-nav) !important;
}
.hamburger-btn span {
  background: var(--color-text-nav) !important;
}
.header .mobile-menu-toggle span {
  background-color: var(--color-text-nav) !important;
}

/* === Primary button text (auto) === */
.cta-btn,
.login-btn,
.btn-primary,
.btn--primary,
.btn--danger.btn--primary,
.bonus-btn,
.button--super-primary,
.button.button--super-primary,
.text-btn .button,
.home-bonuses-card__button,
.o-play-btn,
.o-action-btn,
.o-btn.o-play-btn,
.sa-btn.sa-btn_primary,
.sa-call-to-action .sa-btn_primary,
.main__btn,
.hero_btn {
  color: var(--color-text-btn-primary) !important;
  background: var(--color-bg-btn-primary) !important;
  border: 2px solid var(--color-border-btn-primary) !important;
  text-shadow: var(--cta-btn-text-shadow) !important;
  box-shadow: var(--cta-btn-shadow-rest, var(--stb-main-button-box-shadow)) !important;
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.15s ease, border-color 0.2s ease;
}
.cta-btn:hover,
.login-btn:hover,
.btn-primary:hover,
.btn--primary:hover,
.btn--danger.btn--primary:hover,
.bonus-btn:hover,
.button--super-primary:hover,
.button.button--super-primary:hover,
.text-btn .button:hover,
.home-bonuses-card__button:hover,
.o-play-btn:hover,
.o-action-btn:hover,
.o-btn.o-play-btn:hover,
.sa-btn.sa-btn_primary:hover,
.sa-call-to-action .sa-btn_primary:hover,
.main__btn:hover,
.hero_btn:hover {
  color: var(--color-text-btn-primary) !important;
  background: var(--color-bg-btn-primary-hover, var(--color-bg-btn-primary)) !important;
  box-shadow: var(--cta-btn-shadow-pulse, var(--stb-main-button-box-shadow)) !important;
  transform: translateY(-1px);
}
.cta-btn:active,
.login-btn:active,
.btn-primary:active,
.btn--primary:active,
.btn--danger.btn--primary:active,
.bonus-btn:active,
.button--super-primary:active,
.button.button--super-primary:active,
.text-btn .button:active,
.home-bonuses-card__button:active,
.o-play-btn:active,
.o-action-btn:active,
.o-btn.o-play-btn:active,
.sa-btn.sa-btn_primary:active,
.sa-call-to-action .sa-btn_primary:active,
.main__btn:active,
.hero_btn:active {
  transform: translateY(0);
}

/* === Content image frame (auto) === */
.img-wrp {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 10px auto;
  padding: 14px;
  background: rgba(28, 19, 18, 0.78);
  border: 1px solid rgba(227, 82, 103, 0.55);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
  box-sizing: border-box;
  line-height: 0;
}

.img-wrp img {
  display: block;
  border-radius: calc(12px - 4px);
  width: 100%;
  height: auto;
  max-width: 100%;
  margin: 0;
}