/* =======================
   SECTION GAME TERPOPULER
   ======================= */

/* Container utama */
.new-home__popular {
    padding: 20px 0;
    background: transparent;
    color: #fff;
}

/* Wrapper list populer */
.new-provider-list--popular {
    margin: 0 auto;
    max-width: 1200px;
    padding: 0 15px;
}

/* Header */
.new-provider-list__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.new-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.new-header-title h6 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #f1f1f1;
}

.new-icon img {
    width: 30px;
    height: 30px;
}

/* Tombol */
.new-header-button .new-btn-custom-sm {
    padding: 6px 14px;
    font-size: 14px;
    border-radius: 6px;
    background: #ff9800;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s;
    text-decoration: none;
    display: inline-block;
}

.new-header-button .new-btn-custom-sm:hover {
    background: #e68900;
}

/* =======================
   GRID GAME LIST (3 KOLOM FIX)
   ======================= */
.new-games-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* selalu 3 kolom */
    gap: 20px;
}

/* Card game */
.new-games-holder {
    background: #1a1a1a;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.new-games-holder:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

/* =======================
   GAMBAR GAME FIX RATIO
   ======================= */
.new-games-img {
    position: relative;
    width: 100%;
    aspect-ratio: 300 / 350;
    background: #000;
    overflow: hidden;
}

.new-games-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Nama game */
.new-games-name {
    padding: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.home .mobile__category .mobile-category-container .mobile-category-swiper .category-item .new-name {
  font-size: 10px;
  font-weight: 700;
  color: #bababa;
  text-transform: uppercase;
  position: relative;
  padding: 2px 12px;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
}
/* Container */
.new-home__slider {
  padding: 13px;
  position: relative;
  overflow: hidden;
  border-radius: 13px; /* bikin semua sudut melengkung */
}

/* Gambar banner */
.new-home__slider .new-banner-img {
  border-radius: 13px; /* supaya gambar ikut rounded */
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}
/* Kecilkan tombol geser */
/.swiper-button-next,
.swiper-button-prev {
  top: 50% !important;          /* posisikan di tengah */
  transform: translateY(-50%);  /* geser biar benar-benar center */
  background: none;
  color: #bababa;
  width: 30px;
  height: 30px;
}

/* Ukuran icon panah */
.swiper-button-next::after,
.swiper-button-prev::after {
  color: #bababa;
  font-size: 22px;
  font-weight: bold;
  line-height: 1;  /* biar gak offset */
}
/* Warna bullet pagination */
.swiper-pagination-bullet {
  background: #bababa !important; /* ubah titik jadi abu-abu */
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #fff !important; /* titik aktif jadi putih biar kontras */
}
/* buat LC,Sport,Slot */
/* 3 kolom grid */
.new-mobile__provider-list .new-provider-list__item {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 12px;
}

.new-item-holder {
  border-radius: 10px;
  overflow: hidden;
  background: #1a1a1a;
  text-align: center;
}

.new-item-img {
  width: 100%;
  aspect-ratio: 300 / 350; /* rasio 6:7 */
  overflow: hidden;
}

.new-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px 8px 0 0; /* atas melengkung */
}

/* Judul strip di bawah gambar */
.new-item-title {
  background: #1a1a1a; /* abu kehitaman solid */
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  padding: 6px 4px;
  border-radius: 0 0 8px 8px; /* bawah melengkung */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Bottom Navigation */
.new-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 65px;
  background: #1a1a1a;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 2px solid #1a1a1a;
  z-index: 999;
}

.new-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  color: #fff;
  text-decoration: none;
}

.new-bottom-nav img {
  width: 28px;
  height: 28px;
  margin-bottom: 3px;
}

/* Tombol tengah (Masuk) lebih besar */
.new-bottom-nav .center-btn {
  width: 55px;
  height: 55px;
  margin-top: -25px;
}
/* ===== Modal Wrapper ===== */
.fresh-modal {
  display: none; /* default hidden */
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: Arial, sans-serif;
}

/* Modal overlay full screen */
.fresh-modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: Arial, sans-serif;
}

/* Konten modal */
.fresh-modal-content {
  background: #1e1e1e;
  color: #fff;
  border-radius: 15px;
  width: 90%;
  max-width: 400px;
  padding: 25px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  position: relative;
  text-align: center;
}

/* Tombol close */
.fresh-close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  position: absolute;
  top: 15px;
  right: 15px;
  cursor: pointer;
}

/* Judul */
.fresh-title {
  font-size: 22px;
  color: #ffcc00;
  margin-bottom: 20px;
}

/* Input */
.fresh-input-group {
  margin-bottom: 15px;
  text-align: left;
}
.fresh-input-group label {
  font-size: 14px;
  color: #ddd;
  margin-bottom: 5px;
  display: block;
}
.fresh-input-group input {
  width: 100%;
  padding: 10px;
  background: #2a2a2a;
  border: 1px solid #444;
  border-radius: 8px;
  color: #fff;
  outline: none;
}
.fresh-input-group input:focus {
  border-color: #ffcc00;
}

/* Checkbox */
.fresh-remember-me {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 20px;
}
.fresh-remember-me label {
  font-size: 14px;
  color: #ccc;
}

/* Tombol login */
.fresh-btn-login {
  width: 100%;
  padding: 12px;
  background: #ffcc00;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  color: #000;
}
.fresh-btn-login:hover {
  background: #ffdd33;
}

/* Link */
.fresh-links {
  margin-top: 15px;
  font-size: 14px;
}
.fresh-links a {
  color: #ffcc00;
  text-decoration: none;
}
.fresh-links a:hover {
  text-decoration: underline;
}

/* Login Google */
.fresh-google-login {
  margin-top: 20px;
  text-align: center;
}
.fresh-btn-google {
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 45px; height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px auto 0;
  cursor: pointer;
}
.fresh-btn-google img {
  width: 24px; height: 24px;
}

/* Tombol buka modal */
.fresh-open-btn {
  padding: 10px 15px;
  background: #ffcc00;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}
