/* Zeroback home — unique classes to avoid layout.css .title/.content collisions */

.zb-main-visual {
  width: 100%;
  overflow: hidden;
  margin-bottom: 10px;
}
.zb-main-visual .swiper-slide img,
.zb-main-visual img {
  width: 100%;
  display: block;
}

.zb-home {
  width: 100%;
  margin: 0 auto;
  clear: both;
}

.zb-section-head {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 14px 0 10px;
  float: none !important;
  width: auto !important;
  height: auto !important;
  line-height: 1.2 !important;
  padding: 0 !important;
  background: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: #fff !important;
  color: #fff !important;
  animation: none !important;
}
.zb-section-head i {
  font-size: 28px;
  background: -webkit-linear-gradient(#ff0000, #b00000);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.zb-section-head h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
.zb-section-head-slot {
  margin-top: 28px;
}

.zb-game-grid {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 -0.5%;
  clear: both;
}

.zb-game-card {
  display: block;
  width: 25%;
  padding: 0.5%;
  box-sizing: border-box;
  position: relative;
  text-decoration: none !important;
  color: #fff !important;
  transition: transform 0.35s ease;
}
.zb-game-card:hover {
  transform: scale(1.05);
  z-index: 2;
  color: #fff !important;
}
.zb-game-card img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 120px;
  object-fit: cover;
  border-radius: 4px;
  background: #111;
}
.zb-game-card span {
  display: none;
  position: absolute;
  left: 0.5%;
  right: 0.5%;
  bottom: 0.5%;
  height: 36px;
  line-height: 36px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #ffc160;
  background: rgba(0, 0, 0, 0.8);
}
.zb-game-card:hover span {
  display: block;
}

.zb-info-zone {
  width: 100%;
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 2%;
  flex-wrap: wrap;
  clear: both;
}
.zb-info-box {
  width: 49%;
  border: 1px solid #444;
  background: #000;
  border-radius: 10px;
  padding: 22px;
  box-sizing: border-box;
}
.zb-info-head {
  color: #999 !important;
  font-size: 18px;
  font-weight: 700;
  -webkit-text-fill-color: #999 !important;
  background: none !important;
  animation: none !important;
}
.zb-info-head span {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
}
.zb-info-list {
  margin-top: 12px;
}
.zb-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 45px;
  border-bottom: 1px solid #444;
  color: #fff !important;
  text-decoration: none !important;
}
.zb-info-msg {
  font-size: 13px;
  color: #fff !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  flex: 1;
}
.zb-info-row:hover .zb-info-msg {
  color: #ffcc00 !important;
}

/* Realtime deposit / withdraw tickers */
.zb-live-zone {
  margin-top: 18px;
}
.zb-live-box {
  min-height: 280px;
}
.zb-live-board {
  margin-top: 12px;
}
.zb-live-viewport {
  height: 220px;
  overflow: hidden;
}
.zb-live-list,
.zb-home .live_ticker_list {
  list-style: none;
  margin: 0;
  padding: 0;
  will-change: transform;
}
.zb-home .live_ticker_list li {
  display: flex;
  align-items: center;
  height: 44px;
  line-height: 44px;
  border-bottom: 1px solid #333;
  box-sizing: border-box;
}
.zb-home .live_ticker_list .ticker_time {
  width: 28%;
  color: #888 !important;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zb-home .live_ticker_list .ticker_id {
  width: 37%;
  color: #fff !important;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.zb-home .live_ticker_list .ticker_amount {
  width: 35%;
  text-align: right;
  color: #ffcc00 !important;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media screen and (max-width: 1023px) {
  .zb-game-card {
    width: 50%;
  }
  .zb-section-head h3 {
    font-size: 18px;
  }
  .zb-section-head i {
    font-size: 22px;
  }
  .zb-info-zone {
    flex-direction: column;
    gap: 0;
  }
  .zb-info-box {
    width: 100%;
    margin-top: 12px;
    padding: 16px;
  }
  .zb-game-card span {
    display: block;
    font-size: 12px;
    height: 28px;
    line-height: 28px;
  }
  .zb-game-card img {
    min-height: 90px;
  }
  .zb-live-box {
    min-height: 240px;
  }
  .zb-live-viewport {
    height: 200px;
  }
}
