* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: #e7ebfa;
  font-family: Inter, Arial, sans-serif;
}

.topbar {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 1px 0 0;
  background: #f2f4ff;
  color: #696db2;
}

.navigation,
.actions {
  display: flex;
  align-items: center;
}

.navigation {
  height: 100%;
  gap: 2px;
  margin-left: 15px;
}

.nav-item {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 9px;
  color: #696db2;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.nav-item:hover {
  color: #db244d;
  background: rgba(219, 36, 77, .025);
}

.nav-item:active,
.nav-item.active:active {
  transform: translateY(1px);
}

.nav-item.active {
  color: #db244d;
  border-bottom-color: #db244d;
}

.actions {
  height: 100%;
  margin-left: auto;
  gap: 8px;
}

.actions button {
  border: 0;
  color: #696db2;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.chat-button {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px;
  border-radius: 7px;
  background: #fff !important;
  box-shadow: 0 1px 3px rgba(73, 79, 136, 0.06);
  font-size: 12px;
  font-weight: 600;
}

.divider-button {
  width: 22px;
  height: 32px;
  display: grid;
  place-items: center;
  border-left: 1px solid #dfe3ef;
  border-radius: 0;
  padding: 0 0 0 7px;
}

.lang-button {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 8px 0 5px;
  border-radius: 7px;
  background: #fff !important;
  box-shadow: 0 1px 3px rgba(73, 79, 136, 0.06);
}

.icon {
  position: relative;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  display: inline-block;
}

.icon-gift {
  border: 1.5px solid #dc2451;
  border-radius: 3px;
  background: #dc2451;
}

.icon-gift::before,
.icon-gift::after {
  content: "";
  position: absolute;
  background: #fff;
}

.icon-gift::before {
  width: 1.5px;
  height: 13px;
  left: 5px;
  top: -1px;
}

.icon-gift::after {
  width: 13px;
  height: 1.5px;
  left: -1px;
  top: 4px;
}

.icon-loyalty {
  width: 12px;
  height: 12px;
  border: 1.5px solid #686db1;
  transform: rotate(45deg) scale(.68);
}

.icon-loyalty::after {
  content: "";
  position: absolute;
  inset: 2px;
  background: #686db1;
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
}

