.kz-home {
  --kz-green: #1e88e5;
  --kz-green-dark: #0d47a1;
  --kz-bg: #eaf2fc;
  --kz-text: #1f2937;
  --kz-muted: #6b7280;
  --kz-border: #e5e7eb;
  min-height: 100vh;
  background: var(--kz-bg);
  padding-bottom: 72px;
  font-family: Arial, Helvetica, sans-serif;
}

.kz-home * { box-sizing: border-box; }

.kz-home-header {
  position: relative;
  height: 52px;
}

.kz-home-header__inner {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 12px;
  background: var(--kz-bg);
  box-shadow: none;
  border: none;
}

.kz-home-header__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.kz-home-header__logo img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.kz-home-header__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.kz-home-header__balance {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: min(58vw, 220px);
  padding: 4px 6px 4px 4px;
  border-radius: 999px;
  background: #eaf2fc;
  border: 1px solid var(--kz-border);
}

.kz-home-header__vnd-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #e53935;
  color: #ffd54f;
  font-size: 11px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
}

.kz-home-header__amount {
  flex: 1;
  min-width: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--kz-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kz-home-header__deposit {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: #ff0000;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  text-align: center;
  text-decoration: none;
}

.kz-home-header__avatar {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--kz-border);
  background: #eaf2fc;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.kz-home-header__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kz-home-header__avatar-fallback {
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 14px;
  font-weight: 800;
}

.kz-home-header__login {
  padding: 7px 16px;
  border-radius: 999px;
  border: none;
  color: #fff;
  background: linear-gradient(135deg, #1e88e5, #0d47a1);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
  letter-spacing: 0.2px;
}

.kz-home-header__login:active {
  transform: scale(0.98);
  opacity: 0.92;
}

.kz-home-header__menu {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(30, 136, 229, 0.08);
  color: #1e88e5;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.kz-home-header__lang {
  flex-shrink: 0;
  width: 30px;
  height: 30px;

  border-radius: 50%;
  background: #ffffff00;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  overflow: visible;
}

.kz-home-header__lang img {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
  pointer-events: none;
}

.kz-home-header__lang.btcbet-flag-right::after {
  color: #1e88e5;
  bottom: -4px;
  right: -4px;
}

@media (min-width: 501px) {
  .kz-home-header__inner {
    width: 500px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

.kz-home .header,
.kz-home .header-wrap {
  display: none !important;
}

.kz-home .news {
  margin: 0 !important;
  margin-left: 0 !important;
  height: auto !important;
  min-height: 32px;
  background: var(--kz-bg) !important;
  background-image: none !important;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  display: block !important;
}

.kz-home .news-wrapper {
  width: 100% !important;
  padding: 8px 12px !important;
}

.kz-home .news .domain {
  display: none !important;
}

.kz-home .news app-hot-news > div,
.kz-home .news .relative.h-6 {
  height: auto !important;
  min-height: 24px;
  line-height: 1.4 !important;
  padding-left: 28px !important;
  padding-right: 0 !important;
}

.kz-home .news .fa-volume {
  color: var(--kz-green) !important;
}

.kz-home .news .absolute.top-0.left-2 {
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.kz-home .home-banner-wrap {
  margin: 0 !important;
  padding: 10px 12px 0;
  background: var(--kz-bg);
}

.kz-home .mySwiperBanner {
  border-radius: 12px;
  overflow: hidden;
  height: auto !important;
}

.kz-home .mySwiperBanner .swiper-slide,
.kz-home .mySwiperBanner .swiper-slide a {
  height: auto !important;
}

.kz-home .home-banner-img {
  width: 100%;
  height: auto !important;
  object-fit: contain;
}

.kz-home__jackpot {
  margin: 12px 12px 0;
  padding: 16px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0ea56a 0%, #067a4d 100%);
  color: #fff;
  text-align: center;
}

.kz-home__jackpot--bottom {
  margin: 16px 12px 12px;
}

.kz-home__jackpot h2 {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.kz-home__jackpot .gold {
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 700;
  color: #ffe082;
}

.kz-home__jackpot button {
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--kz-green-dark);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 28px;
  cursor: pointer;
}

.kz-home__top-section {
  padding: 0 12px;
  margin: 12px auto 4px;
}

.kz-home__winning-wrap {
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.kz-winning-swiper {
  overflow: hidden;
}

.kz-winning-swiper .swiper-slide {
  width: auto;
}

.kz-winning-item {
  display: flex;
  align-items: center;
  width: 190px;
  gap: 8px;
  padding-right: 5px;
  box-sizing: border-box;
  border-radius: 8px;
  background: #fff;
}

.kz-winning-item > img {
  flex-shrink: 0;
  width: auto;
  height: 65px;
  border-radius: 8px;
  object-fit: cover;
}

.kz-winning-item__details {
  flex: 1;
  min-width: 0;
  font-weight: 700;
}

.kz-winning-item__details p {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  color: var(--kz-green);
}

.kz-winning-item__details label {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin: 2px 0;
  font-size: 12px;
  line-height: 1.25;
  color: var(--kz-text);
}

.kz-winning-item__details span {
  display: block;
  font-size: 12px;
  line-height: 1.2;
  color: var(--kz-muted);
}

.kz-home__promos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px;
}

.kz-home__promo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  min-height: 64px;
}

.kz-home__promo--referral {
  background: linear-gradient(135deg, #ff9a3d 0%, #ff6b1a 100%);
}

.kz-home__promo--special {
  background: linear-gradient(135deg, #b86cff 0%, #ff5db1 100%);
}

.kz-home__promo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
}

.kz-home__cats {
  padding: 4px 12px 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.kz-home__cats::-webkit-scrollbar { display: none; }

.kz-home__cats-row {
  display: flex;
  gap: 10px;
  min-width: max-content;
}

.kz-home__cat {
  flex-shrink: 0;
  width: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  color: var(--kz-text);
}

.kz-home__cat-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: none;
}

.kz-home__cat-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.kz-home__cat.is-active .kz-home__cat-icon {
  background: transparent;
  border: none;
  box-shadow: 0 4px 12px rgba(30, 136, 229, 0.28);
  transform: translateY(-1px) scale(1.04);
}

.kz-home__cat-label {
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  line-height: 1.1;
  max-width: 60px;
}

.kz-home__section {
  padding: 8px 12px 0;
}

.kz-home__section-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.kz-home__section-head img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.kz-home__section-head h2 {
  margin: 0;
  font-size: 16px;
 
  color: var(--kz-text);
}

.kz-home__providers {
  display: grid;
  gap: 10px;
}

.kz-home__provider {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
}

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

.kz-home__provider--full { grid-column: 1 / -1; }

.kz-home__providers-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.kz-home__badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  background: #ef4444;
}

.kz-home__badge--hot { background: #f97316; }

.kz-home__games {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-bottom: 16px;
}

.kz-home__game {
  display: block;
  text-decoration: none;
  color: var(--kz-text);
}

.kz-home__game img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--kz-border);
}

.kz-home__game span {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.kz-home .footer_layout,
.kz-home app-footer-layout {
  background: #fff;
}
