/* PELUANG88 Malaysia 2026 — Obsidian Black, Radiant Gold & Emerald Editorial Theme */
:root {
  --p88-bg: #090c11;
  --p88-surface: #131822;
  --p88-surface-hi: #1a2130;
  --p88-line: rgba(255, 255, 255, 0.08);
  --p88-gold-line: rgba(245, 197, 24, 0.24);
  --p88-gold: #f5c518;
  --p88-gold-soft: #ffde59;
  --p88-emerald: #128d65;
  --p88-emerald-hi: #17ad7c;
  --p88-ink: #e9ebef;
  --p88-muted: #9ca3ae;
  --p88-r: 16px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--p88-bg); color: var(--p88-ink); }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: radial-gradient(circle at 80% 0%, rgba(18, 141, 101, 0.16), transparent 44%), var(--p88-bg);
  color: var(--p88-ink);
  font-size: 15.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Inter', sans-serif; color: #ffffff; letter-spacing: -0.02em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--p88-gold); text-decoration: none; transition: opacity .16s ease, transform .16s ease, border-color .16s ease; }
a:hover { opacity: 0.92; }

.p88-shell { width: 100%; max-width: 1000px; margin: 0 auto; padding: 0 20px; }

/* Minimal Sticky Top Bar */
.p88-top {
  position: sticky; top: 0; z-index: 80;
  background: rgba(9, 12, 17, 0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--p88-line);
}
.p88-top-in {
  max-width: 1000px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.p88-brand img { height: 32px; width: auto; object-fit: contain; }
.p88-nav { display: flex; align-items: center; gap: 22px; }
.p88-nav a { color: var(--p88-ink); font-size: 14px; font-weight: 600; opacity: 0.86; }
.p88-nav a:hover { color: var(--p88-gold); opacity: 1; }
.p88-burger {
  background: var(--p88-surface); border: 1px solid var(--p88-gold-line);
  color: var(--p88-gold); padding: 7px 13px; border-radius: 10px;
  font-size: 14px; font-weight: 700; cursor: pointer;
}

/* Mobile Slide Drawer */
.p88-drawer {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(4, 6, 10, 0.82); backdrop-filter: blur(6px);
  justify-content: flex-end;
}
.p88-drawer.p88-show { display: flex; }
.p88-drawer-body {
  width: min(335px, 88vw); height: 100%; overflow-y: auto;
  background: #0e121b; border-left: 1px solid var(--p88-gold-line);
  padding: 20px 18px 42px; display: flex; flex-direction: column; gap: 16px;
}
.p88-drawer-hd { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--p88-line); }
.p88-drawer-x { background: none; border: 1px solid var(--p88-line); color: #fff; width: 34px; height: 34px; border-radius: 9px; font-size: 20px; cursor: pointer; }
.p88-drawer-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.p88-drawer-list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 14px; border-radius: 10px;
  background: var(--p88-surface); border: 1px solid var(--p88-line);
  color: var(--p88-ink); font-size: 14px; font-weight: 600;
}
.p88-drawer-list a:hover { border-color: var(--p88-gold); color: var(--p88-gold); }

/* Review Hero */
.p88-hero { padding: 44px 0 28px; }
.p88-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--p88-gold); background: rgba(245, 197, 24, 0.10);
  border: 1px solid var(--p88-gold-line); border-radius: 99px;
  padding: 5px 14px; margin-bottom: 16px;
}
.p88-hero h1 { font-size: clamp(27px, 4.1vw, 40px); font-weight: 700; line-height: 1.16; margin-bottom: 14px; max-width: 820px; }
.p88-lead { font-size: 16px; color: var(--p88-muted); max-width: 780px; margin-bottom: 20px; }