.icon-app {
  width: 11px;
  height: 11px;
  border: 1.5px solid #686db1;
  border-radius: 2px;
  background:
    linear-gradient(#686db1 0 0) 2px 2px / 2px 2px no-repeat,
    linear-gradient(#686db1 0 0) 6px 2px / 2px 2px no-repeat,
    linear-gradient(#686db1 0 0) 2px 6px / 2px 2px no-repeat,
    linear-gradient(#686db1 0 0) 6px 6px / 2px 2px no-repeat;
}

.icon-results,
.icon-statistics {
  width: 12px;
  height: 12px;
  border: 1.5px solid #686db1;
  border-radius: 2px;
  background:
    linear-gradient(to top, #686db1 0 0) 2px 7px / 2px 3px no-repeat,
    linear-gradient(to top, #686db1 0 0) 5px 5px / 2px 5px no-repeat,
    linear-gradient(to top, #686db1 0 0) 8px 3px / 2px 7px no-repeat;
}

.icon-statistics {
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 48%, #686db1 48% 52%, transparent 52%),
    linear-gradient(0deg, transparent 48%, #686db1 48% 52%, transparent 52%);
}

.icon-statistics::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  right: 1px;
  top: 1px;
  border: 1.5px solid #686db1;
  border-radius: 50%;
  background: #f2f4ff;
}

.chat-icon {
  position: relative;
  width: 15px;
  height: 13px;
  display: inline-block;
  border: 1.5px solid #686db1;
  border-radius: 3px;
}

.chat-icon::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: -4px;
  width: 5px;
  height: 5px;
  border-left: 1.5px solid #686db1;
  border-bottom: 1.5px solid #686db1;
  transform: skewY(-32deg);
  background: #fff;
}

.window-icon {
  width: 12px;
  height: 11px;
  display: block;
  border: 1.5px solid #6f74b5;
  border-radius: 2px;
  background:
    linear-gradient(#6f74b5 0 0) 0 3px / 12px 1.5px no-repeat,
    radial-gradient(circle, #dfe3ef 0 1px, transparent 1.5px) 2px 1px / 3px 3px no-repeat;
}

.flag {
  width: 18px;
  height: 12px;
  display: block;
  overflow: hidden;
  border-radius: 2px;
  font-size: 14px;
  line-height: 11px;
  letter-spacing: 0;
}

.chevron {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #8588ae;
  border-bottom: 1.5px solid #8588ae;
  transform: rotate(45deg) translateY(-2px);
}

.mbet-header {
  height: 49px;
  display: flex;
  align-items: center;
  padding: 0 7px 0 19px;
  background: #ffffff;
  color: #172a56;
  border-top: 1px solid #f1f3fb;
  box-shadow: 0 1px 3px rgba(32, 39, 72, 0.04);
}

.brand {
  margin-right: auto;
  color: #ff1834;
  text-decoration: none;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-style: italic;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
}

.mbet-navigation {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-right: 9px;
}

.mbet-link {
  color: #172a56;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.mbet-link.active {
  color: #ff1834;
}

.search-button {
  width: 21px;
  height: 30px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
}

.search-button:hover {
  transform: scale(1.08);
}

.search-button:active {
  transform: scale(.94);
}

.search-icon {
  width: 11px;
  height: 11px;
  display: block;
  border: 1.5px solid #172a56;
  border-radius: 50%;
  position: relative;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 5px;
  border-top: 1.5px solid #172a56;
  right: -4px;
  bottom: -2px;
  transform: rotate(45deg);
}

.auth-actions {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}

.auth-actions button {
  height: 30px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.login-button:hover {
  border-color: #62679f;
  box-shadow: 0 4px 10px rgba(48, 55, 96, .08);
}

.join-button:hover {
  background: #df1531;
  box-shadow: 0 5px 12px rgba(255, 24, 52, .22);
}

.login-button:active,
.join-button:active {
  transform: scale(.96);
}

.login-button {
  width: 61px;
  border: 1px solid #dfe3ec;
  color: #172a56;
  background: #fff;
}

.join-button {
  width: 68px;
  border: 0;
  color: #fff;
  background: #ff1834;
}

.carousel {
  height: 333px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 24px 0;
  background: #eef1f7;
}

.carousel-track {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(420px, 1.1fr) minmax(420px, 1.1fr) minmax(260px, .72fr);
  gap: 18px;
  padding: 0 48px;
  transition: transform .35s ease;
}

.promo-card {
  height: 260px;
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  color: #fff;
  background-color: #565cdf;
  background-image:
    repeating-linear-gradient(78deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 16px),
    linear-gradient(135deg, #5a67df 0%, #4048bf 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.promo-copy {
  position: absolute;
  z-index: 3;
  left: 31px;
  top: 59px;
  display: flex;
  flex-direction: column;
  font-family: "Arial Black", Inter, sans-serif;
}

.promo-copy strong {
  font-size: 38px;
  line-height: 1.05;
  text-transform: uppercase;
}

.promo-copy b {
  margin-top: 6px;
  color: #ffe02b;
  font-size: 35px;
  line-height: 1;
}

.promo-bonus .promo-copy {
  top: 42px;
  left: 34px;
}

.promo-bonus .promo-copy strong {
  font-size: 39px;
  line-height: 1.12;
  text-transform: none;
}

.promo-bonus .promo-copy span {
  margin-top: 9px;
  color: #ffe02b;
  font-family: Inter, Arial, sans-serif;
  font-size: 22px;
  line-height: 1.25;
}

.promo-crazy .promo-copy {
  top: 64px;
  left: 57px;
}

.promo-crazy .promo-copy strong {
  color: #ffe02b;
  font-size: 40px;
  line-height: 1.05;
}

.promo-crazy .promo-copy span {
  margin-top: 10px;
  font-family: Inter, Arial, sans-serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.2;
}

.carousel-arrow {
  width: 34px;
  height: 40px;
  position: absolute;
  z-index: 10;
  top: 146px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #8a91b4;
  font-size: 31px;
  line-height: 1;
  cursor: pointer;
}

.carousel-arrow span {
  transform: translateY(-2px);
}

.carousel-arrow.previous {
  left: 34px;
}

.carousel-arrow.next {
  right: 34px;
}

.calendar-art,
.bonus-art {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  height: 100%;
}

.calendar-body {
  width: 155px;
  height: 135px;
  position: absolute;
  right: 12px;
  bottom: 16px;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 34px);
  grid-auto-rows: 34px;
  gap: 7px;
  padding: 35px 7px 7px;
  border: 7px solid #cdd2ec;
  border-radius: 21px;
  background: #fff;
  transform: rotate(-8deg);
  box-shadow: 12px 14px 25px rgba(38, 39, 103, .32);
}

.calendar-body i {
  border: 1px solid #dfe2ef;
  border-radius: 5px;
  background: #f7f8fc;
}

.calendar-body i:nth-child(5) {
  background: #f12b50;
}

.calendar-ring {
  width: 23px;
  height: 65px;
  position: absolute;
  z-index: 4;
  top: 4px;
  border: 9px solid #e8b49d;
  border-radius: 18px;
  box-shadow: inset 3px 0 3px #9d604c, 3px 4px 5px rgba(43, 33, 59, .28);
}

.calendar-ring.left {
  right: 98px;
  transform: rotate(-4deg);
}

.calendar-ring.right {
  right: 55px;
  transform: rotate(5deg);
}

.coin {
  width: 63px;
  height: 63px;
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  border: 5px solid #e8a27f;
  border-radius: 50%;
  color: #a91d31;
  background: linear-gradient(135deg, #fff3e9, #c95467);
  box-shadow: 7px 10px 14px rgba(38, 39, 103, .32), inset 3px 3px 4px #fff;
  font-family: Georgia, serif;
  font-size: 24px;
  font-style: italic;
  font-weight: 900;
  transform: rotate(-18deg);
}

.calendar-art .coin-one {
  left: 8px;
  bottom: 11px;
}

.calendar-art .coin-two {
  right: -12px;
  top: 112px;
}

.calendar-art .coin-three {
  right: 38px;
  top: 13px;
}

.bonus-art {
  width: 54%;
}

.big-percent {
  position: absolute;
  z-index: 2;
  right: 64px;
  bottom: 96px;
  color: #bf7537;
  font-family: Georgia, serif;
  font-size: 184px;
  line-height: 1;
  transform: rotate(-8deg);
  text-shadow: 10px 12px 12px rgba(43, 35, 93, .32), inset 4px 4px 5px #fff;
}

.percent-base {
  width: 180px;
  height: 160px;
  position: absolute;
  right: 0;
  bottom: -24px;
  z-index: 1;
  background:
    linear-gradient(135deg, #fa9a73 0 12%, #b73a35 12% 30%, #f17d57 30% 43%, #98302f 43% 55%, #f45d42 55% 68%, #922b2d 68%);
  clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 78%, 40% 78%, 40% 55%, 68% 55%, 68% 30%, 100% 30%);
  box-shadow: -10px 10px 20px rgba(35, 38, 88, .26);
}

.bonus-art .coin-one {
  right: 13px;
  top: 156px;
}

.bonus-art .coin-two {
  right: 178px;
  top: 116px;
}

.bonus-art .coin-three {
  right: 155px;
  top: 182px;
}

.category-slider {
  height: 114px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 35px 0 7px;
  background: #edf2ff;
}

.category-track {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(8, 190px);
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.category-track::-webkit-scrollbar {
  display: none;
}

.category-card {
  height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid #edf0f8;
  border-radius: 18px;
  color: #172a56;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(75, 82, 125, .04);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: #dfe4f2;
  box-shadow: 0 8px 16px rgba(75, 82, 125, .12);
}

.category-card:active {
  transform: translateY(-1px) scale(.98);
}

.category-card span:last-child {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: Inter, Arial, sans-serif;
  font-size: 13px;
  font-weight: 500;
}

.category-icon {
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}

.promotions-icon {
  color: #f01841;
  background: #fff0f3;
}

.top-icon {
  color: #f6a316;
  background: #fff4dc;
}

.games-icon {
  color: #ff4438;
  background: #fff1ec;
  font-size: 26px;
}

.nba-icon {
  color: #1d46a0;
  background: #eaf0ff;
  font-size: 11px;
}

.fire-icon {
  background: #fff0e5;
  font-size: 20px;
}

.nhl-icon {
  color: #1c2338;
  background: #f1f3f7;
  font-size: 9px;
}

.crash-icon {
  color: #ed2029;
  background: #fff0f1;
  font-size: 22px;
}

.erdivisie-icon,
.eredivisie-icon {
  color: #1d56af;
  background: #edf3ff;
  font-size: 20px;
}

.category-next {
  width: 34px;
  height: 34px;
  position: absolute;
  right: 9px;
  z-index: 5;
  border: 1px solid #dfe4ef;
  border-radius: 50%;
  color: #172a56;
  background: #fff;
  box-shadow: 0 4px 12px rgba(55, 65, 105, .12);
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
}

.games-slider {
  height: 300px;
  padding: 13px 0 18px;
  background: #edf2ff;
}

.games-heading {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 31px;
}

.games-heading h2 {
  margin: 0;
  color: #172a56;
  font-family: Inter, Arial, sans-serif;
  font-size: 27px;
  line-height: 1;
}

.games-heading a {
  color: #172a56;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
}

.games-viewport {
  height: 220px;
  position: relative;
  overflow: hidden;
}

.games-track {
  height: 220px;
  display: grid;
  grid-template-columns: repeat(9, 192px);
  gap: 12px;
  overflow-x: auto;
  padding: 8px 0 10px;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.games-track::-webkit-scrollbar {
  display: none;
}

.game-card {
  height: 192px;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  color: #fff;
  background: #27366c;
  box-shadow: 0 5px 14px rgba(55, 64, 110, .14);
  transition: height .22s ease, margin-top .22s ease, transform .22s ease, filter .22s ease;
}

.game-olympus {
  background:
    linear-gradient(135deg, rgba(20, 13, 8, .25), rgba(93, 49, 20, .15)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=384&q=75") center / cover;
}

.game-stamps {
  background:
    linear-gradient(135deg, rgba(11, 28, 38, .18), rgba(46, 92, 111, .12)),
    url("https://images.unsplash.com/photo-1477959858617-67f85cf4f1df?auto=format&fit=crop&w=384&q=75") center / cover;
}

.game-extra {
  background:
    linear-gradient(135deg, rgba(71, 35, 13, .25), rgba(179, 112, 44, .12)),
    url("https://images.unsplash.com/photo-1500534314209-a25ddb2bd429?auto=format&fit=crop&w=384&q=75") center / cover;
}

.game-bonanza {
  background:
    linear-gradient(135deg, rgba(15, 48, 30, .2), rgba(82, 104, 42, .1)),
    url("https://images.unsplash.com/photo-1441974231531-c6227db76b6e?auto=format&fit=crop&w=384&q=75") center / cover;
}

.game-mummy {
  background:
    linear-gradient(135deg, rgba(32, 24, 50, .35), rgba(98, 62, 120, .08)),
    url("https://images.unsplash.com/photo-1500534623283-312aade485b7?auto=format&fit=crop&w=384&q=75") center / cover;
}

.game-monkey {
  background:
    linear-gradient(135deg, rgba(38, 25, 13, .28), rgba(127, 83, 38, .1)),
    url("https://images.unsplash.com/photo-1484406566174-9da000fda645?auto=format&fit=crop&w=384&q=75") center / cover;
}

.game-bass {
  background:
    linear-gradient(135deg, rgba(10, 48, 65, .25), rgba(28, 96, 111, .1)),
    url("https://images.unsplash.com/photo-1500534314209-a25ddb2bd429?auto=format&fit=crop&w=384&q=75") center / cover;
}

.game-fury {
  background:
    linear-gradient(135deg, rgba(48, 20, 20, .32), rgba(118, 45, 28, .12)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=384&q=75") center / cover;
}

.game-bounty {
  background:
    radial-gradient(circle at 50% 30%, #eebd89 0 13%, transparent 14%),
    linear-gradient(145deg, #30130d 0 42%, #805131 43% 70%, #24140c);
}

.game-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 63px;
  text-align: center;
  text-shadow: 0 2px 5px #000;
}

.game-cover span {
  font-size: 14px;
  font-weight: 700;
}

.game-cover small {
  margin-top: 4px;
  font-size: 11px;
}

.play-button {
  display: none;
  height: 52px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border: 0;
  color: #fff;
  background: #ed1d46;
  font-family: Inter, Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
}

.featured .game-cover {
  display: none;
}

.game-title {
  display: none;
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-shadow: 0 3px 4px #5b2700;
  transform: rotate(-2deg);
}

.game-title strong,
.game-title b {
  font-family: Arial, sans-serif;
  line-height: .9;
}

.game-title strong {
  color: #ffe04d;
  font-size: 17px;
}

.game-title b {
  color: #fff;
  font-size: 24px;
  -webkit-text-stroke: 1px #1a56bd;
}

.game-title span {
  color: #ffe431;
  font-size: 14px;
  font-weight: 900;
}

.games-arrow {
  width: 34px;
  height: 34px;
  position: absolute;
  z-index: 8;
  top: 78px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #172a56;
  background: #fff;
  box-shadow: 0 4px 12px rgba(55, 65, 105, .16);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: transform .18s ease, color .18s ease, box-shadow .18s ease;
}

.games-arrow.previous {
  left: 12px;
}

.games-arrow.next {
  right: 12px;
}

.site-footer {
  position: relative;
  background: #fff;
  color: #777ea9;
}

.footer-about {
  height: 347px;
  overflow: hidden;
  border-bottom: 1px solid #edf0f6;
  transition: height .28s ease;
}

.footer-copy {
  padding: 39px 44px 20px;
}

.footer-copy h2,
.footer-copy h3 {
  margin: 0;
  color: #62679f;
  font-family: Inter, Arial, sans-serif;
  font-weight: 700;
}

.footer-copy h2 {
  margin-bottom: 15px;
  font-size: 31px;
  line-height: 1.15;
}

.footer-copy h3 {
  margin: 18px 0 11px;
  font-size: 27px;
  line-height: 1.15;
}

.footer-copy p {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.45;
}

.footer-toggle {
  width: 50px;
  height: 29px;
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 332px;
  display: grid;
  place-items: center;
  border: 1px solid #dde2ef;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background: #fff;
  transform: translateX(-50%);
  cursor: pointer;
  box-shadow: 0 -2px 6px rgba(75, 82, 125, .04);
}

.footer-toggle span {
  width: 8px;
  height: 8px;
  border-right: 2px solid #777da9;
  border-bottom: 2px solid #777da9;
  transform: rotate(225deg) translate(-1px, -1px);
}

.site-footer.collapsed .footer-about {
  height: 50px;
}

.site-footer.collapsed .footer-toggle {
  top: 35px;
}

.site-footer.collapsed .footer-toggle span {
  transform: rotate(45deg);
}

.footer-links {
  min-height: 91px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 37px 20px 10px;
}

.footer-links a {
  height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid #edf0f6;
  border-radius: 7px;
  color: #62679f;
  background: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.responsible-gambling {
  height: 73px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
}

.responsible-gambling p {
  margin: 0;
  color: #62679f;
  font-size: 14px;
}

.age-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 4px solid #ff394e;
  border-right-color: transparent;
  border-radius: 50%;
  color: #ff394e;
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

@media (max-width: 900px) {
  .carousel {
    height: 300px;
  }

  .carousel-track {
    grid-template-columns: calc(100vw - 96px) calc(100vw - 96px) calc(100vw - 96px);
    gap: 18px;
    padding: 0 48px;
  }

  .promo-card {
    height: 246px;
  }

  .promo-copy strong,
  .promo-bonus .promo-copy strong,
  .promo-crazy .promo-copy strong {
    font-size: 29px;
  }

  .promo-copy b {
    font-size: 29px;
  }

  .promo-bonus .promo-copy span,
  .promo-crazy .promo-copy span {
    font-size: 18px;
  }

  .carousel-arrow {
    top: 130px;
  }

  .carousel-arrow.previous {
    left: 10px;
  }

  .carousel-arrow.next {
    right: 10px;
  }
}

@media (max-width: 560px) {
  .topbar {
    gap: 8px;
  }

  .navigation {
    overflow-x: auto;
  }

  .nav-item {
    padding: 0 7px;
  }

  .nav-item span:last-child {
    display: none;
  }

  .chat-button span:last-child {
    display: none;
  }
}

/* =========================================================
   Hover / Active / Focus animatsiyalar
   ========================================================= */

:root {
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --t-fast: .16s;
  --t-base: .24s;
  --accent: #ff1834;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid #5a67df;
  outline-offset: 2px;
}

/* ---------- Topbar navigatsiya: animatsiyali chiziq ---------- */
.nav-item {
  position: relative;
  border-bottom-color: transparent !important;
  transition: color var(--t-base) var(--ease-out), background-color var(--t-base) var(--ease-out);
}

.nav-item::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 0;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: #db244d;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t-base) var(--ease-out);
}

.nav-item .icon {
  transition: transform var(--t-base) var(--ease-spring);
}

.nav-item:hover {
  color: #3f4392;
  background-color: rgba(105, 109, 178, .06);
}

.nav-item:hover::after {
  transform: scaleX(.5);
  background: #a3a6d6;
}

.nav-item:hover .icon {
  transform: translateY(-2px);
}

.nav-item:hover .icon-loyalty {
  transform: rotate(135deg) scale(.68);
}

.nav-item.active::after,
.nav-item.active:hover::after {
  transform: scaleX(1);
  background: #db244d;
}

.nav-item:active .icon {
  transform: scale(.85);
}

/* ---------- Chat / lang / divider tugmalari ---------- */
.chat-button,
.lang-button,
.divider-button {
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-base) var(--ease-out), color var(--t-base);
}

.chat-button:hover,
.lang-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(73, 79, 136, .14);
  color: #3f4392;
}

.chat-button:hover .chat-icon {
  animation: wiggle .5s var(--ease-out);
}

.chat-button:active,
.lang-button:active,
.divider-button:active {
  transform: translateY(0) scale(.95);
  box-shadow: 0 1px 2px rgba(73, 79, 136, .1);
}

.divider-button:hover .window-icon {
  animation: wiggle .5s var(--ease-out);
}

.chevron {
  transition: transform var(--t-base) var(--ease-out);
}

.lang-button:hover .chevron {
  transform: rotate(45deg) translate(1px, 1px);
}

/* ---------- Mbet header ---------- */
.brand {
  display: inline-block;
  transition: transform var(--t-base) var(--ease-spring), text-shadow var(--t-base);
}

.brand:hover {
  transform: scale(1.06) rotate(-2deg);
  text-shadow: 0 3px 10px rgba(255, 24, 52, .3);
}

.brand:active {
  transform: scale(.96);
}

.mbet-link {
  position: relative;
  padding: 6px 0;
  transition: color var(--t-base) var(--ease-out);
}

.mbet-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-base) var(--ease-out);
}

.mbet-link:hover {
  color: var(--accent);
}

.mbet-link:hover::after,
.mbet-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mbet-link:active {
  opacity: .7;
}

.search-button {
  border-radius: 50%;
  transition: transform var(--t-base) var(--ease-spring);
}

.search-button:hover {
  transform: scale(1.15) rotate(-10deg);
}

.search-button:active {
  transform: scale(.9);
}

.login-button,
.join-button {
  position: relative;
  overflow: hidden;
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-base) var(--ease-out),
    background-color var(--t-base), border-color var(--t-base), color var(--t-base);
}

.login-button:hover {
  border-color: #172a56;
  box-shadow: 0 4px 10px rgba(23, 42, 86, .1);
  transform: translateY(-1px);
}

.join-button:hover {
  background: #e3001e;
  box-shadow: 0 6px 14px rgba(255, 24, 52, .35);
  transform: translateY(-1px);
}

/* Join tugmasida yaltiroq effekt */
.join-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg);
}

.join-button:hover::before {
  animation: shine .7s var(--ease-out);
}

.login-button:active,
.join-button:active {
  transform: translateY(0) scale(.95);
  box-shadow: none;
}

/* ---------- Promo karusel ---------- */
.promo-card {
  cursor: pointer;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}

.promo-card:hover {
  transform: translateY(-6px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 18px 30px rgba(64, 72, 191, .32);
}

.promo-card:active {
  transform: translateY(-2px) scale(.99);
}

.promo-copy {
  transition: transform .35s var(--ease-out);
}

.promo-card:hover .promo-copy {
  transform: translateX(4px);
}

.calendar-body,
.big-percent {
  transition: transform .45s var(--ease-spring);
}

.promo-card:hover .calendar-body {
  transform: rotate(-3deg) scale(1.03);
}

.promo-card:hover .big-percent {
  transform: rotate(-2deg) scale(1.05);
}

.promo-card:hover .coin {
  animation: coin-float 1.6s ease-in-out infinite;
}

.promo-card:hover .coin-two {
  animation-delay: -.5s;
}

.promo-card:hover .coin-three {
  animation-delay: -1s;
}

.carousel-track.slide-next .promo-card {
  animation: slide-in-right .4s var(--ease-out);
}

.carousel-track.slide-prev .promo-card {
  animation: slide-in-left .4s var(--ease-out);
}

.carousel-arrow {
  transition: background-color var(--t-base), transform var(--t-fast) var(--ease-out), box-shadow var(--t-base);
}

.carousel-arrow:hover {
  background: #5d6597;
  box-shadow: 0 6px 14px rgba(40, 46, 90, .3);
}

.carousel-arrow.previous:hover span {
  animation: nudge-left .6s var(--ease-out) infinite;
}

.carousel-arrow.next:hover span {
  animation: nudge-right .6s var(--ease-out) infinite;
}

.carousel-arrow:active {
  transform: scale(.9);
}

/* ---------- Kategoriya kartalari ---------- */
.category-card {
  transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out),
    border-color var(--t-base), color var(--t-base);
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: #d5dbf0;
  box-shadow: 0 10px 20px rgba(75, 82, 125, .14);
}

.category-icon {
  transition: transform .35s var(--ease-spring);
}

.category-card:hover .category-icon {
  transform: scale(1.15) rotate(-6deg);
}

.category-card:active {
  transform: translateY(-1px) scale(.97);
  box-shadow: 0 4px 10px rgba(75, 82, 125, .1);
}

.category-next,
.games-arrow {
  transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-base), background-color var(--t-base), color var(--t-base);
}

.category-next:hover,
.games-arrow:hover {
  color: #fff;
  background: #172a56;
  box-shadow: 0 6px 16px rgba(23, 42, 86, .3);
}

.category-next:active,
.games-arrow:active {
  transform: scale(.88);
}

/* ---------- O'yin kartalari ---------- */
.games-heading a {
  display: inline-block;
  transition: color var(--t-base), transform var(--t-base) var(--ease-out);
}

.games-heading a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

/* =========================================================
   Kategoriya + Popular o'yinlar — screenshot bo'yicha 1:1
   ========================================================= */

.category-slider {
  height: auto;
  padding: 8px 0 8px 21px;
}

.category-track {
  grid-template-columns: repeat(8, 220px);
  gap: 13px;
  padding: 6px 60px 12px 0;
}

.category-card {
  height: 127px;
  gap: 16px;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(75, 82, 125, .05);
}

.category-card span:last-child {
  max-width: 196px;
  font-size: 15px;
  font-weight: 500;
}

.category-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f1f2f9;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 22px rgba(75, 82, 125, .14);
}

.category-card:hover .category-icon {
  transform: scale(1.12) rotate(-6deg);
  background: #e9ebf8;
}

/* ---------- Popular ---------- */
.games-slider {
  height: auto;
  padding: 26px 0 10px;
}

.games-heading {
  height: 40px;
  padding: 0 31px 0 21px;
}

.games-heading h2 {
  font-size: 30px;
  letter-spacing: -.5px;
}

.games-viewport,
.games-track {
  height: auto;
}

.games-track {
  grid-template-columns: repeat(9, 193px);
  gap: 13px;
  align-items: start;
  padding: 32px 21px 36px;
}

.game-card {
  width: 193px;
  height: 193px;
  aspect-ratio: auto;
  border-radius: 8px;
  cursor: pointer;
  background-position: center top;
  box-shadow: 0 4px 12px rgba(55, 64, 110, .12);
  transition: width .25s var(--ease-out), height .25s var(--ease-out), margin .25s var(--ease-out),
    box-shadow .25s var(--ease-out), transform .15s var(--ease-out);
}

/* Hover: karta yuqoriga va pastga kattalashadi, row balandligi o'zgarmaydi */
.game-card:hover,
.game-card:focus-within {
  z-index: 4;
  width: 203px;
  height: 251px;
  margin: -28px -5px -30px;
  box-shadow: 0 16px 30px rgba(25, 30, 60, .35);
}

.game-card:active {
  transform: scale(.985);
}

.game-title {
  transition: opacity .2s var(--ease-out), transform .25s var(--ease-out);
}

.game-card:hover .game-title,
.game-card:focus-within .game-title {
  opacity: 0;
  transform: rotate(-2deg) translateY(10px);
}

/* Hover paneli (JS orqali har bir kartaga qo'shiladi) */
.game-hover {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 17px 12px;
  background: linear-gradient(to bottom, rgba(43, 46, 66, 0) 28%, rgba(43, 46, 66, .82) 44%, #2b2e42 58%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s var(--ease-out);
}

.game-card:hover .game-hover,
.game-card:focus-within .game-hover {
  opacity: 1;
  pointer-events: auto;
}

.game-hover > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .25s var(--ease-out), transform .3s var(--ease-out);
}

.game-card:hover .game-hover > *,
.game-card:focus-within .game-hover > * {
  opacity: 1;
  transform: translateY(0);
}

.game-card:hover .game-hover > :nth-child(2) { transition-delay: .03s; }
.game-card:hover .game-hover > :nth-child(3) { transition-delay: .06s; }
.game-card:hover .game-hover > :nth-child(4) { transition-delay: .09s; }

.game-name {
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.game-provider {
  margin-top: 3px;
  color: rgba(255, 255, 255, .62);
  font-size: 12px;
  font-weight: 500;
}

.game-play {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 12px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: #ed1d46;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .18s, box-shadow .18s, transform .12s var(--ease-out), opacity .25s var(--ease-out);
}

.game-play::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 10px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

.game-play:hover {
  background: #ff2d55;
  box-shadow: 0 6px 14px rgba(237, 29, 70, .4);
}

.game-play:active {
  transform: scale(.96) !important;
  background: #c8123a;
}

.game-demo {
  margin-top: 11px;
  padding: 2px 0;
  border: 0;
  color: rgba(255, 255, 255, .82);
  background: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: color .18s, opacity .25s var(--ease-out), transform .3s var(--ease-out);
}

.game-demo:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.game-demo:active {
  opacity: .6 !important;
}

.game-tools {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 1;
  transform: none;
}

.game-tools button {
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  color: #fff;
  background: rgba(20, 22, 36, .38);
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .2s, transform .25s var(--ease-spring), background-color .18s;
}

.game-card:hover .game-tools button,
.game-card:focus-within .game-tools button {
  opacity: 1;
  transform: scale(1);
}

.game-card:hover .game-tools button + button {
  transition-delay: .05s;
}

.game-tools button:hover {
  background: rgba(20, 22, 36, .7);
}

.game-tools button.is-fav {
  color: #ffd23f;
  border-color: #ffd23f;
}

.copy-glyph {
  width: 9px;
  height: 9px;
  position: relative;
  border: 1.5px solid currentColor;
  border-radius: 2px;
}

.copy-glyph::before {
  content: "";
  position: absolute;
  left: 1px;
  top: 1px;
  width: 5px;
  height: 5px;
  border: 1.5px solid currentColor;
  border-radius: 1px;
}

/* Strelka — screenshotdagidek yarim shaffof to'rtburchak */
.games-arrow {
  width: 26px;
  height: 52px;
  top: 102px;
  border-radius: 8px;
  color: #6b7096;
  background: rgba(225, 228, 241, .9);
  box-shadow: 0 2px 8px rgba(55, 65, 105, .12);
  font-size: 24px;
}

.games-arrow.previous { left: 8px; }
.games-arrow.next { right: 8px; }

.games-arrow:hover {
  color: #fff;
  background: #172a56;
}

/* ---------- Footer ---------- */
.footer-toggle {
  transition: top .28s ease, box-shadow var(--t-base), background-color var(--t-base);
}

.footer-toggle span {
  transition: transform .28s var(--ease-out);
}

.footer-toggle:hover {
  background: #f5f7ff;
  box-shadow: 0 -4px 10px rgba(75, 82, 125, .1);
}

.footer-toggle:active span {
  transform: rotate(225deg) translate(-1px, -1px) scale(.8);
}

.footer-links a {
  transition: transform var(--t-fast) var(--ease-out), color var(--t-base), border-color var(--t-base),
    background-color var(--t-base), box-shadow var(--t-base);
}

.footer-links a:hover {
  color: #fff;
  border-color: #62679f;
  background: #62679f;
  box-shadow: 0 6px 14px rgba(98, 103, 159, .3);
  transform: translateY(-2px);
}

.footer-links a:active {
  transform: translateY(0) scale(.95);
  box-shadow: none;
}

.age-mark {
  transition: transform .6s var(--ease-out);
}

.responsible-gambling:hover .age-mark {
  transform: rotate(360deg);
}

/* ---------- Ripple (JS orqali qo'shiladi) ---------- */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  transform: scale(0);
  pointer-events: none;
  animation: ripple .55s ease-out forwards;
}

.login-button .ripple,
.category-card .ripple,
.footer-links a .ripple {
  background: rgba(23, 42, 86, .15);
}

.category-card,
.footer-links a {
  position: relative;
  overflow: hidden;
}

/* ---------- Keyframes ---------- */
@keyframes shine {
  to { left: 125%; }
}

@keyframes wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-12deg); }
  50% { transform: rotate(10deg); }
  75% { transform: rotate(-6deg); }
}

@keyframes coin-float {
  0%, 100% { transform: rotate(-18deg) translateY(0); }
  50% { transform: rotate(-8deg) translateY(-10px); }
}

@keyframes nudge-left {
  0%, 100% { transform: translate(0, -2px); }
  50% { transform: translate(-4px, -2px); }
}

@keyframes nudge-right {
  0%, 100% { transform: translate(0, -2px); }
  50% { transform: translate(4px, -2px); }
}

@keyframes slide-in-right {
  from { opacity: .4; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slide-in-left {
  from { opacity: .4; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes ripple {
  to { transform: scale(2.6); opacity: 0; }
}

/* Harakatni kamaytirishni xohlovchilar uchun */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

.game-play,
.carousel-arrow {
  overflow: hidden;
}

.game-play {
  position: relative;
}

/* Kategoriya ikonkalari — doira ichida kattaroq */
.category-icon { font-size: 26px; }
.games-icon { font-size: 32px; }
.fire-icon, .crash-icon, .eredivisie-icon { font-size: 26px; }
.nba-icon { font-size: 14px; }
.nhl-icon { font-size: 13px; }

/* Hover soyasi kesilmasligi uchun */
.games-track { padding-bottom: 50px; }
.games-slider { padding-bottom: 0; }

/* Kategoriya ikonkalari — originaldagidek: bir xil och doira + rangli SVG */
.category-icon {
  width: 52px;
  height: 52px;
  color: inherit;
  background: #f0f1f8 !important;
}

.category-icon svg {
  width: 36px;
  height: 36px;
  display: block;
  filter: drop-shadow(0 2px 2px rgba(30, 30, 60, .12));
}

/* =========================================================
   Promo bannerlar — screenshot bo'yicha 1:1
   ========================================================= */
.carousel {
  height: auto;
  padding: 32px 0 26px;
  background: transparent;
}

.carousel-track {
  grid-template-columns: minmax(420px, 1fr) minmax(420px, 1fr) minmax(200px, .35fr);
  gap: 12px;
  padding: 0 55px 0 53px;
}

.promo-card {
  --purple: #6061f4;
  --band: 37px;
  height: 289px;
  border-radius: 18px;
  background-color: #2c2944;
  background-image:
    repeating-linear-gradient(115deg, transparent 0 26px, rgba(214, 35, 64, .5) 26px 30px, transparent 30px 36px, rgba(214, 35, 64, .5) 36px 40px, transparent 40px 46px, rgba(214, 35, 64, .5) 46px 50px, transparent 50px 120px);
  box-shadow: none;
}

.promo-welcome {
  background-image:
    radial-gradient(circle at 20px 20px, rgba(255, 255, 255, .06) 0 9px, transparent 10px);
  background-size: 64px 40px;
}

/* binafsha asosiy panel */
.promo-card::before {
  content: "";
  position: absolute;
  inset: var(--band) 0 0 0;
  background: var(--purple);
}

/* chapdagi ko'tarilgan "tab" */
.promo-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: var(--tab);
  height: calc(var(--band) + 1px);
  border-top-right-radius: 18px;
  background: var(--purple);
}

/* tab va panel orasidagi botiq egri chiziq */
.promo-notch {
  position: absolute;
  z-index: 1;
  top: calc(var(--band) - 18px);
  left: var(--tab);
  width: 18px;
  height: 18px;
  background: radial-gradient(circle at 100% 0, transparent 17.5px, var(--purple) 18px);
}

.promo-copy {
  z-index: 4;
  left: 29px;
  top: 84px;
  font-family: "Russo One", "Arial Black", sans-serif;
  font-weight: 400;
}

.promo-copy strong,
.promo-bonus .promo-copy strong {
  font-size: 37px;
  line-height: 1.22;
  text-transform: none;
}

.promo-copy b {
  margin-top: 8px;
  color: #ffd84d;
  font-size: 62px;
  font-weight: 400;
}

.promo-copy em {
  color: #ffd84d;
  font-style: normal;
}

.promo-new .promo-copy {
  top: 76px;
  left: 31px;
}

.promo-new .promo-copy strong {
  font-size: 31px;
  line-height: 1.13;
  text-transform: uppercase;
}

.promo-badge {
  position: absolute;
  z-index: 4;
  top: 25px;
  left: 30px;
  padding: 5px 7px;
  border-radius: 3px;
  color: #fff;
  background: #7b5cf8;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .2px;
}

.claim-button {
  width: 134px;
  height: 44px;
  position: relative;
  overflow: hidden;
  margin-top: 30px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: #f0304f;
  font-family: Inter, Arial, sans-serif;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s, box-shadow .2s, transform .12s var(--ease-out);
}

.claim-button:hover {
  background: #ff4562;
  box-shadow: 0 8px 18px rgba(240, 48, 79, .45);
  transform: translateY(-2px);
}

.claim-button:active {
  transform: scale(.95);
  background: #d41c3c;
}

.promo-crazy .promo-copy {
  top: 88px;
  left: 61px;
}

.promo-crazy .promo-copy strong {
  color: #ffd84d;
  font-size: 41px;
  line-height: 1.05;
  white-space: nowrap;
  text-transform: uppercase;
}

.promo-crazy .promo-copy span {
  margin-top: 12px;
  font-size: 25px;
  white-space: nowrap;
  line-height: 1.07;
}

.welcome-art,
.slot-art {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  height: 100%;
}

.welcome-art { width: 63%; }
.slot-art { width: 52%; }

.welcome-art svg,
.slot-art svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

/* Rasm animatsiyalari: hoverda suzish va yulduz yaltirashi */
.art-float,
.art-twinkle {
  transform-box: fill-box;
  transform-origin: center;
}

.promo-card:hover .art-float { animation: art-float 1.8s ease-in-out infinite; }
.promo-card:hover .art-float.delay { animation-delay: -.6s; }
.promo-card:hover .art-float.slow { animation-duration: 2.4s; }
.promo-card:hover .art-twinkle { animation: art-twinkle 1.2s ease-in-out infinite; }

.welcome-art svg,
.slot-art svg {
  transition: transform .45s var(--ease-spring);
}

.promo-card:hover .welcome-art svg,
.promo-card:hover .slot-art svg {
  transform: scale(1.04) translateY(-4px);
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(64, 66, 190, .28);
}

@keyframes art-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes art-twinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .75; transform: scale(.85); }
}

/* Strelkalar faqat karusel ustiga kelganda chiqadi */
.carousel-arrow {
  top: 50%;
  opacity: 0;
  transform: translateY(-50%) scale(.85);
  transition: opacity .25s, transform .25s var(--ease-out), background-color .25s;
}

.carousel:hover .carousel-arrow,
.carousel-arrow:focus-visible {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.carousel-arrow:active {
  transform: translateY(-50%) scale(.9);
}

.carousel-arrow.previous { left: 14px; }
.carousel-arrow.next { right: 14px; }

@media (max-width: 900px) {
  .carousel-track {
    grid-template-columns: calc(100vw - 40px) calc(100vw - 40px) calc(100vw - 40px);
    padding: 0 20px;
  }

  .promo-copy strong { font-size: 28px; }
  .promo-copy b { font-size: 46px; }
  .promo-new .promo-copy strong { font-size: 24px; }
}

/* Promo — o'lchamlarni originalga moslash */
.promo-welcome {
  background-image: radial-gradient(circle at 20px 20px, rgba(255, 255, 255, .035) 0 9px, transparent 10px);
}
.promo-welcome .promo-copy strong { font-size: 42px; line-height: 1.12; }
.promo-welcome .promo-copy b { font-size: 76px; margin-top: 10px; }
.promo-new .promo-copy strong { font-size: 34px; line-height: 1.04; }
.promo-new .promo-copy { top: 72px; }

/* Promo karusel: bir xil kartalar, 2.5 tasi ko'rinadi, transform bilan suriladi */
.carousel-track {
  display: flex;
  gap: 12px;
  padding: 0 0 0 53px;
  transition: transform .55s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}

.promo-card {
  flex: 0 0 calc((100% - 24px) / 2.5);
  min-width: 0;
}

.carousel-arrow.is-hidden {
  opacity: 0 !important;
  pointer-events: none;
}

@media (max-width: 900px) {
  .carousel-track {
    padding-left: 20px;
  }

  .promo-card {
    flex-basis: calc((100% - 12px) / 1.15);
  }
}

/* =========================================================
   Promo bannerlar v3 — uchalasi bir xil uslubda (screenshot 5)
   ========================================================= */
.promo-card {
  --band: 38px;
  --drop: 70px;
  background-color: #2c2944;
  background-image:
    repeating-linear-gradient(115deg, transparent 0 26px, rgba(214, 35, 64, .55) 26px 30px, transparent 30px 36px, rgba(214, 35, 64, .55) 36px 40px, transparent 40px 46px, rgba(214, 35, 64, .55) 46px 50px, transparent 50px 120px) !important;
  background-size: auto !important;
}

/* asosiy panel — o'ng tomonda pastroqdan boshlanadi */
.promo-card::before {
  inset: var(--drop) 0 0 0;
}

/* chap qism — balandroq (polosa ostidan) */
.promo-card::after {
  top: var(--band);
  height: calc(var(--drop) - var(--band) + 1px);
  border-top-left-radius: 0;
  border-top-right-radius: 20px;
}

.promo-notch {
  top: calc(var(--drop) - 18px);
}

.promo-copy {
  left: 31px;
  top: 92px;
}

.promo-friday .promo-copy strong {
  font-size: 42px;
  line-height: 1.17;
  white-space: nowrap;
}

.promo-friday .promo-copy b {
  margin-top: 4px;
  font-size: 42px;
  white-space: nowrap;
}

.promo-bonus .promo-copy {
  top: 72px;
  left: 39px;
}

.promo-bonus .promo-copy strong {
  font-size: 46px;
  line-height: 1.17;
  white-space: nowrap;
}

.promo-bonus .promo-copy span {
  margin-top: 10px;
  color: #ffd84d;
  font-family: Inter, Arial, sans-serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.3;
}

.promo-crazy .promo-copy {
  top: 92px;
  left: 61px;
}

.promo-art {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  width: 63%;
  height: 100%;
}

.promo-art svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  transition: transform .45s var(--ease-spring);
}

.promo-card:hover .promo-art svg {
  transform: scale(1.04) translateY(-4px);
}

.art-tilt,
.art-spin {
  transform-box: fill-box;
  transform-origin: center;
}

.promo-card:hover .art-spin {
  animation: art-spin 3s linear infinite;
}

@keyframes art-spin {
  to { transform: rotate(360deg); }
}

/* Strelkalar — screenshotdagidek doim ko'rinadigan kulrang to'rtburchak */
.carousel-arrow {
  width: 26px;
  height: 52px;
  border-radius: 8px;
  color: #6b7096;
  background: rgba(225, 228, 241, .92);
  box-shadow: 0 2px 8px rgba(55, 65, 105, .14);
  font-size: 26px;
  opacity: 1;
  transform: translateY(-50%);
}

.carousel-arrow:hover {
  color: #fff;
  background: #172a56;
}

.carousel-arrow.previous { left: 41px; }
.carousel-arrow.next { right: 8px; }

@media (max-width: 900px) {
  .promo-friday .promo-copy strong,
  .promo-friday .promo-copy b { font-size: 26px; }
  .promo-bonus .promo-copy strong { font-size: 30px; }
  .promo-bonus .promo-copy span { font-size: 18px; }
}

.promo-friday .promo-art { width: 60%; }
.promo-bonus .promo-art { width: 58%; }

/* =========================================================
   Haqiqiy rasmlar (images/ papkasi)
   ========================================================= */
.promo-card.promo-image {
  height: auto;
  aspect-ratio: 924 / 384;
  display: block;
  background: #2c2944 !important;
}

.promo-card.promo-image::before,
.promo-card.promo-image::after {
  content: none;
}

.promo-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .5s var(--ease-out), filter .3s;
}

.promo-image:hover img {
  transform: scale(1.03);
  filter: brightness(1.06);
}

.game-card {
  background: #27366c;
}

.game-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .35s var(--ease-out);
}

.game-card:hover .game-img,
.game-card:focus-within .game-img {
  transform: scale(1.04);
}

.games-track { grid-template-columns: repeat(7, 193px); }

/* =========================================================
   Konteyner: 1240px
   ========================================================= */
:root {
  --container: 1240px;
  --gutter: max(16px, calc((100% - var(--container)) / 2));
}

.topbar,
.mbet-header {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.navigation {
  margin-left: -9px;
}

.carousel,
.category-slider,
.games-viewport {
  width: min(var(--container), calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

/* Promo karusel */
.carousel {
  overflow: visible;
  padding: 32px 0 20px;
}

.carousel-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
}

.carousel-track {
  padding: 0;
}

.carousel-arrow.previous { left: -13px; }
.carousel-arrow.next { right: -13px; }

/* Kategoriyalar — 8 tasi konteynerga sig'adi */
.category-slider {
  padding: 8px 0;
  overflow: visible;
}

.category-track {
  grid-template-columns: repeat(8, minmax(140px, 1fr));
  gap: 10px;
  padding: 6px 0 12px;
}

.category-card {
  height: 112px;
  gap: 12px;
}

.category-card span:last-child {
  max-width: calc(100% - 16px);
  font-size: 14px;
}

.category-next {
  right: -17px;
}

/* Popular */
.games-heading {
  padding: 0 var(--gutter);
}

.games-viewport {
  overflow: visible;
}

.games-track {
  margin: 0 -6px;
  padding-left: 6px;
  padding-right: 6px;
}

.games-arrow.previous { left: -13px; }
.games-arrow.next { right: -13px; }

/* Footer */
.footer-copy {
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

body { background: #edf2ff; }
.carousel,
.category-slider,
.games-slider { background: transparent; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Footer: matn balandligi kontentga qarab, tugma matn ostida */
.footer-about {
  height: auto;
  max-height: 900px;
  transition: max-height .4s var(--ease-out);
}

.site-footer.collapsed .footer-about {
  height: auto;
  max-height: 50px;
}

.footer-toggle,
.site-footer.collapsed .footer-toggle {
  position: relative;
  top: auto;
  left: auto;
  display: grid;
  margin: -29px auto 0;
  transform: none;
}

.footer-links {
  padding-top: 28px;
}

/* Sensorli ekranlarda o'yin kartasi kattalashmaydi — faqat panel chiqadi */
@media (hover: none) {
  .game-card:hover,
  .game-card:focus-within {
    width: var(--game-size, 193px);
    height: var(--game-size, 193px);
    margin: 0;
  }

  .carousel-arrow,
  .games-arrow,
  .category-next {
    display: none;
  }
}

/* ---------- Planshet: ≤ 1024px ---------- */
@media (max-width: 1024px) {
  .mbet-navigation {
    gap: 12px;
  }

  .promo-card.promo-image {
    flex-basis: calc((100% - 12px) / 1.6);
  }

  .footer-copy h2 { font-size: 26px; }
  .footer-copy h3 { font-size: 22px; }
}

/* ---------- Kichik planshet: ≤ 768px ---------- */
@media (max-width: 768px) {
  /* Bannerlar: barmoq bilan suriladi, snap bilan */
  .carousel {
    width: 100%;
    padding: 20px 0 12px;
  }

  .carousel-viewport {
    overflow-x: auto;
    border-radius: 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .carousel-viewport::-webkit-scrollbar { display: none; }

  .carousel-track {
    padding: 0 16px;
    transform: none !important;
  }

  .carousel-track::after {
    content: "";
    flex: 0 0 4px;
  }

  .promo-card.promo-image {
    flex-basis: calc((100% - 12px) / 1.15);
    border-radius: 14px;
    scroll-snap-align: center;
  }

  .carousel-arrow {
    display: none;
  }

  /* Kategoriyalar */
  .category-slider {
    width: 100%;
    padding: 4px 0;
  }

  .category-track {
    grid-template-columns: repeat(8, 118px);
    gap: 8px;
    padding: 4px 16px 10px;
    scroll-snap-type: x proximity;
  }

  .category-card {
    height: 96px;
    gap: 8px;
    scroll-snap-align: start;
  }

  .category-icon {
    width: 44px;
    height: 44px;
  }

  .category-icon svg {
    width: 28px;
    height: 28px;
  }

  .category-card span:last-child {
    font-size: 12px;
  }

  .category-next {
    display: none;
  }

  /* Popular */
  .games-slider {
    padding-top: 16px;
  }

  .games-heading h2 { font-size: 22px; }
  .games-heading a { font-size: 16px; }

  .games-viewport {
    width: 100%;
  }

  .games-track {
    --game-size: 150px;
    grid-template-columns: repeat(7, 150px);
    gap: 10px;
    margin: 0;
    padding: 14px 16px 24px;
  }

  .game-card,
  .game-card:hover,
  .game-card:focus-within {
    width: 150px;
    height: 150px;
    margin: 0;
  }

  .game-hover {
    padding: 0 10px 8px;
    background: linear-gradient(to bottom, rgba(43, 46, 66, 0) 10%, rgba(43, 46, 66, .85) 40%, #2b2e42 60%);
  }

  .game-name { font-size: 12px; }
  .game-provider { font-size: 11px; }
  .game-play { height: 30px; margin-top: 8px; font-size: 13px; }
  .game-demo { margin-top: 4px; font-size: 12px; }

  .games-arrow {
    display: none;
  }

  /* Footer */
  .footer-copy { padding-top: 28px; }
  .footer-copy h2 { font-size: 22px; }
  .footer-copy h3 { font-size: 19px; }
  .footer-copy p { font-size: 14px; }
}

/* ---------- Telefon: ≤ 640px ---------- */
@media (max-width: 640px) {
  .topbar {
    gap: 8px;
  }

  .navigation {
    margin-left: -7px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-item {
    padding: 0 8px;
  }

  .nav-item span:last-child,
  .chat-button span:last-child {
    display: none;
  }

  .nav-item::after {
    left: 4px;
    right: 4px;
  }

  /* Asosiy header: 1-qator logo + qidiruv + tugmalar, 2-qator menyu */
  .mbet-header {
    height: auto;
    flex-wrap: wrap;
    padding-top: 8px;
    padding-bottom: 0;
    row-gap: 4px;
  }

  .brand {
    order: 1;
    margin-right: auto;
  }

  .search-button {
    order: 2;
    width: 34px;
  }

  .auth-actions {
    order: 3;
    height: 34px;
  }

  .mbet-navigation {
    order: 4;
    width: calc(100% + 32px);
    height: 40px;
    margin: 0 -16px;
    padding: 0 16px;
    gap: 20px;
    overflow-x: auto;
    scrollbar-width: none;
    border-top: 1px solid #f1f3fb;
  }

  .mbet-navigation::-webkit-scrollbar,
  .navigation::-webkit-scrollbar { display: none; }

  .footer-links {
    gap: 6px;
    padding: 24px 12px 10px;
  }

  .footer-links a {
    height: 30px;
    padding: 0 10px;
    font-size: 12px;
  }
}

/* ---------- Kichik telefon: ≤ 380px ---------- */
@media (max-width: 380px) {
  .auth-actions button {
    font-size: 11px;
  }

  .login-button { width: 54px; }
  .join-button { width: 64px; }
}

/* =========================================================
   SKELETON — rasm yuklanguncha yaltiroq joy egallovchi
   ========================================================= */
.promo-image picture,
.game-card picture {
  position: absolute;
  inset: 0;
  display: block;
}

.promo-image picture img {
  width: 100%;
  height: 100%;
}

.skeleton,
.promo-card.promo-image.skeleton {
  background: linear-gradient(100deg, #dfe4f4 30%, #eef1fb 50%, #dfe4f4 70%) !important;
  background-size: 300% 100% !important;
  animation: skeleton-shimmer 1.3s ease-in-out infinite;
}

.skeleton img {
  opacity: 0;
  transition: opacity .45s var(--ease-out), transform .5s var(--ease-out), filter .3s;
}

.skeleton.is-loaded {
  animation: none;
}

.skeleton.is-loaded img {
  opacity: 1;
}

/* Yuklanayotganda hover paneli va effektlar chiqmaydi */
.game-card.skeleton:not(.is-loaded) .game-hover {
  display: none;
}

@keyframes skeleton-shimmer {
  from { background-position: 100% 0; }
  to { background-position: 0 0; }
}

/* =========================================================
   SEO matn bloki (footer) va FAQ
   ========================================================= */
.footer-about {
  max-height: 2400px;
}

.footer-copy h1 {
  margin: 0 0 15px;
  color: #62679f;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.15;
}

.footer-copy h2 {
  margin: 22px 0 11px;
  font-size: 25px;
}

.faq-item {
  margin-bottom: 8px;
  border: 1px solid #edf0f6;
  border-radius: 10px;
  background: #fafbff;
  transition: background-color .2s, border-color .2s;
}

.faq-item[open] {
  border-color: #dfe3f2;
  background: #fff;
}

.faq-item summary {
  position: relative;
  padding: 13px 44px 13px 16px;
  color: #3f4392;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #777da9;
  border-bottom: 2px solid #777da9;
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s var(--ease-out);
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq-item summary:hover { color: #ff1834; }

.faq-item p {
  margin: 0;
  padding: 0 16px 14px;
}

/* Ekrandan tashqaridagi footer kerak bo'lgunicha chizilmaydi (tezlik) */
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

@media (max-width: 768px) {
  .footer-copy h1 { font-size: 22px; }
  .footer-copy h2 { font-size: 19px; }
  .faq-item summary { font-size: 14px; }
}

/* Ruscha matnlar uchun tugma kengliklari */
.login-button,
.join-button {
  width: auto;
  padding: 0 12px;
  white-space: nowrap;
}
