/* ==========================================================
   RTP + POLA (WEBSITE) - SLOT ONLY (ANTI BOCOR TOTAL) v4
   CSS PACK (dipisah dari JS)
   ========================================================== */

/* ---------- RTP INLINE (badge bawah card) ---------- */
[data-rp-card="1"]{ position:relative !important; }

.rtp-inline{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  margin-top:6px;padding:6px 8px;
  background:rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.12);
  border-radius:12px;
  font:800 12px/1 Arial, sans-serif;color:#eaf7ff;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  pointer-events:none;
  contain:layout paint;
}
.rtp-inline .rtp-left{font-size:11px;letter-spacing:.6px;text-transform:uppercase;opacity:.9;white-space:nowrap;}
.rtp-inline .rtp-right{font-size:12px;white-space:nowrap;margin-left:6px;}
.rtp-inline .rtp-bar{
  flex:1;height:6px;border-radius:999px;
  background:rgba(255,255,255,.14);
  overflow:hidden;margin-left:10px;
}
.rtp-inline .rtp-bar i{display:block;height:100%;border-radius:999px;transition:width .35s ease;}
.rtp-low  .rtp-bar i{ background:linear-gradient(90deg,#ff4d4d,#ffaa00); }
.rtp-mid  .rtp-bar i{ background:linear-gradient(90deg,#ffd000,#00c8ff); }
.rtp-high .rtp-bar i{ background:linear-gradient(90deg,#00ff88,#00b4ff); }

/* ---------- POLA BUTTON ---------- */
.pola-slotwrap{ margin-top:6px; }
.pola-btn{
  display:block;width:100%;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(0,0,0,.58);
  color:#fff;
  font:900 12px/1 Arial,sans-serif;
  letter-spacing:.6px;
  text-transform:uppercase;
  cursor:pointer;
  user-select:none;
  box-shadow: 0 10px 24px rgba(0,0,0,.20);
  transition:.18s ease;
}
.pola-btn:hover{ background:rgba(0,0,0,.72); transform: translateY(-1px); }
.pola-btn:active{ transform: translateY(0); }

/* ---------- MODAL BACKDROP ---------- */
.pola-modal-backdrop{
  position:fixed; inset:0;
  background:rgba(0,0,0,.70);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:99999;
  padding:18px;
}

/* ---------- MODAL WRAP ---------- */
.pola-modal{
  width:min(820px, 95vw);
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  box-shadow: 0 20px 80px rgba(0,0,0,.50);
  font-family: Arial, sans-serif;
  transform: translateY(6px);
  animation: polaIn .16s ease-out forwards;
}
@keyframes polaIn{
  to { transform: translateY(0); }
}

/* ---------- HEADER ---------- */
.pola-modal .head{
  background:#0f5871;
  color:#fff;
  padding:14px 16px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.pola-modal .head .h-left{display:flex;flex-direction:column;gap:4px;}
.pola-modal .head .title{
  font-weight:900;
  font-size:15px;
  letter-spacing:.4px;
  text-transform:uppercase;
  line-height:1.1;
}
.pola-modal .head .subtitle{
  font-weight:700;
  font-size:12px;
  opacity:.92;
}
.pola-modal .head .note{
  font-weight:700;
  font-size:11px;
  opacity:.9;
}
.pola-modal .close{
  width:38px;height:38px;border-radius:10px;border:0;cursor:pointer;
  background:rgba(255,255,255,.16);
  color:#fff;font-size:20px;line-height:1;
  display:flex;align-items:center;justify-content:center;
  transition:.15s ease;
}
.pola-modal .close:hover{ background:rgba(255,255,255,.24); }

/* ---------- BODY GRID ---------- */
.pola-modal .body{
  padding:16px;
  display:grid;
  grid-template-columns: 260px 1fr;
  gap:14px;
}
.pola-thumb{
  border-radius:14px;
  border:1px solid #eee;
  background:#fafafa;
  padding:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:220px;
}
.pola-thumb img{
  max-width:100%;
  max-height:240px;
  border-radius:12px;
  display:block;
}

/* ---------- INFO PANEL ---------- */
.pola-info{
  font-size:13px;
  color:#0b0b0b;
}
.pola-badges{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.pola-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid #d7e4ff;
  background:#f2f6ff;
  font-weight:900;
  white-space:nowrap;
}
.pola-chip small{
  font-weight:900;
  opacity:.7;
  letter-spacing:.4px;
  text-transform:uppercase;
}
.pola-meta{
  display:grid;
  gap:6px;
  margin-bottom:12px;
}
.pola-row{
  display:grid;
  grid-template-columns: 110px 1fr;
  gap:10px;
  align-items:center;
}
.pola-row b{ color:#444; }

/* ---------- TABLE ---------- */
.pola-steps{
  border:1px solid #e8e8e8;
  border-radius:14px;
  overflow:hidden;
}
.pola-steps table{
  width:100%;
  border-collapse:collapse;
}
.pola-steps th,.pola-steps td{
  font-size:12px;
  padding:10px 12px;
  border-bottom:1px solid #eee;
}
.pola-steps tr:last-child td{ border-bottom:0; }
.pola-steps th{
  background:#fafafa;
  text-align:left;
  font-size:12px;
  letter-spacing:.3px;
}
.ok{ color:#11a44b; font-weight:900; }
.no{ color:#e23b3b; font-weight:900; }
.center{ text-align:center; }

/* ---------- FOOTER ACTIONS ---------- */
.pola-actions{
  padding:14px 16px;
  display:flex;
  justify-content:center;
  gap:10px;
  background:#fafafa;
  border-top:1px solid #eee;
}
.pola-actions .btn{
  min-width:150px;
  padding:11px 14px;
  border-radius:10px;
  border:0;
  cursor:pointer;
  font-weight:900;
  letter-spacing:.3px;
  transition:.15s ease;
}
.btn-primary{ background:#2a73ff; color:#fff; }
.btn-primary:hover{ filter:brightness(1.05); transform: translateY(-1px); }
.btn-secondary{ background:#d3d3d3; color:#222; }
.btn-secondary:hover{ filter:brightness(1.02); transform: translateY(-1px); }

@media (max-width: 720px){
  .pola-modal .body{ grid-template-columns:1fr; }
  .pola-thumb{ min-height:180px; }
  .pola-actions .btn{ min-width:130px; }
}
