/* Theme overrides for the original desktop template. */
:root {
  --navy: #1a2a6c;
  --inset: #142255;
  --raised: #253778;
  --hover: #324581;
  --line: #566897;
  --text: #f5f7fc;
  --muted: #d5dced;
  --action: #ffd700;
}
html, body { background: var(--navy); color: var(--text); min-width: 0; }
body a { color: var(--text); }
body a:hover, body a:focus { color: white; }
a:focus-visible, button:focus-visible, [role="button"]:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}
body .topbar-container, body .site-header, body .banner, body .home-info-container,
body .download-apk-container, body .telegram-banner-container, body .site-footer {
  background: var(--navy);
  border-color: var(--line);
}
body .topbar-container { position: relative; z-index: 22; background: var(--inset); }
.topbar-left-section .topbar-item .live-chat,
.topbar-left-section .topbar-item .live-chat:hover { color: var(--text); background: transparent; }
.topbar-left-section .language-selector, .topbar-left-section .language-selector li {
  color: var(--text); background: var(--inset); border-color: var(--line);
}
.topbar-left-section .topbar-item a,
.topbar-left-section .topbar-item a:is(.download-apk-btn, .telegram-btn, .live-chat) {
  color: var(--text); background: transparent; border-radius: 4px;
}
.topbar-left-section .topbar-item a:hover,
.topbar-left-section .topbar-item a:is(.download-apk-btn, .telegram-btn, .live-chat):hover {
  color: white; background: var(--raised);
}
.topbar-left-section .topbar-item + .topbar-item { border-color: var(--line); }
.topbar-left-section .topbar-item [data-icon] { filter: grayscale(1) brightness(0) invert(.95); }
.topbar-left-section .current-language { cursor: default; }
.topbar-left-section .current-language::after { display: none; }
.login-panel .login-button, .login-panel .login-button:hover, .free-play, .free-play:hover {
  color: var(--text); background: var(--inset); border: 1px solid var(--line);
}
.login-panel .register-button, .login-panel .register-button:hover,
.game-item .play-now, .game-item .play-now:hover, .download-apk .btn, .download-apk .btn:hover,
body .conversion-button, body .conversion-button:hover {
  background: var(--action); color: var(--navy); border: 1px solid var(--action);
  font-weight: bold; text-shadow: none; box-shadow: none;
}
.login-panel .register-button:hover, .game-item .play-now:hover, .download-apk .btn:hover,
body .conversion-button:hover { text-decoration: underline; text-underline-offset: 2px; }
.login-panel a:focus-visible { outline: 2px solid white; outline-offset: 2px; }

/* Keep the original horizontally scrolling list. The flyout has a viewport
   containing block so the two source overflow rules cannot clip it. */
.site-header { position: relative; z-index: 20; border-bottom-width: 1px; }
.site-header .row { display: flex; align-items: center; }
.site-header .row::before, .site-header .row::after { display: none; }
.site-header .row > div { min-width: 0; }
.site-header .logo > picture {
  position: absolute; left: 0; inset-block: 0; display: flex; align-items: center;
  justify-content: center; width: 100%; height: 100%; margin: 0; transform: none;
}
.site-header .logo > picture img {
  display: block; width: 100%; max-width: 240px; height: auto; object-fit: contain;
}
#menu_slides { overflow: visible; }
#menu_slides > i { color: var(--muted); flex: 0 0 26px; text-align: center; padding: 12px 0; margin: 0; }
#menu_slides > i:hover { color: white; }
#menu_slides .top-menu {
  display: flex; flex-wrap: nowrap; flex: 1 1 0; align-items: stretch; min-width: 0;
  overflow-x: auto; overflow-y: hidden; scrollbar-width: none; scroll-behavior: smooth;
}
#menu_slides .top-menu::-webkit-scrollbar { display: none; }
#menu_slides .top-menu > li {
  display: flex; flex-direction: column; min-width: 0; width: auto;
  flex: 1 0 max(70px, calc(100% / 10)); color: var(--muted);
  background: transparent; border-radius: 5px 5px 0 0;
}
#menu_slides .top-menu > li > a {
  display: flex; flex: 1; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; padding: 10px 3px; min-height: 72px; font-size: 12px; line-height: 1.16;
  font-weight: 600; color: inherit; text-decoration: none; text-align: center;
}
#menu_slides .top-menu > li > a::after, #menu_slides .top-menu > li > a .floating-icon { display: none; }
#menu_slides .top-menu > li > a > img {
  display: block; width: 30px; height: 30px; margin: 0; object-fit: contain;
  content: normal; filter: grayscale(1) brightness(0) invert(.91);
}
#menu_slides .top-menu > li[data-expanded], #menu_slides .top-menu > li[data-active="true"],
#menu_slides .top-menu > li:hover, #menu_slides .top-menu > li:focus-within {
  color: white; background: var(--raised); box-shadow: inset 0 -2px 0 var(--muted);
}
#menu_slides .top-menu > li > a:focus-visible { outline-offset: -3px; }
#menu_slides .top-menu .game-list {
  position: fixed; z-index: 25; top: var(--menu-top, 0); bottom: auto;
  right: var(--menu-inset, 8px); left: var(--menu-inset, 8px);
  display: none; justify-content: center; align-content: flex-start; margin: 0;
  padding: 9px; max-height: calc(100dvh - var(--menu-top, 0px) - 10px);
  overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
  background: var(--inset); border: 1px solid var(--line);
  border-radius: 0 0 10px 10px; box-shadow: 0 12px 26px #0a113366;
}
#menu_slides.navigation-ready .top-menu > li[data-expanded] > .game-list,
#menu_slides:not(.navigation-ready) .top-menu > li:is(:hover, :focus-within) > .game-list { display: flex; }
#menu_slides:not(.navigation-ready) .top-menu .game-list { position: absolute; top: 100%; max-height: 60vh; }
#menu_slides .game-list > li { flex: 0 0 25%; min-width: 0; padding: 3px 6px; }
#menu_slides .game-list > li > a { border-radius: 7px; }
#menu_slides .game-list > li:hover > a { transform: none; }
#menu_slides .game-list > li > a .background { background: var(--raised); border-color: var(--line); }
#menu_slides .game-list > li > a:is(:hover, :focus-visible) .background {
  background: var(--hover); border-color: var(--muted);
}
#menu_slides .game-list > li > a .foreground { background-repeat: no-repeat; }
.banner .slick-slide img, .banner-carousel img { object-fit: contain; background: var(--navy); }
/* All original banner slides use the same requested artwork. */
.banner .carousel-indicators { display: none !important; }