/* 4-Card Metrics Overview */
.p88-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
.p88-metric {
  background: var(--p88-surface); border: 1px solid var(--p88-line);
  border-radius: 14px; padding: 14px 16px;
}
.p88-metric small { display: block; font-size: 11.5px; color: var(--p88-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.p88-metric strong { display: block; font-family: 'Space Grotesk', sans-serif; font-size: 19px; color: var(--p88-gold); margin-top: 2px; }

/* Anchor Jump Pills */
.p88-jumps { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.p88-jumps a {
  display: inline-block; padding: 7px 14px; border-radius: 99px;
  background: var(--p88-surface); border: 1px solid var(--p88-line);
  color: var(--p88-muted); font-size: 13px; font-weight: 600;
}
.p88-jumps a:hover { border-color: var(--p88-gold); color: #fff; }

/* Sections & Panels */
.p88-sec { padding: 28px 0; }
.p88-sec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.p88-sec-hd h2 { font-size: clamp(20px, 2.7vw, 27px); font-weight: 700; line-height: 1.24; }
.p88-sec-hd p { font-size: 14px; color: var(--p88-muted); margin-top: 4px; }
.p88-link-more { font-size: 13.5px; font-weight: 700; color: var(--p88-gold); white-space: nowrap; }
.p88-panel { background: var(--p88-surface); border: 1px solid var(--p88-gold-line); border-radius: var(--p88-r); padding: 24px; }

/* No-Turnover vs Standard Rollover Simulator */
.p88-sim-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 22px; align-items: center; }
.p88-field { margin-bottom: 14px; }
.p88-field label { display: block; font-size: 13px; font-weight: 700; color: var(--p88-gold); margin-bottom: 6px; }
.p88-input, .p88-select {
  width: 100%; padding: 11px 14px; border-radius: 10px;
  background: var(--p88-bg); border: 1px solid var(--p88-line);
  color: #fff; font-size: 15px; font-weight: 600; outline: none;
}
.p88-input:focus, .p88-select:focus { border-color: var(--p88-gold); }
.p88-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.p88-chip-btn {
  background: rgba(245, 197, 24, 0.12); border: 1px solid var(--p88-gold-line);
  color: var(--p88-gold); padding: 5px 11px; border-radius: 8px;
  font-size: 12px; font-weight: 700; cursor: pointer;
}
.p88-chip-btn:hover { background: var(--p88-gold); color: #0b0d12; }

.p88-sim-box {
  background: linear-gradient(155deg, #161d2b, #090c11);
  border: 1px solid var(--p88-gold-line); border-radius: 14px; padding: 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.p88-sim-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--p88-line); }
.p88-sim-row:last-of-type { border-bottom: 0; padding-bottom: 2px; }
.p88-sim-row span { color: var(--p88-muted); }
.p88-sim-row strong { color: #fff; font-size: 14.5px; text-align: right; }
.p88-sim-row strong.p88-win { color: #34d399; font-size: 15.5px; }
.p88-sim-row strong.p88-bad { color: #f87171; text-decoration: line-through; font-size: 13.5px; }

/* Tables */
.p88-tbl-wrap { overflow-x: auto; border: 1px solid var(--p88-line); border-radius: 14px; margin: 14px 0; }
.p88-tbl { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 14px; }
.p88-tbl th { background: #19202e; color: var(--p88-gold); text-align: left; padding: 12px 14px; font-weight: 700; border-bottom: 1px solid var(--p88-line); }
.p88-tbl td { padding: 11px 14px; border-bottom: 1px solid var(--p88-line); color: var(--p88-muted); }
.p88-tbl td strong { color: #fff; }
.p88-tbl tr:last-child td { border-bottom: 0; }

/* 6 Curated Categories/Providers & Payment Strip */
.p88-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.p88-cat-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--p88-surface); border: 1px solid var(--p88-line);
  border-radius: 14px; padding: 14px;
}
.p88-cat-card:hover { border-color: var(--p88-gold); background: var(--p88-surface-hi); transform: translateY(-2px); }
.p88-cat-card img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; background: #0b0f17; padding: 4px; flex-shrink: 0; }
.p88-cat-card strong { display: block; font-size: 15px; color: #fff; }
.p88-cat-card span { font-size: 12.5px; color: var(--p88-muted); }

.p88-pay-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.p88-pay-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--p88-surface); border: 1px solid var(--p88-line);
  border-radius: 10px; padding: 7px 12px; font-size: 12.5px; font-weight: 700; color: var(--p88-ink);
}
.p88-pay-chip img { width: 22px; height: 22px; border-radius: 5px; object-fit: contain; background: #fff; }

/* SyarikatCuci Partners Grid */
.p88-part-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.p88-part-card {
  background: var(--p88-surface); border: 1px solid var(--p88-line);
  border-radius: 12px; padding: 12px 10px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 7px;
}
.p88-part-card img { width: 42px; height: 42px; border-radius: 9px; object-fit: contain; background: rgba(255,255,255,0.06); padding: 3px; }
.p88-part-card span { font-size: 12px; font-weight: 700; color: var(--p88-ink); }

/* Reviews & Blog Grids */
.p88-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.p88-rev-card {
  background: var(--p88-surface); border: 1px solid var(--p88-line);
  border-left: 3px solid var(--p88-emerald); border-radius: 14px; padding: 18px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
}
.p88-stars { color: var(--p88-gold); font-size: 13px; font-weight: 800; letter-spacing: 1px; }
.p88-rev-card h3 { font-size: 15px; line-height: 1.35; }
.p88-rev-card p { font-size: 13.5px; color: var(--p88-muted); }
.p88-rev-user { font-size: 12px; color: #34d399; font-weight: 700; }

.p88-art-card {
  background: var(--p88-surface); border: 1px solid var(--p88-line);
  border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 6px;
}
.p88-art-card:hover { border-color: var(--p88-gold); background: var(--p88-surface-hi); transform: translateY(-2px); }
.p88-badge { align-self: flex-start; font-size: 11px; font-weight: 700; color: var(--p88-gold); background: rgba(245, 197, 24, 0.12); padding: 2px 9px; border-radius: 99px; }
.p88-art-card h3 { font-size: 15.5px; line-height: 1.35; }
.p88-art-card p { font-size: 13.5px; color: var(--p88-muted); }

/* FAQ Accordion */
.p88-faq-wrap { display: flex; flex-direction: column; gap: 10px; }
.p88-faq { background: var(--p88-surface); border: 1px solid var(--p88-line); border-radius: 12px; padding: 0 18px; }
.p88-faq[open] { border-color: var(--p88-gold-line); }
.p88-faq summary {
  list-style: none; cursor: pointer; padding: 15px 0;
  font-size: 15px; font-weight: 700; color: #fff;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.p88-faq summary::-webkit-details-marker { display: none; }
.p88-faq summary::after { content: '+'; font-size: 20px; font-weight: 700; color: var(--p88-gold); }
.p88-faq[open] summary::after { content: '−'; }
.p88-faq p { font-size: 14.5px; color: var(--p88-muted); padding-bottom: 15px; }

/* Buttons */
.p88-btn-gold {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--p88-gold); color: #0b0d12 !important;
  font-weight: 800; font-size: 14.5px; padding: 12px 22px; border-radius: 11px;
}
.p88-btn-emerald {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--p88-emerald); color: #ffffff !important;
  font-weight: 800; font-size: 14.5px; padding: 12px 22px; border-radius: 11px;
}
.p88-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* Prose */
.p88-prose { background: var(--p88-surface); border: 1px solid var(--p88-gold-line); border-radius: var(--p88-r); padding: 28px 26px; }
.p88-prose h1 { font-size: clamp(24px, 3.2vw, 34px); margin-bottom: 12px; line-height: 1.22; }
.p88-prose h2 { font-size: 20px; color: var(--p88-gold); margin: 24px 0 10px; }
.p88-prose p, .p88-prose li { color: var(--p88-muted); margin-bottom: 12px; }
.p88-prose ul, .p88-prose ol { padding-left: 22px; margin-bottom: 14px; }
.p88-prose strong { color: #fff; }
.p88-bc { font-size: 13px; color: var(--p88-muted); margin-bottom: 12px; }

/* Social Chips */
.p88-socials { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 14px 0; }
.p88-soc-chip {
  padding: 6px 14px; border-radius: 99px; font-size: 12.5px; font-weight: 700;
  background: rgba(245, 197, 24, 0.08); border: 1px solid var(--p88-gold-line);
  color: var(--p88-ink) !important;
}
.p88-soc-chip:hover { background: var(--p88-gold); color: #0b0d12 !important; }

/* Footer (Safe 110px clearance for Floating Dual CTA) */
.p88-footer {
  margin-top: 46px; padding: 32px 20px 110px;
  background: #06080c; border-top: 1px solid var(--p88-line);
  text-align: center; font-size: 13px; color: var(--p88-muted);
}
.p88-ft-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 18px; margin-bottom: 14px; }
.p88-ft-nav a { color: var(--p88-ink); opacity: 0.84; font-weight: 600; font-size: 13px; }
.p88-ft-nav a:hover { color: var(--p88-gold); opacity: 1; }

/* Bottom Centered Floating Dual CTA Bar */
.p88-bottom-bar {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
  z-index: 120; width: min(400px, 90vw);
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 8px; border-radius: 16px;
  background: rgba(9, 12, 17, 0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(245, 197, 24, 0.32);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.65);
}
.p88-cta-daftar {
  display: flex; align-items: center; justify-content: center; height: 46px;
  border-radius: 11px; font-family: 'Space Grotesk', sans-serif; font-size: 15.5px; font-weight: 700;
  background: #f5c518; color: #0b0d12 !important;
}
.p88-cta-login {
  display: flex; align-items: center; justify-content: center; height: 46px;
  border-radius: 11px; font-family: 'Space Grotesk', sans-serif; font-size: 15.5px; font-weight: 700;
  background: #128d65; color: #ffffff !important;
}

/* Bottom-Left Independent Language Capsule */
.p88-lang-cap {
  position: fixed; bottom: 22px; left: 16px; z-index: 115;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(19, 24, 34, 0.92); border: 1px solid var(--p88-gold-line);
  color: #e9ebef; font-size: 12.5px; font-weight: 700;
  padding: 9px 14px; border-radius: 99px; cursor: pointer;
  backdrop-filter: blur(10px);
}
.p88-lang-cap:hover { border-color: var(--p88-gold); color: var(--p88-gold); }

@media (max-width: 840px) {
  .p88-nav { display: none; }
  .p88-metrics { grid-template-columns: repeat(2, 1fr); }
  .p88-sim-grid { grid-template-columns: 1fr; }
  .p88-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .p88-part-grid { grid-template-columns: repeat(3, 1fr); }
  .p88-grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .p88-cat-grid { grid-template-columns: 1fr; }
  .p88-lang-cap { bottom: 84px; left: 14px; padding: 7px 12px; font-size: 11.5px; }
  .p88-prose { padding: 20px 16px; }
}
