:root {
  color-scheme: dark;
  --bg: #0D0922;
  --card: rgba(34, 24, 78, 0.72);
  --card-solid: #21174A;
  --ink: #F4EFFF;
  --muted: #A99BD1;
  --line: rgba(167, 139, 250, 0.24);
  --accent: #7C3AED;
  --accent2: #A78BFA;
  --accent-soft: rgba(139, 92, 246, 0.2);
  --gold: #FBBF24;
  --ok: #34D399;
  --bad: #F472B6;
  --warn: #FBBF24;
  --grad: linear-gradient(135deg, #7C3AED, #9333EA);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; color: var(--ink);
  font-family: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.55;
  background:
    radial-gradient(900px 520px at 85% -8%, rgba(139, 92, 246, 0.38), transparent 62%),
    radial-gradient(700px 480px at -8% 28%, rgba(236, 72, 153, 0.16), transparent 58%),
    var(--bg);
  background-repeat: no-repeat;
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 3px solid var(--accent2); outline-offset: 2px; border-radius: 8px; }
.ic { width: 1.2em; height: 1.2em; flex: none; vertical-align: -0.2em; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(13, 9, 34, 0.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; max-width: 1080px; margin: 0 auto; padding: 10px 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; letter-spacing: 0.01em; }
.brand-ic { width: 1.7em; height: 1.7em; color: var(--accent2); }
.logo { height: 38px; width: auto; max-width: 150px; object-fit: contain; }
.menu { order: 3; width: 100%; display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.menu a { flex: none; padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: 0.92rem; color: var(--muted); }
.menu a:hover { color: var(--ink); }
.menu a[aria-current="page"] { background: var(--grad); color: #fff; }
.acct { margin-left: auto; display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 0.92rem; }
.pill { background: var(--grad); color: #fff; padding: 8px 16px; border-radius: 999px; font-weight: 700; }
.link { color: var(--muted); background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; }
.link:hover { color: var(--ink); }
form.inline { display: inline; margin: 0; }
@media (min-width: 900px) {
  .menu { order: 0; width: auto; flex: 1; justify-content: center; }
}

main { max-width: 1080px; margin: 0 auto; padding: 24px 20px 48px; }
.narrow main { max-width: 520px; }
h1 { font-size: 1.9rem; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 10px; font-weight: 800; }
h2 { font-size: 1.2rem; margin: 0 0 12px; font-weight: 700; }
.lead { color: var(--muted); margin: 0 0 22px; max-width: 52ch; }
.glass { background: var(--card); border: 1px solid var(--line); border-radius: 22px; backdrop-filter: blur(8px); }
.section { margin-top: 32px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.section-head h2 { margin: 0; }
.more { color: var(--accent2); font-weight: 700; font-size: 0.9rem; }

.flash { padding: 12px 16px; border-radius: 14px; margin-bottom: 18px; font-weight: 600; border: 1px solid var(--line); }
.flash-ok { background: rgba(52, 211, 153, 0.14); border-color: rgba(52, 211, 153, 0.4); }
.flash-bad { background: rgba(244, 114, 182, 0.14); border-color: rgba(244, 114, 182, 0.4); }

/* Butang dan borang */
.btn, .search button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; font: inherit; font-weight: 700;
  color: #fff; background: var(--grad); border: 0; border-radius: 14px; cursor: pointer;
}
.btn:hover, .search button:hover { filter: brightness(1.12); }
.btn.full { width: 100%; padding: 15px; }
.btn.soft { background: var(--accent-soft); color: var(--accent2); }
.btn.small { padding: 8px 12px; font-size: 0.85rem; border-radius: 10px; }
.btn.danger { background: rgba(244, 114, 182, 0.16); color: var(--bad); }
.search { display: flex; gap: 8px; }
.search input, .field input, .field select, .field textarea, .inp {
  width: 100%; min-width: 0; padding: 13px 14px; font: inherit; color: var(--ink);
  background: rgba(13, 9, 34, 0.6); border: 1px solid var(--line); border-radius: 14px;
}
.field input::placeholder, .search input::placeholder { color: #7D70A8; }
.field input:focus, .search input:focus, .inp:focus, .field textarea:focus { border-color: var(--accent2); outline: none; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.hint { color: var(--muted); font-size: 0.85rem; margin: 6px 0 0; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; color: var(--muted); font-size: 0.92rem; }
.check input { flex: none; margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); }
.errors { background: rgba(244, 114, 182, 0.14); border: 1px solid rgba(244, 114, 182, 0.4); border-radius: 14px; padding: 8px 16px; margin-bottom: 18px; }
.errors p { margin: 6px 0; }
.form-links { margin-top: 18px; color: var(--muted); }
.form-links a { color: var(--accent2); font-weight: 700; }
.back { display: inline-block; color: var(--muted); margin-bottom: 14px; font-size: 0.9rem; font-weight: 600; }
.empty { color: var(--muted); padding: 18px 0; }
.notice { padding: 24px 0; }
.card { padding: 20px; }

/* Hero dan ciri */
.hero2 { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 300px; padding: 28px 22px; border: 1px solid var(--line); border-radius: 28px;
  background: radial-gradient(520px 280px at 88% 15%, rgba(168, 85, 247, 0.6), transparent 62%), linear-gradient(135deg, #2A1466, #150C3A); }
.hero-img { position: absolute; inset: 0; background-size: cover; background-position: center right; }
.hero2::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 9, 34, 0.9) 0%, rgba(13, 9, 34, 0.45) 65%, rgba(13, 9, 34, 0.1)); }
.hero2::after { content: "\2726"; position: absolute; right: 22px; top: 14px; font-size: 1.6rem; color: var(--accent2); opacity: 0.8; }
.hero-body { position: relative; z-index: 1; max-width: 520px; }
.hero-body h1 { font-size: 2.4rem; background: linear-gradient(90deg, #fff, #C4B5FD); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-body .lead { color: #D7CCF5; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 14px; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feat { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; }
.feat .ic { width: 1.7em; height: 1.7em; color: var(--accent2); }
.feat strong { display: block; font-size: 0.9rem; line-height: 1.2; }
.feat small { color: var(--muted); font-size: 0.78rem; }

/* Kad game (kulit) */
.cgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (min-width: 700px) { .cgrid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1000px) { .cgrid { grid-template-columns: repeat(6, 1fr); } }
.cc { position: relative; display: flex; align-items: flex-end; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  background-size: cover; background-position: center; transition: transform 0.15s ease, border-color 0.15s ease; }
.cc:hover { transform: translateY(-3px); border-color: var(--accent2); }
.cc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 6, 30, 0.94) 0%, rgba(10, 6, 30, 0.1) 58%, transparent); }
.cc-mono { position: absolute; inset: 0 0 30% 0; display: grid; place-items: center; font-size: 2.2rem; font-weight: 800; color: rgba(255, 255, 255, 0.9); z-index: 1; }
.cc-body { position: relative; z-index: 2; padding: 10px; width: 100%; }
.cc-name { display: block; font-weight: 700; font-size: 0.85rem; line-height: 1.2; overflow-wrap: anywhere; }
.cc-sub { display: block; font-size: 0.74rem; color: #CFC3F0; }
@media (prefers-reduced-motion: reduce) { .cc { transition: none; } .cc:hover { transform: none; } }

/* Halaman game */
.gbanner { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 26px; padding: 20px; margin-bottom: 18px; background: linear-gradient(135deg, #2A1466, #150C3A); }
.gbanner-bg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(18px) brightness(0.55); }
.gb-in { position: relative; display: flex; align-items: center; gap: 16px; }
.gthumb { flex: none; width: 92px; aspect-ratio: 3 / 4; border-radius: 16px; background-size: cover; background-position: center; border: 1px solid var(--line); display: grid; place-items: center; font-size: 1.8rem; font-weight: 800; }
.gb-in h1 { margin-bottom: 4px; }
.gb-in .lead { margin: 0; }
.gamepage { display: grid; gap: 18px; }
@media (min-width: 860px) { .gamepage { grid-template-columns: 1fr 320px; align-items: start; } }
.pkgs { display: grid; gap: 10px; }
.pkg { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.pkg:hover { border-color: var(--accent2); }
.pkg .gem { color: #60A5FA; width: 1.7em; height: 1.7em; }
.pkg-name { flex: 1; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.pkg-price { font-weight: 800; white-space: nowrap; }
.buy { padding: 8px 16px; border-radius: 12px; background: var(--grad); color: #fff; font-weight: 700; font-size: 0.88rem; }
.howto { padding: 18px; }
.howto ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.howto li { display: flex; gap: 12px; align-items: flex-start; counter-increment: s; color: #DCD2F7; font-size: 0.92rem; }
.howto li::before { content: counter(s); flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); border: 1px solid var(--line); font-weight: 700; color: var(--accent2); }

/* Checkout */
.checkout { display: grid; gap: 18px; }
@media (min-width: 860px) { .checkout { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.co-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.co-head .gthumb { width: 56px; border-radius: 12px; font-size: 1.1rem; }
.co-pkg { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 18px; border-radius: 16px; background: rgba(13, 9, 34, 0.5); border: 1px solid var(--line); }
.co-pkg .gem { color: #60A5FA; width: 1.6em; height: 1.6em; }
.summary-list { list-style: none; margin: 0 0 16px; padding: 0; }
.summary-list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.summary-list small { display: block; color: var(--accent2); font-weight: 600; font-size: 0.8rem; }
.summary-list .total { display: flex; justify-content: space-between; border: 0; font-weight: 800; font-size: 1.1rem; }
.secure { margin: 12px 0 0; color: var(--muted); font-size: 0.82rem; text-align: center; }

/* Status pesanan */
.statehero { text-align: center; padding: 18px 0 6px; }
.state-circle { width: 92px; height: 92px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; border: 3px solid var(--accent2); color: var(--accent2); background: var(--accent-soft); box-shadow: 0 0 40px rgba(139, 92, 246, 0.45); }
.state-circle .ic { width: 2.6em; height: 2.6em; }
.state-ok .state-circle { border-color: var(--ok); color: var(--ok); background: rgba(52, 211, 153, 0.12); box-shadow: 0 0 40px rgba(52, 211, 153, 0.35); }
.state-bad .state-circle { border-color: var(--bad); color: var(--bad); background: rgba(244, 114, 182, 0.12); box-shadow: 0 0 40px rgba(244, 114, 182, 0.35); }
.spin { width: 38px; height: 38px; border-radius: 50%; border: 4px solid rgba(167, 139, 250, 0.3); border-top-color: var(--accent2); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spin { animation: none; } }
.statehero .lead { margin-inline: auto; }
.facts { list-style: none; margin: 18px 0; padding: 0; }
.facts li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: 0; }
.facts li span:first-child { color: var(--muted); flex: none; }
.facts li span:last-child { text-align: right; overflow-wrap: anywhere; font-weight: 600; }

/* Tag */
.tag { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 0.76rem; font-weight: 700; background: var(--accent-soft); color: var(--accent2); }
.tag-ok { background: rgba(52, 211, 153, 0.16); color: var(--ok); }
.tag-bad { background: rgba(244, 114, 182, 0.16); color: var(--bad); }
.tag-warn { background: rgba(251, 191, 36, 0.16); color: var(--warn); }
.tag-wait { background: rgba(96, 165, 250, 0.16); color: #93C5FD; }
.tier-gold { background: rgba(251, 191, 36, 0.18); color: var(--gold); }
.tier-silver { background: rgba(203, 213, 225, 0.16); color: #CBD5E1; }

/* Top customer */
.podium { display: grid; grid-template-columns: repeat(3, 1fr); align-items: end; gap: 10px; margin: 8px 0 22px; }
.pod { text-align: center; }
.pod-av { position: relative; width: 64px; height: 64px; margin: 0 auto 8px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; font-weight: 800; background: var(--grad); border: 3px solid var(--accent2); }
.pod-1 .pod-av { width: 82px; height: 82px; border-color: var(--gold); box-shadow: 0 0 28px rgba(251, 191, 36, 0.5); }
.pod-crown { position: absolute; top: -20px; left: 50%; transform: translateX(-50%); color: var(--gold); }
.pod-name { font-weight: 700; overflow-wrap: anywhere; }
.pod-amt { color: var(--gold); font-weight: 800; font-size: 0.92rem; }
.pod-step { margin-top: 10px; border-radius: 14px 14px 0 0; display: grid; place-items: start center; padding-top: 10px; font-size: 1.8rem; font-weight: 800; border: 1px solid var(--line); }
.pod-1 .pod-step { height: 130px; background: linear-gradient(#FBBF24, #B45309); color: #3B2300; }
.pod-2 .pod-step { height: 96px; background: linear-gradient(#A5B4FC, #4C3FA5); }
.pod-3 .pod-step { height: 76px; background: linear-gradient(#FDBA74, #9A3412); color: #3B1500; }
.toplist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.toplist li { display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.rank { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; background: var(--accent-soft); color: var(--accent2); }
.who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.who strong { overflow-wrap: anywhere; }
.who small { color: var(--muted); }
.row-price { font-weight: 800; white-space: nowrap; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.filters a { padding: 6px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.filters a[aria-current="page"] { background: var(--grad); border-color: transparent; color: #fff; }
.duo { display: grid; gap: 18px; }
@media (min-width: 860px) { .duo { grid-template-columns: 1fr 1fr; align-items: start; } }

/* Berita dan FAQ */
.news-grid { display: grid; gap: 12px; }
@media (min-width: 760px) { .news-grid { grid-template-columns: repeat(3, 1fr); } }
.ncard { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: var(--card); border: 1px solid var(--line); }
.ncard:hover { border-color: var(--accent2); }
.nimg { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #3B1E86, #1B1050) center / cover; }
.nbody { padding: 12px 14px 14px; }
.nbody h3 { margin: 6px 0 4px; font-size: 1rem; line-height: 1.3; }
.nbody small { color: var(--muted); }
.article { padding: 20px; }
.article img { width: 100%; border-radius: 16px; margin-bottom: 16px; }
.article p { color: #DCD2F7; white-space: pre-line; }
.faq details { padding: 14px 18px; margin-bottom: 10px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 10px 0 0; color: #DCD2F7; white-space: pre-line; }

/* Profil */
.profile { display: grid; gap: 18px; }
@media (min-width: 860px) { .profile { grid-template-columns: 250px 1fr; align-items: start; } }
.side { padding: 18px; text-align: center; }
.avatar { width: 84px; height: 84px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; font-size: 2rem; font-weight: 800; background: var(--grad); border: 3px solid var(--accent2); box-shadow: 0 0 26px rgba(139, 92, 246, 0.45); }
.side h2 { margin: 4px 0 6px; }
.sidenav { display: flex; gap: 6px; margin-top: 16px; overflow-x: auto; }
@media (min-width: 860px) { .sidenav { flex-direction: column; } }
.sidenav a, .sidenav button { display: flex; align-items: center; gap: 10px; flex: none; padding: 10px 14px; border-radius: 14px; font: inherit; font-weight: 600; color: var(--muted); background: none; border: 0; cursor: pointer; text-align: left; }
.sidenav a[aria-current="page"] { background: var(--grad); color: #fff; }
.sidenav a:hover, .sidenav button:hover { color: var(--ink); }
.pcard-top { display: grid; gap: 14px; padding: 20px; margin-bottom: 18px; }
@media (min-width: 760px) { .pcard-top { grid-template-columns: 1fr auto; align-items: center; } }
.pcard-top h1 { font-size: 1.6rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pcard-top p { margin: 4px 0; color: var(--muted); }
.money { padding: 14px 18px; border-radius: 18px; background: rgba(13, 9, 34, 0.5); border: 1px solid var(--line); min-width: 220px; }
.money small { color: var(--muted); display: block; }
.money strong { font-size: 1.4rem; display: flex; align-items: center; gap: 8px; }
.money hr { border: 0; border-top: 1px solid var(--line); margin: 10px 0; }
.pager { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.pager a { min-width: 36px; padding: 6px 10px; text-align: center; border-radius: 10px; background: var(--card); border: 1px solid var(--line); font-weight: 600; }
.pager a[aria-current="page"] { background: var(--grad); border-color: transparent; color: #fff; }

/* Admin dan jadual */
.admin-nav { display: flex; gap: 8px; overflow-x: auto; margin-bottom: 20px; padding-bottom: 4px; }
.admin-nav a { flex: none; padding: 8px 14px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 600; font-size: 0.9rem; color: var(--muted); }
.admin-nav a[aria-current="page"] { background: var(--grad); border-color: transparent; color: #fff; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 20px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; }
.stat small { display: block; color: var(--muted); font-weight: 600; }
.stat strong { font-size: 1.4rem; }
.table-wrap { overflow-x: auto; background: var(--card); border: 1px solid var(--line); border-radius: 18px; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 6px; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; margin-bottom: 10px; }
.pcard .meta, .meta { color: var(--muted); font-size: 0.85rem; }
.pcard form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.pcard .inp { width: 130px; padding: 8px 10px; }
.thumb { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .grid2 { grid-template-columns: 1fr; } }

.foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.foot-in { max-width: 1080px; margin: 0 auto; padding: 22px 20px 40px; }
.foot strong { color: var(--ink); }
.foot p { margin: 6px 0; }
.foot-links a { margin-right: 14px; font-weight: 600; color: var(--accent2); }

/* Promosi halaman depan */
.promos { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.promo { flex: 0 0 84%; max-width: 380px; scroll-snap-align: start; display: block; padding: 16px; border-radius: 22px; }
.promo:hover { border-color: var(--accent2); }
.promo img { width: 100%; height: 120px; object-fit: cover; border-radius: 14px; margin-bottom: 10px; }
.promo h3 { margin: 8px 0 4px; font-size: 1.05rem; }
.promo p { margin: 0; color: #DCD2F7; font-size: 0.92rem; }
@media (min-width: 760px) { .promo { flex-basis: 340px; } }

/* Hiasan permata dan halaman Images */
.hero-art { position: absolute; right: -6px; top: 50%; transform: translateY(-50%); width: min(58%, 340px); opacity: 0.95; }
.gbanner-art { position: absolute; right: -4px; top: 50%; transform: translateY(-50%); width: 130px; opacity: 0.6; }
.slot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 16px; margin-bottom: 10px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.slot .preview { width: 120px; height: 68px; border-radius: 12px; border: 1px solid var(--line); background: rgba(13, 9, 34, 0.6) center / contain no-repeat; flex: none; display: grid; place-items: center; color: var(--muted); font-size: 0.8rem; }
.slot-info { flex: 1; min-width: 180px; }
.slot-info .meta { margin: 2px 0 8px; }
.upload-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; }
.upload-form input[type="file"] { max-width: 100%; color: var(--muted); font-size: 0.85rem; }

.acct { flex-wrap: wrap; justify-content: flex-end; }
.gname-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.slot input[type="checkbox"] { flex: none; width: 22px; height: 22px; accent-color: var(--accent); }
.selbar { position: sticky; bottom: 12px; display: flex; gap: 10px; padding: 10px; margin-top: 12px; background: var(--card-solid); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45); }
.selbar .btn { flex: 1; }

.prose h2 { margin: 26px 0 8px; font-size: 1.1rem; }
.prose p { color: #DCD2F7; margin: 0 0 10px; }

/* Banner gelongsor */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.banner-slider { margin-bottom: 16px; }
.banner-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 22px; border: 1px solid var(--line); -webkit-overflow-scrolling: touch; }
.banner-track::-webkit-scrollbar { display: none; }
.banner-slide { flex: 0 0 100%; scroll-snap-align: start; display: block; aspect-ratio: 3 / 1; background: var(--card-solid); }
.banner-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.banner-dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.banner-dots button { position: relative; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(167, 139, 250, 0.4); cursor: pointer; transition: width 0.2s ease, background 0.2s ease; }
.banner-dots button::after { content: ""; position: absolute; inset: -10px -4px; }
.banner-dots button[aria-current="true"] { width: 24px; background: var(--accent2); }
@media (prefers-reduced-motion: reduce) { .banner-dots button { transition: none; } }
.banner-prev { display: block; width: 100%; max-width: 420px; aspect-ratio: 3 / 1; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 8px; }

/* Hero: teks lebih jelas di atas gambar */
.hero2::before { background: linear-gradient(90deg, rgba(13, 9, 34, 0.93) 0%, rgba(13, 9, 34, 0.75) 55%, rgba(13, 9, 34, 0.3)); }
.hero-body h1, .hero-body .lead { text-shadow: 0 2px 14px rgba(13, 9, 34, 0.7); }

/* Top choice */
.toprow { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; scrollbar-width: thin; }
.cc-lg { flex: 0 0 150px; scroll-snap-align: start; }
@media (min-width: 700px) { .cc-lg { flex-basis: 170px; } }

/* Kumpulan pakej */
.group-title { display: flex; align-items: center; gap: 10px; margin: 22px 0 10px; font-size: 1.05rem; }
.group-title::before { content: ""; width: 4px; height: 18px; border-radius: 4px; background: var(--grad); }
.group-title:first-child { margin-top: 0; }

/* Kuantiti */
.qty { display: flex; align-items: center; gap: 8px; }
.qty input { width: 84px; text-align: center; }
.qbtn { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--accent-soft); color: var(--accent2); font: inherit; font-size: 1.4rem; font-weight: 800; cursor: pointer; }
.qbtn:hover { border-color: var(--accent2); }
.selbar { flex-wrap: wrap; }
.selbar .btn { flex: 1 1 140px; }

.pkg-img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex: none; background: var(--card); }
.codebox { display: inline-block; padding: 6px 10px; border-radius: 10px; background: rgba(13, 9, 34, 0.6); border: 1px solid var(--line); font-family: ui-monospace, Menlo, monospace; font-size: 0.95rem; overflow-wrap: anywhere; user-select: all; }
.formtext { margin: 8px 0 0; padding: 8px 10px; border-radius: 10px; background: rgba(13, 9, 34, 0.6); border: 1px solid var(--line); white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: 0.85rem; user-select: all; }
.pkg-desc { display: block; margin-top: 2px; font-weight: 400; font-size: 0.8rem; opacity: 0.75; }
.pkg-desc-full { margin: -6px 0 18px; padding: 12px 14px; border-radius: 14px; background: rgba(13, 9, 34, 0.35); border: 1px solid var(--line); font-size: 0.92rem; line-height: 1.55; overflow-wrap: anywhere; }

.paychoice { display: grid; gap: 8px; margin: 14px 0; }
.payopt { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(13, 9, 34, 0.35); cursor: pointer; }
.payopt small { display: block; opacity: 0.75; }
.payopt.low { opacity: 0.55; }
.walletbox { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.walletbox .bal { font-size: 2rem; font-weight: 800; }
.quick { display: flex; gap: 8px; flex-wrap: wrap; margin: 10px 0; }
.quick button { padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.pos { color: #6ee7a8; } .neg { color: #ff8fa3; }

.checkout input[type=date]{display:block;width:100%;max-width:100%;box-sizing:border-box;-webkit-appearance:none;appearance:none;min-height:48px}

.wa-join-wrap{margin:18px 0;text-align:center}
.wa-join{display:inline-flex;align-items:center;gap:10px;padding:14px 26px;border-radius:999px;background:#25d366;color:#052e16;font-weight:700;text-decoration:none;box-shadow:0 6px 20px rgba(37,211,102,.28)}
.wa-join svg{width:20px;height:20px}

.paygroup{margin:8px 0 0;padding:6px 10px;border-radius:10px;background:rgba(80,70,150,.35);font-weight:700;font-size:.85rem}
.payopt{align-items:center}
.payopt .payname{flex:1}
.payopt .payprice{font-weight:700;white-space:nowrap}
