/* =========================================================
   VENUS33 Landing Page — Theme
   Warna utama: navy biru tua, merah maroon, gold
   ========================================================= */
:root {
  --navy-dark: #0a1a3a;
  --navy-mid: #10234f;
  --maroon: #7a0f1e;
  --maroon-dark: #5a0812;
  --gold: #f5c542;
  --gold-light: #ffdd77;
  --purple-light: #a78bfa;
  --text-light: #e8ecf5;
  --glass: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.12);
}

* { box-sizing: border-box; }

body {
  font-family: 'Poppins', sans-serif;
  background:
    radial-gradient(circle at 20% 0%, #1a2f5c 0%, transparent 45%),
    radial-gradient(circle at 80% 100%, #5a0812 0%, transparent 45%),
    linear-gradient(160deg, #06122a 0%, #0a1a3a 50%, #06122a 100%);
  background-attachment: fixed;
  color: var(--text-light);
  margin: 0;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* ===================== HEADER ===================== */
.header-front {
  background: linear-gradient(90deg, #06122a 0%, #10234f 50%, #06122a 100%);
  padding-top: 18px;
  position: relative;
  z-index: 20;
}

.identity-header { padding-bottom: 12px; }

.logo-header img {
  max-height: 50px;
  filter: drop-shadow(0 0 14px rgba(245,197,66,0.55));
}

.login-header .btn-google {
  background: #fff;
  color: #222;
  font-weight: 600;
  font-size: 0.8rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 8px;
  border: none;
}
.login-header .btn-google img { height: 18px; }

.login-header .input-group-text {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--glass-border);
  color: var(--gold);
}
.login-header .form-control {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  color: #fff;
  font-size: 0.85rem;
}
.login-header .form-control::placeholder { color: #9aa8c4; }
.login-header .form-control:focus {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 0 0.15rem rgba(245,197,66,0.25);
}

.btn-main {
  background: linear-gradient(180deg, var(--gold) 0%, #d4a017 100%);
  color: #1a1a1a;
  font-weight: 700;
  border: none;
  border-radius: 4px;
}
.btn-main:hover { background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: #000; }

.btn-main-dark {
  background: linear-gradient(180deg, #1e40af 0%, #1e3a8a 100%);
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 4px;
}
.btn-main-dark:hover { background: linear-gradient(180deg, #2563eb, #1e40af); color: #fff; }

.btn-success {
  background: linear-gradient(180deg, #16a34a, #15803d);
  border: none;
  font-weight: 600;
}

/* ===================== NAVBAR ===================== */
.menu-header-wrap {
  background: linear-gradient(180deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

.menu-header .navbar-nav .nav-link {
  color: #fff;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.3px;
  padding: 12px 16px;
  text-transform: uppercase;
  transition: all 0.2s;
}
.menu-header .navbar-nav .nav-link:hover,
.menu-header .navbar-nav .nav-link.active {
  color: var(--gold);
  background: rgba(0,0,0,0.25);
}

.navbar-toggler {
  border-color: var(--gold);
}
.navbar-toggler-icon {
  filter: invert(1) sepia(1) saturate(5) hue-rotate(5deg);
}

/* ===================== RUNNING TEXT ===================== */
.running-news {
  background: linear-gradient(90deg, #d4a017 0%, var(--gold) 50%, #d4a017 100%);
  color: #1a1a1a;
  font-weight: 600;
  font-size: 0.85rem;
}
.running-news .input-group-text {
  background: transparent;
  border: none;
  color: #1a1a1a;
  font-style: italic;
  font-weight: 800;
}
.running-news .form-control {
  background: transparent;
  border: none;
  color: #1a1a1a;
  box-shadow: none;
}

/* ===================== MAIN SLIDER ===================== */
.main-slider {
  position: relative;
  margin: 0;
  border-bottom: 3px solid var(--gold);
}
.main-slider .item img {
  width: 100%;
  height: auto;
  display: block;
}
.main-slider .owl-dots {
  position: absolute;
  bottom: 12px;
  width: 100%;
  text-align: center;
}
.main-slider .owl-dot span {
  background: rgba(255,255,255,0.4);
  width: 10px;
  height: 10px;
}
.main-slider .owl-dot.active span { background: var(--gold); }

/* ===================== JACKPOT ===================== */
.jackpot-play {
  padding: 40px 0;
  position: relative;
}
.jackpot-play .container {
  display: flex;
  align-items: center;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}
.jackpot-play .icon img {
  max-width: 280px;
  filter: drop-shadow(0 0 20px rgba(167,139,250,0.6));
}
.jackpot-play .content { text-align: center; }
.jackpot-play .title h1 {
  font-weight: 800;
  font-size: 2.2rem;
  margin: 0 0 15px;
  color: #fff;
}
.purple-light { color: var(--purple-light); }

.jackpot-value {
  border: 2px solid var(--gold);
  border-radius: 60px;
  padding: 14px 40px;
  background: rgba(0,0,0,0.35);
  margin-bottom: 20px;
}
.inner-jackpot {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 1px;
}
.inner-jackpot .prefix { color: var(--gold); margin-right: 8px; }

.btn-playnow-jp {
  font-size: 1.1rem;
  padding: 12px 44px;
  border-radius: 8px;
}

/* ===================== DEMO SLOTS ===================== */
.fun-demo-games { padding: 40px 0; }

.title-fun-demo-games {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 25px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 12px;
}
.title-fun-demo-games i,
.title-fun-demo-games h1 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gold);
  margin: 0;
}

.search-fun-demo-games { margin-bottom: 25px; }
.search-fun-demo-games .input-group-text {
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--glass-border);
  color: var(--gold);
}
.search-fun-demo-games .form-control {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--glass-border);
  color: #fff;
}
.search-fun-demo-games .form-control::placeholder { color: #9aa8c4; }
.search-fun-demo-games .form-control:focus {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: var(--gold);
  box-shadow: 0 0 0 0.15rem rgba(245,197,66,0.25);
}

.content-fun-demo-games {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}
@media (max-width: 1199px) { .content-fun-demo-games { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 991px)  { .content-fun-demo-games { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 767px)  { .content-fun-demo-games { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px)  { .content-fun-demo-games { grid-template-columns: repeat(2, 1fr); } }

.item-fun-demo-game {
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.item-fun-demo-game:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(245,197,66,0.35);
  border-color: var(--gold);
}
.item-fun-demo-game .content img {
  width: 100%;
  height: auto;
  display: block;
}
.item-fun-demo-game .rtp-game {
  position: relative;
  padding: 6px 8px 2px;
}
.item-fun-demo-game .rtp-game .progress {
  height: 6px;
  background: rgba(255,255,255,0.1);
}
.item-fun-demo-game .rtp-game .progress-bar { background: #22c55e; }
.item-fun-demo-game .rtp-game-percentage {
  font-size: 0.7rem;
  color: #22c55e;
  font-weight: 700;
  text-align: right;
  margin-top: 2px;
}
.item-fun-demo-game .subtitle {
  padding: 6px 10px 10px;
}
.item-fun-demo-game .subtitle h5 {
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.item-fun-demo-game .subtitle p {
  font-size: 0.65rem;
  color: var(--gold);
  margin: 2px 0 0;
  font-weight: 600;
  letter-spacing: 0.4px;
}

/* ===================== ARTIKEL ===================== */
.brand-description-wrap {
  background: rgba(0,0,0,0.35);
  border-top: 3px solid var(--gold);
  padding: 20px 0;
}
.brand-description {
  color: #d5dce8;
  line-height: 1.85;
  font-size: 0.95rem;
}
.brand-description h1 {
  color: var(--gold);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 18px;
}
.brand-description h2 {
  color: var(--gold-light);
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 24px;
}
.brand-description h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 18px;
}
.brand-description strong { color: var(--gold-light); }
.brand-description blockquote {
  border-left: 4px solid var(--gold);
  padding: 10px 16px;
  background: rgba(245,197,66,0.08);
  font-style: italic;
  border-radius: 4px;
  margin: 16px 0;
}
.brand-description hr {
  border-color: rgba(255,255,255,0.15);
  margin: 24px 0;
}
.brand-description a { color: var(--gold); }

/* READ MORE */
.artikel-collapse {
  max-height: 260px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.6s ease;
}
.artikel-collapse::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(180deg, transparent, rgba(10,26,58,0.95));
  pointer-events: none;
  transition: opacity 0.4s;
}
.artikel-collapse.expanded {
  max-height: 8000px;
}
.artikel-collapse.expanded::after { opacity: 0; }

.btn-readmore {
  padding: 10px 30px;
  font-weight: 700;
  border-radius: 30px;
}

/* ===================== 3 KOLOM INFO ===================== */
.about-us-wrap { padding: 20px 0 40px; }
.sub-page-aside {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 20px;
  height: 100%;
}
.sub-page-aside-title { text-align: center; }
.spat-icon {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 10px;
}
.spat-main {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
}
.spat-desc {
  font-size: 0.8rem;
  color: #9aa8c4;
}
.sub-page-aside-content { border-top: 1px solid var(--glass-border); }

.cpi-title { color: var(--gold); font-weight: 700; margin-top: 10px; }
.cpi-desc { font-size: 0.8rem; color: #9aa8c4; }
.number-seg { font-size: 2rem; font-weight: 800; color: #fff; }
.number-seg span { font-size: 0.9rem; color: var(--gold); margin-left: 4px; }
.cpi-progress { height: 6px; background: rgba(255,255,255,0.1); margin-top: 6px; }
.cpi-progress .progress-bar { background: linear-gradient(90deg, var(--gold), #d4a017); }

.sctd-title { color: var(--gold); font-weight: 700; font-size: 0.95rem; }
.sctd-desc { font-size: 0.82rem; color: #c5cee0; line-height: 1.5; }

.contact-outer {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.contact-outer.display-vertical { flex-direction: column; }
.contact-outer .cstyle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  transition: transform 0.2s;
}
.contact-outer .cstyle:hover { transform: scale(1.12); }
.cstyle.whatsapp { background: #25D366; }
.cstyle.facebook { background: #1877F2; }
.cstyle.twitter  { background: #000; }
.cstyle.instagram{ background: linear-gradient(45deg,#f09433,#dc2743,#bc1888); }
.cstyle.telegram { background: #0088cc; }

/* ===================== PROVIDER ===================== */
.responsible-play { padding: 20px 0 40px; }
.logo-group {
  background: rgba(0,0,0,0.35);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
}
.logo-group-content {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  align-items: center;
}
.lggr-item {
  width: 90px;
  filter: grayscale(0.2) brightness(1.1);
  opacity: 0.85;
  transition: opacity 0.2s, filter 0.2s;
}
.lggr-item:hover { opacity: 1; filter: none; }
.lggr-item img { width: 100%; height: auto; }

/* ===================== COPYRIGHT ===================== */
.footer-copyright {
  background: rgba(0,0,0,0.6);
  border-top: 2px solid var(--gold);
  font-size: 0.85rem;
  color: #9aa8c4;
}
.footer-copyright a { color: var(--gold); }

/* ===================== FLOATING ===================== */
.floating-socmed {
  position: fixed;
  right: 16px;
  bottom: 90px;
  z-index: 999;
  background: rgba(10,26,58,0.95);
  border: 1px solid var(--gold);
  border-radius: 12px;
  padding: 14px 10px;
}
.close-flsocmed {
  position: absolute;
  top: -10px; right: -10px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold);
  color: #000;
  font-weight: 800;
  text-align: center;
  line-height: 22px;
  cursor: pointer;
  font-size: 0.8rem;
}

.live-chat-dekstop {
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 999;
}
.live-chat-dekstop a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(180deg, #1e40af, #1e3a8a);
  color: #fff;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
}

/* Mobile tweaks */
@media (max-width: 767px) {
  .jackpot-play .container { flex-direction: column; }
  .jackpot-play .icon img { max-width: 120px; }
  .inner-jackpot { font-size: 1.3rem; }
  .jackpot-value { padding: 10px 20px; }
  .logo-header img { max-height: 60px; }
  .floating-socmed { bottom: 100px; }
}
/* =========================================================
   POPUP PROMO — Glassmorphism (Frosted Blur)
   ========================================================= */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;                 /* default hidden */
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 18, 42, 0.55);       /* tint navy gelap transparan */
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.popup-overlay.active {
  display: flex;
  opacity: 1;
}

/* Kartu Popup (kaca) */
.popup-card {
  position: relative;
  width: 100%;
  max-width: 420px;
  padding: 28px 24px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);           /* kaca transparan */
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  text-align: center;
  transform: scale(0.92);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.18, 1.05, 0.34, 1.2), opacity 0.3s ease;
}
.popup-overlay.active .popup-card {
  transform: scale(1);
  opacity: 1;
}

/* Tombol Close */
.popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
}
.popup-close:hover {
  background: var(--gold);
  color: #000;
  transform: rotate(90deg);
}

/* Logo */
.popup-logo {
  margin-bottom: 16px;
}
.popup-logo img {
  max-height: 65px;
  width: auto;
  filter: drop-shadow(0 0 12px rgba(245, 197, 66, 0.55));
}

/* Banner 1:1 */
.popup-banner {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.popup-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Tombol CTA */
.popup-actions {
  display: flex;
  gap: 10px;
}
.btn-popup {
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 11px 12px;
  font-size: 0.95rem;
  border-radius: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-popup:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(245, 197, 66, 0.35);
  color: inherit;
}
.btn-popup.btn-main-dark:hover {
  box-shadow: 0 8px 18px rgba(30, 64, 175, 0.5);
}

/* Mobile tweak */
@media (max-width: 480px) {
  .popup-card { padding: 22px 18px 18px; border-radius: 16px; }
  .popup-logo img { max-height: 52px; }
  .popup-actions { flex-direction: column; }
}

/* Lock scroll saat popup aktif */
body.popup-open {
  overflow: hidden;
}