/* ============================================================================
   PAPIH GAMING STORE - THEME OVERRIDES
   Base: Deep Pine (#0b1a16, #10241e) & Accent: Mint (#34d399, #10b981) + Coral (#f08a4b)
   Identik dengan palet warna dan animasi Admin Dashboard V22
   ============================================================================ */

:root {
  --color-surface-1: #0b1a16 !important;
  --color-surface-2: #10241e !important;
  --color-surface-3: #16322a !important;
  --color-surface-4: #122b22 !important;
  --color-surface-5: #081411 !important;
  --color-surface-6: #1a382f !important;
  --color-surface-7: #9fb3ac !important;
  --color-surface-8: #e8f1ed !important;
  --main-background: #0b1a16 !important;
}

body {
  background-color: #0b1a16 !important;
  background-image: radial-gradient(ellipse at 15% 0%, rgba(52, 211, 153, 0.14), transparent 45%),
                    radial-gradient(ellipse at 85% 20%, rgba(240, 138, 75, 0.10), transparent 40%) !important;
  color: #e8f1ed !important;
}

/* Background surfaces */
.bg-surface-1, .\!bg-surface-1 { background-color: #0b1a16 !important; }
.bg-surface-2, .\!bg-surface-2 { background-color: #10241e !important; }
.bg-surface-3, .\!bg-surface-3 { background-color: #16322a !important; }
.bg-surface-4, .\!bg-surface-4 { background-color: #122b22 !important; }
.bg-surface-5, .\!bg-surface-5 { background-color: #081411 !important; }
.bg-surface-6, .\!bg-surface-6 { background-color: #1a382f !important; }

/* Primary Accents -> Mint / Emerald */
.bg-primary, .\!bg-primary { background-color: #34d399 !important; color: #05322a !important; }
.text-primary, .\!text-primary { color: #34d399 !important; }
.border-primary, .\!border-primary { border-color: #34d399 !important; }
.outline-orange, .\!outline-orange { outline-color: #34d399 !important; }
.text-orange, .\!text-orange { color: #34d399 !important; }

/* Gradients */
.text-gradient-yellow, .text-gradient-orange {
  background: linear-gradient(180deg, #6ee7b7, #34d399) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* Active checked states */
.is-checked {
  border-color: #34d399 !important;
  outline-color: #34d399 !important;
  background-color: rgba(52, 211, 153, 0.14) !important;
  box-shadow: 0 0 0 1px #34d399, 0 4px 16px rgba(52, 211, 153, 0.28) !important;
}

/* Primary Button Gradients */
button[class*="bg-[linear-gradient(180deg,#F6AC37_0%,#FF6135_100%)]"],
.bg-\[linear-gradient\(180deg\,\#F6AC37_0\%\,\#FF6135_100\%\)\] {
  background: linear-gradient(180deg, #34d399 0%, #10b981 100%) !important;
  color: #05322a !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35) !important;
}

/* Step Number Badges */
div[class*="bg-[linear-gradient(180deg,#F6AC37_0%,#FDE74A_100%)]"],
.bg-\[linear-gradient\(180deg\,\#F6AC37_0\%\,\#FDE74A_100\%\)\] {
  background: linear-gradient(180deg, #34d399 0%, #10b981 100%) !important;
  color: #05322a !important;
}

/* Card hover */
@media (min-width: 768px) {
  .md\:hover\:border-orange:hover {
    border-color: #34d399 !important;
  }
}

/* papih-header-solid: header tidak transparan saat scroll */
main > div.sticky.top-0 { background: rgba(11,26,22,0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,0.06); }

/* ===== Kartu nominal HD & timbul ===== */
.papih-card{position:relative;display:flex;align-items:center;gap:12px;min-height:84px;padding:12px 14px 12px 10px;border-radius:16px;overflow:hidden;
  background:linear-gradient(155deg,#163228 0%,#10241e 52%,#0b1a16 100%);border:1px solid rgba(52,211,153,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.14),inset 0 -4px 0 rgba(0,0,0,.35),0 10px 20px -8px rgba(0,0,0,.65);
  transition:transform .2s cubic-bezier(0.34, 1.56, 0.64, 1),box-shadow .2s,border-color .2s,background .2s}
.papih-card.is-maintenance{opacity:.78;cursor:not-allowed;border-color:rgba(240,138,75,.65)}
.papih-card-maintenance{position:absolute;z-index:3;top:6px;right:6px;padding:4px 7px;border-radius:999px;background:rgba(240,138,75,.18);border:1px solid rgba(240,138,75,.55);color:#f6b98d;font:700 10px/1.2 Inter,sans-serif}
.papih-card::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(120% 80% at 0% 0%,rgba(52,211,153,.12),transparent 55%);}
.papih-card::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.5;background-image:radial-gradient(rgba(255,255,255,.07) 1px,transparent 1px);background-size:9px 9px;mask-image:linear-gradient(110deg,transparent 40%,#000);-webkit-mask-image:linear-gradient(110deg,transparent 40%,#000)}
@media (hover:hover){.papih-card:hover{transform:translateY(-4px);border-color:#34d399;box-shadow:inset 0 1px 0 rgba(255,255,255,.2),inset 0 -4px 0 rgba(0,0,0,.35),0 16px 26px -8px rgba(52,211,153,.35),0 0 0 1px rgba(52,211,153,.35)}}
.papih-card:active{transform:translateY(1px) scale(.985)}
.papih-card.is-selected{border-color:#34d399;background:linear-gradient(155deg,#1c4a3b 0%,#123328 45%,#0e241c 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28),inset 0 -4px 0 rgba(0,0,0,.4),0 0 0 2px rgba(52,211,153,.65),0 14px 30px -8px rgba(52,211,153,.45)}
.papih-card-icon{position:relative;z-index:1;flex:none;width:58px;height:58px;display:flex;align-items:center;justify-content:center}
.papih-card-icon img{width:58px;height:58px;object-fit:contain;filter:drop-shadow(0 6px 8px rgba(0,0,0,.55));transition:transform .25s cubic-bezier(.2,1.3,.4,1)}
.papih-card-icon.is-logo img{width:50px;height:50px;border-radius:12px;object-fit:cover;background:#fff;box-shadow:0 4px 10px rgba(0,0,0,.5)}
@media (hover:hover){.papih-card:hover .papih-card-icon img{transform:scale(1.12) rotate(-4deg)}}
.papih-card.is-selected .papih-card-icon img{transform:scale(1.1)}
.papih-card-info{position:relative;z-index:1;display:flex;flex-direction:column;min-width:0;gap:2px}
.papih-card-title{font-family:var(--font-barlow),sans-serif;font-weight:700;font-size:14px;line-height:1.2;color:#f4f8f6;word-break:break-word}
.papih-card-old{font-size:11px;color:#9fb3ac;text-decoration:line-through}
.papih-card-price{font-family:var(--font-barlow),sans-serif;font-weight:800;font-size:15px;color:#34d399;letter-spacing:.01em}
.papih-card.is-selected .papih-card-price{color:#fff}
.papih-card-ribbon{position:absolute;z-index:2;top:0;right:0;padding:3px 10px 3px 12px;border-radius:0 14px 0 12px;font-family:var(--font-barlow),sans-serif;font-weight:900;font-size:10px;letter-spacing:.08em;color:#05322a;background:linear-gradient(180deg,#6ee7b7,#34d399);box-shadow:0 2px 6px rgba(0,0,0,.4)}
.papih-card-check{position:absolute;z-index:2;right:8px;bottom:8px;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#34d399,#10b981);color:#05322a;box-shadow:0 2px 8px rgba(16,185,129,.6);transform:scale(0);transition:transform .25s cubic-bezier(.2,1.6,.4,1)}
.papih-card.is-selected .papih-card-check{transform:scale(1)}

/* Safe Area Padding untuk Mobile agar tidak tertutup sticky bar / bottom nav */
@media (max-width: 1023px) {
  body {
    padding-bottom: calc(110px + env(safe-area-inset-bottom)) !important;
  }
  .pp-footer {
    padding-bottom: calc(96px + env(safe-area-inset-bottom)) !important;
  }
  .form-detail-product {
    padding-bottom: 40px !important;
  }
}


/* ============================================================================
   TAHAP 2 — POLISH TAMPILAN (2026-11-11)
   ============================================================================ */

/* Font brand: arahkan variabel Next.js lama ke Google Fonts yang memang dimuat */
.__variable_97c4d2 { --font-inter: "Inter", system-ui, sans-serif !important; }
.__variable_e14e38 { --font-barlow: "Barlow", system-ui, sans-serif !important; }
.__variable_07a001 { --font-barlow-italic: "Barlow", system-ui, sans-serif !important; }
.__variable_da13e0 { --font-barlow-condensed: "Barlow Condensed", "Barlow", sans-serif !important; }
.font-barlowitalic { font-style: italic; }

/* Latar popup (class Tailwind yang tidak ada di build) */
.bg-black\/75 { background-color: rgba(3, 7, 18, 0.78) !important; }
.bg-black\/80 { background-color: rgba(3, 7, 18, 0.84) !important; }
.backdrop-blur-sm { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.backdrop-blur-md { -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.bg-surface-4\/95 { background-color: rgba(12, 20, 36, 0.95) !important; }
@keyframes pp-fade-in { from { opacity: 0 } to { opacity: 1 } }
.animate-fadeIn { animation: pp-fade-in .25s cubic-bezier(.16, 1, .3, 1) both; }

/* Thumbnail game: tampil langsung (tidak pernah kosong saat lazy-load scroll cepat) */
.pp-img { opacity: 1; transform: none; transition: opacity .25s ease, transform .35s cubic-bezier(.16, 1, .3, 1); }
.pp-img.is-loaded { opacity: 1; transform: none; }

/* Kolom isian gelap, 44px, font 16px (iOS tidak auto-zoom) */
#id-first_target_id, #id-second_target_id, #id-whatsapp_number, #id-promo_code, #inp-order {
  background-color: #10241e !important;
  color: #e8f1ed !important;
  border: 1px solid rgba(52, 211, 153, 0.18) !important;
  border-radius: 12px !important;
  height: 44px !important;
  font-size: 16px !important;
  transition: border-color .15s ease, box-shadow .15s ease;
}
#id-first_target_id::placeholder, #id-second_target_id::placeholder, #id-whatsapp_number::placeholder,
#id-promo_code::placeholder, #inp-order::placeholder { color: #8a9893 !important; opacity: 1; }
#id-first_target_id:focus, #id-second_target_id:focus, #id-whatsapp_number:focus, #id-promo_code:focus, #inp-order:focus {
  border-color: #34d399 !important;
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.22) !important;
  outline: none !important;
}

/* Judul tiap langkah lebih terang dari sub-label */
h2.font-black.text-20.text-surface-7 { color: #e8f1ed !important; }

/* Tombol Cek ID: mint V22, tinggi 44px */
#btn-cek-id {
  height: 44px !important;
  background-color: #10b981 !important;
  background-image: linear-gradient(180deg, #34d399 0%, #10b981 100%) !important;
  color: #05322a !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}
#btn-cek-id:disabled { opacity: .6; }

/* Tombol bawah: langkah berikutnya = sekunder, siap beli = primer bercahaya */
#btn-sticky-action { min-height: 44px; }
#btn-sticky-action.pp-cta-next {
  background: #10241e !important;
  border-color: rgba(52, 211, 153, 0.45) !important;
  color: #34d399 !important;
}
#btn-sticky-action.pp-cta-ready {
  background: linear-gradient(180deg, #34d399 0%, #10b981 100%) !important;
  color: #05322a !important;
  font-weight: 800 !important;
  border-color: rgba(167, 243, 208, 0.7) !important;
  box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.22), 0 6px 22px rgba(16, 185, 129, 0.45) !important;
}

/* Tombol tutup popup: area tap minimal 44px */
#btn-close-confirm-modal, #btn-close-guide {
  min-width: 44px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  margin: -10px -10px -10px 0; font-size: 18px;
}

@media (max-width: 0px) {
  .pp-img { transition: none; transform: none; }
  .animate-fadeIn { animation: none; }
}


/* ============================================================================
   TAHAP 3 — ANTI SALAH BAYAR & QRIS MENENANGKAN (2026-11-11)
   ============================================================================ */
/* Timer QRIS: netral, merah hanya di 60 detik terakhir */
.pp-timer { background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.35); color: #a7f3d0; transition: background-color .3s, color .3s, border-color .3s; }
.pp-timer.is-urgent { background: #3a1d1d; border-color: rgba(255,77,77,.5); color: #FF9999; animation: pp-urgent 1s ease-in-out infinite; }
@keyframes pp-urgent { 50% { box-shadow: 0 0 0 4px rgba(239,68,68,.18); } }
/* Status koneksi putus */
#papih-qris-live-row.is-offline { color: #FCD34D !important; }
#papih-qris-live-row.is-offline .pp-live-dot { background: #f08a4b !important; animation: none; }
/* Panduan bayar dari HP yang sama */
.pp-samephone summary::-webkit-details-marker { display: none; }
.pp-samephone[open] .pp-sum-chev { transform: rotate(180deg); }
.pp-sum-chev { transition: transform .2s ease; display: inline-block; }
.pp-num { flex: 0 0 22px; height: 22px; border-radius: 999px; background: linear-gradient(180deg,#34d399,#10b981); color: #05322a; font: 800 12px/22px Barlow, sans-serif; text-align: center; }
/* Tombol lipat daftar nominal */
.pp-fold-btn { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: center; gap: 6px; margin: -8px 0 8px; border-radius: 999px; border: 1px solid rgba(52,211,153,.22); background: #10241e; color: #e8f1ed; font: 700 14px Barlow, sans-serif; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.pp-fold-btn:hover, .pp-fold-btn:focus-visible { border-color: #34d399; background: #16322a; outline: none; }
@media (max-width: 0px) { .pp-timer.is-urgent { animation: none; } .pp-sum-chev { transition: none; } }

/* Kotak catatan (info / peringatan / error) */
.pp-note { display: flex; gap: 8px; align-items: flex-start; text-align: left; padding: 10px 12px; border-radius: 10px; border: 1px solid; font: 600 13px/1.45 Barlow, Inter, sans-serif; }
.pp-note > div, .pp-note > p { flex: 1; }
.pp-note-info  { background: rgba(52,211,153,.12); border-color: rgba(52,211,153,.35); color: #a7f3d0; }
.pp-note-info strong { color: #fff; }
.pp-note-warn  { background: rgba(245,158,11,.12); border-color: rgba(245,158,11,.5); color: #FCD34D; }
.pp-note-error { background: rgba(240,138,75,.12); border-color: rgba(240,138,75,.5); color: #f0b98c; font-size: 14px; }

/* Utilitas Tailwind yang dipakai app.js/common.js tapi tidak ada di build lama (skala 1 = 1px) */
.h-\[210px\]{height:210px}
.h-\[68px\]{height:68px}
.m-0{margin:0px}
.max-w-\[420px\]{max-width:420px}
.max-w-\[640px\]{max-width:640px}
.mb-10{margin-bottom:10px}
.mb-6{margin-bottom:6px}
.my-10{margin-top:10px;margin-bottom:10px}
.space-y-4>:not(:first-child){margin-top:4px}
.text-11{font-size:11px}
.text-13{font-size:13px}
.text-15{font-size:15px}
.text-22{font-size:22px}
.text-28{font-size:28px}
.text-\[42px\]{font-size:42px}
.text-\[44px\]{font-size:44px}
.top-12{top:12px}
.w-\[210px\]{width:210px}
.w-\[26px\]{width:26px}
.w-\[68px\]{width:68px}
.bg-primary\/20{background-color:rgba(52,211,153,.2)}
.border-primary\/30{border-color:rgba(52,211,153,.3)}
.border-primary\/40{border-color:rgba(52,211,153,.4)}
.border-primary\/60{border-color:rgba(52,211,153,.6)}
.border-success{border-color:#34d399}
.border-surface-6\/40{border-color:rgba(26,56,47,.4)}
.divide-y>:not(:first-child){border-top-width:1px;border-top-style:solid}
.divide-surface-6\/40>:not(:first-child){border-color:rgba(26,56,47,.6)}
.border-t-2{border-top-width:2px;border-top-style:solid}
.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.break-all{word-break:break-all}
.no-underline{text-decoration:none}
.tracking-wider{letter-spacing:.05em}
.shadow-xl{box-shadow:0 20px 25px -5px rgba(0,0,0,.4),0 8px 10px -6px rgba(0,0,0,.4)}
.shadow-2xl{box-shadow:0 25px 50px -12px rgba(0,0,0,.6)}
.px-\[48px\]{padding-left:48px;padding-right:48px}
.z-\[9999\]{z-index:9999}
.top-\[75px\]{top:75px}
.bg-\[\#1E293B\]{background-color:#16322a}
.bg-\[\#2a241b\]{background-color:#241d16}
.bg-\[\#0D0D0DE6\]{background-color:#0b1a16e6}
.bg-\[\#F6AC37\]{background-color:#34d399}
.bg-\[\#F6AC37\]\/15{background-color:rgba(52,211,153,.15)}
.border-\[\#40E74C\]\/30{border-color:rgba(52,211,153,.3)}
.shadow-\[inset_0px_3px_6px_rgba\(255\,255\,255\,0\.4\)\]{box-shadow:inset 0 3px 6px rgba(255,255,255,.4)}
.shadow-\[inset_0px_4px_4px_rgba\(255\,255\,255\,0\.25\)\]{box-shadow:inset 0 4px 4px rgba(255,255,255,.25)}
.shadow-\[0_-8px_24px_rgba\(0\,0\,0\,0\.6\)\]{box-shadow:0 -8px 24px rgba(0,0,0,.6)}
.animate-ping{animation:pp-ping 1.2s cubic-bezier(0,0,.2,1) infinite}
@keyframes pp-ping{75%,100%{transform:scale(2);opacity:0}}
@media (max-width: 0px){.animate-ping{animation:none}}


/* ============================================================================
   TAHAP 4 — STRUK PRINTER (2026-11-11)
   ============================================================================ */
.pp-rc { position: relative; max-width: 340px; margin: 0 auto; text-align: left; }
/* Slot mesin printer */
.pp-rc-slot { position: relative; z-index: 3; height: 26px; margin: 0 -8px; border-radius: 13px;
  background: linear-gradient(180deg, #1c3a31 0%, #10241e 55%, #0b1a16 100%);
  border: 1px solid #274e42; box-shadow: 0 6px 14px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.14); }
.pp-rc-slot span { position: absolute; left: 18px; right: 18px; top: 50%; height: 5px; margin-top: -1px; border-radius: 3px;
  background: #020617; box-shadow: inset 0 2px 3px rgba(0,0,0,.9), 0 1px 0 rgba(255,255,255,.08); }
.pp-rc.is-printing .pp-rc-slot span { animation: pp-rc-led .3s ease-in-out infinite alternate; }
@keyframes pp-rc-led { to { box-shadow: inset 0 2px 3px rgba(0,0,0,.9), 0 0 10px rgba(52,211,153,.65); } }
/* Kertas keluar dari slot */
.pp-rc-view { position: relative; z-index: 2; margin-top: -9px; padding: 0 6px 14px; overflow: hidden; }
.pp-rc-paper { position: relative; padding: 22px 18px 18px; background: #FBF8F1; color: #0f1f1b;
  font: 500 13px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  box-shadow: 0 10px 24px rgba(0,0,0,.45); transform-origin: top center; }
.pp-rc-paper::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 14px; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,26,22,.18), transparent); }
.pp-rc-paper::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px;
  background: linear-gradient(-45deg, transparent 7px, #FBF8F1 0) 0 0 / 14px 10px repeat-x,
              linear-gradient(45deg, transparent 7px, #FBF8F1 0) 0 0 / 14px 10px repeat-x; }
.pp-rc.is-printing .pp-rc-paper { animation: pp-rc-feed 2.1s linear both; }
@keyframes pp-rc-feed {
  0% { transform: translateY(-100%); } 14% { transform: translateY(-86%); } 20% { transform: translateY(-84%); }
  36% { transform: translateY(-64%); } 42% { transform: translateY(-62%); } 58% { transform: translateY(-40%); }
  64% { transform: translateY(-38%); } 82% { transform: translateY(-14%); } 88% { transform: translateY(-12%); }
  100% { transform: translateY(0); } }
.pp-rc.is-printed .pp-rc-paper { animation: pp-rc-settle .45s cubic-bezier(.16,1,.3,1); }
@keyframes pp-rc-settle { 0% { transform: translateY(0) rotate(0); } 40% { transform: translateY(3px) rotate(-.6deg); } 100% { transform: none; } }
/* Isi struk */
.pp-rc-head { text-align: center; }
.pp-rc-brand { font: 900 19px/1.1 Barlow, "Arial Black", sans-serif; letter-spacing: .02em; color: #047857; }
.pp-rc-sub { margin-top: 4px; font-size: 10.5px; color: #556862; }
.pp-rc-cut { margin: 10px 0; border-top: 2px dashed #CBD5E1; }
.pp-rc-row { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.pp-rc-row span { color: #8a9893; flex: 0 0 auto; }
.pp-rc-row b { font-weight: 700; text-align: right; word-break: break-word; }
.pp-rc-sn b { color: #047857; word-break: break-all; }
.pp-rc-total { display: flex; justify-content: space-between; align-items: baseline; font: 900 18px/1.2 ui-monospace, Menlo, monospace; }
.pp-rc-total b { color: #047857; font-size: 20px; }
.pp-rc-bar { display: block; width: 78%; height: 44px; margin: 14px auto 4px; fill: #0f1f1b; }
.pp-rc-oid { text-align: center; font-size: 11px; letter-spacing: .12em; }
.pp-rc-thanks { margin-top: 10px; text-align: center; font-size: 11.5px; color: #556862; }
/* Stempel BERHASIL */
.pp-rc-stamp { position: relative; width: max-content; margin: 16px auto 2px; display: flex; flex-direction: column; align-items: center;
  padding: 6px 14px 4px; border: 3px double #10b981; border-radius: 8px; color: #10b981; transform: rotate(-8deg);
  opacity: .85; mix-blend-mode: multiply; pointer-events: none; }
.pp-rc-stamp span { font: 900 22px/1 Barlow, "Arial Black", sans-serif; letter-spacing: .06em; }
.pp-rc-stamp small { font: 700 8.5px/1.4 ui-monospace, Menlo, monospace; letter-spacing: .1em; }
.pp-rc.is-printing .pp-rc-stamp { opacity: 0; }
.pp-rc.is-printed .pp-rc-stamp { animation: pp-rc-stamp .5s cubic-bezier(.2,1.4,.4,1) .1s both; }
@keyframes pp-rc-stamp { 0% { opacity: 0; transform: rotate(-8deg) scale(2.4); } 60% { opacity: .95; transform: rotate(-8deg) scale(.92); } 100% { opacity: .85; transform: rotate(-8deg) scale(1); } }
/* Tombol simpan */
.pp-rc-actions { display: flex; justify-content: center; margin-top: 6px; }
.pp-rc-save { min-height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid rgba(167,243,208,.6); cursor: pointer;
  background: linear-gradient(180deg, #34d399 0%, #10b981 100%); color: #05322a !important; font: 800 15px Barlow, sans-serif;
  box-shadow: 0 6px 18px rgba(16,185,129,.35); transition: transform .12s ease, filter .15s ease; }
.pp-rc-save:active { transform: scale(.96); }
.pp-rc-save:hover { filter: brightness(1.08); }
@media (max-width: 0px) {
  .pp-rc.is-printing .pp-rc-paper, .pp-rc.is-printed .pp-rc-paper, .pp-rc.is-printed .pp-rc-stamp, .pp-rc.is-printing .pp-rc-slot span { animation: none; }
  .pp-rc-stamp { opacity: .85 !important; }
}

/* Rincian biaya di layar QRIS */
.pp-qris-bill { max-width: 280px; margin: 0 auto 10px; padding: 8px 12px; border-radius: 10px; border: 1px solid rgba(52,211,153,.2); background: #10241e; text-align: left; }
.pp-qris-bill > div { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; font: 600 13px/1.4 Barlow, Inter, sans-serif; }
.pp-qris-bill span { color: #8a9893; }
.pp-qris-bill b { color: #e8f1ed; }


/* ============================================================================
   BANNER UTAMA (hero.js) — HTML/CSS, geser halus
   ============================================================================ */
.pp-hero { position: relative; --pp-hero-dur: 5500ms; }
.pp-hero-viewport { overflow: hidden; border-radius: 18px; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.pp-hero-track { display: flex; transition: transform .7s cubic-bezier(.16, 1, .3, 1); will-change: transform; }
.pp-hero-slide { position: relative; flex: 0 0 100%; min-height: 210px; aspect-ratio: 16 / 8.2; display: flex; align-items: center; overflow: hidden;
  border-radius: 18px; isolation: isolate; border: 1px solid rgba(148,163,184,.14); }
@media (min-width: 768px) { .pp-hero-slide { aspect-ratio: 16 / 5.6; border-radius: 24px; } .pp-hero-viewport { border-radius: 24px; } }
/* latar */
.pp-hero-bg { position: absolute; inset: 0; z-index: -1; }
.pp-hero-bg .grid { position: absolute; inset: 0; opacity: .22;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 28px 28px; -webkit-mask-image: radial-gradient(ellipse at 75% 50%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse at 75% 50%, #000 10%, transparent 70%); }
.pp-hero-bg .o1, .pp-hero-bg .o2 { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .75; }
.pp-hero-bg .o1 { width: 60%; height: 120%; right: -10%; top: -30%; }
.pp-hero-bg .o2 { width: 45%; height: 90%; left: -12%; bottom: -45%; opacity: .5; }
.pp-hero-slide.is-active .o1 { animation: pp-hero-orb 9s ease-in-out infinite alternate; }
@keyframes pp-hero-orb { to { transform: translate(-6%, 8%) scale(1.08); } }
.tone-ember { background-color: #0d211b; background-image: linear-gradient(120deg, #0d211b 0%, #162e24 45%, #221a14 100%); }
.tone-ember .o1 { background: #f08a4b; } .tone-ember .o2 { background: #34d399; }
.tone-jade  { background-color: #061411; background-image: linear-gradient(120deg, #061411 0%, #0b241e 50%, #0e2e22 100%); }
.tone-jade .o1 { background: #34d399; } .tone-jade .o2 { background: #10B981; }
.tone-azure { background-color: #07171c; background-image: linear-gradient(120deg, #07171c 0%, #0b262e 50%, #0e302a 100%); }
.tone-azure .o1 { background: #34d399; } .tone-azure .o2 { background: #06B6D4; }
.tone-gold  { background-color: #0d1e18; background-image: linear-gradient(120deg, #0d1e18 0%, #172a20 50%, #242214 100%); }
.tone-gold .o1 { background: #f08a4b; } .tone-gold .o2 { background: #34d399; }
/* teks */
.pp-hero-copy { position: relative; z-index: 2; width: 58%; padding: 16px 10px 16px 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
@media (min-width: 768px) { .pp-hero-copy { width: 55%; padding: 32px 0 32px 48px; gap: 12px; } }
.pp-hero-kicker { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(52,211,153,.12);
  border: 1px solid rgba(52,211,153,.25); color: #a7f3d0; font: 700 10.5px/1.3 Barlow, sans-serif; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.pp-hero-kicker::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #34d399; box-shadow: 0 0 8px #34d399; }
.pp-hero-title { margin: 0; display: flex; flex-direction: column; font: 900 clamp(20px, 6.2vw, 46px)/1.02 Barlow, sans-serif; letter-spacing: -.01em; color: #fff; text-wrap: balance; }
.pp-hero-title .hl { background: linear-gradient(90deg, #d1fae5, #6ee7b7 45%, #fdba8c); -webkit-background-clip: text; background-clip: text; color: #6ee7b7; -webkit-text-fill-color: transparent; }
.pp-hero-text { margin: 0; max-width: 100%; color: #CBD5E1; font: 500 clamp(11.5px, 3.1vw, 16px)/1.4 Inter, sans-serif; }
.pp-hero-cta { margin-top: 4px; display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 16px; border-radius: 999px;
  background-color: #10b981; background-image: linear-gradient(180deg, #34d399 0%, #10b981 100%); color: #05322a !important; text-decoration: none; font: 800 13px Barlow, sans-serif;
  border: 1px solid rgba(167,243,208,.6); box-shadow: 0 6px 18px rgba(16,185,129,.35); white-space: nowrap; transition: transform .15s ease, filter .15s ease; }
.pp-hero-cta:hover { filter: brightness(1.08); } .pp-hero-cta:active { transform: scale(.96); }
.pp-hero-cta span { transition: transform .2s ease; } .pp-hero-cta:hover span { transform: translateX(3px); }
@media (min-width: 768px) { .pp-hero-cta { min-height: 44px; padding: 0 22px; font-size: 15px; } }
@media (max-width: 380px) { .pp-hero-text { display: none; } }
/* slide artikel: foto asli juara (portrait) menggantikan cover game + struk */
.pp-hero-photo { position: absolute; top: 50%; height: 84%; aspect-ratio: 3 / 4; width: auto; object-fit: cover; border-radius: 12px; border: 2px solid rgba(52,211,153,.55);
  box-shadow: 0 16px 34px rgba(0,0,0,.6); opacity: 0; transition: transform .9s cubic-bezier(.16,1,.3,1), opacity .6s ease; }
.pp-hero-photo.p0 { right: 34%; z-index: 3; transform: translateY(-50%) rotate(-7deg) scale(.88); }
.pp-hero-photo.p1 { right: 5%; z-index: 2; transform: translateY(-50%) rotate(6deg) scale(.82); filter: brightness(.92); }
.pp-hero-slide.is-active .pp-hero-photo { opacity: 1; }
.pp-hero-slide.is-active .pp-hero-photo.p0 { transform: translateY(-50%) rotate(-7deg); }
.pp-hero-slide.is-active .pp-hero-photo.p1 { transform: translateY(-50%) rotate(6deg) scale(.94); transition-delay: .1s; }
@media (max-width: 767px) {
  .pp-hero-art.is-photo { width: 40%; }
  .pp-hero-photo { height: 66%; border-radius: 10px; }
  .pp-hero-photo.p0 { right: 26%; } .pp-hero-photo.p1 { right: 8%; }
  .pp-hero-slide.is-article .pp-hero-copy { gap: 5px; }
  .pp-hero-slide.is-article .pp-hero-title { font-size: clamp(17px, 5.1vw, 24px); }
  .pp-hero-slide.is-article .pp-hero-text { font-size: 11px; }
}
@media (min-width: 768px) {
  .pp-hero-slide.is-article .pp-hero-copy { gap: 7px; padding-top: 14px; padding-bottom: 14px; }
  .pp-hero-slide.is-article .pp-hero-title { font-size: clamp(24px, 2.9vw, 38px); }
  .pp-hero-slide.is-article .pp-hero-text { font-size: 14px; }
}
@media (min-width: 768px) { .pp-hero-photo { height: 88%; border-radius: 16px; } .pp-hero-photo.p0 { right: 30%; } .pp-hero-photo.p1 { right: 6%; } }
/* seni kanan: kartu game melayang */
.pp-hero-art { position: absolute; right: 0; top: 0; bottom: 0; width: 42%; z-index: 1; }
.pp-hero-cover { position: absolute; width: 44%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; border: 2px solid rgba(255,255,255,.22);
  box-shadow: 0 14px 30px rgba(0,0,0,.55); transition: transform .9s cubic-bezier(.16,1,.3,1), opacity .6s ease; opacity: 0; }
.pp-hero-cover.c0 { right: 30%; top: 50%; width: 52%; z-index: 3; transform: translate(0,-50%) rotate(-6deg) scale(.9); }
.pp-hero-cover.c1 { right: 6%; top: 14%; z-index: 2; transform: rotate(8deg) scale(.85); }
.pp-hero-cover.c2 { right: 8%; bottom: 10%; width: 38%; z-index: 1; transform: rotate(-3deg) scale(.85); }
.pp-hero-slide.is-active .pp-hero-cover { opacity: 1; }
.pp-hero-slide.is-active .pp-hero-cover.c0 { transform: translate(0,-50%) rotate(-6deg); animation: pp-hero-float 6s ease-in-out .9s infinite; }
.pp-hero-slide.is-active .pp-hero-cover.c1 { transform: rotate(8deg); transition-delay: .08s; animation: pp-hero-float2 7s ease-in-out 1s infinite; }
.pp-hero-slide.is-active .pp-hero-cover.c2 { transform: rotate(-3deg); transition-delay: .16s; animation: pp-hero-float2 8s ease-in-out 1.2s infinite reverse; }
@keyframes pp-hero-float { 0%,100% { transform: translate(0,-50%) rotate(-6deg); } 50% { transform: translate(0,-56%) rotate(-4deg); } }
@keyframes pp-hero-float2 { 0%,100% { translate: 0 0; } 50% { translate: 0 -6px; } }
/* dekorasi QR & struk */
.pp-hero-qr { position: absolute; left: 2%; bottom: 8%; width: 26%; aspect-ratio: 1; z-index: 4; border-radius: 10px; background: #fff; padding: 7%;
  box-shadow: 0 10px 24px rgba(0,0,0,.5); display: grid; grid-template-columns: 1fr 1fr; gap: 14%; transform: rotate(-8deg); }
.pp-hero-qr span { border: 3px solid #0f1f1b; border-radius: 3px; } .pp-hero-qr span:nth-child(3) { grid-column: 1; }
.pp-hero-qr i { background: repeating-linear-gradient(90deg, #0f1f1b 0 3px, transparent 3px 6px), repeating-linear-gradient(0deg, #0f1f1b 0 3px, transparent 3px 6px); opacity: .85; border-radius: 2px; }
.pp-hero-slide.is-active .pp-hero-qr::after { content: ""; position: absolute; left: 6%; right: 6%; height: 2px; top: 10%; background: #34d399; box-shadow: 0 0 10px #34d399; animation: pp-hero-scan 2.4s ease-in-out infinite; }
@keyframes pp-hero-scan { 50% { transform: translateY(78%); } }
.pp-hero-slip { position: absolute; left: 4%; top: 12%; width: 32%; z-index: 4; padding: 10px 8px 14px; background: #FBF8F1; border-radius: 4px 4px 0 0;
  box-shadow: 0 10px 24px rgba(0,0,0,.5); display: flex; flex-direction: column; gap: 6px; transform: rotate(-7deg); }
.pp-hero-slip::after { content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 7px;
  background: linear-gradient(-45deg, transparent 5px, #FBF8F1 0) 0 0 / 10px 7px repeat-x, linear-gradient(45deg, transparent 5px, #FBF8F1 0) 0 0 / 10px 7px repeat-x; }
.pp-hero-slip b { height: 5px; border-radius: 3px; background: #CBD5E1; } .pp-hero-slip b:nth-child(2) { width: 70%; } .pp-hero-slip b.s { width: 50%; background: #10b981; }
.pp-hero-slip em { align-self: center; margin-top: 4px; padding: 2px 6px; border: 2px solid #10b981; border-radius: 4px; color: #047857; font: 900 9px Barlow, sans-serif; font-style: normal; transform: rotate(-10deg); }
/* masuk teks bertahap */
.pp-hero-copy > * { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .6s cubic-bezier(.16,1,.3,1); }
.pp-hero-slide.is-active .pp-hero-copy > * { opacity: 1; transform: none; }
.pp-hero-slide.is-active .pp-hero-copy > :nth-child(2) { transition-delay: .08s; }
.pp-hero-slide.is-active .pp-hero-copy > :nth-child(3) { transition-delay: .16s; }
.pp-hero-slide.is-active .pp-hero-copy > :nth-child(4) { transition-delay: .24s; }
/* navigasi */
.pp-hero-nav { display: none; position: absolute; top: 50%; z-index: 5; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%;
  border: 1px solid rgba(52,211,153,.28); background: rgba(11,26,22,.78); color: #fff; font: 700 28px/1 Barlow, sans-serif; cursor: pointer;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: transform .15s ease, border-color .15s ease; }
.pp-hero-nav.prev { left: -20px; } .pp-hero-nav.next { right: -20px; }
.pp-hero-nav:hover { border-color: #34d399; transform: scale(1.06); }
@media (min-width: 1024px) { .pp-hero-nav { display: block; } }
.pp-hero-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.pp-hero-dots button { position: relative; width: 22px; height: 6px; padding: 0; border: 0; border-radius: 999px; background: rgba(148,163,184,.35); overflow: hidden; cursor: pointer; transition: width .35s cubic-bezier(.16,1,.3,1); }
.pp-hero-dots button::before { content: ""; position: absolute; inset: -10px -2px; } /* area tap lebih besar */
.pp-hero-dots button.on { width: 42px; }
.pp-hero-dots button.on i { animation: pp-hero-progress var(--pp-hero-dur) linear forwards; }
.pp-hero-dots button i { position: absolute; inset: 0; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, #34d399, #10b981); border-radius: inherit; }
.pp-hero.is-paused .pp-hero-dots button.on i { animation-play-state: paused; }
@keyframes pp-hero-progress { to { transform: scaleX(1); } }
@media (max-width: 0px) {
  .pp-hero-track { transition: none; }
  .pp-hero-slide.is-active .o1, .pp-hero-slide.is-active .pp-hero-cover, .pp-hero-slide.is-active .pp-hero-qr::after { animation: none !important; }
  .pp-hero-copy > *, .pp-hero-cover { transition: none; }
  .pp-hero-dots button.on i { animation: none; transform: scaleX(1); }
}


/* ============================================================================
   HEADER BRAND, TOMBOL TEMA/BAHASA, WARNA AKSEN TEKS (2026-11-11)
   ============================================================================ */
.pp-brand-link { display: inline-flex !important; align-items: center; gap: 8px; max-width: none !important; text-decoration: none; }
.pp-brand { display: flex; flex-direction: column; line-height: 1; white-space: nowrap; }
.pp-brand b { font: 900 14px/1 Barlow, sans-serif; letter-spacing: .02em; color: #e8f1ed; }
.pp-brand i { font: 800 11px/1.15 Barlow, sans-serif; font-style: normal; letter-spacing: .32em; color: #34d399; margin-top: 2px; }
@media (min-width: 768px) { .pp-brand b { font-size: 17px; } .pp-brand i { font-size: 12.5px; } }
footer .pp-brand b { font-size: 18px; } footer .pp-brand i { font-size: 13px; }
/* panel di menu */
.pp-pref-sec { margin: 0 0 14px; padding: 12px; border-radius: 14px; background: rgba(16,36,30,.65); border: 1px solid rgba(52,211,153,.18); }
.pp-pref-h { font: 700 12px Barlow, sans-serif; color: #8a9893; text-transform: uppercase; letter-spacing: .06em; margin: 2px 2px 8px; }
.pp-pref-h:not(:first-child) { margin-top: 12px; }
.pp-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: #081411; border: 1px solid rgba(52,211,153,.18); }
.pp-seg button { min-height: 40px; padding: 0 6px; border: 0; border-radius: 9px; background: transparent; color: #8a9893; font: 700 12.5px Barlow, sans-serif; cursor: pointer; white-space: nowrap; transition: background-color .2s, color .2s; }
.pp-seg button[aria-checked="true"] { background: linear-gradient(180deg, #34d399, #10b981); color: #05322a; font-weight: 800; box-shadow: 0 4px 12px rgba(16,185,129,.35); }
/* pencarian: placeholder & teks terbaca */
.pp-sin::placeholder, #id-search_game::placeholder { color: #94A3B8 !important; opacity: 1; }
#id-search_game { color: #e8f1ed !important; }
/* Aksen teks: Mint / Emerald di tema gelap */
.text-primary, .\!text-primary, .text-orange, .\!text-orange { color: #34d399 !important; }
.text-gradient-yellow, .text-gradient-orange { background: linear-gradient(180deg, #6ee7b7, #34d399) !important; -webkit-background-clip: text !important; background-clip: text !important; -webkit-text-fill-color: transparent !important; }
.papih-card-price { color: #34d399; }
.papih-card:not(.is-selected) .papih-card-price { color: #34d399 !important; }


/* ============================================================================
   TEMA TERANG — html[data-theme="light"]
   Dasar: #eef1ec (V22) + kartu putih + aksen pine & mint
   ============================================================================ */
html[data-theme="light"] body { background-color: #eef1ec !important; color: #0f1f1b !important;
  background-image: linear-gradient(135deg, #e9f1ec 0%, #f2f4ef 45%, #f6efe8 100%) !important; }
html[data-theme="light"] .bg-surface-1, html[data-theme="light"] .\!bg-surface-1 { background-color: #eef1ec !important; }
html[data-theme="light"] .bg-surface-2, html[data-theme="light"] .\!bg-surface-2 { background-color: #FFFFFF !important; }
html[data-theme="light"] .bg-surface-3, html[data-theme="light"] .\!bg-surface-3 { background-color: #e8f1ed !important; }
html[data-theme="light"] .bg-surface-4, html[data-theme="light"] .\!bg-surface-4 { background-color: #FFFFFF !important; }
html[data-theme="light"] .bg-surface-5, html[data-theme="light"] .\!bg-surface-5 { background-color: #e1ede6 !important; }
html[data-theme="light"] .bg-surface-6, html[data-theme="light"] .\!bg-surface-6 { background-color: #d1dfd8 !important; }
html[data-theme="light"] .border-surface-5, html[data-theme="light"] .border-surface-2 { border-color: rgba(18, 38, 31, 0.08) !important; }
html[data-theme="light"] .border-surface-6 { border-color: rgba(18, 38, 31, 0.12) !important; }
html[data-theme="light"] .text-surface-7 { color: #556862 !important; }
html[data-theme="light"] .text-surface-8 { color: #0f1f1b !important; }
html[data-theme="light"] .text-white:not(.pp-keep-white) { color: #0f1f1b !important; }
html[data-theme="light"] .text-stroke-only, html[data-theme="light"] .text-stroke-button { -webkit-text-stroke: 0 !important; paint-order: normal !important; }
html[data-theme="light"] .text-grey-gradient-stroke { background: none !important; -webkit-text-fill-color: #0f1f1b !important; color: #0f1f1b !important; -webkit-text-stroke: 0 !important; }
/* aksen teks: hijau emerald elegan di latar terang */
html[data-theme="light"] .text-primary, html[data-theme="light"] .text-orange, html[data-theme="light"] .\!text-primary { color: #047857 !important; }
html[data-theme="light"] .text-gradient-yellow, html[data-theme="light"] .text-gradient-orange { background: none !important; -webkit-text-fill-color: #047857 !important; color: #047857 !important; }
html[data-theme="light"] .papih-card:not(.is-selected) .papih-card-price { color: #047857 !important; }
/* lapisan gradien gelap bawaan (kartu, header, footer) dibuat terang */
html[data-theme="light"] [class*="bg-[linear-gradient(180deg,#0C1424"], html[data-theme="light"] [class*="bg-[linear-gradient(254.64deg,rgba(15,23,42"],
html[data-theme="light"] [class*="bg-[linear-gradient(90.33deg,#0C1424"], html[data-theme="light"] [class*="bg-[linear-gradient(180deg,#212020"],
html[data-theme="light"] [class*="bg-[linear-gradient(269.08deg,rgba(31,31,31"] { background-image: none !important; background-color: transparent !important; }
html[data-theme="light"] [class*="bg-[linear-gradient(180deg,#AB5CEB_0%,#1E293B"] { background-image: linear-gradient(180deg, #6ee7b7 0%, #d1dfd8 70%) !important; }
html[data-theme="light"] [data-game-card] .bg-surface-6, html[data-theme="light"] [data-game-card] [class*="border-t"] { background-color: #FFFFFF !important; border-color: rgba(18, 38, 31, 0.08) !important; }
html[data-theme="light"] [data-game-card] > a > div { border-color: rgba(18, 38, 31, 0.08) !important; box-shadow: 0 4px 16px rgba(16,40,32,.06); }
/* header & footer */
html[data-theme="light"] main > div.sticky { background: rgba(238,241,236,.94) !important; border-bottom: 1px solid rgba(18,38,31,0.08) !important; box-shadow: 0 1px 0 rgba(18,38,31,0.06), 0 6px 20px rgba(16,40,32,.05); }
html[data-theme="light"] main > div.sticky > div.absolute { display: none; }
html[data-theme="light"] .pp-brand b { color: #0f1f1b; } html[data-theme="light"] .pp-brand i { color: #047857; }
html[data-theme="light"] footer { background-color: #FFFFFF !important; border-top-color: #10b981 !important; }
html[data-theme="light"] .drop-shadow-headear-bar { filter: none !important; }
/* kontrol & overlay buatan Papih */
html[data-theme="light"] .pp-pref-btn { background: #FFFFFF; border-color: #d1dfd8; color: #0f1f1b; }
html[data-theme="light"] .pp-drawer { background: linear-gradient(180deg, #FFFFFF, #eef1ec) !important; border-left-color: rgba(18,38,31,0.1) !important; }
html[data-theme="light"] .pp-drawer > div[style*="color:#fff"] { color: #0f1f1b !important; }
html[data-theme="light"] .pp-drawer a.pp-l { background: #FFFFFF !important; color: #0f1f1b !important; border-color: rgba(18,38,31,0.08) !important; box-shadow: 0 2px 8px rgba(16,40,32,.04); }
html[data-theme="light"] .pp-x { background: #FFFFFF !important; color: #0f1f1b !important; border-color: #d1dfd8 !important; }
html[data-theme="light"] .pp-pref-sec { background: #f4f7f3; border-color: rgba(18,38,31,0.08); }
html[data-theme="light"] .pp-seg { background: #e8f1ed; border-color: rgba(18,38,31,0.1); }
html[data-theme="light"] .pp-seg button { color: #556862; }
html[data-theme="light"] .pp-seg button[aria-checked="true"] { background: #12261f; color: #fff; }
html[data-theme="light"] .pp-sbox { background: #FFFFFF !important; border-color: #d1dfd8 !important; }
html[data-theme="light"] .pp-sin { color: #0f1f1b !important; }
html[data-theme="light"] .pp-sin::placeholder, html[data-theme="light"] #id-search_game::placeholder { color: #8a9893 !important; }
html[data-theme="light"] #id-search_game { color: #0f1f1b !important; }
html[data-theme="light"] .pp-res { border-top-color: rgba(18,38,31,0.08) !important; }
html[data-theme="light"] .pp-res a { color: #0f1f1b !important; border-bottom-color: rgba(18,38,31,0.08) !important; }
html[data-theme="light"] .pp-res a:hover { background: #e8f1ed !important; }
html[data-theme="light"] .pp-ov { background: rgba(11,26,22,.4) !important; }
html[data-theme="light"] .pp-bn { background: #ffffff !important; border-top-color: rgba(18,38,31,0.08) !important; }
html[data-theme="light"] .pp-bn a { color: #556862 !important; }
html[data-theme="light"] .pp-bn a.on { color: #047857 !important; background: transparent !important; }
html[data-theme="light"] .pp-bn-ind { background: rgba(52,211,153,.18) !important; border-color: rgba(4,120,87,.28) !important; box-shadow: 0 0 0 4px rgba(16,185,129,.12), 0 0 16px rgba(16,185,129,.25) !important; }
html[data-theme="light"] .pp-back { background: #FFFFFF !important; color: #0f1f1b !important; border-color: #d1dfd8 !important; }
html[data-theme="light"] .pp-fold-btn { background: #FFFFFF; border-color: #d1dfd8; color: #0f1f1b; }
/* halaman order */
html[data-theme="light"] #id-first_target_id, html[data-theme="light"] #id-second_target_id, html[data-theme="light"] #id-whatsapp_number,
html[data-theme="light"] #id-promo_code, html[data-theme="light"] #inp-order { background-color: #FFFFFF !important; color: #0f1f1b !important; border-color: #d1dfd8 !important; }
html[data-theme="light"] h2.font-black.text-20.text-surface-7 { color: #0f1f1b !important; }
html[data-theme="light"] .papih-card { background: #FFFFFF !important; border-color: rgba(18,38,31,0.08) !important; box-shadow: 0 4px 18px rgba(16,40,32,.06) !important; }
html[data-theme="light"] .papih-card-title { color: #0f1f1b !important; }
html[data-theme="light"] .papih-card.is-selected { background: linear-gradient(180deg, #d9f5e8, #FFFFFF) !important; border-color: #10b981 !important; }
html[data-theme="light"] .papih-card.is-selected .papih-card-price { color: #065f46 !important; }
#rrq-sticky-checkout-bar { background: rgba(11,26,22,.97) !important; border-top: 1px solid rgba(52,211,153,0.22) !important; box-shadow: 0 -8px 24px rgba(0,0,0,.48) !important; transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease !important; }
html[data-theme="light"] #rrq-sticky-checkout-bar { background: rgba(255,255,255,.97) !important; border-top-color: rgba(18,38,31,0.08) !important; box-shadow: 0 -8px 24px rgba(16,40,32,.08) !important; }
html[data-theme="light"] #btn-sticky-action.pp-cta-next { background: #FFFFFF !important; color: #065f46 !important; border-color: #10b981 !important; }
html[data-theme="light"] #btn-sticky-action { -webkit-text-stroke: 0 !important; }
html[data-theme="light"] .bg-black\/75 { background-color: rgba(11,26,22,.45) !important; }
html[data-theme="light"] .bg-black\/80 { background-color: rgba(11,26,22,.5) !important; }
html[data-theme="light"] .pp-qris-bill { background: #FFFFFF; border-color: rgba(18,38,31,0.1); }
html[data-theme="light"] .pp-qris-bill span { color: #556862; } html[data-theme="light"] .pp-qris-bill b { color: #0f1f1b; }
html[data-theme="light"] .pp-note-info  { color: #047857; background: #d9f5e8; border-color: #a7f3d0; }
html[data-theme="light"] .pp-note-info strong { color: #065f46; }
html[data-theme="light"] .pp-note-warn  { color: #92400E; background: #FFFBEB; border-color: #FCD34D; }
html[data-theme="light"] .pp-note-error { color: #b45309; background: #fdf1e7; border-color: #f0b98c; }
html[data-theme="light"] .pp-timer { background: #d9f5e8; border-color: #a7f3d0; color: #047857; }
html[data-theme="light"] .pp-timer.is-urgent { background: #fdf1e7; border-color: #f0b98c; color: #b45309; }
html[data-theme="light"] #rrq-toast > div, html[data-theme="light"] [class*="bg-[#0D0D0DE6]"] { background-color: rgba(18,38,31,.94) !important; }
html[data-theme="light"] [class*="bg-[#0D0D0DE6]"] span { color: #fff !important; }
/* tombol berlatar mint/pine tetap teks kontras */
html[data-theme="light"] .bg-primary .text-white, html[data-theme="light"] .bg-primary.text-white, html[data-theme="light"] button.bg-primary,
html[data-theme="light"] .pp-cta-ready, html[data-theme="light"] .pp-rc-save, html[data-theme="light"] .pp-hero-cta, html[data-theme="light"] #btn-cek-id,
html[data-theme="light"] #btn-modal-pay-now, html[data-theme="light"] #btn-close-success { color: #05322a !important; font-weight: 800 !important; }
html[data-theme="light"] .pp-hero .text-white { color: #FFFFFF !important; }
html[data-theme="light"] .pp-hero-dots button { background: rgba(18,38,31,.18); }

/* kartu header game tetap gelap (berlatar gambar) -> teks putih */
html[data-theme="light"] .papih-game-header-card .text-white, html[data-theme="light"] .papih-game-header-card .text-surface-8,
html[data-theme="light"] .papih-game-header-card h1 { color: #FFFFFF !important; }
html[data-theme="light"] .papih-game-header-card .text-surface-7 { color: #CBD5E1 !important; }
html[data-theme="light"] .papih-game-header-card .bg-surface-2, html[data-theme="light"] .papih-game-header-card .bg-surface-5 { background-color: rgba(11,26,22,.65) !important; }
html[data-theme="light"] .papih-game-header-card .text-primary { color: #34d399 !important; }
/* tombol menu (≡) */
html[data-theme="light"] [class*="bg-[#0F172A]"] { background-color: #FFFFFF !important; border-color: rgba(18, 38, 31, 0.14) !important; }
html[data-theme="light"] .m-navmenu-btn span::before, html[data-theme="light"] .m-navmenu-btn span::after { background-color: #12261f !important; }
html[data-theme="light"] .border-black { border-color: rgba(18, 38, 31, 0.14) !important; }

/* warna chip yang dipakai tapi belum ada — "biru" dipetakan ke Coral V22 */
.bg-blue-500\/15{background-color:rgba(240,138,75,.15)} .border-blue-500\/30{border-color:rgba(240,138,75,.35)} .text-blue-400{color:#f08a4b}
html[data-theme="light"] .text-blue-400{color:#c2410c !important}
.bg-emerald-500\/15{background-color:rgba(16,185,129,.15)} .border-emerald-500\/30{border-color:rgba(16,185,129,.35)} .text-emerald-400{color:#34D399} .bg-emerald-400{background-color:#34D399}
.papih-game-header-card .text-emerald-400, .papih-game-header-card .text-blue-400 { color: inherit; }
.papih-game-header-card .text-emerald-400 { color: #34D399 !important; } .papih-game-header-card .text-blue-400 { color: #fdba8c !important; }

/* Anti terpotong: nama game di kartu (3 baris) & judul header game */
.grid span[style*="-webkit-line-clamp:2"] { -webkit-line-clamp: 3 !important; line-height: 1.18 !important; overflow-wrap: anywhere; padding: 1px 0; }
@media (max-width: 400px) { .grid span[style*="-webkit-line-clamp:2"] { font-size: 11.5px !important; } }
.papih-game-header-card h1 { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; overflow-wrap: anywhere; }
.papih-game-header-card .flex-wrap { row-gap: 6px; }

.pp-sticky-title { display: block; white-space: normal; line-height: 1.2; overflow-wrap: anywhere; }
#rrq-sticky-checkout-bar .min-w-0 { min-width: 0; flex: 1 1 auto; }

/* Pengingat pembayaran belum selesai */
.pp-resume { position: fixed; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 9400; display: flex; align-items: center; gap: 10px;
  max-width: 460px; margin: 0 auto; padding: 10px 14px; border-radius: 14px; text-decoration: none; color: #e8f1ed;
  background: rgba(16,36,30,.96); border: 1px solid rgba(52,211,153,.45); box-shadow: 0 10px 30px rgba(0,0,0,.45); animation: pp-resume-in .45s cubic-bezier(.16,1,.3,1) both; }
@media (min-width: 1024px) { .pp-resume { bottom: 24px; } }
.pp-resume > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.pp-resume b { font: 800 14px Barlow, sans-serif; }
.pp-resume small { font: 600 12px Inter, sans-serif; color: #8a9893; overflow-wrap: anywhere; }
.pp-resume em { font: 800 13px Barlow, sans-serif; font-style: normal; color: #34d399; white-space: nowrap; }
.pp-resume-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 0 rgba(52,211,153,.6); animation: pp-resume-pulse 1.6s ease-out infinite; }
@keyframes pp-resume-in { from { transform: translateY(20px); opacity: 0; } }
@keyframes pp-resume-pulse { to { box-shadow: 0 0 0 10px rgba(52,211,153,0); } }
html[data-theme="light"] .pp-resume { background: #FFFFFF; color: #0f1f1b; border-color: #10b981; box-shadow: 0 10px 30px rgba(16,40,32,.12); }
html[data-theme="light"] .pp-resume em { color: #047857; }
@media (max-width: 0px) { .pp-resume, .pp-resume-dot { animation: none; } }

#papih-wa-float {
  width: 42px !important; height: 42px !important; right: 12px !important;
  bottom: calc(68px + env(safe-area-inset-bottom)) !important; opacity: 0.88 !important;
  transition: opacity .18s ease, transform .15s ease;
}
#papih-wa-float:hover, #papih-wa-float:active { opacity: 1 !important; transform: scale(1.05); }
@media (min-width: 1024px) {
  #papih-wa-float { bottom: 24px !important; right: 22px !important; width: 50px !important; height: 50px !important; opacity: 0.94 !important; }
}
body.pp-has-resume #papih-wa-float { bottom: calc(150px + env(safe-area-inset-bottom)) !important; }
@media (min-width: 1024px) { body.pp-has-resume #papih-wa-float { bottom: 96px !important; } }

/* Ikon menu (pengganti emoji) — tema terang */
html[data-theme="light"] .pp-bn a.on { color: #065f46 !important; background: transparent !important; }
html[data-theme="light"] .pp-l-ic { background: rgba(52,211,153,.14); color: #047857; }

/* Ikon tema & bahasa (pengganti emoji) */
.pp-seg button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.pp-seg .pp-ico, .pp-pref-ic .pp-ico { width: 16px; height: 16px; flex: none; }
.pp-pref-ic { display: inline-flex; align-items: center; }
.pp-lang-tag { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 18px; padding: 0 4px; border-radius: 5px; border: 1px solid currentColor; font: 800 10px/1 Barlow, sans-serif; letter-spacing: .04em; opacity: .9; }

/* Pilihan 7 bahasa: grid 2 kolom */
.pp-seg.pp-seg-lang { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
.pp-seg.pp-seg-lang button { justify-content: flex-start; padding: 0 10px; }
.pp-seg.pp-seg-lang button:last-child:nth-child(odd) { grid-column: 1 / -1; justify-content: center; }
html[lang="th"] body { font-family: Inter, "Noto Sans Thai", "Thonburi", system-ui, sans-serif; }

/* ============================================================================
   TAHAP 5 — HEADER LANG & THEME DROPDOWN, KEUNGGULAN, FOOTER & MOTION (2026-11-11)
   ============================================================================ */

/* ---------- Header Controls (Mobile & Desktop) ---------- */
.pp-pref-header { display: flex !important; gap: 6px; align-items: center; position: relative; }
.pp-lang-anchor { position: relative; display: inline-flex; }

.pp-pref-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  height: 38px; min-width: 38px; padding: 0 10px; border-radius: 999px;
  border: 1px solid rgba(52,211,153,.22); background: #10241e; color: #e8f1ed;
  font: 800 12.5px/1 Barlow, sans-serif; cursor: pointer;
  transition: border-color .15s ease, background-color .15s ease, transform .12s ease;
  user-select: none; -webkit-user-select: none;
}
.pp-pref-btn:hover { border-color: #34d399; color: #34d399; }
.pp-pref-btn:active { transform: scale(.94); }
.pp-pref-theme { padding: 0 10px; }

.pp-chev { width: 11px; height: 11px; opacity: .75; transition: transform .2s cubic-bezier(.16,1,.3,1); }
.pp-pref-btn[aria-expanded="true"] .pp-chev { transform: rotate(180deg); }

/* Animasi putar ikon tema */
.pp-theme-ic { display: inline-flex; align-items: center; justify-content: center; }
.pp-theme-ic.is-spin { animation: pp-theme-spin .42s cubic-bezier(.34,1.56,.64,1); }
@keyframes pp-theme-spin { from { transform: rotate(0deg) scale(.85); } to { transform: rotate(360deg) scale(1); } }

/* Dropdown bahasa popover */
.pp-lang-drop {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 172px;
  background: #10241e; border: 1px solid rgba(52,211,153,.25); border-radius: 14px;
  padding: 6px; box-shadow: 0 16px 36px rgba(0,0,0,.65); z-index: 99999;
  display: flex; flex-direction: column; gap: 3px;
  opacity: 0; transform: translateY(-8px) scale(.95); pointer-events: none;
  transition: opacity .20s ease, transform .32s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.pp-lang-drop.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

.pp-lang-opt {
  display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px;
  border-radius: 9px; border: 0; background: transparent; color: #CBD5E1;
  font: 600 13px/1.2 Barlow, sans-serif; cursor: pointer; text-align: left;
  transition: background-color .12s ease, color .12s ease;
}
.pp-lang-opt:hover, .pp-lang-opt:focus-visible { background: rgba(52,211,153,.14); color: #34d399; outline: none; }
.pp-lang-opt.is-active { background: rgba(52,211,153,.2); color: #34d399; font-weight: 800; }
.pp-lang-name { flex: 1; }
.pp-check { width: 14px !important; height: 14px !important; flex: none; stroke: #34d399; }

/* Mobile header sizing & zero-overlap guarantee (< 768px) */
@media (max-width: 767px) {
  main > div.sticky { padding-left: 10px !important; padding-right: 10px !important; }
  main > div.sticky .justify-between { gap: 6px !important; }
  main > div.sticky .justify-between > div:first-child { flex: 0 1 auto !important; min-width: 0; }
  main > div.sticky .justify-end { flex: 0 0 auto !important; gap: 5px !important; }
  main > div.sticky .block.md\:hidden .cursor-pointer span { display: none !important; }
  main > div.sticky .block.md\:hidden .cursor-pointer > div:last-child {
    padding: 0 !important; width: 38px !important; height: 38px !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
  }
  .pp-pref-btn { height: 38px; min-width: 36px; padding: 0 8px; font-size: 11.5px; }
  .pp-brand b { font-size: 13px !important; }
  .pp-brand i { font-size: 9.5px !important; letter-spacing: .22em !important; }
  main > div.sticky img.rounded-\[8px\] { height: 34px !important; width: auto !important; }
}
@media (max-width: 370px) {
  .pp-pref-btn { padding: 0 6px; }
  .pp-brand b { font-size: 12px !important; }
  .pp-brand i { font-size: 8.5px !important; }
}

/* ---------- Redesign Keunggulan ---------- */
.pp-sec-head { margin-bottom: 22px; }
.pp-sec-title {
  font-family: var(--font-barlow), sans-serif; font-weight: 900;
  font-size: clamp(22px, 5vw, 34px); line-height: 1.1; letter-spacing: -0.01em;
  color: #e8f1ed; margin: 0 0 6px 0;
}
.pp-sec-sub {
  font-family: var(--font-inter), sans-serif; font-size: 14px;
  line-height: 1.5; color: #8a9893; margin: 0;
}
.pp-feat-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px;
}
@media (min-width: 1024px) {
  .pp-feat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}
.pp-feat-card {
  position: relative; display: flex; flex-direction: column; padding: 22px 18px;
  border-radius: 16px; background: linear-gradient(160deg, #163228 0%, #10241e 100%);
  border: 1px solid rgba(52,211,153,.18); box-shadow: 0 8px 24px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .22s cubic-bezier(.2,.8,.3,1), border-color .22s ease, box-shadow .22s ease;
}
.pp-feat-card::before {
  content: ""; position: absolute; top: 0; left: 16px; right: 16px; height: 2px;
  border-radius: 2px; background: linear-gradient(90deg, #34d399, #f08a4b); opacity: .8;
}
.pp-feat-card:hover {
  transform: translateY(-4px); border-color: #34d399;
  box-shadow: 0 16px 32px rgba(0,0,0,.5), 0 0 0 1px rgba(52,211,153,.35);
}
.pp-feat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.pp-feat-icon {
  width: 40px; height: 40px; border-radius: 10px; flex: none; display: flex; align-items: center; justify-content: center;
  background: rgba(52,211,153,.14); border: 1px solid rgba(52,211,153,.3); color: #34d399;
}
.pp-feat-icon svg { width: 20px; height: 20px; }
.pp-feat-title {
  font-family: var(--font-barlow), sans-serif; font-weight: 800; font-size: 16px;
  line-height: 1.2; color: #e8f1ed; margin: 0;
}
.pp-feat-desc {
  font-family: var(--font-inter), sans-serif; font-size: 13px; line-height: 1.45;
  color: #8a9893; margin: 0;
}

/* ---------- FAQ Modern Styling ---------- */
.pp-faq-list { display: flex; flex-direction: column; gap: 10px; }
.pp-faq-row {
  border-radius: 12px; border: 1px solid rgba(52,211,153,.16); background: #10241e;
  transition: border-color .18s ease, background-color .18s ease; overflow: hidden;
}
.pp-faq-row:hover { border-color: #34d399; }
.pp-faq-row.is-open { border-color: #34d399; }
.pp-faq-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; background: transparent; border: 0; text-align: left; cursor: pointer;
}
.pp-faq-q { font: 700 14px/1.35 Barlow, sans-serif; color: #e8f1ed; margin: 0; flex: 1; }
.pp-faq-chev { width: 18px; height: 18px; flex: none; color: #8a9893; transition: transform .25s cubic-bezier(.16,1,.3,1), color .2s ease; }
.pp-faq-row.is-open .pp-faq-chev { transform: rotate(180deg); color: #34d399; }
.pp-faq-ans {
  max-height: 0; overflow: hidden; padding: 0 16px; color: #CBD5E1;
  font: 400 13.5px/1.6 Inter, sans-serif;
  transition: max-height .32s cubic-bezier(.16,1,.3,1), padding .25s ease;
}
.pp-faq-ans p { margin: 0; }
.pp-faq-row.is-open .pp-faq-ans { max-height: 520px; padding: 0 16px 16px; }
#faq .collapsible-header {
  border-radius: 12px !important; border: 1px solid rgba(52,211,153,.16) !important;
  background: #10241e !important; transition: border-color .18s ease, background-color .18s ease;
}
#faq .collapsible-header:hover {
  border-color: #34d399 !important;
}
#faq .collapsible-content {
  border-radius: 0 0 12px 12px !important; background: #0b1a16 !important;
  color: #CBD5E1 !important; font-size: 13.5px !important; line-height: 1.55 !important;
}

/* ---------- WhatsApp Help Card ---------- */
.pp-help-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px; border-radius: 14px; text-decoration: none; margin-top: 18px;
  background: linear-gradient(150deg, #10241e 0%, #122b22 100%);
  border: 1px solid rgba(37,211,102,.38); box-shadow: 0 10px 24px rgba(0,0,0,.35);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.pp-help-cta:hover {
  transform: translateY(-2px); border-color: #25D366;
  box-shadow: 0 14px 28px rgba(0,0,0,.45);
}
.pp-help-cta-icon {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: rgba(37,211,102,.14); border: 1px solid rgba(37,211,102,.35);
  display: flex; align-items: center; justify-content: center; color: #25D366;
}
.pp-help-cta-title { font: 800 15px Barlow, sans-serif; color: #e8f1ed; margin-bottom: 2px; }
.pp-help-cta-sub { font: 500 12.5px Inter, sans-serif; color: #8a9893; }
.pp-help-cta-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px;
  border-radius: 999px; background: #34d399; color: #05322a; font: 800 12.5px Barlow, sans-serif;
  flex: none; white-space: nowrap;
}

/* ---------- Redesign Footer ---------- */
.pp-footer {
  margin-top: 48px; padding: 48px 0 28px; background: #0b1a16;
  border-top: 1px solid rgba(52,211,153,.2); position: relative;
}
.pp-footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 768px) {
  .pp-footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 28px; }
}
.pp-footer-desc {
  margin: 12px 0 18px; font-size: 13.5px; line-height: 1.55; color: #8a9893; max-width: 480px;
}
.pp-footer-cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.pp-footer-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px;
  border-radius: 999px; font: 700 13px Barlow, sans-serif; text-decoration: none;
  transition: all .15s ease;
}
.pp-footer-btn-primary {
  background-color: #10b981; background-image: linear-gradient(180deg, #34d399 0%, #10b981 100%); color: #05322a !important; font-weight: 800;
  box-shadow: 0 4px 14px rgba(16,185,129,.35);
}
.pp-footer-btn-primary:hover { filter: brightness(1.08); transform: translateY(-1px); }
.pp-footer-btn-wa {
  background: #10241e; border: 1px solid rgba(37,211,102,.45); color: #25D366 !important;
}
.pp-footer-btn-wa:hover { border-color: #25D366; background: rgba(37,211,102,.12); }
.pp-footer-h {
  font: 800 13px Barlow, sans-serif; letter-spacing: .06em; text-transform: uppercase;
  color: #e8f1ed; margin: 0 0 14px 0;
}
.pp-footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.pp-footer-links a {
  color: #8a9893; text-decoration: none; font: 500 13.5px Inter, sans-serif;
  transition: color .15s ease;
}
.pp-footer-links a:hover { color: #34d399; }
.pp-footer-soc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.pp-footer-soc a {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 10px;
  background: #10241e; border: 1px solid rgba(52,211,153,.15); color: #e8f1ed;
  text-decoration: none; font: 600 12.5px Barlow, sans-serif; transition: all .15s ease;
}
.pp-footer-soc a:hover { border-color: #34d399; color: #34d399; }
.pp-footer-pay-label { font: 800 12px Barlow, sans-serif; letter-spacing: .05em; text-transform: uppercase; color: #8a9893; display: block; margin-bottom: 8px; }
.pp-qris-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px;
  border-radius: 10px; background: #10241e; border: 1px solid rgba(52,211,153,.2);
}
.pp-qris-tag { display: inline-flex; align-items: center; line-height: 0; }
.pp-qris-tag img { display: block; height: 20px; width: auto; }
html[data-theme="light"] .pp-qris-tag img { filter: invert(1); }
.pp-qris-pill small { font: 600 11.5px Inter, sans-serif; color: #CBD5E1; }
.pp-footer-bottom {
  margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(52,211,153,.14);
  text-align: center; color: #8a9893; font-size: 12px;
}

/* ---------- Sembunyikan kilau merah-kuning lama di #katalog (diganti .pp-bg-blobs V22) ---------- */
#katalog div[class*="radial-gradient(49.2%_49.2%_at_50%_45.84%,#EF4444"],
#katalog div[class*="linear-gradient(180deg,#EF4444_37.96%"] {
  display: none !important;
}
[class*="bg-[linear-gradient(180deg,rgba(25,23,22,0.5)"] {
  background-image: linear-gradient(180deg, rgba(11,26,22,0.35) 0%, rgba(11,26,22,0) 46%, rgba(11,26,22,0) 78%, #0b1a16 100%) !important;
}
html[data-theme="light"] [class*="bg-[linear-gradient(180deg,rgba(25,23,22,0.5)"] {
  background-image: linear-gradient(180deg, rgba(238,241,236,0) 0%, rgba(238,241,236,0) 78%, #eef1ec 100%) !important;
}
.fill-orange { fill: #34d399 !important; }
.bg-orange { background-color: #34d399 !important; }
html[data-theme="light"] .fill-orange { fill: #047857 !important; }
html[data-theme="light"] .bg-orange { background-color: #047857 !important; }

/* Judul seksi katalog: garis vertikal mint-coral di kiri */
span.text-grey-gradient-stroke {
  display: inline-flex !important; align-items: center !important; gap: 10px !important;
}
span.text-grey-gradient-stroke::before {
  content: ""; display: inline-block; width: 4px; height: 18px; border-radius: 2px;
  background: linear-gradient(180deg, #34d399, #f08a4b); flex: none;
}

/* Tombol Tampilkan semua: list mint elegan */
.flex.justify-center button.bg-surface-6 {
  background: #10241e !important; border: 1px solid rgba(52,211,153,.4) !important;
  color: #e8f1ed !important; box-shadow: 0 4px 14px rgba(0,0,0,.35) !important;
  transition: all .18s ease !important;
}
.flex.justify-center button.bg-surface-6:hover {
  border-color: #34d399 !important; background: #16322a !important;
  color: #34d399 !important; transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.45) !important;
}

/* ---------- Motion: Scroll Reveal & Card Lift ---------- */
[data-game-card] {
  transition: transform .25s cubic-bezier(0.34, 1.56, 0.64, 1), border-color .22s ease, box-shadow .22s ease !important;
}
@media (hover: hover) {
  [data-game-card]:hover { transform: translateY(-4px) scale(1.02); }
  [data-game-card] > a > div:hover {
    border-color: #34d399 !important;
    box-shadow: 0 14px 28px rgba(52,211,153,.22) !important;
  }
}
[data-game-card]:active { transform: scale(0.97) !important; }

.pp-anim-wait {
  opacity: 0.01; transform: translateY(14px);
  transition: opacity .42s cubic-bezier(.16,1,.3,1), transform .42s cubic-bezier(.16,1,.3,1);
  transition-delay: var(--pp-stagger, 0ms); will-change: opacity, transform;
}
.pp-anim-wait.pp-in { opacity: 1; transform: none; }

/* ---------- Tema Terang Overrides (Tahap 5) ---------- */
html[data-theme="light"] .pp-pref-btn { background: #FFFFFF; border-color: #d1dfd8; color: #0f1f1b; }
html[data-theme="light"] .pp-lang-drop { background: #FFFFFF; border-color: #d1dfd8; box-shadow: 0 16px 36px rgba(16,40,32,.12); }
html[data-theme="light"] .pp-lang-opt { color: #556862; }
html[data-theme="light"] .pp-lang-opt:hover { background: #e8f1ed; color: #047857; }
html[data-theme="light"] .pp-lang-opt.is-active { background: #d9f5e8; color: #065f46; }
html[data-theme="light"] .pp-feat-card { background: #FFFFFF; border-color: rgba(18,38,31,0.08); box-shadow: 0 6px 20px rgba(16,40,32,.06); }
html[data-theme="light"] .pp-faq-row { background: #FFFFFF; border-color: rgba(18,38,31,0.08); box-shadow: 0 2px 10px rgba(16,40,32,.04); }
html[data-theme="light"] .pp-faq-row.is-open { border-color: #10b981; }
html[data-theme="light"] .pp-faq-q { color: #0f1f1b; }
html[data-theme="light"] .pp-faq-ans { color: #556862; }
html[data-theme="light"] .pp-feat-icon { background: #d9f5e8; border-color: #a7f3d0; color: #047857; }
html[data-theme="light"] .pp-feat-title { color: #0f1f1b; }
html[data-theme="light"] .pp-feat-desc { color: #556862; }
html[data-theme="light"] .pp-sec-title { color: #0f1f1b; }
html[data-theme="light"] .pp-sec-sub { color: #556862; }
html[data-theme="light"] #faq .collapsible-header { background: #FFFFFF !important; border-color: rgba(18,38,31,0.08) !important; }
html[data-theme="light"] #faq .collapsible-content { background: #f4f7f3 !important; color: #556862 !important; }
html[data-theme="light"] .pp-help-cta { background: #FFFFFF; border-color: rgba(16,185,129,.4); box-shadow: 0 4px 14px rgba(16,40,32,.06); }
html[data-theme="light"] .pp-help-cta-title { color: #0f1f1b; }
html[data-theme="light"] .pp-help-cta-sub { color: #556862; }
html[data-theme="light"] .pp-footer { background: #FFFFFF; border-top-color: rgba(18,38,31,0.08); }
html[data-theme="light"] .pp-footer-h { color: #0f1f1b; }
html[data-theme="light"] .pp-footer-desc, html[data-theme="light"] .pp-footer-links a { color: #556862; }
html[data-theme="light"] .pp-footer-links a:hover { color: #047857; }
html[data-theme="light"] .pp-footer-btn-wa { background: #FFFFFF; border-color: #25D366; }
html[data-theme="light"] .pp-footer-soc a { background: #f4f7f3; border-color: rgba(18,38,31,0.08); color: #0f1f1b; }
html[data-theme="light"] .pp-footer-soc a:hover { border-color: #10b981; color: #047857; }
html[data-theme="light"] .pp-qris-pill { background: #f4f7f3; border-color: rgba(18,38,31,0.08); }
html[data-theme="light"] .pp-qris-pill small { color: #556862; }
html[data-theme="light"] .pp-footer-bottom { border-top-color: rgba(18,38,31,0.08); color: #8a9893; }
html[data-theme="light"] .flex.justify-center button.bg-surface-6 { background: #FFFFFF !important; border-color: #d1dfd8 !important; color: #0f1f1b !important; }


/* Struk dibuka ulang: tampil langsung tanpa animasi printer */
.pp-rc.no-anim, .pp-rc.no-anim * { animation-duration: 0s !important; animation-delay: 0s !important; transition: none !important; }

/* Ganti tema: lingkaran membuka dari titik tap (View Transitions + cadangan) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.pp-vt-run::view-transition-old(root) { z-index: 1; }
html.pp-vt-run::view-transition-new(root) { z-index: 2; animation: pp-vt-reveal .72s cubic-bezier(.7,0,.2,1) both; }
@keyframes pp-vt-reveal { from { clip-path: circle(0 at var(--pp-vt-x, 50%) var(--pp-vt-y, 0)); } to { clip-path: circle(var(--pp-vt-r, 150vmax) at var(--pp-vt-x, 50%) var(--pp-vt-y, 0)); } }
.pp-theme-wipe { position: fixed; inset: 0; z-index: 2147483000; pointer-events: none; will-change: clip-path, opacity;
  clip-path: circle(0 at var(--pp-vt-x, 50%) var(--pp-vt-y, 0)); -webkit-clip-path: circle(0 at var(--pp-vt-x, 50%) var(--pp-vt-y, 0));
  transition: clip-path .56s cubic-bezier(.7,0,.2,1), -webkit-clip-path .56s cubic-bezier(.7,0,.2,1), opacity .3s ease; }
.pp-theme-wipe.is-grow { clip-path: circle(var(--pp-vt-r, 150vmax) at var(--pp-vt-x, 50%) var(--pp-vt-y, 0)); -webkit-clip-path: circle(var(--pp-vt-r, 150vmax) at var(--pp-vt-x, 50%) var(--pp-vt-y, 0)); }
.pp-theme-wipe.is-fade { opacity: 0; }

/* Teks Berjalan (Running Text / Pengumuman) */
.pp-ticker-bar {
  position: relative; z-index: 150;
  display: flex; align-items: center;
  background: #091713; border-bottom: 1px solid rgba(52, 211, 153, 0.18);
  font-family: var(--font-barlow, system-ui, sans-serif);
  height: 36px; overflow: hidden;
}
.pp-ticker-badge {
  display: inline-flex; align-items: center; gap: 5px;
  height: 100%; padding: 0 12px;
  background-color: #10b981; background-image: linear-gradient(90deg, #10b981, #34d399);
  color: #05322a; font-size: 11px; font-weight: 900; letter-spacing: 0.05em;
  flex-shrink: 0; z-index: 2;
  box-shadow: 2px 0 10px rgba(0,0,0,.35);
}
.pp-ticker-badge svg { width: 14px; height: 14px; }
.pp-ticker-vp {
  flex: 1; min-width: 0; overflow: hidden; height: 100%;
  display: flex; align-items: center; position: relative;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 24px), transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 calc(100% - 24px), transparent 100%);
}
.pp-ticker-track {
  display: flex; width: max-content; will-change: transform;
  animation: ppTickerScroll 36s linear infinite !important;
}
.pp-ticker-bar:hover .pp-ticker-track { animation-play-state: paused !important; }
.pp-ticker-grp {
  display: flex; align-items: center; gap: 24px; white-space: nowrap; padding-right: 24px;
  color: #CBD5E1; font-size: 12.5px; font-weight: 600;
}
.pp-ticker-sep {
  display: inline-block; width: 5px; height: 5px; border-radius: 50%;
  background: #34d399; opacity: .85; margin: 0 12px;
}
@keyframes ppTickerScroll {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* Banner Mode Maintenance */
.pp-maint-bar {
  position: relative; z-index: 160;
  background: linear-gradient(90deg, #991b1b, #b91c1c);
  color: #fff; border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 16px; font-family: var(--font-barlow, system-ui, sans-serif);
}
.pp-maint-in {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13px; font-weight: 700; text-align: center;
}
.pp-maint-in svg { width: 18px; height: 18px; color: #fef08a; flex-shrink: 0; }

/* Light Theme Overrides untuk Ticker & Maintenance */
html[data-theme="light"] .pp-ticker-bar {
  background: #e4ebe6; border-bottom-color: rgba(18, 38, 31, 0.08);
}
html[data-theme="light"] .pp-ticker-badge {
  background-color: #12261f; background-image: linear-gradient(90deg, #12261f, #1c3a31); color: #fff;
}
html[data-theme="light"] .pp-ticker-grp { color: #0f1f1b; }

/* ---------- Store Opening Splash (Admin V22 Signature - GPU Transform Iris Reveal) ---------- */
.pp-store-splash {
  position: fixed; inset: 0; z-index: 999999;
  display: grid; place-items: center; pointer-events: none; overflow: hidden;
  transition: opacity .25s ease .45s;
}
.pp-store-splash-bg {
  position: absolute; left: 50%; top: 50%; width: 250vmax; height: 250vmax; border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  background: radial-gradient(circle at 50% 50%, #1d3b32 0%, #10241e 38%, #0a1714 75%);
  transition: transform .68s cubic-bezier(.7, 0, .2, 1);
  will-change: transform;
}
.pp-store-splash-glow {
  position: absolute; width: 440px; height: 440px; border-radius: 50%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.25), transparent 65%);
  animation: ppPulse 2s ease-in-out infinite;
  transition: transform .4s ease, opacity .35s ease;
}
.pp-store-splash-logo {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 12px;
  animation: ppSplashIn .5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: opacity .3s ease .1s;
}
.pp-store-splash-logo img {
  width: 68px; height: 68px; border-radius: 18px;
  box-shadow: 0 16px 36px rgba(0,0,0,.5), 0 0 0 4px rgba(52,211,153,.18), 0 0 36px rgba(52,211,153,.3);
}
.pp-store-splash-logo span {
  font: 800 13px/1 Barlow, sans-serif; letter-spacing: .08em; text-transform: uppercase; color: #e8f1ed;
  transition: opacity .2s ease;
}
.pp-store-splash.is-leaving {
  opacity: 0;
}
.pp-store-splash.is-leaving .pp-store-splash-bg {
  transform: translate(-50%, -50%) scale(0);
}
.pp-store-splash.is-leaving .pp-store-splash-glow {
  opacity: 0; transform: scale(0.3);
}
.pp-store-splash.is-leaving .pp-store-splash-logo span {
  opacity: 0;
}
@keyframes ppPulse { 50% { transform: scale(1.12); opacity: .75; } }
@keyframes ppSplashIn { from { opacity: 0; transform: scale(.86); } to { opacity: 1; transform: none; } }

/* ---------- Efek Visual & Animasi Admin V22 di Toko ---------- */
/* 1. Ambient Background Glow Blobs (0ms GPU blur, pure radial-gradient) */
.pp-bg-blobs { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.pp-blob { position: absolute; border-radius: 50%; pointer-events: none; }
.pp-blob-a { width: 560px; height: 560px; left: -140px; top: -160px; background: radial-gradient(circle, rgba(52, 211, 153, 0.16) 0%, transparent 70%); }
.pp-blob-b { width: 620px; height: 620px; right: -180px; bottom: 8%; background: radial-gradient(circle, rgba(240, 138, 75, 0.12) 0%, transparent 70%); }
.pp-blob-c { width: 420px; height: 420px; right: 20%; top: -100px; background: radial-gradient(circle, rgba(16, 185, 129, 0.14) 0%, transparent 70%); }
html[data-theme="light"] .pp-blob-a { background: radial-gradient(circle, rgba(167, 230, 200, 0.50) 0%, transparent 70%); }
html[data-theme="light"] .pp-blob-b { background: radial-gradient(circle, rgba(250, 205, 170, 0.44) 0%, transparent 70%); }
html[data-theme="light"] .pp-blob-c { background: radial-gradient(circle, rgba(214, 236, 226, 0.70) 0%, transparent 70%); }
main { position: relative; z-index: 1; }

/* 2. Glass Bevel 3D & Shadow pada Kartu */
.bg-surface-2, .bg-surface-4, .pp-feat-card {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 8px 24px rgba(0, 0, 0, 0.28) !important;
}
html[data-theme="light"] .bg-surface-2, html[data-theme="light"] .bg-surface-4, html[data-theme="light"] .pp-feat-card {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 4px 18px rgba(16, 40, 32, 0.06) !important;
}

/* 3. Above-the-fold Stagger Reveal + Hover/Spring Micro-interactions */
.pp-anim-in-now {
  animation: ppCardEnter .55s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--pp-stagger, 0ms);
}
@keyframes ppCardEnter {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
button, .pp-pref-btn, .pp-hero-cta, .pp-fold-btn {
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.18s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}
button:active, .pp-pref-btn:active, .pp-hero-cta:active {
  transform: scale(0.94) !important;
}
.pp-pref-btn:hover svg { transform: rotate(-12deg) scale(1.08); transition: transform .25s cubic-bezier(0.34, 1.56, 0.64, 1); }

/* 4. Tab Kategori Glider (Spring Indicator) */
.pp-cat-glider {
  position: absolute; bottom: 0; left: 0; height: 100%; border-radius: 999px;
  background: linear-gradient(180deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 0; pointer-events: none;
}

/* 5. Override sisa inline warna lama di HTML (Home SVG, Step Badges, FAQ Order) */
[data-gtm="menu-home"] svg path[fill="#EF4444"],
[data-gtm="menu-home"] svg g[filter] path { fill: #34d399 !important; }
html[data-theme="light"] [data-gtm="menu-home"] svg path[fill="#EF4444"],
html[data-theme="light"] [data-gtm="menu-home"] svg g[filter] path { fill: #047857 !important; }
div[class*="bg-[linear-gradient(180deg,#EF4444_0%,#F87171_100%)]"] {
  background: linear-gradient(180deg, #34d399 0%, #10b981 100%) !important;
}
details[style*="linear-gradient"] {
  background-image: none !important; background-color: #10241e !important;
  border-color: rgba(52, 211, 153, 0.18) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}
html[data-theme="light"] details[style*="linear-gradient"] {
  background-image: none !important; background-color: #ffffff !important;
  border-color: rgba(18, 38, 31, 0.08) !important;
  box-shadow: 0 4px 14px rgba(16, 40, 32, 0.05) !important;
}
details[style*="linear-gradient"] summary h3 { color: #e8f1ed !important; }
html[data-theme="light"] details[style*="linear-gradient"] summary h3 { color: #0f1f1b !important; }
details[style*="linear-gradient"] > div { color: #8a9893 !important; }
html[data-theme="light"] details[style*="linear-gradient"] > div { color: #556862 !important; }

/* ===== V22 sisa template: border/ring surface, glow header, kartu game, teaser artikel ===== */
/* rrq.css menulis rgb(30 41 59) langsung, tidak lewat variabel */
.border-surface-6 { border-color: #1a382f !important; }
.border-surface-5 { border-color: #081411 !important; }
.ring-surface-6 { --tw-ring-color: #1a382f !important; }
html[data-theme="light"] .ring-surface-6 { --tw-ring-color: rgba(18, 38, 31, 0.12) !important; }
/* tombol header bulat (template navy) */
[class*="bg-[#0F172A]"] { background-color: #10241e !important; border-color: rgba(52, 211, 153, 0.16) !important; }
/* glow di bawah header: merah→navy + blur(30px) diganti mint lembut tanpa blur (ringan di Safari) */
.bg-top-under-nav, [style*="#EF4444 0%, #080E1A"] {
  background: radial-gradient(35.51% 50% at 50% 50%, rgba(16, 185, 129, 0.32) 0%, rgba(11, 26, 22, 0) 100%) !important;
  filter: none !important;
}
html[data-theme="light"] .bg-top-under-nav, html[data-theme="light"] [style*="#EF4444 0%, #080E1A"] {
  background: radial-gradient(35.51% 50% at 50% 50%, rgba(16, 185, 129, 0.16) 0%, rgba(238, 241, 236, 0) 100%) !important;
}
/* bingkai kartu game: ungu→navy jadi mint→pine */
[class*="bg-[linear-gradient(180deg,#AB5CEB_0%,#1E293B"] {
  background-image: linear-gradient(180deg, rgba(52, 211, 153, 0.75) 0%, #1a382f calc(100% - 47px)) !important;
}
@media (min-width: 768px) {
  [class*="bg-[linear-gradient(180deg,#AB5CEB_0%,#1E293B"] {
    background-image: linear-gradient(180deg, rgba(52, 211, 153, 0.75) 0%, #1a382f calc(100% - 65px)) !important;
  }
}
/* teaser artikel di beranda */
a[class*="from-[#111A2E]"] { background-image: linear-gradient(to right, #10241e, #16322a) !important; }
html[data-theme="light"] a[class*="from-[#111A2E]"] { background-image: linear-gradient(to right, #ffffff, #e8f1ed) !important; }


/* Animasi Smooth Icon Bintang & Bagian Favorite */
@keyframes pp-star-glow {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.45));
  }
  50% {
    transform: scale(1.1) rotate(4deg);
    filter: drop-shadow(0 0 16px rgba(52, 211, 153, 0.85)) drop-shadow(0 0 25px rgba(240, 138, 75, 0.5));
  }
}

.pp-fav-star-anim {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform-origin: center;
  animation: pp-star-glow 3.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.pp-fav-star-anim:hover {
  animation-play-state: paused;
  transform: scale(1.22) rotate(12deg);
  filter: drop-shadow(0 0 20px rgba(52, 211, 153, 0.95)) drop-shadow(0 0 30px rgba(240, 138, 75, 0.7));
}

@keyframes pp-fav-title-shimmer {
  0%, 100% {
    filter: brightness(1);
    letter-spacing: 0.02em;
  }
  50% {
    filter: brightness(1.18) drop-shadow(0 0 10px rgba(52, 211, 153, 0.35));
    letter-spacing: 0.035em;
  }
}

.pp-fav-title-anim {
  display: inline-block;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: pp-fav-title-shimmer 4s ease-in-out infinite;
}


/* Perbaikan teks Beli Sekarang: putih bersih tanpa stroke hitam pemakan huruf */
#btn-main-submit, #btn-sticky-action, .pp-cta-ready, .pp-cta-next {
  -webkit-text-stroke: 0 !important;
  paint-order: normal !important;
}
#btn-main-submit div {
  color: #05322a !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
}
#btn-main-submit > div.w-full.flex.justify-center {
  margin-left: 42px !important;
  width: calc(100% - 42px) !important;
  padding-left: 8px !important;
  padding-right: 48px !important;
}
#btn-main-submit .bg-surface-3 {
  background-color: #05322a !important;
}
#btn-main-submit span.font-barlow {
  color: #FFFFFF !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
}
#btn-sticky-action, #btn-sticky-action span {
  color: #FFFFFF !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
}
#btn-sticky-action.pp-cta-next {
  color: #34d399 !important;
  text-shadow: none;
}
#btn-sticky-action.pp-cta-ready {
  color: #05322a !important;
  text-shadow: none;
}

/* ============================================================================
   ANIMASI MODAL, TOAST, ACCORDION, STAGGER & FAQ DETAILS
   ============================================================================ */
.pp-modal-wrap {
  animation: ppModalFadeIn .22s ease-out both;
}
.pp-modal-card {
  animation: ppModalPopIn .34s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.pp-modal-wrap.pp-modal-closing {
  animation: ppModalFadeOut .20s ease-in forwards !important;
  pointer-events: none !important;
}
.pp-modal-wrap.pp-modal-closing .pp-modal-card {
  animation: ppModalPopOut .20s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
}
@keyframes ppModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes ppModalFadeOut {
  from { opacity: 1; }
  to { opacity: 0; }
}
@keyframes ppModalPopIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes ppModalPopOut {
  from { opacity: 1; transform: scale(1); }
  to { opacity: 0; transform: scale(0.96); }
}

.pp-toast {
  opacity: 0;
  transform: translateY(12px) scale(0.92);
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s ease;
}
.pp-toast.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.pp-toast.is-leaving {
  opacity: 0;
  transform: translateY(-8px) scale(0.96);
  transition: transform 0.22s ease-in, opacity 0.22s ease-in;
}

@keyframes ppSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* Smooth FAQ <details> expand + chevron rotate */
details.group {
  interpolate-size: allow-keywords;
  transition: border-color .2s ease, background-color .2s ease;
}
details.group::details-content {
  opacity: 0;
  transition: opacity .28s ease, content-visibility .28s allow-discrete;
}
details.group[open]::details-content {
  opacity: 1;
}
details.group summary span[class*="shrink-0"] {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex !important;
  align-items: center;
  justify-content: center;
}
details.group[open] summary span[class*="shrink-0"] {
  transform: rotate(180deg);
}
details.group summary img {
  pointer-events: none;
}
details.group[open] summary img.group-open\:hidden {
  display: block !important;
}
details.group[open] summary img.group-open\:block {
  display: none !important;
}
details.group[open] > div.font-inter {
  animation: ppFaqExpand 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes ppFaqExpand {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ============================================================================
   PERF: MOBILE GPU OPTIMIZATION & OFFSCREEN ANIMATION PAUSING
   ============================================================================ */

/* 1. Mobile blur removal: replace expensive GPU blur passes with solid/semi-opaque surfaces */
@media (max-width: 768px) {
  .backdrop-blur-\[6px\],
  .backdrop-blur-\[4px\],
  .backdrop-blur-sm,
  .backdrop-blur-md {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  /* Card label footer solid fill */
  [data-game-card] .backdrop-blur-\[6px\],
  .grid .backdrop-blur-\[6px\] {
    background: rgba(12, 20, 36, 0.88) !important;
  }
  html[data-theme="light"] [data-game-card] .backdrop-blur-\[6px\],
  html[data-theme="light"] .grid .backdrop-blur-\[6px\] {
    background: rgba(255, 255, 255, 0.94) !important;
  }
  /* Decorative background glow dots without filter: blur */
  .blur-\[10px\],
  .blur-\[60px\],
  .blur-\[30px\] {
    filter: none !important;
    opacity: 0.16 !important;
  }
  /* Hero background decorative orbs using pure radial-gradient instead of blur(40px) */
  .pp-hero-bg .o1, .pp-hero-bg .o2 {
    filter: none !important;
  }
  .tone-ember .o1 { background: radial-gradient(circle, rgba(240,138,75,0.45) 0%, transparent 70%) !important; }
  .tone-ember .o2 { background: radial-gradient(circle, rgba(52,211,153,0.35) 0%, transparent 70%) !important; }
  .tone-jade  .o1 { background: radial-gradient(circle, rgba(52,211,153,0.45) 0%, transparent 70%) !important; }
  .tone-jade  .o2 { background: radial-gradient(circle, rgba(16,185,129,0.35) 0%, transparent 70%) !important; }
  .tone-azure .o1 { background: radial-gradient(circle, rgba(52,211,153,0.45) 0%, transparent 70%) !important; }
  .tone-azure .o2 { background: radial-gradient(circle, rgba(6,182,212,0.35) 0%, transparent 70%) !important; }
  .tone-gold  .o1 { background: radial-gradient(circle, rgba(240,138,75,0.45) 0%, transparent 70%) !important; }
  .tone-gold  .o2 { background: radial-gradient(circle, rgba(52,211,153,0.35) 0%, transparent 70%) !important; }
}

/* Header blur is preserved (1 essential blur element on mobile) */
main > div.sticky.top-0 {
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

/* 2. Pause infinite animations when off-screen or tab is hidden */
.pp-anim-paused,
.pp-anim-paused *,
.pp-anim-paused .o1,
.pp-anim-paused .pp-hero-cover,
.pp-anim-paused .pp-ticker-track,
html.pp-tab-hidden .pp-hero-slide.is-active .o1,
html.pp-tab-hidden .pp-hero-slide.is-active .pp-hero-cover,
html.pp-tab-hidden .pp-hero-slide.is-active .pp-hero-qr::after,
html.pp-tab-hidden .pp-ticker-track,
html.pp-tab-hidden .pp-fav-star-anim,
html.pp-tab-hidden .pp-fav-title-anim,
html.pp-tab-hidden .pp-resume-dot {
  animation-play-state: paused !important;
}

/* ============================================================================
   MOBILE-ONLY ANIMATION & GPU OPTIMIZATION (<= 768px)
   ============================================================================ */
@media (max-width: 768px) {
  /* 1. Card entrance: transform+opacity only, 0.4s load, no heavy shadow during entrance */
  .pp-anim-in-now {
    animation-name: ppCardEnterMobile !important;
    animation-duration: 0.4s !important;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
    will-change: transform, opacity !important;
    box-shadow: none !important;
  }
  .pp-anim-in-now .bg-surface-2,
  .pp-anim-in-now .bg-surface-4 {
    box-shadow: none !important;
  }
  @keyframes ppCardEnterMobile {
    from {
      opacity: 0;
      transform: translateY(14px) scale(0.985);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }
  .pp-anim-done {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    will-change: auto !important;
    transition: box-shadow 0.3s ease !important;
  }
  .pp-anim-wait {
    will-change: auto !important;
  }

  /* 2. Star glow: static pre-rendered glow, animate opacity/transform only */
  @keyframes pp-star-glow-mobile {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(4deg); }
  }
  @keyframes pp-star-halo-mobile {
    0%, 100% { opacity: 0.25; transform: scale(0.85); }
    50% { opacity: 0.95; transform: scale(1.15); }
  }
  .pp-fav-star-anim {
    position: relative;
    filter: drop-shadow(0 0 6px rgba(52, 211, 153, 0.45));
    animation: pp-star-glow-mobile 3.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
    transition: transform 0.4s ease;
  }
  .pp-fav-star-anim::before {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.55) 0%, rgba(240, 138, 75, 0.3) 45%, transparent 72%);
    pointer-events: none;
    z-index: -1;
    animation: pp-star-halo-mobile 3.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  }

  /* 3. Title shimmer: transform-only gradient sweep via ::after (preserves ::before bar) */
  @keyframes pp-fav-shimmer-mobile {
    0%, 20% { transform: translate3d(-130%, 0, 0); opacity: 0; }
    35% { opacity: 1; }
    65% { opacity: 1; }
    80%, 100% { transform: translate3d(240%, 0, 0); opacity: 0; }
  }
  .pp-fav-title-anim {
    position: relative;
    overflow: hidden;
    animation: none;
    transition: none;
    letter-spacing: 0.02em;
  }
  .pp-fav-title-anim::after {
    content: "";
    position: absolute;
    top: -15%;
    bottom: -15%;
    left: 0;
    width: 55%;
    background: linear-gradient(105deg, transparent 0%, rgba(52, 211, 153, 0.16) 42%, rgba(255, 255, 255, 0.28) 50%, rgba(52, 211, 153, 0.16) 58%, transparent 100%);
    transform: translate3d(-130%, 0, 0);
    pointer-events: none;
    animation: pp-fav-shimmer-mobile 4s ease-in-out infinite;
  }

  /* 4. Pause mobile pseudo-element & infinite animations when off-screen or tab hidden */
  .pp-anim-paused,
  .pp-anim-paused::before,
  .pp-anim-paused::after,
  .pp-anim-paused *,
  .pp-anim-paused *::before,
  .pp-anim-paused *::after,
  html.pp-tab-hidden .pp-fav-star-anim::before,
  html.pp-tab-hidden .pp-fav-title-anim::after,
  html.pp-tab-hidden .pp-ticker-track,
  html.pp-tab-hidden .pp-fav-star-anim,
  html.pp-tab-hidden .pp-fav-title-anim {
    animation-play-state: paused !important;
  }

  /* 5. Replace remaining backdrop-filter (.pp-bn, .pp-ov, sticky header) with semi-opaque solid */
  .pp-bn,
  .pp-ov,
  main > div.sticky.top-0 {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
  .pp-ov {
    background: rgba(6, 16, 12, 0.92) !important;
  }
  .pp-bn {
    background: #0b1a16 !important;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4) !important;
  }
  main > div.sticky.top-0 {
    background: rgba(11, 26, 22, 0.97) !important;
  }
  html[data-theme="light"] .pp-ov {
    background: rgba(11, 26, 22, 0.72) !important;
  }
  html[data-theme="light"] .pp-bn {
    background: #ffffff !important;
    box-shadow: 0 -4px 16px rgba(16, 40, 32, 0.08) !important;
  }
  html[data-theme="light"] main > div.sticky.top-0 {
    background: rgba(238, 241, 236, 0.98) !important;
  }

  /* 7. content-visibility for far below-the-fold sections */
  #faq,
  footer.pp-footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 480px;
  }
}

/* 6. Mobile reduced motion */
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
  .pp-anim-in-now {
    animation-name: ppCardFadeReduced !important;
    animation-duration: 0.2s !important;
    animation-timing-function: ease !important;
  }
  @keyframes ppCardFadeReduced {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  .pp-anim-wait {
    transform: none !important;
    transition: opacity 0.2s ease !important;
  }
  .pp-fav-star-anim,
  .pp-fav-star-anim::before,
  .pp-fav-title-anim,
  .pp-fav-title-anim::after,
  .pp-hero-slide.is-active .o1,
  .pp-hero-slide.is-active .pp-hero-cover,
  .pp-hero-slide.is-active .pp-hero-qr::after,
  .pp-resume-dot,
  .pp-blob {
    animation: none !important;
  }
  .pp-ticker-track { animation: ppTickerScroll 80s linear infinite !important; }
}


/* ============================================================================
   THEME, CONTRAST & OVERLAP FIXES (2026-11-13)
   ============================================================================ */
.papih-game-header-card {
  background-color: #111b33 !important;
  background-image: linear-gradient(135deg, #1e2b47 0%, #111b33 50%, #0b1322 100%) !important;
}
html[data-theme="light"] .papih-game-header-card .text-blue-400 {
  color: #fdba8c !important;
}
html[data-theme="light"] .papih-game-header-card .text-emerald-400 {
  color: #34d399 !important;
}
html[data-theme="light"] .text-blue-400 {
  color: #9a3412 !important;
}
html[data-theme="light"] span.inline-block.px-8.py-2 {
  color: #065f46 !important;
  background-color: #d1fae5 !important;
}
html[data-theme="light"] .text-\[\#ffffff80\],
html[data-theme="light"] [class*="text-white/"] {
  color: #42544e !important;
}
html[data-theme="light"] .product-description-content,
html[data-theme="light"] .product-description-content p,
html[data-theme="light"] .product-description-content li,
html[data-theme="light"] .product-description-content span {
  color: #334740 !important;
}
html[data-theme="light"] .product-description-content h3,
html[data-theme="light"] .product-description-content strong {
  color: #0f1f1b !important;
}
html[data-theme="light"] .pp-footer-pay-label,
html[data-theme="light"] .pp-footer-bottom {
  color: #4a5c56 !important;
}
html[data-theme="light"] .pp-drawer div[style*="color:#8a9893"],
html[data-theme="light"] .pp-drawer span[style*="color:#8a9893"] {
  color: #334740 !important;
}
html[data-theme="light"] div:has(> #btn-guide),
html[data-theme="light"] div:has(> #btn-how-to) {
  background-color: #ffffff !important;
  border-color: rgba(18, 38, 31, 0.22) !important;
  box-shadow: 0 2px 6px rgba(16, 40, 32, 0.06) !important;
}
html[data-theme="light"] div:has(> #btn-guide) svg path,
html[data-theme="light"] div:has(> #btn-how-to) svg path {
  fill: #047857 !important;
  stroke: #047857 !important;
}
html[data-theme="light"] #btn-guide,
html[data-theme="light"] #btn-how-to {
  color: #0f1f1b !important;
}
@media (max-width: 768px) {
  .pp-sh {
    padding: 12px 14px 0 !important;
  }
  .pp-sh::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 96px;
    background: #0b1a16;
    z-index: -1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  }
  html[data-theme="light"] .pp-sh::before {
    background: #eef1ec;
    box-shadow: 0 4px 16px rgba(16, 40, 32, 0.08);
  }
  .pp-sin {
    height: 46px !important;
  }
}

/* G3 commerce: reuses Pine & Mint, both themes. */
.pp-commerce-note{padding:14px;border-radius:14px;background:#16322a;color:#a7f3d0;overflow-wrap:anywhere}
.pp-promo-time{font-size:10px;line-height:1.5;color:#34d399;white-space:normal;overflow-wrap:anywhere;display:block;margin-top:4px}
html[data-theme="light"] .pp-commerce-note{background:#ecfdf5;color:#047857}
html[data-theme="light"] .pp-promo-time{color:#047857}
.game-maintenance-active [data-product-id]{pointer-events:none;opacity:.6}
.game-maintenance-active #rrq-sticky-checkout-bar button{display:none!important}

.game-maintenance-active #btn-main-submit{display:none!important}

/* Crisp label for the order confirmation primary action. */
.pp-confirm-pay { color: #04140d !important; -webkit-text-stroke: 0 !important; paint-order: normal !important; text-shadow: none !important; font-weight: 900; }

/* Papih interaction feedback */
@media (hover:hover) {
  [data-gtm], #id-search_game, .pp-fold-btn, #btn-check-promo, #btn-main-submit, .pp-hero-dots button { transition: transform .18s ease-out, outline-color .18s ease-out; }
  [data-gtm]:hover, #id-search_game:hover, .pp-fold-btn:hover, #btn-check-promo:hover, #btn-main-submit:hover, .pp-hero-dots button:hover { transform: translateY(-1px); }
  .pp-fold-btn:hover { color: var(--mint, #34d399); box-shadow: 0 0 14px rgba(52,211,153,.24); }
}
:where([data-gtm], #id-search_game, .pp-fold-btn, #btn-check-promo, #btn-main-submit, .pp-hero-dots button):focus-visible { outline: 2px solid #34d399; outline-offset: 3px; }
:where([data-gtm], #id-search_game, .pp-fold-btn, #btn-check-promo, #btn-main-submit, .pp-hero-dots button):active { transform: scale(.96); transition-duration: 120ms; }
.papih-card.is-selected { box-shadow: inset 0 1px 0 rgba(255,255,255,.28), inset 0 -4px 0 rgba(0,0,0,.4), 0 14px 30px -8px rgba(52,211,153,.35); }
.papih-card.is-selected .papih-card-check { opacity: 1; transform: scale(1); transition: transform .18s ease-out, opacity .18s ease-out; }
.pp-hero-dots button { width: 24px; height: 8px; background: rgba(52,211,153,.16); }
.pp-hero-dots button.on { width: 24px; }
.pp-hero-dots button i { width: 100%; transform: scaleX(0); transform-origin: left; box-shadow: 0 0 8px rgba(52,211,153,.38); }
.pp-hero.is-paused .pp-hero-dots button.on i, html.pp-tab-hidden .pp-hero-dots button.on i { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) { .pp-hero-slide.is-active .pp-hero-qr::after { animation: none; } }

/* Lightweight animation replacements */
@keyframes pp-urgent { 50% { opacity: .45; transform: scale(1.08); } }
.pp-timer.is-urgent { position: relative; isolation: isolate; animation: none; }
.pp-timer.is-urgent::after { content: ''; position: absolute; inset: -4px; z-index: -1; border-radius: inherit; background: rgba(240,138,75,.22); opacity: .25; transform: scale(.92); animation: pp-urgent 1s ease-in-out infinite alternate; pointer-events: none; }
.pp-resume-dot { position: relative; isolation: isolate; animation: none; box-shadow: none; }
.pp-resume-dot::after { content: ''; position: absolute; inset: -5px; z-index: -1; border-radius: inherit; background: rgba(52,211,153,.42); opacity: .2; transform: scale(.75); animation: pp-resume-pulse 1.6s ease-out infinite; pointer-events: none; }
@keyframes pp-resume-pulse { to { opacity: 0; transform: scale(1.8); } }
.pp-hero-slide.is-active .pp-hero-qr::after { top: 10%; animation: pp-hero-scan 2.4s ease-in-out infinite; }
@keyframes pp-star-glow-lite { 0%,100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.1) rotate(4deg); } }
@media (min-width:769px) {
.pp-fav-star-anim { position: relative; filter: none; animation: pp-star-glow-lite 3.5s ease-in-out infinite; }
.pp-fav-star-anim::before { content: ''; position: absolute; inset: -10px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(52,211,153,.5), transparent 70%); opacity: .25; transform: scale(.85); animation: pp-star-halo 3.5s ease-in-out infinite; pointer-events: none; }
.pp-fav-title-anim { position: relative; overflow: hidden; letter-spacing: .02em; filter: none; animation: none; transition: none; }
.pp-fav-title-anim::after { content: ''; position: absolute; inset: -15% 0; width: 55%; background: linear-gradient(105deg,transparent,rgba(52,211,153,.16) 42%,rgba(255,255,255,.28) 50%,rgba(52,211,153,.16) 58%,transparent); transform: translateX(-130%); pointer-events: none; animation: pp-fav-shimmer 4s ease-in-out infinite; }
}
@keyframes pp-star-halo { 0%,100% { opacity: .25; transform: scale(.85); } 50% { opacity: .9; transform: scale(1.15); } }
@keyframes pp-fav-shimmer { 0%,20% { transform: translateX(-130%); opacity: 0; } 35%,65% { opacity: 1; } 80%,100% { transform: translateX(240%); opacity: 0; } }

@media (prefers-reduced-motion: reduce) { .pp-timer.is-urgent::after,.pp-resume-dot::after { animation: none !important; } }
@media (min-width:769px) and (prefers-reduced-motion: reduce) { .pp-fav-star-anim,.pp-fav-star-anim::before,.pp-fav-title-anim::after { animation: none !important; } }
.pp-anim-paused *, .pp-anim-paused *::before, .pp-anim-paused *::after, html.pp-tab-hidden *::before, html.pp-tab-hidden *::after { animation-play-state: paused !important; }


/* Paket A — detail gerak ringan */
@keyframes ppAliveReveal {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.pp-anim-in-now {
  animation: ppAliveReveal 380ms cubic-bezier(.16,1,.3,1) both !important;
  animation-delay: var(--pp-stagger, 0ms) !important;
}

@keyframes ppGameCardSweep {
  0% { opacity: 0; transform: translateX(-150%); }
  2% { opacity: .9; }
  15% { opacity: 0; transform: translateX(150%); }
  100% { opacity: 0; transform: translateX(150%); }
}
[data-game-card] .aspect-square { position: relative; }
[data-game-card] .aspect-square::after {
  content: ''; position: absolute; inset: 0; z-index: 2; width: 55%; pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, rgba(52,211,153,.16) 40%, rgba(255,255,255,.22) 50%, rgba(52,211,153,.16) 60%, transparent 100%);
  opacity: 0; transform: translateX(-150%); animation: ppGameCardSweep 6s ease-in-out infinite;
}
[data-game-card]:nth-child(6n+1) .aspect-square::after { animation-delay: 0s; }
[data-game-card]:nth-child(6n+2) .aspect-square::after { animation-delay: .9s; }
[data-game-card]:nth-child(6n+3) .aspect-square::after { animation-delay: 1.8s; }
[data-game-card]:nth-child(6n+4) .aspect-square::after { animation-delay: 2.7s; }
[data-game-card]:nth-child(6n+5) .aspect-square::after { animation-delay: 3.6s; }
[data-game-card]:nth-child(6n) .aspect-square::after { animation-delay: 4.5s; }

@keyframes ppPromoBadgePulse { to { transform: scale(1.06); } }
@keyframes ppPromoCoralHalo { to { opacity: .7; transform: scale(1.12); } }
.papih-card-ribbon { position: absolute; isolation: isolate; animation: ppPromoBadgePulse 1.8s ease-in-out infinite alternate; }
.papih-card-ribbon::after {
  content: ''; position: absolute; inset: -3px; z-index: -1; border-radius: inherit;
  background: rgba(240,138,75,.24); box-shadow: 0 0 12px 3px rgba(240,138,75,.42);
  opacity: .25; transform: scale(.96); animation: ppPromoCoralHalo 1.8s ease-in-out infinite alternate; pointer-events: none;
}

@keyframes ppCtaMintBreath { 0%,100% { opacity: .25; transform: scale(.96); } 50% { opacity: .7; transform: scale(1.04); } }
:is(#btn-sticky-action, #btn-main-submit, .pp-confirm-pay):not([disabled]):not(.is-disabled):not([aria-disabled="true"]) { position: relative; isolation: isolate; }
:is(#btn-sticky-action, #btn-main-submit, .pp-confirm-pay):not([disabled]):not(.is-disabled):not([aria-disabled="true"])::before {
  content: ''; position: absolute; inset: -4px; z-index: -1; border-radius: inherit;
  box-shadow: 0 0 18px 5px rgba(52,211,153,.5); opacity: .25; transform: scale(.96);
  animation: ppCtaMintBreath 2.4s ease-in-out infinite; pointer-events: none;
}

/* Prepaid cards have no decorative icon. */
.papih-card.is-noicon{padding-left:16px}
