/* Jean Shop — tema biru */
:root {
  --bg: #070b14;
  --bg-2: #0b1226;
  --header: #070b14;
  --panel: #0f1422;
  --panel-2: #161d2e;
  --line: #222c42;
  --text: #f1f5fb;
  --muted: #9aa6bb;
  --primary: #1d6fe0;
  --primary-2: #4f9bff;
  --grad: linear-gradient(135deg, #4aa3ff 0%, #2479f0 55%, #0f3f9e 100%);
  --radius: 14px;
  --display: "Lilita One", "Arial Black", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 14px;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 50% 0%, #0d2147 0%, transparent 70%),
    linear-gradient(180deg, #08101f 0%, var(--bg) 40%, #060a14 100%);
  background-color: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 16px; }
main.container { flex: 1; padding-top: 16px; padding-bottom: 48px; position: relative; z-index: 1; }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- latar bintang jatuh ---------- */
.stars { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.stars::before, .stars::after {
  content: ""; position: absolute; top: -20%; left: 0; width: 100%; height: 140%;
  background-image:
    linear-gradient(160deg, transparent 49.6%, rgba(255,255,255,.35) 50%, transparent 50.4%),
    radial-gradient(1.5px 1.5px at 20% 30%, #fff8, transparent),
    radial-gradient(1px 1px at 70% 60%, #fff6, transparent),
    radial-gradient(1.5px 1.5px at 40% 80%, #fff5, transparent),
    radial-gradient(1px 1px at 85% 20%, #fff7, transparent);
  background-size: 260px 260px, 300px 300px, 220px 220px, 340px 340px, 280px 280px;
  opacity: .25;
  animation: fall 14s linear infinite;
}
.stars::after { background-size: 380px 380px, 260px 260px, 300px 300px, 240px 240px, 320px 320px; animation-duration: 22s; opacity: .18; }
@keyframes fall { to { transform: translate(-60px, 260px); } }
@media (prefers-reduced-motion: reduce) { .stars::before, .stars::after { animation: none; } }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 7px; line-height: 1; flex: none; }
.logo-icon { height: 36px; width: auto; }
.logo-text { display: flex; flex-direction: column; align-items: stretch; }
.logo-main {
  font-family: "Anton", "Arial Narrow", sans-serif; font-size: 27px; letter-spacing: .5px;
  background: linear-gradient(90deg, #6cb8ff 0%, #2f7ff0 50%, #6cb8ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.logo-sub {
  margin-top: 1px; padding: 2px 0; border-radius: 3px; text-align: center;
  font-size: 8px; font-weight: 800; letter-spacing: 2.4px; color: #fff;
  background: linear-gradient(90deg, #2479f0, #0f3f9e);
}
.logo-lg .logo-icon { height: 52px; }
.logo-lg .logo-main { font-size: 40px; }
.logo-lg .logo-sub { font-size: 10px; letter-spacing: 3.6px; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--header) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-top { display: flex; align-items: center; gap: 16px; height: 64px; }
.search { position: relative; flex: 1; display: flex; align-items: center; gap: 10px; height: 42px; padding: 0 16px; border-radius: 999px; background: #151b2a; border: 1px solid #273149; color: var(--muted); }
.search:focus-within { border-color: var(--primary); color: var(--text); }
.search input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; font-weight: 600; }
.search input::placeholder { color: #c2cadb; }
.search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 6px; box-shadow: 0 20px 40px #000a; max-height: 70vh; overflow: auto; }
.search-results a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; color: var(--text); }
.search-results a:hover { background: var(--panel-2); }
.search-results small { display: block; color: var(--muted); font-size: 12px; }
.s-empty { padding: 12px; color: var(--muted); }
.icon-btn { display: none; width: 40px; height: 40px; border-radius: 50%; background: #151b2a; border: 1px solid #273149; place-items: center; }
.locale { display: flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px 0 8px; border-radius: 999px; background: #151b2a; border: 1px solid #273149; font-size: 12px; font-weight: 800; white-space: nowrap; }
.flag { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(#e11d2f 50%, #fff 50%); box-shadow: 0 0 0 2px #fff2; }

.nav { display: flex; gap: 28px; height: 44px; align-items: stretch; }
.nav a { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: #dbe3f0; border-bottom: 2px solid transparent; }
.nav a:hover { color: #fff; }
.nav a.active { color: var(--primary-2); border-bottom-color: var(--primary-2); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-radius: 18px; border: 2px solid #a6caff55; box-shadow: 0 0 0 1px #0006, 0 18px 50px #0f3f9e44; }
.hero-track { display: flex; transition: transform .6s cubic-bezier(.6,.05,.3,1); }
.slide { position: relative; flex: 0 0 100%; aspect-ratio: 3.1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; overflow: hidden; }
.slide::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, #ffffff0d 0 2px, transparent 2px 26px); }
.slide::after { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 90%; background: radial-gradient(closest-side, #ffffff40, transparent); }
.slide.img-slide { padding: 0; aspect-ratio: auto; background: #08101f; }
.img-slide::before, .img-slide::after { content: none; }
.img-slide img { width: 100%; height: auto; display: block; }
.slide > * { position: relative; z-index: 1; }
.s1 { background: radial-gradient(circle at 15% 30%, #8abfff 0, transparent 35%), radial-gradient(circle at 85% 70%, #ffffff33 0, transparent 35%), linear-gradient(120deg, #0f3f9e, #2479f0 55%, #aacdff); }
.s2 { background: radial-gradient(circle at 80% 20%, #fde68a88 0, transparent 35%), linear-gradient(120deg, #050d24, #0f3f9e 55%, #2479f0); }
.s3 { background: radial-gradient(circle at 20% 80%, #67e8f988 0, transparent 35%), linear-gradient(120deg, #0a2a66, #1d6fe0 50%, #00b4d8); }
.pill-logo { display: inline-flex; flex-direction: column; align-items: center; padding: 6px 18px; border-radius: 12px; background: #081a40cc; border: 2px solid #d3e5ff; font-family: var(--display); font-size: clamp(12px, 1.6vw, 20px); letter-spacing: 1px; line-height: 1; color: #e8f1ff; }
.pill-logo small { font-size: .55em; margin-top: 3px; padding: 1px 8px; background: #2479f0; border-radius: 4px; color: #fff; }
.slide h1, .slide h2 { display: flex; flex-direction: column; align-items: center; font-family: var(--display); font-weight: 400; line-height: .9; margin: 10px 0 14px; }
.welcome { font-size: clamp(20px, 4.4vw, 58px); color: #fff; text-shadow: 0 3px 0 #0b2c70, 0 6px 14px #0006; }
.big {
  font-size: clamp(40px, 10.5vw, 140px); letter-spacing: 1px; color: #fff;
  text-shadow: 0 2px 0 #d3e5ff, 0 5px 0 #2479f0, 0 9px 0 #0f3f9e, 0 14px 24px #071a42aa;
  transform: skewX(-6deg);
}
.ribbon { display: inline-block; padding: 8px 26px; font-family: var(--display); font-size: clamp(11px, 1.6vw, 20px); letter-spacing: .5px; color: #fff; background: linear-gradient(90deg, transparent, #0a2a66 15%, #0f3f9e 50%, #0a2a66 85%, transparent); text-transform: uppercase; }
a.ribbon:hover { color: #fde68a; }
.hero-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.hero-dots[hidden] { display: none; }
.hero-dots button { width: 8px; height: 8px; border-radius: 99px; background: #ffffff66; transition: width .3s; }
.hero-dots button.active { width: 24px; background: #fff; }

/* ---------- section ---------- */
.section { margin-top: 28px; }
.sec-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.sec-sub { margin-top: 10px; color: #d0d8e6; font-size: 13px; }
.page-title { font-family: var(--display); font-weight: 400; font-size: 34px; letter-spacing: .5px; }

.popular { margin-top: 18px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pop-card {
  position: relative; display: flex; align-items: center; gap: 12px; padding: 10px; min-height: 76px; border-radius: 12px; overflow: hidden;
  background: repeating-linear-gradient(120deg, #ffffff08 0 8px, transparent 8px 22px), linear-gradient(110deg, #0a1f4f, #0f3f9e 60%, #2479f0);
  border-bottom: 3px solid #3a8cf5; transition: transform .2s, box-shadow .2s;
}
.pop-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px #0f3f9e55; }
.pop-card b { display: block; font-size: 14px; font-weight: 800; }
.pop-card small { display: block; margin-top: 3px; font-size: 11px; color: #dce9ff; }

/* Cover generik (dipakai di populer, pencarian, halaman produk) */
.cover { position: relative; flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 10px; background: radial-gradient(circle at 30% 20%, #ffffff40, transparent 50%), linear-gradient(145deg, var(--c1), var(--c2)); }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-mark { font-family: var(--display); color: #fff; text-shadow: 0 2px 0 #0005; letter-spacing: .5px; }
.pop-cover { width: 58px; height: 56px; }
.pop-cover .cover-mark { font-size: 16px; }
.s-cover { width: 38px; height: 38px; border-radius: 8px; }
.s-cover .cover-mark { font-size: 11px; }

/* Tabs kategori */
.tabs { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; min-width: 92px; padding: 9px 18px; border-radius: 8px; font-family: var(--display); font-size: 16px; letter-spacing: .3px; color: #fff; background: #1b2a4a; border: 1px solid #2e4d85; transition: .2s; }
.tab.active, .tab:hover { background: var(--grad); border-color: transparent; box-shadow: 0 6px 18px #2479f044; }

/* Grid game */
.grid { margin-top: 16px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.game-card {
  position: relative; display: flex; flex-direction: column; align-items: center; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 12px;
  background:
    radial-gradient(circle at 50% 35%, #ffffff30, transparent 55%),
    repeating-linear-gradient(135deg, #ffffff0a 0 3px, transparent 3px 14px),
    linear-gradient(170deg, var(--c1) 0%, var(--c2) 75%);
  border: 2px solid #2479f0aa;
  box-shadow: inset 0 0 0 1px #0005, 0 8px 22px #0007;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.game-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 28%; background: linear-gradient(180deg, #2479f0, transparent); opacity: .9; }
.game-card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 46%; background: linear-gradient(180deg, transparent, #0f3f9edd 40%, #071a42); }
.game-card:hover { transform: translateY(-4px); border-color: #b8d6ff; box-shadow: 0 0 0 1px #b8d6ff55, 0 14px 30px #0f3f9e66; }
.gc-badge { position: relative; z-index: 2; margin-top: 7px; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.gc-badge b { font-family: var(--display); font-weight: 400; font-size: 13px; letter-spacing: .4px; color: #d3e5ff; text-shadow: 0 1px 0 #071a42, 0 0 6px #2479f0; }
.gc-badge small { margin-top: 2px; padding: 1px 5px; font-family: var(--display); font-size: 6.5px; letter-spacing: .6px; color: #fff; background: #0f3f9e; border-radius: 2px; }
.gc-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.game-card.has-img::before { content: none; }
.game-card.has-img::after { z-index: 1; height: 38%; background: linear-gradient(180deg, transparent, #071a42cc 55%, #071a42f2); }
.game-card.has-img .gc-name { margin: auto 0 10px; }
.gc-mark { position: relative; z-index: 1; margin: auto 0; font-family: var(--display); font-size: clamp(22px, 2.9vw, 40px); color: #ffffffe6; letter-spacing: 1px; text-shadow: 0 3px 0 #0004, 0 0 24px #ffffff55; transform: rotate(-6deg); }
.gc-name { position: relative; z-index: 2; padding: 0 8px; font-family: var(--display); font-size: clamp(13px, 1.35vw, 18px); line-height: 1.05; text-align: center; color: #fff; text-shadow: 0 2px 0 #071a42, 0 2px 8px #000a; }
.gc-foot { position: relative; z-index: 2; margin: 5px 0 9px; font-size: 10px; font-weight: 700; color: #d9e8ff; opacity: .85; }
.more-wrap { margin-top: 26px; display: flex; justify-content: center; }
.btn-more { padding: 10px 26px; border-radius: 8px; font-size: 12px; font-weight: 800; color: #fff; background: var(--grad); box-shadow: 0 0 22px #2479f066; transition: transform .2s; }
.btn-more:hover { transform: translateY(-2px); }

/* ---------- panel & tombol ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 10px; font-weight: 800; color: #fff; background: var(--grad); box-shadow: 0 6px 20px #2479f044; transition: transform .2s, filter .2s; white-space: nowrap; }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-primary.sm { padding: 9px 16px; font-size: 12px; }
.btn-primary.block { width: 100%; margin-top: 16px; }
.hint { margin-top: 10px; font-size: 12px; color: var(--muted); }
.hint a, .empty a { color: var(--primary-2); text-decoration: underline; }

/* ---------- halaman produk ---------- */
.crumbs { font-size: 12px; color: var(--muted); }
.crumbs a:hover { color: #fff; }
.crumbs span { color: #fff; }
.product { margin-top: 16px; display: grid; grid-template-columns: 360px 1fr; gap: 20px; align-items: start; }
.p-side { position: sticky; top: 124px; display: grid; gap: 16px; }
.p-head { display: flex; gap: 14px; align-items: center; padding: 16px; border-radius: var(--radius); background: radial-gradient(circle at 0 0, #ffffff22, transparent 60%), linear-gradient(135deg, var(--c1), var(--c2)); border: 1px solid #ffffff22; }
.p-cover { width: 92px; height: 92px; border-radius: 14px; border: 2px solid #ffffff55; }
.p-cover .cover-mark { font-size: 24px; }
.p-head h1 { font-family: var(--display); font-weight: 400; font-size: 24px; line-height: 1.05; }
.p-head p { margin-top: 4px; font-size: 12px; color: #ffffffcc; }
.chips { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { padding: 4px 8px; border-radius: 99px; font-size: 10.5px; font-weight: 700; background: #0005; }
.howto h4 { font-size: 14px; margin-bottom: 10px; }
.howto ol { padding-left: 18px; display: grid; gap: 6px; color: #d0d8e6; font-size: 13px; }
.p-main { display: grid; gap: 16px; }
.step h3 { display: flex; align-items: center; gap: 10px; font-size: 15px; margin-bottom: 14px; }
.num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--grad); font-size: 13px; }
.field-row { display: flex; gap: 12px; }
.field { flex: 1; display: grid; gap: 6px; }
.field.small { flex: 0 0 34%; }
.field span { font-size: 12px; font-weight: 700; color: #d0d8e6; }
.field input, .field select, .check-form input { width: 100%; height: 44px; padding: 0 14px; border-radius: 10px; background: #0b101c; border: 1px solid var(--line); outline: none; }
.field input:focus, .field select:focus, .check-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px #2479f033; }
.field select option { background: #0b101c; }
.items { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.item, .pay-opt { position: relative; display: grid; gap: 4px; text-align: left; padding: 12px; border-radius: 12px; background: var(--panel-2); border: 1.5px solid var(--line); transition: border-color .15s, background .15s, transform .15s; }
.item:hover, .pay-opt:hover { border-color: #3d5f99; transform: translateY(-1px); }
.item.active, .pay-opt.active { border-color: var(--primary-2); background: linear-gradient(160deg, #14306a, #111d3a); box-shadow: 0 0 0 3px #2479f022; }
.item.active::after, .pay-opt.active::after { content: "✓"; position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; font-size: 11px; background: var(--primary-2); }
.item b { font-size: 13px; padding-right: 18px; }
.item span { font-size: 12px; font-weight: 700; color: var(--primary-2); }
.pays { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.pay-opt small { font-size: 11px; color: var(--muted); }
.pay-price { font-size: 13px; }
.summary { position: sticky; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #121a2cf2; backdrop-filter: blur(8px); border-color: #2c4a80; box-shadow: 0 12px 30px #0009; }
.summary small { display: block; font-size: 11px; color: var(--muted); }
.summary b { display: block; font-size: 20px; color: var(--primary-2); }
.summary span { display: block; font-size: 12px; color: #d0d8e6; }

/* Logo pembayaran (teks) */
.pay { display: inline-flex; align-items: center; justify-content: center; width: fit-content; max-width: 100%; min-width: 64px; height: 26px; padding: 0 10px; border-radius: 6px; background: #fff; color: #1f2937; font-weight: 800; font-size: 12px; letter-spacing: .3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pay.qris { color: #111; letter-spacing: 1.5px; }
.pay.dana { color: #118eea; }
.pay.ovo { color: #4c2a86; font-size: 14px; letter-spacing: 1px; }
.pay.spay { color: #ee4d2d; }
.pay.gopay { color: #00a5cf; }

/* ---------- stok akun & cek transaksi ---------- */
.page-head { margin-top: 8px; }
.empty { margin-top: 16px; color: #d0d8e6; }
.nf { text-align: center; display: grid; gap: 12px; justify-items: center; padding: 48px 18px; }
.check-form { margin-top: 18px; display: flex; gap: 10px; }
.check-form input { flex: 1; text-transform: uppercase; }
.tx { margin-top: 16px; }
.tx-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.status { padding: 4px 10px; border-radius: 99px; font-size: 11px; font-weight: 800; color: #fbbf24; background: #f59e0b22; }
.status.proc { color: #60a5fa; background: #3b82f622; }
.status.ok { color: #4ade80; background: #22c55e22; }
.status.bad { color: #f87171; background: #ef444422; }
.tx-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-primary.ghost { background: transparent; border: 1.5px solid var(--primary); color: var(--primary-2); box-shadow: none; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 13px; margin-bottom: 14px; }
.kv dt { color: var(--muted); }
.kv dd { text-align: right; font-weight: 700; word-break: break-word; }
.kv .tot { padding-top: 10px; border-top: 1px dashed var(--line); font-size: 15px; }
.kv dd.tot { color: var(--primary-2); }
.hist { margin-top: 12px; display: grid; gap: 10px; }
.hist-item { display: flex; justify-content: space-between; gap: 12px; text-align: left; padding: 14px; }
.hist-item:hover { border-color: #3d5f99; }
.hist-item small { display: block; margin-top: 3px; font-size: 11px; color: var(--muted); }
.hist-right { text-align: right; }
.legal { margin-top: 18px; display: grid; gap: 8px; }
.legal h3 { font-size: 15px; margin-top: 8px; }
.legal p { color: #d0d8e6; line-height: 1.6; }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 1; background: #070b14; border-top: 1px solid var(--line); padding-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.footer-brand p { margin-top: 26px; max-width: 360px; font-size: 12px; line-height: 1.7; color: #d0d8e6; }
.footer h4 { margin-bottom: 14px; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; }
.footer-grid a:not(.logo) { display: block; margin-bottom: 10px; font-size: 12px; color: #d0d8e6; }
.footer-grid a:not(.logo):hover { color: var(--primary-2); }
.footer-pay { margin-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 16px; border-radius: var(--radius); background: #0b101c; border: 1px solid var(--line); }
.secure { display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 12px; border-radius: 10px; background: #111727; border: 1px solid var(--line); }
.secure-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #1a2742; color: var(--primary-2); }
.secure b { display: block; font-size: 11px; letter-spacing: .5px; text-transform: uppercase; }
.secure small { display: block; font-size: 9px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #d0d8e6; }
.pay-logos { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-logos .pay { height: 30px; min-width: 72px; }
.copyright { margin-top: 28px; padding: 18px 16px; border-top: 1px solid var(--line); text-align: center; font-size: 11px; font-weight: 700; color: #d0d8e6; }

/* ---------- tombol bantuan ---------- */
.help-fab { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 99px; background: var(--grad); box-shadow: 0 10px 28px #0f3f9e77; font-size: 10px; line-height: 1.2; transition: transform .2s; }
body[data-page="topup"] .help-fab { bottom: 112px; }
.help-fab:hover { transform: translateY(-3px); }
.help-fab svg { width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: #fff; fill: none; stroke: #0f3f9e; stroke-width: 2; stroke-linejoin: round; }
.help-fab svg .fill { fill: #0f3f9e; stroke: none; }
.help-fab b { display: block; font-size: 12px; }

/* ---------- modal & toast ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: #03050bcc; backdrop-filter: blur(4px); }
.modal[hidden] { display: none; }
.modal-box { position: relative; width: 100%; max-width: 440px; max-height: 90vh; overflow: auto; padding: 24px; border-radius: 18px; background: var(--panel); border: 1px solid #2c4a80; box-shadow: 0 30px 60px #000c; animation: pop .2s ease-out; }
@keyframes pop { from { transform: scale(.96); opacity: .4; } }
.modal-box h3 { font-size: 18px; margin-bottom: 16px; }
.modal-close { position: absolute; top: 12px; right: 14px; width: 32px; height: 32px; border-radius: 50%; font-size: 22px; line-height: 1; color: var(--muted); }
.modal-close:hover { background: var(--panel-2); color: #fff; }
.success { text-align: center; }
.check { width: 60px; height: 60px; margin: 0 auto 14px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); font-size: 28px; font-weight: 800; }
.success .inv { margin: 10px 0; padding: 12px; border-radius: 10px; background: #0b101c; border: 1px dashed var(--primary); font-size: 20px; font-weight: 800; letter-spacing: 1.5px; user-select: all; }
.toast { position: fixed; left: 50%; bottom: 90px; z-index: 120; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 10px; background: #1a2742; border: 1px solid #3d5f99; font-weight: 700; font-size: 13px; box-shadow: 0 12px 30px #000a; }
.toast[hidden] { display: none; }

/* ---------- mode otomatis ---------- */
.sim-bar { position: relative; z-index: 60; padding: 7px 16px; text-align: center; font-size: 11.5px; font-weight: 800; color: #1a1205; background: #fbbf24; }
.nick { margin-top: 10px; font-size: 12.5px; font-weight: 700; }
.nick.ok { color: #4ade80; }
.nick.err { color: #f87171; }
.item:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.item:disabled span { color: var(--muted); }
.pay-icon { height: 26px; width: auto; max-width: 90px; object-fit: contain; padding: 3px 6px; border-radius: 6px; background: #fff; }

/* ---------- responsif ---------- */
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(5, 1fr); }
  .product { grid-template-columns: 300px 1fr; }
}
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .popular { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product { grid-template-columns: 1fr; }
  .p-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; text-align: center; }
  .footer-brand p { margin: 16px auto 0; }
}
@media (max-width: 640px) {
  .header-top { height: 58px; gap: 10px; justify-content: space-between; }
  .logo-main { font-size: 20px; }
  .icon-btn { display: grid; margin-left: auto; }
  .locale { height: 40px; padding: 0 7px; }
  .locale span:last-child { display: none; }
  .search { display: none; position: absolute; top: 58px; left: 0; right: 0; height: 52px; margin: 0; border-radius: 0; border-width: 1px 0; background: var(--header); padding: 0 16px; }
  .search.open { display: flex; }
  .nav { gap: 0; justify-content: space-between; }
  .nav a { flex: 1; justify-content: center; font-size: 12px; gap: 6px; }
  .slide:not(.img-slide) { aspect-ratio: 2.3 / 1; padding: 12px; }
  .hero { border-radius: 14px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .gc-badge b { font-size: 10px; }
  .gc-badge small { font-size: 5.5px; }
  .gc-mark { font-size: 21px; }
  .gc-name { font-size: 12.5px; }
  .gc-foot { display: none; }
  .gc-name { margin-bottom: 8px; }
  .pop-card { min-height: 66px; padding: 8px; gap: 8px; }
  .pop-cover { width: 46px; height: 46px; }
  .pop-card b { font-size: 12.5px; }
  .pop-card small { font-size: 10px; }
  .tab { flex: 1; min-width: 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { text-align: center; }
  .footer-pay { flex-direction: column; align-items: stretch; }
  .pay-logos { display: grid; grid-template-columns: 1fr 1fr; }
  .pay-logos .pay { width: 100%; height: 36px; }
  .items { grid-template-columns: 1fr 1fr; }
  .pays { grid-template-columns: 1fr 1fr; }
  .summary { bottom: 8px; padding: 12px 14px; }
  .summary b { font-size: 17px; }
  .check-form { flex-direction: column; }
  .help-fab span { display: none; }
  .help-fab { padding: 6px; }
  body[data-page="topup"] .help-fab { bottom: 96px; }
  .page-title { font-size: 28px; }
}
@media (max-width: 360px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
}