/* The decorative points have no DOM nodes, focus target, or pointer hitbox. */
.site-header::after {
  content: ''; position: absolute; top: 17%; left: 2%; width: 2px; height: 2px;
  border-radius: 50%; background: #e3eaff; pointer-events: none; opacity: .42;
  box-shadow: 9vw 24px 4px 1px #e3eaff, 18vw 5px 2px #e3eaff,
    27vw 50px 3px #e3eaff, 42vw 13px 3px #e3eaff, 60vw 38px 2px #e3eaff,
    74vw 4px 3px 1px #e3eaff, 85vw 42px 3px #e3eaff, 94vw 11px 2px #e3eaff;
  animation: header-glow 5s ease-in-out infinite alternate;
}
@keyframes header-glow { to { opacity: .2; transform: translateY(-3px); } }

.announcement-container { color: var(--text); background: var(--inset); }
.announcement-container [data-section="announcements"] { background: transparent; }
.announcement-container .announcement-list li { color: var(--muted); }
.home-inner-container > * { min-width: 0; }
.home-progressive-jackpot, .home-progressive-jackpot .outer-container, .home-progressive-jackpot .inner-container,
.home-progressive-jackpot .border-container, .home-progressive-jackpot .jackpot-container,
.home-progressive-jackpot .jackpot-inner-container, .home-progressive-jackpot .jackpot-border-container {
  min-width: 0; background: var(--inset); border-color: var(--line);
}
.home-progressive-jackpot .outer-container, .home-progressive-jackpot .inner-container { padding: 5px; }
.home-progressive-jackpot .border-container { gap: clamp(8px, 2vw, 30px); }
.home-progressive-jackpot .jackpot-container { background: var(--raised); }
.home-progressive-jackpot .jackpot-currency, .home-progressive-jackpot .jackpot-play-section .jackpot-play-text,
.home-progressive-jackpot .jackpot-play-section .jackpot-play-text label { color: var(--text); }
.lottery-result-container, .lottery-result-container .lottery-numbers { background: var(--inset); color: var(--text); }
.lottery-result-container .lottery-result-title { background: var(--raised); }
.popular-game-title-container .container-title span { background: var(--raised); color: var(--text); }
.popular-game-title-container .container-title span::after { display: none; }
.popular-game-title-container .container-content { border-color: var(--line); }
.popular-game-title-container .container-content .game-list .game-item .game-name { color: var(--muted); }
.popular-games { position: relative; background: var(--inset); }
.popular-games [data-section="left"] .section-title,
.popular-games .nav-tabs > li > a, .popular-games .scrtabs-tab-scroll-arrow {
  color: var(--text); background: var(--raised);
}
.popular-games .nav-tabs > li.active > a, .popular-games .nav-tabs > li > a:is(:hover,:focus),
.popular-games .nav-tabs > li.active > a:is(:hover,:focus) { color: white; background: var(--hover); }
.popular-games .tab-pane, .popular-games .jackpot-winners,
.jackpot-winners .winners-ticker-container, .winners-ticker ul li .winner-amount {
  background: var(--inset); color: var(--text);
}
.popular-games .tab-content, .winners-ticker ul li { border-color: var(--line); }
.popular-games .scrtabs-tab-container { max-width: 100%; overflow: hidden; background: var(--inset); }
.popular-games [data-section="left"] [data-icon="play"] { filter: grayscale(1) brightness(0) invert(.95); }
.popular-games .animated-image { max-width: 100%; object-fit: contain; }
.game-list .game-item:focus-within .link-container, .popular-games .game-item:focus-within .link-container {
  opacity: 1; background-color: #101d50d1;
}
.download-apk { gap: 20px; padding-block: 24px; }
#download_apk > div { opacity: 1; transform: none; transition: none; min-width: 0; }
.download-apk-qr-code img { object-fit: contain; }
.download-apk > div:first-child img, .telegram-banner-container img { display: block; width: 100%; height: auto; }
.download-apk .download-apk-section i { color: var(--muted); }
.download-apk .h2 { font-size: clamp(23px, 3vw, 35px); }
.site-footer .footer-links a, .site-footer .copyright, .site-footer .footer-section-title,
.site-footer .site-info-title h3, .site-footer .site-info-title h5,
.site-footer .site-info-description p, .site-footer .site-info-description h4,
.site-footer .site-info-title p { color: var(--muted); }
.site-footer .provider-container, .site-footer .provider-container h5,
.site-footer .site-info .site-info-title, .site-footer .site-info-description.with-seperator,
.site-footer .footer-links > li + li > a, .site-footer .footer-separator {
  border-color: var(--line); color: var(--muted);
}
.site-footer .provider-container { max-width: 100%; }
.site-footer .provider-container h5 { color: var(--text); background: var(--navy); }
.site-footer .site-description { max-width: 74ch; margin: 0 auto; padding: 16px 0; font: 16px/1.7 Arial,sans-serif; }
.site-footer .site-description h1 { color: var(--text); line-height: 1.2; text-align: left; font-size: clamp(24px,3vw,36px); }
.site-footer .site-description p { color: var(--muted); margin: 1em 0; font-size: inherit; text-align: left; }
.site-footer .site-description a { color: white; text-decoration: underline; text-underline-offset: .18em; }
@media (max-width: 991px) {
  .home-inner-container { flex-wrap: wrap; }
  .home-progressive-jackpot .jackpot-container { font-size: clamp(22px,4vw,34px); letter-spacing: .04em; }
}
@media (max-width: 767px) {
  .topbar-container .row { flex-wrap: wrap; row-gap: 6px; margin-inline: 0; }
  .topbar-left-container { flex: 1 0 auto; width: auto; }
  .topbar-right-container { flex: 1 0 auto; width: auto; }
  .topbar-left-section { align-items: center; }
  .login-panel .login-button, .login-panel .register-button { width: auto; min-width: 60px; }
  .site-header .row { flex-wrap: wrap; }
  .site-header .row > div { width: 100%; }
  .site-header .logo { max-width: 215px; height: 61px; padding: 0; margin: 0 auto; }
  .site-header .logo > picture img { width: min(100%, 192px); }
  #menu_slides .top-menu > li { flex: 0 0 75px; }
  #menu_slides .top-menu > li > a { min-height: 64px; font-size: 11px; padding: 6px 2px; }
  #menu_slides .game-list > li { flex-basis: 50%; padding: 3px; }
  .announcement-container { padding: 8px; gap: 8px; align-items: center; }
  .announcement-container > [data-section="announcements"] { flex: 1; }
  .announcement-container > [data-section="date"] { display: none; }
  .home-inner-container { align-items: stretch; gap: 10px; margin-bottom: 20px; }
  .home-inner-container > [data-section] { width: 100%; }
  .home-progressive-jackpot { padding: 4px; }
  .home-progressive-jackpot .jackpot-play-section { margin: 0; align-items: center; }
  .home-progressive-jackpot .jackpot-play-section .jackpot-play-text { font-size: 17px; }
  .home-progressive-jackpot .jackpot-play-section img { width: 58px; }
  .home-progressive-jackpot .border-container { flex-wrap: wrap; justify-content: center; padding: 8px; }
  .home-progressive-jackpot .jackpot-container { padding: 3px; }
  .home-progressive-jackpot .jackpot-inner-container { padding: 4px; }
  .popular-game-title-container .container-content .game-list .games-group { width: 116px; }
  .popular-games { flex-wrap: wrap; gap: 12px; }
  .popular-games > [data-section] { flex: 1 0 100%; min-width: 0; width: 100%; margin-right: 0; }
  .popular-games .tab-pane { position: relative; }
  .download-apk { flex-wrap: wrap; }
  .download-apk > div { flex: 1 0 100%; }
  .site-footer .provider-container { margin-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header::after, .popular-games .animated-image { animation: none; }
  #menu_slides .top-menu { scroll-behavior: auto; }
}
