@import url("../css2");

* {
  outline: none;
}

HTML {
  min-width: 300px;
  height: 100%;
  /* Отключаем авто-раздувание шрифтов на мобиле (WebKit text inflation /
     Chrome Font Boosting) — чтобы телефон рендерил текст как в CSS/DevTools. */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

BODY {
  min-width: 300px;
  height: 100%;
  margin: 0;
  padding: 0;
  background: var(--body_bg);
  color: var(--text_color);
  font-family: "Rubik", "Onest", "Roboto", system-ui, sans-serif;
  font-weight: 400;
  font-size: 14px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.01em;
}

/* Кнопки/поля по умолчанию не наследуют шрифт — заставляем, чтобы базовый шрифт был везде */
button, input, select, textarea {
  font-family: inherit;
}

BODY::-webkit-scrollbar {
  width: 4px;
}

BODY::-webkit-scrollbar-track {
  background: var(--body_bg);
  border-radius: 0;
}

BODY::-webkit-scrollbar-thumb {
  border-radius: 50px;
  border: 0 solid rgba(0, 0, 0, 0);
  background-color: var(--scrollbar_thumb_color);
}

H1 {
  font-size: 21px;
  font-weight: 500;
  color: var(--h1_color);
}

H2 {
  font-size: 17px;
  font-weight: 500;
  color: var(--h2_color);
}

H3 {
  font-size: 17px;
  font-weight: 400;
  color: var(--h3_color);
}

a {
  color: var(--link_color);
}

.pageloader {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: var(--preloader_bg);
  backdrop-filter: blur(7px) brightness(115%);
  z-index: 99999;
}

.pageloader img {
  width: 50px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -25px 0 0 -25px;
}

.page {
  min-height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.header {
  width: var(--main_width);
  margin: 0 auto;
  position: relative;
  z-index: 200;
}

.wrap_content {
  width: var(--main_width);
  margin: 0 auto;
}

.menu {
  display: flex;
  align-items: center;
  height: 52px;
  background: var(--menu_bg);
  color: var(--menu_color);
  border-radius: var(--main_radius);
  margin-bottom: 15px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  overflow: visible;
}

.menu .space {
  flex: 1;
}

.menu_add {
  display: flex;
  height: 49px;
  align-items: center;
}

.menu_add .space {
  flex: 1;
}

.menu>.custom_jet {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
}

.menu>.custom_jet svg {
  display: flex;
  padding: 0;
  margin: 0 5px 0 0;
  width: 25px;
  fill: var(--accent, #ffb01f);
}

.menu>.custom_jet span {
  color: var(--accent, #ffb01f);
}

.menu>.custom_poker {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
}

.menu>.custom_poker svg {
  display: flex;
  padding: 0;
  margin: 0 5px 0 0;
  width: 25px;
  fill: #9f1010;
}

.menu>.custom_shuttle {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
}

.menu>.custom_shuttle svg {
  display: flex;
  padding: 0;
  margin: 0 5px 0 0;
  width: 25px;
  fill: #55b520;
}

.content {
  flex: 1;
  width: var(--main_width);
  margin: 0 auto;
}

.footer {
  margin: 15px 0 0 0;
  padding: 0 0 15px 0;
  background: var(--footer_bg);
}

.middle_seporator {
  width: 100%;
  height: 1px;
  margin: 0;
  background: linear-gradient(90deg,
      hsla(0, 0%, 100%, 0.2) 29.12%,
      hsla(0, 0%, 100%, 0));
}

.footer .middle_seporator {
  background: var(--footer_seporator_bg);
}

side .middle_seporator {
  background: var(--side_seporator_bg);
}

.footer_content {
  display: flex;
  gap: 15px;
  margin: 15px 0;
}

.footer_menu {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: start;
  justify-content: start;
}

.footer_menu a {
  align-items: start;
  width: calc(31% - 20px);
  padding-right: 20px;
  color: var(--footer_link_color);
  text-decoration: none;
  line-height: 23px;
}

/* Drop Down */
.dropdown {
  position: relative;
}

.dropbtn {
  cursor: pointer;
  opacity: 1;
}

.dropdown-content {
  display: none;
  position: absolute;
  float: right;
  right: 0px;
  min-width: 70px;
  z-index: 99999;
  padding-top: 7px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  opacity: 0.7;
}

.drop_lang {
  width: 197px;
  display: flex;
  flex-wrap: wrap;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--main_radius);
  padding: 5px 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.drop_lang a {
  width: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 7px 0;
  text-decoration: none;
  text-transform: uppercase;
  color: #e0e0e0;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--main_radius);
}

.drop_lang a:hover {
  background: rgba(255, 176, 31, 0.1);
}

.drop_lang a>div {
  margin: 0px 3.5px;
}

.drop_lang img {
  display: block;
  margin: 0;
  padding: 0;
  width: 21px;
  border-radius: 100px;
}

.drop_lang_btn {
  display: flex;
  align-items: center;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 500;
  background: var(--block_bg);
  color: var(--lang_color);
  padding: 5px 10px;
  border-radius: var(--main_radius);
}

.drop_lang_btn img {
  display: block;
  margin: 0;
  padding: 0;
  width: 17px;
  border-radius: 100px;
}

.drop_lang_btn>div {
  margin: 0px 3.5px;
}

.free_money {
  position: relative;
  display: flex;
  align-items: center;
  padding: 5px 28px 6px 50px;
  border-radius: 50px;
  background: linear-gradient(135deg, #ffb01f, #cc8400);
  text-decoration: none;
  color: #000;
  font-size: 13px;
  font-weight: 600;
}

.free_money::before {
  position: absolute;
  content: "";
  width: 50px;
  height: 40px;
  top: -7px;
  left: 0;
  background-image: url(../img/free-money.png);
  background-size: contain;
}

.free_money svg {
  display: block;
  width: 9px;
}

.free_money>div {
  margin: 0px 3.5px;
}

.free_money_mobile {
  display: none;
  width: fit-content;
  margin: 8px 0 6px 0;
}

.menu a {
  text-decoration: none;
  color: var(--menu_color);
  font-weight: 400;
  font-size: 14px;
  margin-left: 21px;
}

.menu_btn_auth {
  height: 36px;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #000;
  background: var(--btn_auth_bg);
  font-weight: 700;
  padding: 0px 18px;
  border-radius: 999px;
  transition: all 0.2s;
  font-size: 13px;
}

.menu_btn_auth:hover {
  box-shadow: 0 4px 16px rgba(255, 176, 31, 0.3);
}

.menu_btn_reg {
  height: 36px;
  display: flex;
  align-items: center;
  margin-left: 10px !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-decoration: none;
  color: #000;
  font-weight: 600;
  padding: 0px 18px;
  border-radius: 999px;
  transition: all 0.2s;
  font-size: 13px;
}

.menu_btn_reg:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 176, 31, 0.3);
}

.menu_btn_reg span {
  width: 20px;
  height: 20px;
  display: -webkit-inline-box;
  display: inline-flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  border-radius: 50%;
  background-image: -webkit-linear-gradient(240deg,
      hsla(0, 0%, 100%, 0) 25%,
      hsla(0, 0%, 100%, 0.06) 48%,
      #fff 133%);
  background-image: linear-gradient(210deg,
      hsla(0, 0%, 100%, 0) 25%,
      hsla(0, 0%, 100%, 0.06) 48%,
      #fff 133%);
  margin-right: 5px;
  margin-left: -5px;
}

.menu_btn_reg span svg {
  display: block;
  width: 9px;
  fill: #000;
}

.menu .logo {
  margin-left: -7px !important;
  margin-right: 12px;
  padding-left: 11px;
  padding-right: 8px;
  height: 100%;
  display: flex;
  align-items: center;
  border-radius: 10px 0 0 10px;
}

.menu .logo img {
  width: var(--logo_width);
  height: var(--logo_height);
  object-fit: contain;
}

.menu_add .logo img {
  width: var(--logo_mobile_width);
  height: var(--logo_mobile_height);
  object-fit: contain;
}

.logo img {
  display: block;
  margin: 0;
  padding: 0;
  max-height: 100%;
}

.menu_add .logo {
  margin-left: -15px !important;
  margin-right: 12px;
  padding: 0 10px;
  height: 100%;
  align-items: center;
  /*background-color: var(--main_color);*/
}

.mobile_menu {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
}

.mobile_menu_btns {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile_menu_btns .menu_btn_auth {
  flex: 1;
  background-image: var(--btn_auth_bg);
  justify-content: center;
}

.mobile_menu_btns .menu_btn_reg {
  flex: 1;
  background-image: var(--btn_reg_bg);
  justify-content: center;
}

.mobile_menu_items_wrap {
  overflow-x: auto;
}

.mobile_menu_items {
  display: flex;
  padding: 10px 0;
}

.mobile_menu_items a {
  padding: 5px 15px;
  border-radius: 100px;
  white-space: nowrap;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s;
}

.mobile_menu_items .active {
  background: var(--main_gradient);
  color: #000;
}

.burger {
  margin-left: 11px;
}

.burger svg {
  display: block;
  width: 21px;
  margin: 0;
  padding: 0;
  fill: #fff;
}

.modal {
  width: 389px;
  padding: 24px;
  border-radius: var(--radius_modal);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  color: #e0e0e0;
  background: #161616;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.blocker {
  z-index: 99999;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background-color: rgba(0, 0, 0, 0.6);
}

.modal_head {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.modal_head>div {
  flex: 1;
  font-size: 20px;
  font-weight: 700;
}

.modal_head a {
  display: block;
  width: 28px;
  height: 28px;
  background-image: url(../img/modal_close.svg);
  background-size: 50%;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition: background 0.2s;
}

.modal_head a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.modal_double_head {
  margin-top: 15px;
  font-size: 15px;
  font-weight: 700;
}

.modal input {
  width: 100%;
  box-sizing: border-box;
  margin-top: 10px;
  padding: 15px 15px;
  background-color: #1a1a1a;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius_input);
  transition: border-color 0.2s;
  font-size: 14px;
}

.modal input:focus {
  border-color: var(--accent, #ffb01f);
}

.modal select {
  width: 100%;
  margin-top: 10px;
  padding: 15px 15px;
  background-color: #1a1a1a;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius_input);
}

.modal button {
  position: relative;
  width: 100%;
  margin-top: 10px;
  padding: 15px 15px;
  background: var(--main_gradient);
  box-shadow: 0 4px 16px rgba(255, 176, 31, 0.25);
  border: 0;
  border-radius: var(--radius_input);
  text-align: center;
  color: #000;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  transition: box-shadow 0.2s;
}

.modal button:hover {
  box-shadow: 0 6px 24px rgba(255, 176, 31, 0.4);
}

.iti {
  margin-top: 10px;
  color: #000;
}

.iti__flag {
  background-image: url("../img/flags.png");
  border-radius: 250px;
  width: 17px !important;
  height: 17px !important;
}

.iti--container {
  z-index: 100001;
  min-width: 260px;
}

.phonePluginReg .iti {
  width: 100%;
}

.phonePluginReg .iti--allow-dropdown {
  width: 100%;
}

.phonePluginReg .iti input,
.phonePluginReg input {
  width: 100% !important;
  box-sizing: border-box !important;
}

.phonePluginReg .iti--allow-dropdown input,
.phonePluginReg .iti--allow-dropdown input[type="tel"] {
  padding-left: 55px !important;
  padding-right: 15px !important;
}

.phonePluginReg .iti__flag-container {
  left: 12px;
  right: auto;
  padding: 0;
}

.phonePluginReg .iti__selected-flag {
  padding: 0 12px 0 0;
  gap: 8px;
  background: transparent;
}

.phonePluginReg .iti__selected-dial-code {
  margin-left: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

.phonePluginReg .iti__arrow {
  margin-left: 0;
  border-top-color: rgba(255, 255, 255, 0.7);
}

.phonePluginAcc .iti--allow-dropdown {
  width: 100%;
  margin-bottom: 10px;
  margin-right: 10px;
}

.phonePluginAcc input {
  margin: 0px !important;
  padding: 12px 0px;
}

.phonePluginAcc input {
  width: 100% !important;
}

.iti__country-list {
  top: -11px;
  max-width: 349px;
  overflow-x: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius_input);
  background: #1a1a1a;
}

.iti__country-list::-webkit-scrollbar {
  width: 4px;
}

.iti__country-list::-webkit-scrollbar-track {
  background: none;
  border-radius: 0;
}

.iti__country-list::-webkit-scrollbar-thumb {
  border-radius: 50px;
  border: 0 solid rgba(0, 0, 0, 0);
  background-color: #333;
}

.iti__country-name {
  font-size: 11px;
  color: #bbb;
}

.iti__dial-code {
  font-weight: 700;
}

.checkbox {
  vertical-align: top;
  margin: 0px;
  width: 15px;
  height: 15px;
}

.checkbox+label {
  cursor: pointer;
}

.checkbox:not(checked) {
  position: absolute;
  width: 100%;
  height: 1px;
  opacity: 0;
  -moz-opacity: 0;
  -webkit-opacity: 0;
  filter: alpha(opacity=0);
}

.checkbox:not(checked)+label {
  position: relative;
  padding: 0 0 0 40px;
}

.checkbox:not(checked)+label:before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 35px;
  height: 17px;
  border-radius: 13px;
  background: var(--checkbox_of_bg);
}

.checkbox:not(checked)+label:after {
  content: "";
  position: absolute;
  top: -2px;
  left: 2px;
  width: 13px;
  height: 13px;
  border-radius: 10px;
  background: #fff;
  transition: all 0.2s;
}

.checkbox:checked+label:before {
  background: var(--checkbox_on_bg);
}

.checkbox:checked+label:after {
  left: 20px;
}

.radio {
  vertical-align: top;
  width: 17px;
  height: 17px;
  margin: 0px;
}

.radio+label {
  cursor: pointer;
}

.radio:not(checked) {
  position: absolute;
  opacity: 0;
  -moz-opacity: 0;
  -webkit-opacity: 0;
  filter: alpha(opacity=0);
}

.radio:not(checked)+label {
  position: relative;
  padding: 0 0 0 30px;
}

.radio:not(checked)+label:before {
  content: "";
  position: absolute;
  top: -3px;
  left: 0;
  width: 22px;
  height: 22px;
  border: 1px solid #444;
  border-radius: 50%;
  background: #222;
}

.radio:not(checked)+label:after {
  content: "";
  position: absolute;
  top: 1px;
  left: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #c2ddf3;
  opacity: 0;
  -moz-opacity: 0;
  -webkit-opacity: 0;
  filter: alpha(opacity=0);
  transition: all 0.2s;
}

.radio:checked+label:after {
  opacity: 1;
  -moz-opacity: 1;
  -webkit-opacity: 1;
  filter: alpha(opacity=1);
}

.regRules {
  margin-top: 5px;
  text-align: left;
  display: flex;
  align-items: center;
}

.regRules a {
  padding: 0;
  text-decoration: underline;
  font-weight: normal;
  display: inline;
}

.regRules div:nth-child(1) {
  padding-top: 7px;
}

.regRules div:nth-child(2) {
  padding-left: 7px;
}

.auth_offer {
  margin-top: 15px;
  text-align: center;
  color: #777;
  font-size: 12px;
}

.auth_offer a {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--accent, #ffb01f);
}

.auth_forgot {
  margin: 7px 0;
  text-align: right;
}

.auth_forgot a {
  color: #777;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.e404 {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.e404>div:nth-child(1) {
  font-size: 79px;
  font-weight: 700;
}

.e404>div:nth-child(2) {
  margin-top: 15px;
  font-size: 15px;
  font-weight: 300;
}

.footer_banners {
  width: 100%;
  padding: 21px 0;
  overflow-x: auto;
}

.footer_banners>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer_banners>div>div {
  margin-right: 25px;
}

.footer_banners>div>div:last-child {
  margin-right: 0;
}

.footer_banners>div>div svg,
.footer_banners>div>div img {
  height: 25px;
}

.color_focus>div>div img {
  height: 21px;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: 0.3s;
  cursor: pointer;
}

.color_focus>div>div img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.footer_banners::-webkit-scrollbar {
  height: 2px;
}

.footer_banners::-webkit-scrollbar-track {
  background: var(--body_bg);
  border-radius: 0;
}

.footer_banners::-webkit-scrollbar-thumb {
  border-radius: 50px;
  border: 0 solid rgba(0, 0, 0, 0);
  background-color: var(--scrollbar_thumb_color);
}

.footer_company {
  padding: 15px 0;
  text-align: center;
  color: var(--company_color);
}

.footer_copy {
  padding: 15px 0;
  text-align: center;
  font-size: 11px;
  color: var(--copyright_color);
}

/* ═══ Новый футер (3 колонки + промо) ═══ */
.footer-new {
  display: flex;
  gap: 30px;
  padding: 32px 0;
  align-items: flex-start;
}

.footer-new__cols {
  flex: 1;
  display: flex;
  gap: 50px;
}

.footer-new__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.footer-new__title {
  position: relative;
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin: 0 0 12px 0;
  padding-bottom: 10px;
}
.footer-new__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #ffb01f, rgba(255, 176, 31, 0));
}

.footer-new__col a {
  position: relative;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.5;
  transition: color .2s ease, transform .2s ease, padding-left .2s ease;
  white-space: nowrap;
}
.footer-new__col a::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ffb01f;
  opacity: 0;
  transform: translateY(-50%) scale(0.4);
  transition: opacity .2s ease, transform .2s ease;
}
.footer-new__col a:hover::before {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.footer-new__col a:hover {
  color: #ffb01f;
  padding-left: 6px;
}

.footer-contact {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-contact__label {
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.footer-contact .footer-contact__mail {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 600;
  white-space: normal;
}

.footer-socials {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.10);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.footer-socials a:hover {
  background: #ffb01f;
  border-color: #ffb01f;
  color: #111;
}

/* Промо-карточки */
.footer-new__promos {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

.footer-promo-card {
  width: 240px;
  position: relative;
  background: linear-gradient(135deg, #1a2236 0%, #0f172a 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 6px 18px rgba(0, 0, 0, 0.28);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.footer-promo-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 176, 31, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 14px 32px rgba(0, 0, 0, 0.4);
}

.footer-promo-card__glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 176, 31, 0.25) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(8px);
}

.footer-promo-card--gold {
  background: linear-gradient(135deg, #2a1f0a 0%, #1a1303 100%);
  border-color: rgba(255, 176, 31, 0.25);
}

.footer-promo-card--gold .footer-promo-card__glow {
  background: radial-gradient(circle, rgba(255, 176, 31, 0.35) 0%, transparent 70%);
}

.footer-promo-card--blue {
  background: linear-gradient(135deg, #2a1810 0%, #170f06 100%);
  border-color: rgba(255, 138, 40, 0.28);
}

.footer-promo-card--blue .footer-promo-card__glow {
  background: radial-gradient(circle, rgba(255, 120, 30, 0.4) 0%, transparent 70%);
}

.footer-promo-card__body {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.footer-promo-card__icon {
  font-size: 32px;
  flex-shrink: 0;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.footer-promo-card__heading {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.footer-promo-card__sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  margin-top: 4px;
  line-height: 1.3;
}

.footer-promo-card__sub code {
  background: rgba(0, 0, 0, 0.4);
  padding: 1px 6px;
  border-radius: 4px;
  font-family: ui-monospace, monospace;
  font-size: 11px;
  color: #ffb01f;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.footer-promo-card__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 0;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s, transform .1s;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.footer-promo-card__btn:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.footer-promo-card__btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.footer-promo-card__btn--gold {
  background: linear-gradient(180deg, #ffb01f, #d8a900);
  border-color: #ffb01f;
  color: #1a1a1a;
  box-shadow: 0 4px 12px rgba(255, 176, 31, 0.3);
}

.footer-promo-card__btn--gold:hover {
  background: linear-gradient(180deg, #ffd61f, #ffb01f);
  filter: brightness(1.05);
}

.footer-promo-card__btn--blue {
  background: linear-gradient(180deg, #ff9a3d, #f16b00);
  border-color: #ff9a3d;
  color: #1a1206;
  box-shadow: 0 4px 12px rgba(243, 107, 0, 0.35);
}

.footer-promo-card__btn--blue:hover {
  background: linear-gradient(180deg, #ffb15a, #ff8a1a);
  filter: brightness(1.05);
}

.foot_menu {
  position: fixed;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #14171e 0%, #0a0a0a 100%);
  border-top: 1px solid rgba(255, 176, 31, 0.14);
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.45);
  z-index: 99991;
  padding-bottom: 11px;
}

.foot_menu>div:nth-child(3) {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.foot_menu>div {
  width: 18%;
}

.foot_menu>div>a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  color: #8595b5;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.foot_menu>div>a.router-link-active,
.foot_menu>div>a.active { color: #ffce80; }

.foot_menu>div>a>div:last-child {
  margin-top: 5px;
}

.foot_menu>div>a>div>svg {
  display: block;
  width: 23px;
  height: 23px;
  transition: filter 0.15s ease;
}
.foot_menu>div>a.router-link-active>div>svg,
.foot_menu>div>a.active>div>svg {
  filter: drop-shadow(0 0 6px rgba(255, 176, 31, 0.5));
}
/* Лайв — иконка «точка в кольце» с пульсом (в общем формате иконка + подпись). */
.foot_live_ico_wrap {
  height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.foot_live_pt {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ff3b3b;
  box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.5);
  animation: footLivePulse 1.5s ease-out infinite;
}
.foot_live_pt::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ff3b3b;
}
@keyframes footLivePulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(255, 59, 59, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 59, 59, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .foot_live_pt { animation: none; }
}

.foot_menu_cupon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 500px;
  background: linear-gradient(140deg, #ffd873, #ffb01f 48%, #f39200);
  border: 3px solid #0b0b0b;
  box-shadow: 0 8px 20px rgba(243, 146, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transform: translateY(-9px);
}

.foot_menu_cupon svg {
  display: block;
  width: 21px;
  fill: #16213c;
}

.foot_menu_cupon div {
  display: none;
  position: absolute;
  top: 0px;
  right: -5px;
  background: var(--dash_coupon_count);
  color: var(--dash_coupon_count_color);
  border-radius: 100px;
  padding: 2px 5.5px;
}

.foot_menu_cupon.has-count div {
  display: block;
}

.iframe_result {
  width: 100%;
  min-height: 1000px;
  margin: 0;
  padding: 0;
  bottom: 0;
}

.iframe_result::-webkit-scrollbar {
  width: 4px;
}

.iframe_result::-webkit-scrollbar-track {
  background: var(--body_bg);
  border-radius: 0;
}

.iframe_result::-webkit-scrollbar-thumb {
  border-radius: 50px;
  border: 0 solid rgba(0, 0, 0, 0);
  background-color: var(--scrollbar_thumb_color);
}

.user {
  display: flex;
  align-items: center;
}

.drop_user {
  display: flex;
  background: var(--block_bg);
  border-radius: 20px 8px 8px 20px;
  padding: 3px 8px 3px 3px;
}

.drop_user>div:first-child {
  width: 29px;
  height: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 500px;
  background-color: rgba(255, 176, 31, 0.15);
}

.drop_user>div:first-child svg {
  display: block;
  width: 12.5px;
  margin: 0;
  padding: 0;
  fill: #fff;
}

.drop_user>div:last-child {
  display: flex;
  align-items: center;
  padding-left: 11px;
}

.drop_user>div:last-child svg {
  display: block;
  width: 3.5px;
  margin: 0;
  padding: 0;
  fill: #fff;
}

.droped_user {
  width: auto;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--main_radius);
  padding: 5px 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.droped_user a {
  display: block;
  margin: 0;
  padding: 5px 10px;
  font-size: 13px;
  white-space: nowrap;
  color: #d0d0d0;
  font-weight: 500;
}

.droped_user a:hover {
  background: rgba(255, 176, 31, 0.08);
  color: #fff;
}

.menu_balance {
  display: none;
  text-align: right;
  margin-right: 15px;
}

.menu_balance>div:first-child {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.7;
}

.menu_balance>div:last-child {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.menu_balance>div:last-child>div:last-child {
  margin-left: 3.5px;
}

.menu_bonus {
  display: none;
  text-align: right;
  margin-right: 15px;
}

.menu_bonus>div:first-child {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.7;
}

.menu_bonus>div:last-child {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-size: 16px;
  font-weight: 700;
  color: var(--main_color);
}

.menu_bonus>div:last-child>div:last-child {
  margin-left: 3.5px;
}

side {
  background: var(--sidebar_bg);
}

side[data-side="right"]>div {
  margin: 0;
  width: 100%;
}

side .menu_balance {
  margin: 0;
  padding: 10px;
  margin-bottom: 5px;
  border-radius: var(--main_radius);
  color: #fff;
  background: var(--mobile_balance_bg);
  text-align: left;
}

side .menu_balance>div:last-child {
  align-items: center;
  justify-content: center;
}

side .menu_bonus {
  margin: 0;
  padding: 10px;
  margin-bottom: 5px;
  border-radius: var(--main_radius);
  color: #fff;
  background: var(--mobile_bonus_bg);
  text-align: left;
}

side .menu_bonus>div:last-child {
  align-items: center;
  justify-content: center;
}

.error_data {
  background: var(--error_data_bg);
  color: var(--error_data_color);
  padding: 15px 10px;
  border-radius: var(--main_radius);
  text-align: center;
}

.account_id {
  margin-top: 10px;
  padding: 10px;
  border-radius: var(--radius_input);
  background: #1a1a1a;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  text-align: center;
}

.notificationsMessage {
  display: none;
  cursor: pointer;
  padding: 0;
  margin: 10px 0 0 0;
  text-align: center;
  border-radius: 11px;
}

.notificationsText {
  padding: 10px;
}

.notificationsIndicator {
  height: 5px;
}

.notificationsIndicator div {
  margin: 0 auto;
  width: 90%;
  height: 100%;
  background: rgba(255, 255, 255, 0.45);
}

.notifications_success {
  background: #068d2c;
  color: #fff;
}

.notifications_error {
  background: #f82516;
  color: #fff;
}

.file_area {
  height: 70px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: #1a1a1a;
  color: rgba(255, 255, 255, 0.5);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: var(--radius_input);
  cursor: pointer;
  transition: border-color 0.2s;
}

.file_area:hover {
  border-color: var(--accent, #ffb01f);
}

.file_load {
  overflow: hidden;
  display: none;
}

#verification .files {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

#verification .files div {
  width: 75px;
  height: 75px;
  margin: 5px;
  border-radius: var(--radius_input);
  background-position: center center;
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.loader {
  display: none;
  background-image: url("../img/loader.svg");
  background-position: center center;
  background-size: 50px;
  background-repeat: no-repeat;
  min-height: 60px;
}

.loader_white {
  background-image: url("../img/loader_white.svg");
}

.verification_info {
  margin-top: 15px;
}

.verification_info>div:first-child {
  font-weight: 700;
}

.verification_info>div {
  margin-top: 7px;
}

#verification .loader {
  height: 70px;
  margin-top: 10px;
}

.avatar {
  position: relative;
  width: 115px;
  height: 115px;
  background: linear-gradient(135deg, #1a1a1a, #222);
  border-radius: 500px;
  margin: 0px auto 15px;
  cursor: pointer;
  transition: 0.3s;
  overflow: hidden;
}

.avatar:hover>.avatar_upload {
  bottom: 0px;
}

.avatar_upload {
  position: absolute;
  bottom: -150px;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  background-image: url(../img/photo.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 45px;
  z-index: 10;
  transition: 0.3s;
}

.avatar_default {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  font-size: 51px;
  transition: 0.3s;
  z-index: 1;
}

.avatar_default:hover {
  color: rgba(255, 255, 255, 1);
}

.avatar .loader {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: #141b2e;
  z-index: 11;
}

.avatar_photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-size: cover;
  border: 1px solid #cbd1e0;
  cursor: pointer;
  z-index: 3;
}

.side_menu_user .avatar {
  width: 99px;
  height: 99px;
  margin-top: 10px;
}

.amount_transfer {
  margin-top: 10px;
  padding: 10px;
  border-radius: var(--main_radius);
  background-color: #1a1a1a;
  text-align: center;
}

.amount_transfer>div:nth-child(2) {
  margin-top: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 19px;
}

.amount_transfer>div:nth-child(2)>div:last-child {
  margin-left: 5px;
}

.side_menu_links {
  margin-bottom: 25px;
  padding: 5px 15px 5px 23px;
}

.side_menu_links a {
  display: block;
  padding: 7px 0;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
}

.side_menu_user {
  margin-bottom: 25px;
  padding: 5px 15px 5px 23px;
  background: #161616;
}

.side_menu_user a {
  display: block;
  padding: 7px 0;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
}

.side_menu_btns {
  margin: 25px 0;
  padding: 5px 15px 5px 23px;
}

.side_menu_btns .menu_btn_auth {
  flex: 1;
  background: var(--main_gradient);
  box-shadow: 0 4px 16px rgba(255, 176, 31, 0.25);
  justify-content: center;
  color: #000;
}

.side_menu_btns .menu_btn_reg {
  margin-left: 0 !important;
  margin-top: 10px;
  justify-content: center;
}

.deposit_methods {
  margin-top: 11px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.deposit_methods>div {
  width: 47.9%;
  height: 75px;
  margin: 7px 0;
  background-size: 90%;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--main_radius);
  cursor: pointer;
  transition: 0.3s;
}

.deposit_methods>div:hover {
  border: 1px solid var(--accent, #ffb01f);
}

.side_menu_user .menu_btn_reg {
  display: flex !important;
  margin-left: 0px !important;
  margin-bottom: 15px;
  padding: 0 15px !important;
}

.history_tr {
  color: var(--history_tr_color);
}

.history_tr>div {
  margin-bottom: 5px;
  padding: 7px 10px;
  background: var(--history_tr_bg);
  border-radius: var(--main_radius);
}

.history_tr>div:nth-child(2n) {
  background: var(--history_tr_bg_2);
}

.history_tr_flex {
  display: flex;
}

.history_tr_flex>div:first-child {
  flex: 1;
}

.history_tr_amount {
  display: flex;
  align-items: center;
}

.history_tr_amount svg {
  fill: var(--history_tr_fill);
}

.history_tr_amount>div:nth-child(2) {
  margin-left: 7px;
  margin-right: 5px;
  font-weight: 700;
}

.history_tr_time {
  font-size: 11px;
  font-weight: 400;
}

.history_tr_cause {
  margin-top: 5px;
  padding: 5px;
  border-radius: var(--main_radius);
  background-color: var(--history_tr_cause_bg);
  font-size: 10px;
}

.status {
  width: 111px;
  padding: 7px 10px;
  border-radius: var(--main_radius);
  text-align: center;
}

.status_0 {
  background: var(--status_0_bg);
  color: var(--status_0_color);
}

.status_1 {
  background: var(--status_1_bg);
  color: var(--status_1_color);
}

.status_2 {
  background: var(--status_2_bg);
  color: var(--status_2_color);
}

.__jivoMobileButton {
  bottom: 60px !important;
}

.casino {
  display: flex;
}

.casino_menu_wrap {
  width: 235px;
}

.casino_content {
  flex: 1;
  margin-left: 20px;
  min-width: 0;
}

.casino_menu {
  position: sticky;
  top: 10px;
  background-color: var(--block_bg);
  padding: 10px 0;
  border-radius: var(--main_radius);
  height: calc(100vh - 20px);
  overflow: hidden;
}

.casino_menu_shadow {
  position: relative;
  height: calc(100% - 30px);
}

.casino_menu_shadow::before {
  content: "";
  position: absolute;
  height: 15px;
  width: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(to bottom, var(--block_bg) 50%, rgba(0, 0, 0, 0));
}

.casino_menu_shadow::after {
  content: "";
  position: absolute;
  height: 15px;
  width: 100%;
  bottom: 0;
  left: 0;
  pointer-events: none;
  background: linear-gradient(to top, var(--block_bg) 50%, rgba(0, 0, 0, 0));
}

.casino_menu_scroll {
  margin-top: 5px;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
}

.casino_menu_scroll::-webkit-scrollbar {
  width: 4px;
}

.casino_menu_scroll::-webkit-scrollbar-track {
  background: var(--block_bg);
  border-radius: 0;
}

.casino_menu_scroll::-webkit-scrollbar-thumb {
  border-radius: 50px;
  border: 0 solid rgba(0, 0, 0, 0);
  background-color: var(--scrollbar_block_color);
}

#casino_mobile_side {
  background: var(--block_bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--main_radius);
  padding: 8px;
}

#casino_mobile_side .casino_menu_providers {
  padding: 0 !important;
}

#casino_mobile_side .casino_menu_categoryes_head a {
  color: var(--block_color);
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
}

.casino_menu_search {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 10px;
}

.casino_menu_search input {
  flex: 1;
  width: calc(100% - 42px);
  margin-right: 7px;
  background: var(--input_bg);
  color: var(--input_color);
  border: 0;
  border-radius: var(--main_radius);
  padding: 0px 7px 0px 35px;
  height: 30px;
  transition: box-shadow 0.15s ease;
}
.casino_menu_search input:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 176, 31, 0.4), 0 0 12px rgba(255, 176, 31, 0.14);
}

.casino_menu_search::after {
  position: absolute;
  top: 6.5px;
  left: 17px;
  content: "";
  width: 17px;
  height: 17px;
  z-index: 1;
  background-image: url(../img/search.svg);
  background-size: 17px;
  background-repeat: no-repeat;
  opacity: 0.5;
}

.casino_menu_search a {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 0;
  background: #222;
  border-radius: var(--main_radius);
}

.casino_menu_search a img {
  display: block;
  width: 65%;
  margin: 0 auto;
  padding: 0;
}

.casino_menu .casino_menu_categoryes_head:first-child {
  margin: 0px 10px 15px 10px;
}

.casino_menu_categoryes_head {
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--hide_color);
  margin: 15px 10px;
}

.casino_menu_providers a {
  display: block;
  text-decoration: none;
  color: var(--casino_menu_color);
  padding: 0 10px;
  font-weight: 700;
  transition: 0.3s;
}

.casino_menu_providers a:hover {
  background: var(--casino_menu_hover);
}

.casino_menu_providers a>div {
  display: flex;
  align-items: center;
  padding: 7.9px 0;
  border-bottom: var(--casino_menu_border);
}

.casino_menu_providers {
  padding: 10px 0;
}

.casino_menu_providers a:hover>div {
  border-bottom: 1px solid rgba(38, 46, 72, 0);
}

.casino_menu_providers a>div>div:nth-child(1) {
  width: 25px;
  height: 25px;
  background-size: cover;
  background-repeat: no-repeat;
  margin-right: 10px;
}

.casino_menu_providers a>div>div:nth-child(2) {
  flex: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.casino_menu_providers a>div>div:nth-child(3) {
  margin-left: 7px;
  font-weight: 700;
  color: var(--hide_color);
}

.casino_menu_providers .router-link-active {
  background-image: var(--casino_menu_active) !important;
}

.casino_menu_categoryes_flex {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 7px;
  gap: 10px;
  padding-right: 10px;
}

.casino_menu_categoryes_flex>div {
  flex: 1;
  margin: 0 !important;
  align-items: center;
  min-width: 90px;
  border: 1px solid rgba(255, 176, 31, 0.2) !important;
  border-radius: var(--main_radius);
}

.casino_menu_categoryes_flex a>div {
  border-bottom: 1px solid rgba(38, 46, 72, 0);
}

.casino_menu_categoryes_flex>div:nth-child(1),
.casino_menu_categoryes_flex>div:nth-child(2) {
  flex: 1;
  border-radius: var(--main_radius);
}

.casino_menu_categoryes_flex>div:nth-child(1) a,
.casino_menu_categoryes_flex>div:nth-child(2) a {
  border-radius: var(--main_radius);
}

.casino_menu_categoryes_flex>div:nth-child(1) {
  background: var(--casino_menu_first);
  margin: 0 5px 0 7px;
}

.casino_menu_categoryes_flex>div:nth-child(2) {
  background: var(--casino_menu_second);
  margin: 0 7px 0 5px;
}

.casino_menu_categoryes_flex a {
  font-size: 11px;
  padding: 0;
}

.casino_menu_categoryes_flex a>div {
  padding: 8px 8px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.casino_menu_categoryes_flex a>div>div:nth-child(1) {
  width: 19px;
  height: 19px;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  margin-right: 0 !important;
  flex-shrink: 0;
}

.casino_menu_categoryes_flex a>div>div:nth-child(2) {
  min-width: 0;
  flex: 1;
}

.casino_menu_categoryes_flex a>div>div:nth-child(2)>div {
  font-weight: 700;
  font-size: 9px;
}

.casino_menu_categoryes_flex .router-link-active {
  background: none;
}

.casino_head {
  font-size: 19px;
  font-weight: 700;
  color: var(--casino_head_color);
}

.casino_play_list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 15px 15px;
  margin-top: 20px;
  border-top: 2px solid var(--sport-accent, #ffb01f);
  padding-top: 15px;
}

.casino_play {
  position: relative;
  padding-bottom: 55%;
  background-size: cover;
  background-position: center center;
  background-color: var(--casino_game_bg);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  border-radius: var(--casino_game_radius);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.casino_play:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 16px 32px rgba(255, 176, 31, 0.24), 0 0 0 1px rgba(255, 176, 31, 0.2);
  z-index: 2;
}

.gamesLoad {
  width: 50px;
  margin: 50px auto 0;
}

.gamesLoad img {
  width: 100%;
}

.errorGames {
  background: var(--casino_error_bg);
  text-align: center;
  color: var(--casino_error_color);
  padding: 15px 10px;
  margin: 20px auto 0;
  max-width: 300px;
  border-radius: 8px;
}

@media (max-width: 900px) {
  .casino_play_list {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 600px) {
  .casino_play_list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 500px) {
  .casino_play_list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.game_Desktop {
  display: block;
}

.game_Mobile {
  display: none;
}

@media screen and (max-width: 1000px) {
  .game_Desktop {
    display: none;
  }

  .game_Mobile {
    display: block;
  }
}

.casino_favorite_play {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 51;
  cursor: pointer;
}

.casino_favorite_play svg {
  width: 16px;
  height: 16px;
  transition: 0.3s;
}

.casino_game_name {
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(100% - 10px);
  padding: 5px;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  cursor: default !important;
}

.casino_play_btn {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 49;
  opacity: 0;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: var(--casino_game_radius);
}

.casino_play_btn>div {
  display: none;
}

.casino_play:hover>.casino_play_btn {
  opacity: 1;
  backdrop-filter: blur(2.5px) brightness(115%);
  background-color: var(--casino_play_hover);
}

.casino_play:hover>.casino_play_btn div {
  display: block;
  cursor: pointer;
}

.casino_play_btn>.play_demo {
  margin-bottom: 10px;
  text-decoration: underline;
  font-size: 15px;
  color: var(--casino_play_color);
}

.casino_play_btn>.play_money {
  background: var(--casino_play_bg);
  color: var(--casino_play_color);
  border-radius: 500px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 17px;
  padding: 10px 15px;
  min-width: 80%;
  text-align: center;
  text-decoration: none;
}

.swiper {
  width: 100%;
  height: auto;
  margin-bottom: 15px;
  border-radius: var(--main_radius);
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: var(--slider_bg);
  border-radius: var(--main_radius);
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.mySwiper a {
  display: block;
  width: 100%;
  height: 100%;
}

.mySwiper img {
  display: block;
  margin: 0;
  padding: 0;
  border-radius: var(--main_radius);
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
  display: none !important;
  color: var(--slider_nav_color) !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 31px !important;
}

.swiper-pagination-bullet-active {
  background-color: var(--slider_nav_color) !important;
}

.casino_game {
  height: 100%;
}

.game_interface {
  display: flex;
  height: 30px;
  align-items: center;
  margin-bottom: 15px;
}

.game_interface>div:nth-child(2) {
  flex: 1;
  margin: 0 10px;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.game_interface>div:nth-child(3) {
  margin-right: 10px;
}

.game_interface>div {
  height: 100%;
  background: var(--block_bg);
  color: var(--block_color);
  border-radius: var(--main_radius);
  padding: 5px 10px;
  display: flex;
  align-items: center;
}

.game_interface svg {
  display: block;
  margin: 0;
  padding: 0;
}

.game_interface>div:nth-child(1) svg,
.game_interface>div:nth-child(3) svg {
  fill: var(--casino_interface_color);
}

.game_favorite {
  cursor: pointer;
}

.game_favorite svg {
  width: 19px;
  height: 19px;
  transition: 0.3s;
}

.casino_iframe_wrap {
  position: relative;
  padding-top: 56.25%;
}

.casino_iframe_wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--main_radius);
  width: webkit-fill-available;
  height: webkit-fill-available;
}

@media (max-width: 1000px) {
  .casino_game {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column-reverse;
    z-index: 99999;
    background: var(--body_bg);
  }

  .casino_iframe_wrap {
    width: 100%;
    height: 100%;
    padding: 0;
  }

  .casino_iframe_wrap iframe {
    border-radius: 0;
  }

  .game_interface {
    margin: 0;
    padding: 7px 0;
  }
}

.jackpot {
  position: absolute;
  top: calc(50% - 75px);
  left: 100px;
  width: 250px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: var(--jackpot_border);
  border-radius: var(--jackpot_radius);
  background: var(--jackpot_bg);
  box-shadow: var(--jackpot_shadow);
}

.jackpot>div:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--jackpot_color);
  font-weight: 900;
  font-size: 29px;
}

.jackpot>div:first-child svg {
  display: block;
  margin: 0 10px;
  padding: 0;
  fill: var(--jackpot_color_2);
}

.jackpot>div:last-child {
  color: var(--jackpot_color_2);
  font-weight: 900;
  font-size: 29px;
}

@media (max-width: 800px) {
  .jackpot {
    width: 150px;
    height: 65px;
    top: calc(50% - 32.5px);
    left: 50px;
  }

  .jackpot>div:first-child {
    font-size: 17px;
  }

  .jackpot>div:last-child {
    font-size: 17px;
  }

  .jackpot>div:first-child svg {
    width: 15px;
  }
}

.casino_mobile_nav {
  margin-bottom: 15px;
  display: none;
}

.casino_mobile_nav_btns {
  display: flex;
  align-items: center;
  background: var(--block_bg);
  padding: 7px;
  border-radius: var(--main_radius);
}

.casino_mobile_nav_btns>div:first-child {
  flex: 1;
}

.casino_mobile_nav_btns a {
  display: flex;
  color: var(--block_color);
  text-decoration: none;
  font-weight: 700;
}

.casino_mobile_nav_btns a svg {
  display: block;
  width: 19px;
  margin: 0;
  padding: 0;
  fill: var(--block_color);
  margin-right: 10px;
}

.casino_mobile_nav_btns .favorites {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  margin: 0 0 0 20px;
  padding: 0;
}

.casino_mobile_nav_btns .favorites img {
  display: block;
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.casino_mobile_nav .casino_menu_search {
  padding: 0;
  margin: 10px 0 0 0;
}

.casino_mobile_nav .casino_menu_search input {
  margin: 0;
  padding: 3px 7px 3px 35px;
  background: var(--block_bg);
}

.casino_mobile_nav .casino_menu_search::after {
  left: 9px;
}

.home_slider {
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.home_slider>div:first-child {
  flex: 1;
  min-width: 0;
}

.home_slider .swiper {
  margin-bottom: 0;
}

.home_slider .home_bonus {
  width: calc(var(--home_bonus_width) - var(--home_bonus_padding) * 2);
  height: calc(100% - var(--home_bonus_padding) * 2);
  margin-left: 15px;
  padding: var(--home_bonus_padding);
  background-color: var(--home_bonus_bg);
  background-image: url(../img/bonus-banner-deposit.png);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: var(--main_radius);
  display: flex;
  flex-direction: column;
}

.home_slider .home_bonus>div:nth-child(1) {
  font-weight: 700;
  font-size: 30px;
}

.home_slider .home_bonus>div:nth-child(2) {
  flex: 1;
  font-size: 19px;
}

.home_slider .home_bonus>a {
  display: block;
  margin-top: 10px;
  padding: 10px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border-radius: var(--main_radius);
  text-align: center;
  font-weight: 700;
  font-size: 19px;
  text-decoration: none;
  transition: 0.3s;
}

.home_slider .home_bonus>a:hover {
  opacity: 0.85;
}

.home_line {
  display: grid;
  grid-template-columns: repeat(2, calc(50% - 7.5px));
  grid-gap: 0 15px;
}

.home_line>div {
  margin-top: 15px;
  padding: 5px 15px;
  background: var(--home_line_bg);
  color: var(--home_line_color);
  border-radius: var(--main_radius);
  text-decoration: none;
}

.home_line_content {
  display: flex;
  align-items: center;
}

.home_line_content>div:first-child {
  flex: 1;
}

.home_line_content>div:first-child>div:first-child {
  font-size: 23px;
  font-weight: 700;
}

.home_line_content>div:first-child>div:last-child {
  margin-top: 5px;
  font-size: 15px;
}

.home_line_content img {
  display: block;
  margin: 0 10px 0 0;
  padding: 0;
  height: 65px;
  opacity: 0.7;
}

.home_line>div:hover {
  opacity: 0.9;
}

.home_line>div:hover img {
  opacity: 1;
}

.home_line_slider {
  margin-top: 10px;
  margin-bottom: 5px;
  padding: 7px 7px;
  background: #111;
  border-radius: var(--main_radius);
  min-width: 0;
}

.home_line_slider .swiper {
  margin-bottom: 0;
}

.home_line_slider .swiper-slide {
  width: auto;
  height: 33px;
}

.home_line_slider .swiper-slide a {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 4px 9px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.home_line_slider .swiper-slide a>div:last-child {
  flex: 1;
}

.home_line_slider .swiper-slide img {
  display: block;
  width: 18.5px;
  max-height: 25px;
  margin: 0;
  padding: 0;
  margin-right: 10px;
}

.block_line {
  height: 5px;
  background: var(--block_line_bg);
  border-radius: 0 0 var(--block_line_radius) var(--block_line_radius);
  margin-bottom: 15px;
}

.home_nav {
  margin-top: 15px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.home_nav_card {
  background: var(--home_casino_bg);
  border-radius: var(--main_radius);
  padding: 12px 15px 15px;
  color: var(--home_casino_color);
}

.home_nav_head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.4px;
  margin-bottom: 10px;
}

.home_nav_head>div:last-child {
  color: var(--sport-muted);
  font-weight: 600;
}

.home_nav_chips {
  border: 2px solid var(--sport-accent);
  border-radius: 10px;
  padding: 8px;
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 8px;
}

.home_nav_chips::-webkit-scrollbar {
  display: none;
}

.home_nav_chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: #1f1f1f;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

.home_nav_chip img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.home_casino {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 15px 15px;
}

.home_casino>div {
  margin-top: 15px;
  padding: 0 15px 15px 15px;
  background: var(--home_casino_bg);
  color: var(--home_casino_color);
  border-radius: var(--main_radius);
  border-top: 2px solid var(--sport-accent, #ffb01f);
}

.home_casino_head {
  display: flex;
  align-items: center;
}

.home_casino_head>div:first-child {
  flex: 1;
  font-weight: 700;
  font-size: 19px;
}

.home_casino_head a {
  text-decoration: none;
}

.home_casino_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 12px 12px;
  margin-top: 16px;
}

.home_casino_item {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 120px;
  padding: 8px;
  border-radius: 10px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s;
}

.home_casino_item:hover {
  transform: scale(1.03);
}

.home_casino_item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0) 35%,
      rgba(0, 0, 0, 0.78) 100%);
}

.home_casino_item span {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 600;
}

.home_games {
  margin-top: 15px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
  padding: 15px;
  background: var(--home_casino_bg);
  color: var(--home_casino_color);
  border-radius: var(--main_radius);
  align-items: start;
  border-top: 2px solid var(--sport-accent, #ffb01f);
}

.home_games_list {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.home_games_list a {
  display: block;
  padding: 8px 10px;
  background: #1f1f1f;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
}

.home_games_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.home_games_banner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  align-self: start;
  height: 190px;
}

.home_games_banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home_games_action {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 12px;
  background: var(--sport-accent);
  color: #000;
  border-radius: 999px;
  font-weight: 700;
}

.home_events {
  margin-top: 15px;
  padding: 0 15px 15px 15px;
  background: var(--home_casino_bg);
  color: var(--home_casino_color);
  border-radius: var(--main_radius);
  border-top: 2px solid var(--sport-accent, #ffb01f);
}

.home_events .swiper-slide {
  width: 225px;
  height: 335px;
  background: #171717;
}

.eventsSwiper {
  margin-top: 15px;
}

.temp_events {
  display: flex;
  flex-direction: column;
  padding: 15px 15px 0 15px;
  text-align: left;
}

.temp_events_head {
  width: 100%;
  display: flex;
  align-items: center;
}

.temp_events_head>div:nth-child(2) {
  flex: 1;
}

.temp_events_favorite {
  display: block;
  width: 17px;
  fill: #141b2e;
}

.temp_events_type {
  position: relative;
  width: 15px;
  height: 15px;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), #272727;
  box-shadow: inset 0px 0px 4px rgba(0, 0, 0, 0.5);
  border-radius: 100px;
  margin: 0 5px;
}

.temp_events_type::after {
  position: absolute;
  width: 45%;
  height: 45%;
  left: calc(50% - 22.5%);
  top: calc(50% - 22.5%);
  content: "";
  border-radius: 100px;
}

.temp_events_live .temp_events_type::after {
  background: #e92541;
  box-shadow: 0px 0px 8px #e92541;
}

.temp_events_line .temp_events_type::after {
  background: #0484f0;
  box-shadow: 0px 0px 8px #0484f0;
}

.temp_events_date {
  display: flex;
  align-items: center;
  border-radius: 500px;
  font-size: 15px;
}

.temp_events_date>div:first-child {
  border-radius: 500px;
  padding: 3px 10px;
}

.temp_events_date>div:last-child svg {
  display: block;
  margin: 0 7px;
  padding: 0;
  height: 17px;
}

.temp_events_live .temp_events_date {
  background: #ae2843;
}

.temp_events_live .temp_events_date>div:first-child {
  background: #e92541;
}

.temp_events_line .temp_events_date {
  background: #0e6abe;
  flex-direction: row-reverse;
}

.temp_events_line .temp_events_date>div:first-child {
  background: #0484f0;
}

.temp_events_more {
  width: 80%;
  margin: 0 auto;
  text-align: center;
  padding: 7px 10px;
  background: #0484f0;
  color: #fff;
  text-decoration: none;
  border-radius: var(--main_radius) var(--main_radius) 0 0;
  font-size: 14px;
}

.temp_events_more span {
  font-weight: 700;
  font-size: 16px;
}

.temp_events_logos {
  width: 99%;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.temp_events_logos>div:nth-child(2) {
  flex: 1;
  text-align: center;
}

.temp_events_logos>div:first-child,
.temp_events_logos>div:last-child {
  position: relative;
  width: 70px;
  height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 500px;
  background:
    linear-gradient(#272727 0 0) padding-box,
    linear-gradient(to right bottom, #0775d4, #152f50) border-box;
  border: 2px solid transparent;
}

.temp_events_logos>div:first-child img,
.temp_events_logos>div:last-child img {
  display: block;
  margin: 0;
  padding: 0;
  max-width: 70%;
  max-height: 70%;
}

.temp_events_sport {
  width: 100%;
  display: flex;
  align-items: center;
  font-size: 14px;
  opacity: 0.71;
  margin: 5px 0;
}

.temp_events_sport>div:last-child {
  flex: 1;
}

.temp_events_sport img {
  display: block;
  margin: 0;
  width: 17px;
  max-width: 17px;
  max-height: 17px;
  margin-right: 7px;
}

.temp_events_team {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 15px;
  margin-top: 5px;
}

.temp_events_team>div:first-child {
  flex: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.temp_events_team>div:last-child {
  color: #0775d4;
  font-weight: 700;
}

.temp_events_status {
  display: flex;
  align-items: center;
  margin: 5px;
  height: 30px;
  font-size: 15px;
  color: #0775d4;
  text-align: center;
  font-weight: bold;
}

.temp_events_markets {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.temp_events_markets>a {
  position: relative;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  text-decoration: none;
  font-size: 13.5px;
  background:
    linear-gradient(#272727 0 0) padding-box,
    linear-gradient(to right bottom, #0775d4, #152f50) border-box;
  border: 2px solid transparent;
  border-radius: 5px;
  padding: 5px;
  transition: 0.3s;
}

.temp_events_markets>a>div:first-child {
  color: rgba(255, 255, 255, 0.7);
}

.temp_events_markets>a:hover {
  background: #31bc69;
}

.temp_events_markets>a:hover:after {
  background: #31bc69;
}

.temp_events_error {
  margin-top: 15px;
  background: #171717;
  text-align: center;
  border-radius: var(--main_radius);
  padding: 10px;
}

.temp_events_load {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.temp_events_load img {
  display: block;
  margin: 0;
  padding: 0;
  width: 50px;
}

.home_leagues {
  margin-top: 15px;
  padding: 0 15px 15px 15px;
  background: var(--home_casino_bg);
  color: var(--home_casino_color);
  border-radius: var(--main_radius);
}

.home_leagues .swiper-slide {
  width: 180px;
  height: 165px;
  background: var(--slider_bg);
  position: relative;
  overflow-x: hidden;
  padding: 15px;
}

/* ── Leagues slider wrapper ── */
.leagues-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.leagues-nav {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  z-index: 2;
}

.leagues-nav:hover {
  background: rgba(255, 255, 255, 0.15);
}

.leagues-nav.swiper-button-disabled {
  opacity: 0.25;
  pointer-events: none;
}

/* ── League cards ── */
.temp_leagues {
  display: flex;
  flex-direction: column;
  justify-content: start;
  width: 150px !important;
}

.temp_leagues a {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  height: 100%;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
}

.temp_leagues_logo {
  width: 100%;
  height: 105px;
  margin: 0 auto;
  background: linear-gradient(145deg, #2a2a2a 0%, #3d3d3d 50%, #4a4a4a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.temp_leagues:hover .temp_leagues_logo {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.temp_leagues_logo img {
  display: block;
  max-width: 60px;
  max-height: 60px;
  margin: 0;
  padding: 0;
  object-fit: contain;
}

.temp_leagues_name {
  width: 100%;
  margin-top: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  line-height: 1.3;
}

.temp_leagues_sport {
  width: 100%;
  margin-top: 3px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  text-align: center;
  font-size: 11px;
  color: #999;
  font-weight: 400;
}

/* ── Sport filter tabs ── */
.leagues-sport-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.leagues-sport-tabs::-webkit-scrollbar {
  display: none;
}

.leagues-sport-tab {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  color: #aaa;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  flex-shrink: 0;
}

.leagues-sport-tab img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.leagues-sport-tab:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ddd;
  border-color: rgba(255, 255, 255, 0.15);
}

.leagues-sport-tab:hover img {
  opacity: 0.85;
}

.leagues-sport-tab.active {
  background: var(--accent, #ffb01f);
  color: #111;
  border-color: var(--accent, #ffb01f);
  font-weight: 600;
}

.leagues-sport-tab.active img {
  opacity: 1;
  filter: brightness(0.2);
}

/* ── League event count badge ── */
.temp_leagues_count {
  font-size: 10px;
  color: var(--accent, #ffb01f);
  opacity: 0.7;
  margin-top: 1px;
}

.chaport-container .chaport-launcher .chaport-launcher-button {
  bottom: 80px !important;
}

.chaport-container.chaport-container-positioned .chaport-window {
  bottom: 150px !important;
}

.frame_game {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
}

.regRules input {
  width: 25px !important;
}

.copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.copyright a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: #fff;
  text-decoration: none;
  font-style: italic;
}

.copyright a img {
  display: block;
  margin: 0;
  padding: 0;
  width: 123px;
}

.copyright span {
  color: #0484f0;
  text-decoration: underline;
}

.min_crypto {
  margin-top: 21px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 15px;
}

.min_crypto>div:nth-child(2) {
  font-weight: bold;
  margin-top: 5px;
}

.min_crypto>div:nth-child(3) {
  border-radius: 7px;
  margin-top: 5px;
  padding: 7px;
  background: rgba(255, 176, 31, 0.08);
  color: #cc8400;
}

.is-hidden {
  display: none !important;
}

.user_panel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 240;
}

.user_btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #1f1f1f 0%, #252525 100%);
  border: 1px solid rgba(255, 176, 31, 0.15);
  color: #fff;
  border-radius: 999px;
  padding: 6px 14px 6px 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.user_btn:hover {
  border-color: rgba(255, 176, 31, 0.5);
  box-shadow: 0 0 12px rgba(255, 176, 31, 0.12);
  background: linear-gradient(135deg, #252525 0%, #2a2a2a 100%);
}

.user_avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffb01f 0%, #e6a800 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
}

.user_info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.user_name {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.user_balance {
  font-size: 11px;
  color: #ffb01f;
  font-weight: 500;
}

.user_chev {
  width: 8px;
  height: 8px;
  border-right: 2px solid #ffb01f;
  border-bottom: 2px solid #ffb01f;
  transform: rotate(45deg);
  margin-left: 4px;
  transition: transform 0.3s ease;
}

.user_panel.open .user_chev {
  transform: rotate(-135deg);
}

.user_menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 260px;
  background: linear-gradient(180deg, #1e1e1e 0%, #191919 100%);
  border: 1px solid rgba(255, 176, 31, 0.12);
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.03);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.97);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  z-index: 120;
}

.user_panel.open .user_menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.user_menu_head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(255, 176, 31, 0.08) 0%, rgba(255, 176, 31, 0.03) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
}

.user_menu_head div:first-child {
  color: #999;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.user_menu_head div:last-child {
  color: #ffb01f;
  font-weight: 600;
  font-size: 14px;
}

.user_menu_links {
  display: flex;
  flex-direction: column;
  padding: 6px;
}

.user_menu_links a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d0d0d0;
  text-decoration: none;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 400;
  transition: all 0.2s ease;
  letter-spacing: 0.1px;
}

.user_menu_links a .mi {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.user_menu_links a svg {
  opacity: 0.65;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.user_menu_links a:hover {
  background: rgba(255, 176, 31, 0.07);
  color: #fff;
}

.user_menu_links a:hover .mi {
  background: rgba(255, 176, 31, 0.1);
}

.user_menu_links a:hover svg {
  opacity: 1;
  color: #ffb01f;
}

.user_menu_links .menu_item_profile {
  color: #ffb01f;
  font-weight: 600;
}

.user_menu_links .menu_item_profile .mi {
  background: rgba(255, 176, 31, 0.1);
}

.user_menu_links .menu_item_profile svg {
  opacity: 0.9;
  color: #ffb01f;
}

.user_menu_links .menu_item_deposit {
  color: #66bb6a;
}

.user_menu_links .menu_item_deposit .mi {
  background: rgba(76, 175, 80, 0.08);
}

.user_menu_links .menu_item_deposit svg {
  color: #66bb6a;
  opacity: 0.8;
}

.user_menu_links .menu_item_withdraw {
  color: #ff8a65;
}

.user_menu_links .menu_item_withdraw .mi {
  background: rgba(255, 112, 67, 0.08);
}

.user_menu_links .menu_item_withdraw svg {
  color: #ff8a65;
  opacity: 0.8;
}

.user_menu_links .menu_item_bets .mi {
  background: rgba(255, 176, 31, 0.05);
}

.user_menu_links .menu_item_history .mi {
  background: rgba(255, 176, 31, 0.05);
}

.user_menu_links .menu_item_referral .mi {
  background: rgba(255, 176, 31, 0.05);
}

.user_menu_links .menu_item_voucher .mi {
  background: rgba(255, 176, 31, 0.05);
}

.user_menu_links .menu_item_settings .mi {
  background: rgba(255, 255, 255, 0.04);
}

.user_menu_links .menu_item_verify .mi {
  background: rgba(255, 176, 31, 0.06);
}

.user_menu_links .menu_item_logout {
  color: #ef5350;
}

.user_menu_links .menu_item_logout .mi {
  background: rgba(239, 83, 80, 0.08);
}

.user_menu_links .menu_item_logout svg {
  color: #ef5350;
  opacity: 0.8;
}

.user_menu_links .menu_item_logout:hover {
  background: rgba(239, 83, 80, 0.08);
}

.user_menu_links .menu_item_logout:hover .mi {
  background: rgba(239, 83, 80, 0.15);
}

.user_menu_links .menu_separator {
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 4px 8px;
}

.mobile_user_panel {
  width: 100%;
}

.mobile_user_panel .user_btn {
  width: 100%;
  justify-content: space-between;
  border-radius: 12px;
}

.side_user_panel {
  width: 100%;
  margin-bottom: 10px;
}

.side_user_panel .user_btn {
  width: 100%;
  justify-content: space-between;
  border-radius: 12px;
}

.side_user_links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 8px 0;
}

.side_user_links a {
  background: #1e1e1e;
  border-radius: 8px;
  padding: 8px 10px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
}

.side_user_links a:hover {
  background: #2a2a2a;
}

.demo_box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

.demo_label {
  font-size: 13px;
  color: #fff;
}

.demo_row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.demo_row input {
  flex: 1;
}

.demo_row button {
  background: #f1c40f;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  color: #1b1b1b;
  font-weight: 600;
  cursor: pointer;
}

.modal_hint {
  margin-top: 10px;
  text-align: center;
}

.modal_hint a {
  color: #ffb01f;
  text-decoration: none;
}

.demo_list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #cfcfcf;
}

.app_block {
  margin: 15px 0;
  padding: 16px;
  background: #1b1b1b;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
}

.app_block_title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.app_cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.app_item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #202020;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #fff;
  text-decoration: none;
  transition:
    transform 0.2s,
    border-color 0.2s;
}

.app_item:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 176, 31, 0.4);
}

.app_icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #2c2c2c;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffb01f;
  flex-shrink: 0;
}

.app_item small {
  display: block;
  font-size: 12px;
  color: #bfbfbf;
}

.desktop {
  display: flex;
}

.mobile {
  display: none;
}

@media (max-width: 1820px) {
  .page {
    width: 100%;
  }

  .header {
    width: calc(100% - 30px);
    padding: 0 15px;
  }

  .wrap_content {
    width: calc(100% - 30px);
    padding: 0 15px;
  }

  .content {
    width: calc(100% - 30px);
    padding: 0 15px;
  }

  .menu_add {
    height: 55px;
  }
}

@media (max-width: 1100px) {
  .casino_menu_wrap {
    display: none;
  }

  .casino_content {
    margin-left: 0;
  }

  .casino_mobile_nav {
    display: block;
  }

  .casino_play_btn>.play_money {
    padding: 5px 10px;
    font-size: 15px;
  }

  .casino_play_btn>.play_demo {
    margin-bottom: 5px;
    font-size: 12.5px;
  }
}

@media (max-width: 1000px) {
  .desktop {
    display: none;
  }

  .mobile {
    display: flex;
  }

  .free_money_mobile {
    display: inline-flex;
  }

  .header {
    background-color: var(--menu_mobile_bg);
  }

  .iti__country-list {
    max-width: 100%;
  }

  .footer_menu a {
    width: calc(49% - 20px);
  }

  .footer {
    padding-bottom: 65px;
  }

  .casino_content .swiper {
    margin-top: 15px;
  }

  .home_slider {
    margin-top: 15px;
  }

  .home_bonus {
    display: none !important;
  }

  .home_line {
    grid-template-columns: 100%;
    grid-gap: 0 15px;
  }

  .home_line_content img {
    height: 45px;
  }

  .home_casino {
    grid-template-columns: 100%;
    grid-gap: 0 15px;
  }

  .home_casino_list {
    grid-template-columns: repeat(2, 1fr);
  }

  .home_nav {
    grid-template-columns: 100%;
  }

  .home_games {
    grid-template-columns: 1fr;
  }

  .home_games_banner {
    height: 160px;
  }
}

@media (max-width: 768px) {
  .free_money_mobile {
    display: inline-flex !important;
    width: fit-content;
    max-width: calc(100% - max(16px, env(safe-area-inset-left) + env(safe-area-inset-right)));
    min-height: 32px;
    margin: 6px 0 4px max(8px, env(safe-area-inset-left));
    padding: 5px 16px 6px 44px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    align-self: flex-start;
    box-sizing: border-box;
  }

  .free_money_mobile::before {
    width: 42px;
    height: 32px;
    top: -4px;
  }
}

@media (max-width: 800px) {
  .footer_content {
    flex-direction: column;
  }

  .app_cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 500px) {
  .modal {
    width: auto;
  }

  .footer_menu a {
    width: calc(100% - 20px);
  }
}

@media (max-width: 1000px) {
  .user_menu {
    right: 0;
  }
}

/* ═══ Footer responsive ═══ */
@media (max-width: 1100px) {
  .footer-new {
    flex-direction: column;
    gap: 24px;
  }

  .footer-new__promos {
    width: 100%;
  }

  .footer-promo-card {
    flex: 1;
    width: auto;
  }
}

@media (max-width: 700px) {
  .footer-new__cols {
    flex-direction: column;
    gap: 22px;
  }

  .footer-new__promos {
    flex-direction: column;
  }

  .footer-promo-card {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }

  .footer-promo-card__btn {
    white-space: nowrap;
    padding: 10px 18px;
  }
}

/* ─── Адаптив платёжных и партнёрских баннеров ───
   Стандартная горизонтальная скролл-лента визуально выглядит
   обрезанной на узких экранах. На мобиле даём перенос в сетку. */
@media (max-width: 700px) {
  .footer_banners {
    padding: 14px 0;
    overflow-x: visible;
  }

  .footer_banners>div {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
  }

  .footer_banners>div>div {
    margin-right: 0;
    flex: 0 0 auto;
  }

  .footer_banners>div>div svg,
  .footer_banners>div>div img {
    height: 22px;
  }

  .color_focus>div {
    gap: 10px 14px;
  }

  .color_focus>div>div img {
    height: 18px;
    /* На мобиле без серого фильтра — иначе плохо видно. */
    filter: grayscale(0%);
    opacity: 0.85;
  }
}

/* ═══════════════════════════════════════════════════════
   ENHANCED RESPONSIVE / ADAPTIVE ADDITIONS
 ═══════════════════════════════════════════════════════ */

/* Fluid container - better scaling */
@media (max-width: 1820px) {

  .content,
  .header,
  .wrap_content {
    max-width: 100%;
    box-sizing: border-box;
  }
}

/* Home page chips & slider */
@media (max-width: 900px) {
  .home_slider {
    flex-direction: column;
  }

  .home_slider>div:nth-child(2) {
    display: none;
  }

  .home_nav_chips {
    padding-bottom: 4px;
  }

  .home_nav_chip {
    white-space: nowrap;
    flex-shrink: 0;
  }

  .home_nav_chip img {
    width: 22px;
    height: 22px;
    object-fit: contain;
  }
}

/* Casino grid improvements for tablets */
@media (max-width: 1100px) {
  .casino_play_list {
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
  }
}

@media (max-width: 768px) {
  .casino_play_list {
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 8px;
  }

  .casino_head {
    font-size: 16px;
  }

  .casino_content {
    margin-left: 0;
  }

  .casino_mobile_nav_btns {
    gap: 8px;
    flex-wrap: wrap;
  }
}

@media (max-width: 500px) {
  .casino_play_list {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 6px;
  }

  .casino_play {
    padding-bottom: 65%;
  }

  .casino_play_btn>.play_money {
    padding: 6px 10px;
    font-size: 13px;
  }

  .casino_play_btn>.play_demo {
    font-size: 11px;
    margin-bottom: 4px;
  }
}

/* Footer responsive enhancements */
@media (max-width: 600px) {
  .footer_content {
    flex-direction: column;
    gap: 10px;
  }

  .footer_menu {
    flex-direction: column;
    gap: 4px;
  }

  .footer_menu a {
    width: 100%;
    padding: 6px 0;
  }
}

/* Mobile modals – properly centred & full-width */
@media (max-width: 1000px) {
  .iti--container {
    z-index: 100000 !important;
  }

  .iti-mobile .iti--container {
    top: 16px !important;
    right: 16px !important;
    bottom: 16px !important;
    left: 16px !important;
  }

  .iti-mobile .iti__country-list {
    max-width: none;
    max-height: 100%;
  }

  .blocker {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    box-sizing: border-box !important;
  }

  .modal {
    width: calc(100vw - 32px) !important;
    max-width: 420px !important;
    margin: 0 auto !important;
    padding: 20px 16px !important;
    border-radius: 16px !important;
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box !important;
  }

  .modal input,
  .modal select {
    padding: 13px 12px !important;
    font-size: 16px !important;
    /* prevents iOS zoom */
  }

  .modal button {
    padding: 14px 12px !important;
    font-size: 15px !important;
  }

  .modal_head>div {
    font-size: 18px;
  }

  .regRules {
    font-size: 12px;
  }

  .regRules div:last-child {
    line-height: 1.3;
  }

  .auth_offer {
    font-size: 13px;
    text-align: center;
    margin-top: 12px;
  }
}

/* Even smaller screens – tighter fit */
@media (max-width: 380px) {
  .blocker {
    padding: 8px !important;
  }

  .modal {
    width: calc(100vw - 16px) !important;
    padding: 16px 12px !important;
    border-radius: 12px !important;
  }

  .modal input,
  .modal select {
    padding: 11px 10px !important;
  }

  .modal_head>div {
    font-size: 16px;
  }
}

/* Home games & casino sections */
@media (max-width: 600px) {
  .home_casino_list {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-gap: 6px;
  }

  .home_casino_item {
    height: 100px !important;
  }

  .home_casino_head {
    font-size: 14px;
  }

  .home_games_banner {
    height: 120px !important;
  }

  .home_nav_card {
    padding: 10px;
  }

  .home_nav_head {
    font-size: 13px;
  }
}

/* Leagues slider responsive */
@media (max-width: 768px) {
  .temp_leagues a {
    padding: 10px 8px;
  }

  .temp_leagues_logo img {
    width: 36px;
    height: 36px;
  }

  .temp_leagues_name {
    font-size: 11px;
  }

  .leagues-nav {
    width: 28px;
    height: 28px;
  }

  .leagues-sport-tab {
    padding: 5px 10px;
    font-size: 11px;
  }

  .leagues-sport-tab img {
    width: 14px;
    height: 14px;
  }
}

/* Better touch targets on mobile */
@media (max-width: 768px) {
  .menu a {
    font-size: 13px;
    margin-left: 14px;
  }

  .menu_btn_auth,
  .menu_btn_reg {
    height: 34px;
    font-size: 12px;
    padding: 0 14px;
  }

  .free_money {
    font-size: 11px;
    padding: 4px 20px 5px 42px;
  }

  .free_money::before {
    width: 40px;
    height: 32px;
    top: -4px;
  }
}

/* Game iframe fullscreen mobile */
@media (max-width: 768px) {
  .casino-game-iframe-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
  }

  .casino-game-iframe-header {
    padding: 6px 10px;
    font-size: 12px;
  }

  .casino-game-modal-content {
    max-width: 100%;
    border-radius: 12px 12px 0 0;
    max-height: 90vh;
    overflow-y: auto;
  }

  .casino-game-modal {
    align-items: flex-end;
    padding: 0;
  }

  .casino-game-modal-img {
    height: 150px;
  }

  .casino-game-modal-actions {
    flex-direction: column;
  }
}

/* Safe area for notched phones */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .footer {
    padding-bottom: calc(15px + env(safe-area-inset-bottom));
  }

  @media (max-width: 1000px) {
    .footer {
      padding-bottom: calc(65px + env(safe-area-inset-bottom));
    }
  }
}

/* Smooth scrolling */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* Improve select/input on iOS */
@media (max-width: 768px) {

  input,
  select,
  textarea {
    font-size: 16px;
  }
}

/* Global mobile safety: prevent horizontal scroll in nested blocks */
@media (max-width: 900px) {

  #app,
  .page,
  .content,
  .header,
  .wrap_content {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .page,
  .content {
    overflow-x: clip;
  }

  .content>* {
    min-width: 0;
    box-sizing: border-box;
  }

  img,
  video,
  iframe {
    max-width: 100%;
  }
}

@media (max-width: 600px) {

  .header,
  .wrap_content,
  .content {
    width: calc(100% - 16px) !important;
    padding: 0 8px !important;
  }

  .home_leagues {
    padding: 0 10px 10px 10px;
  }

  .temp_leagues {
    width: 136px !important;
  }

  .temp_leagues_logo {
    height: 92px;
  }

  .footer-new__title,
  .footer-promo-card__heading,
  .footer-promo-card__sub {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

/* Mobile side drawers + improved game frame */
@keyframes mobileDrawerIn {
  from {
    transform: translateX(20px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Единый лок фона для модалок (работает и на iOS): body фиксируется. */
body.scroll-locked {
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
  overflow: hidden;
}

@media (max-width: 1000px) {
  body.menu-drawer-open {
    overflow: hidden;
  }

  .mobile_menu {
    position: fixed;
    inset: 0;
    z-index: 12000;
    padding: 0;
    margin: 0;
    background: rgba(0, 0, 0, 0.62);
    display: flex;
    justify-content: flex-end;
    align-items: stretch;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }

  .mobile_menu_drawer {
    width: min(86vw, 340px);
    height: 100dvh;
    box-sizing: border-box;
    padding: max(14px, env(safe-area-inset-top)) 14px calc(14px + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, #1c1c1c 0%, #111111 100%);
    border-left: 1px solid rgba(255, 176, 31, 0.35);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    animation: mobileDrawerIn 0.22s ease-out;
  }
  .mobile_menu_head,
  .mobile_menu_btns { flex: 0 0 auto; }

  .mobile_menu_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffb01f;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    padding: 4px 2px 2px;
  }

  .mobile_menu_close {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid rgba(255, 176, 31, 0.35);
    color: #ffb01f;
    background: rgba(255, 176, 31, 0.08);
    cursor: pointer;
  }

  .mobile_menu_btns {
    gap: 10px;
  }

  .mobile_menu_btns .menu_btn_auth,
  .mobile_menu_btns .menu_btn_reg {
    min-height: 40px;
    border-radius: 12px;
    font-weight: 700;
  }

  .mobile_menu_items_wrap {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
  }

  .mobile_menu_items {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 2px 0 10px;
  }

  .mobile_menu_items a {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    padding: 13px 6px;
    color: #e9edf4;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.2;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    transition: color 0.15s ease;
  }
  .mobile_menu_items a:last-child { border-bottom: 0; }
  .mobile_menu_items a .mm-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    flex: 0 0 auto;
    color: #93a1b6;
    transition: color 0.15s ease;
  }
  .mobile_menu_items a .mm-ico svg { width: 20px; height: 20px; display: block; }
  .mobile_menu_items a .mm-label { flex: 1 1 auto; min-width: 0; }
  .mobile_menu_items a::after {
    content: "";
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-right: 2px solid #5b6779;
    border-top: 2px solid #5b6779;
    transform: rotate(45deg);
    transition: border-color 0.15s ease;
  }
  .mobile_menu_items a:active,
  .mobile_menu_items a.active,
  .mobile_menu_items a.router-link-active { color: #ffce80; }
  .mobile_menu_items a:active .mm-ico,
  .mobile_menu_items a.active .mm-ico,
  .mobile_menu_items a.router-link-active .mm-ico { color: #ffb01f; }
}

@media (max-width: 1100px) {
  .casino_mobile_side_backdrop {
    position: fixed;
    inset: 0;
    z-index: 11500;
    background: rgba(0, 0, 0, 0.58);
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
  }

  #casino_mobile_side.casino_mobile_side_panel {
    position: relative;
    top: 0 !important;
    margin: 0 !important;
    width: min(88vw, 340px);
    height: 100dvh;
    border-radius: 14px 0 0 14px;
    border-left: 1px solid rgba(255, 176, 31, 0.3);
    border-right: 0;
    background: linear-gradient(180deg, #181818 0%, #111111 100%);
    padding: 12px 10px calc(12px + env(safe-area-inset-bottom));
    overflow-y: auto;
    animation: mobileDrawerIn 0.22s ease-out;
  }
}

.casino-game-iframe-overlay {
  position: fixed;
  inset: 0;
  z-index: 13000;
  background: #000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.casino-game-iframe-overlay .casino-game-iframe {
  display: block;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  height: 100%;
  border: 0;
  max-width: none;
  background: #000;
}

@media (max-width: 768px) {
  .casino-game-iframe-overlay {
    width: 100dvw;
    height: 100dvh;
  }

  .casino-game-iframe-overlay.mobile-game-overlay .casino-game-iframe-header {
    position: absolute;
    top: max(8px, env(safe-area-inset-top));
    left: max(8px, env(safe-area-inset-left));
    right: max(8px, env(safe-area-inset-right));
    z-index: 2;
    min-height: 0;
    padding: 0;
    background: transparent;
    border: 0;
    pointer-events: none;
  }

  .casino-game-iframe-overlay.mobile-game-overlay .casino-game-iframe-header span {
    display: none;
  }

  .casino-game-iframe-overlay.mobile-game-overlay .casino-game-iframe-header button {
    margin-left: auto;
    height: 36px;
    border-radius: 10px;
    padding: 0 14px;
    pointer-events: auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
  }

  .casino-game-iframe-overlay .casino-game-iframe {
    width: 100%;
    height: 100dvh;
    border: 0;
  }
}