/* ===== UTAMA ===== */
body {
  background: linear-gradient(#067dec, #74dfff, #067dec);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* agar tidak ikut scroll di desktop */
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  color: #fff;
  min-height: 100vh;
  margin: 0;
  padding: 50px 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
}

/* Versi Desktop Lebar (layar besar) */
@media screen and (min-width: 1200px) {
  body {
    background-size: cover;
    background-position: center;
    padding: 60px 80px;
  }
}

/* ===== MAIN CONTAINER RESPONSIF ===== */
@media (min-width: 992px) {
  main.container {
    max-width: 1200px; /* Diperbesar dari 900px */
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* ===== RESPONSIF MOBILE ===== */
@media (max-width: 991.98px) {
  .provider-list {
    display: flex;
    overflow-x: auto;
  }
}

.nav-btn {
  display: none;
}

.scroll-wrapper {
  overflow: visible;
}
/* ===== Animation Winter ===== */

/* ===== End Animation Winter ===== */

/* ===== Logo ===== */
.logo-wrapper {
  width: 60px;
}

@media (max-width: 430px) {
  .logo-mobile {
    width: 150px !important; /* Ukuran kecil khusus mobile */
    margin-left: 0 !important; /* Pastikan menempel di kiri */
  }

  .logo-wrapper {
    top: 10px !important;
    left: 8px !important;
  }
}
/* ===== End Logo ===== */

/* ===== MARQUEE BULHORN ===== */
.custom-marquee {
  background: #46d4ff;
  color: #fffbe6;
  font-weight: bold;
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  position: relative;
  padding: 10px 0;
  border-radius: 5px;
  box-shadow: inset 0 0 10px rgba(145, 228, 217, 0.5);
}

.marquee-content {
  display: inline-block;
  padding-left: 100%;
  animation: slide-marquee 15s linear infinite;
}

.marquee-content span {
  display: inline-block;
  padding-right: 100%;
  text-shadow: 0 0 5px #5ad6c2, 0 0 10px #b4aead; /* glow oranye */
}

@keyframes slide-marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}
/* ===== MARQUEE BULHORN ===== */

/* ===== Flipper Banner ===== */
.flip-card {
  width: 360px;
  height: 260px;
  perspective: 1200px;
  margin: 1rem auto;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.8s ease;
  border-radius: 12px;
  box-shadow: inset 0 0 10px rgba(192, 187, 185, 0.5); /* kilauan coklat */
}

.flip-card.is-flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flip-card-front {
  background: linear-gradient(135deg, #000000, #2e2e2e, #888888, #dcdcdc);
  color: white;
}

.flip-card-back {
  background: linear-gradient(135deg, #000000, #2e2e2e, #888888, #dcdcdc);
  color: white;
  transform: rotateY(180deg);
}

.flip-card-front img,
.flip-card-back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
  border-radius: inherit;
  transition: opacity 0.4s ease;
}

/* ✅ Responsif Mobile */
@media (max-width: 576px) {
  .flip-card {
    width: 90%;
    height: 200px;
    margin-bottom: -2px;
  }

  .flip-card-inner {
    border-radius: 8px;
  }

  .flip-card-front,
  .flip-card-back {
    border-radius: 8px;
  }

  .flip-card-front img,
  .flip-card-back img {
    border-radius: 8px;
  }
}

/* ✅ Responsif Tablet */
@media (min-width: 577px) and (max-width: 991px) {
  .flip-card {
    width: 520px;
    height: 340px;
  }
}

/* ✅ Desktop Only */
@media (min-width: 992px) {
  .main-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    background-color: #1c1c1c;
  }

  .flip-card {
    width: 620px;
    height: 400px;
    margin-bottom: 10px;
  }

  .flip-card-front,
  .flip-card-back {
    border-radius: 14px;
  }
}
/* ===== End Flipper Banner===== */

/* ===== LOGIN & SIGNUP ===== */
.login-daftar-wrapper {
  position: absolute;
  top: 10px;
  right: 370px;
  display: flex;
  flex-direction: row; /* horizontal */
  gap: 8px;
  z-index: 9999;
}

/* Gaya tombol kecil dan modern */
.btn-modern {
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  letter-spacing: 0.5px;
  box-shadow: inset 0 0 6px rgba(192, 187, 185, 0.4);
  background: linear-gradient(90deg, #007cf0, #00dfd8);
  color: white;
  transition: all 0.2s ease;
  border: 2px solid #e7dfaf;
  cursor: pointer;
  margin-top: 150px;
}

.btn-modern:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(192, 187, 185, 0.5);
}

/* Ikon kecil */
.btn-modern i {
  font-size: 1rem;
}

/* Responsif untuk layar kecil (max-width 768px) */
@media (max-width: 430px) {
  .login-daftar-wrapper {
    top: 10px;
    right: 10px; /* lebih rapat di kanan */
    flex-direction: row; /* horizontal */
    gap: 6px;
  }

  .btn-modern {
    font-size: 0.75rem;
    padding: 5px 10px;
    margin-top: 5px;
  }
}
/* ===== End LOGIN & SIGNUP ===== */

/* ===== INFO RTP  ===== */
.rtp-wrapper {
  width: 100%;
  text-align: left;
}

.provider-logo {
  width: 300px;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

/* Efek berdenyut */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

.pulse-animation {
  animation: pulse 2.8s infinite ease-in-out;
}

.provider-name {
  font-size: 4rem;
  color: #fff;
  letter-spacing: 0.5px;
}

.rating-box i {
  font-size: 4.2rem;
  color: #ffc107;
}

/* RESPONSIVE UNTUK MOBILE 360PX */
@media (max-width: 360px) {
  .rtp-wrapper {
    text-align: center;
    padding: 16px;
  }

  .provider-logo {
    width: 180px;
  }

  .provider-name {
    font-size: 1.3rem;
    color: #fff;
    letter-spacing: 0.3px;
    text-align: center;
    margin-top: 8px;
  }

  .rating-box i {
    font-size: 1.4rem;
    margin: 0 1px;
  }

  .pulse-animation {
    animation: pulse 2s infinite ease-in-out;
  }
}

@media (max-width: 430px) {
  .rtp-wrapper {
    text-align: center;
    padding: 18px;
  }

  .provider-logo {
    width: 200px;
  }

  .provider-name {
    font-size: 1.4rem;
    color: #fff;
    letter-spacing: 0.3px;
    text-align: center;
    margin-top: 8px;
  }

  .rating-box i {
    font-size: 1.7rem;
    margin: 0 1px;
  }

  .pulse-animation {
    animation: pulse 2s infinite ease-in-out;
  }
}
/* End Info RTP */

/* ===== Search Bar ===== */
/* None */
/* ===== End Search Bar ===== */

/* ===== Slot Demo ===== */
.card-img-top {
  width: 100%;
  height: 145px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.card-img-top:hover {
  filter: grayscale(100%);
  transform: scale(1.02); /* opsional: sedikit zoom saat hover */
}

.list-new.card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
  transition: 0.3s ease;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

.text-gradient {
  background: linear-gradient(45deg, #ff0000, #e100ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.1rem;
  margin-top: -20px;
  text-align: center;
  -webkit-margin-top-collapse: separate;
}

.list-new-desc {
  text-align: left !important;
  line-height: 1.2 !important; /* Atur ke 1 atau kurang */
}

.desc-text {
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: left;
  margin: 0;
}

.btn-demo,
.btn-asli {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 24px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: none; /* default tanpa shadow */
}

.btn-demo:hover,
.btn-asli:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* shadow saat hover */
  transform: translateY(-2px); /* efek melayang */
}

.btn-demo {
  background-color: #bb0000;
  color: #fff;
  margin-top: -30px;
}

.btn-demo:hover {
  background-color: #ffe600;
  color: #000;
}

.btn-asli {
  background-color: #198754;
  color: #fff;
}

.btn-asli:hover {
  background-color: #ffe600;
  color: #000;
}

.btn-hide-mobile {
  display: inline-block;
  background-color: #198754;
  color: #fff;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.btn-hide-mobile:hover {
  background-color: #ffe600;
  color: #000;
  transform: translateY(-2px);
}

.img-footer-small {
  width: 100px;
  opacity: 0.85;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
  border-radius: 6px;
  transition: 0.3s ease;
  margin-top: -10px;
  margin-bottom: -20px;
}

/* ======== Mobile Responsive Styles ======== */
/* Mobile 360px */
@media (max-width: 430px) {
  .container {
    padding-left: 0px;
    padding-right: 0px;
    max-width: 200%;
    margin-top: -40px;
  }

  .custom-card {
    padding: 1rem;
    font-size: 1rem;
    margin-left: -15px;
    margin-right: -15px;
  }

  .card-img-top {
    width: 100%;
    height: 160px; /* diperbesar dari 60% */
    object-fit: contain;
    margin-top: -35px;
  }

  .text-gradient {
    text-align: center;
    font-size: 1rem;
    margin-top: -60px; /* Naikkan posisi elemen */
  }

  .desc-text {
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 1rem;
    margin: 0 auto;
  }

  .list-new-desc {
    text-align: left;
    font-size: 14.1px;
    padding-left: -10px;
    margin-top: 10px;
  }

  .btn-demo,
  .btn-asli {
    font-size: 0.7rem;
    padding: 5px 1px;
  }

  .btn-hide-mobile {
    display: none !important;
    width: 30px;
  }

  .img-footer-small {
    width: 90px;
    margin-top: -30px;
  }
}
/* === End Slot Demo === */

/* ===== Notification ===== */
.notif-box {
  position: fixed;
  bottom: -100px; /* awalnya tersembunyi */
  left: 0;
  right: 0;
  margin: 0 auto;
  background: #007cf0;
  color: #fff;
  padding: 14px 24px;
  border-radius: 0;
  font-size: 0.95rem;
  font-weight: bold;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.5s ease, bottom 0.5s ease;
  text-align: center;
  max-width: 100%;
}

/* Saat notifikasi aktif (ditampilkan) */
.notif-box.show {
  bottom: 0; /* munculkan dari bawah */
  opacity: 1;
}

/* Responsif: Sesuaikan di mobile */
@media (max-width: 480px) {
  .notif-box {
    font-size: 0.8rem;
    padding: 12px 16px;
  }
}
/* ===== End Notification ===== */

/* ===== Scroll ===== */
.scroll-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background: linear-gradient(145deg, #f30000, #630c00); /* hitam ke coklat */
  color: gold;
  border: none;
  border-radius: 50%;
  padding: 15px 17px;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(90, 75, 72, 0.4); /* efek gold glow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scroll-top-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.7);
  background: linear-gradient(145deg, #2c2c2c, #6d4c41); /* efek hover gelap */
  color: #fff8dc; /* lebih terang saat hover */
}
/* ===== End Scroll ===== */
