/* Gamevion B2C — gaya laman. Tiada fon luar (laju & tiada data pelawat dihantar ke pihak ketiga). */
:root {
  --bg: #14080C;
  --s1: #1D0C12;
  --s2: #27111A;
  --s3: #321620;
  --line: rgba(237, 241, 240, .12);
  --line2: rgba(237, 241, 240, .22);
  --tx: #EDF1F0;
  --mut: rgba(237, 241, 240, .74);
  --faint: rgba(237, 241, 240, .54);
  --red: #E01E37;
  --red2: #F0405A;
  --maroon: #8A1230;
  --gold: #FFC94D;
  --ok: #3DDC97;
  --err: #FF8A8A;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Noto Sans", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--tx); font-family: var(--font); font-size: 16px; line-height: 24px; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, figure { margin: 0; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; font-weight: 600; }
p, li, dd { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--gold); color: #14080C; padding: 8px 12px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: transform 300ms var(--ease); }
.skip:focus { transform: translateY(80px); }

/* ---------- gaya teks (ikut skala) ---------- */
.heading-1 { font-size: 60px; line-height: 60px; font-weight: 600; letter-spacing: -.02em; }
.heading-2 { font-size: 48px; line-height: 48px; font-weight: 600; letter-spacing: -.02em; }
.heading-3 { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -.01em; }
.heading-4 { font-size: 30px; line-height: 36px; font-weight: 600; }
.heading-5 { font-size: 24px; line-height: 32px; font-weight: 600; }
.heading-6 { font-size: 20px; line-height: 28px; font-weight: 600; }
.title-1 { font-size: 20px; line-height: 28px; font-weight: 500; }
.title-2 { font-size: 18px; line-height: 28px; font-weight: 500; }
.title-3 { font-size: 16px; line-height: 24px; font-weight: 500; }
.title-4 { font-size: 14px; line-height: 20px; font-weight: 500; }
.body-1 { font-size: 16px; line-height: 24px; font-weight: 600; }
.body-3 { font-size: 16px; line-height: 24px; font-weight: 400; }
.body-4 { font-size: 14px; line-height: 20px; font-weight: 600; }
.body-6 { font-size: 14px; line-height: 20px; font-weight: 400; }
.caption-1 { font-size: 14px; line-height: 20px; font-weight: 500; }
.caption-3 { font-size: 12px; line-height: 16px; font-weight: 600; }
.caption-5 { font-size: 12px; line-height: 16px; font-weight: 400; }
.mut { color: var(--mut); }
.faint { color: var(--faint); }
.gold { color: var(--gold); }
.num { font-variant-numeric: tabular-nums; }

/* ---------- susun atur ---------- */
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
main { display: block; }
section { padding: 64px 0; }
.sec-head { display: grid; gap: 12px; margin-bottom: 32px; max-width: 680px; }
.eyebrow { color: var(--red2); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- butang ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 8px 12px; border-radius: 12px; border: 1px solid transparent; font-size: 16px; line-height: 24px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color 300ms var(--ease), border-color 300ms var(--ease), transform 300ms var(--ease), opacity 300ms var(--ease); }
.btn:active { transform: scale(0.98); }
.btn-lg { min-height: 56px; padding: 8px 24px; font-size: 18px; line-height: 28px; }
.btn-sm { min-height: 40px; padding: 8px 12px; font-size: 14px; line-height: 20px; border-radius: 8px; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red2); }
.btn-gold { background: var(--gold); color: #14080C; }
.btn-gold:hover { background: #FFD670; }
.btn-ghost { background: transparent; color: var(--tx); border-color: var(--line2); }
.btn-ghost:hover { background: var(--s2); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- navigasi terapung ---------- */
.nav { position: fixed; top: 12px; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; padding: 0 12px; pointer-events: none; }
.nav-bar { pointer-events: auto; display: flex; align-items: center; gap: 16px; width: 100%; max-width: 1120px; padding: 8px 8px 8px 12px; border-radius: 16px; background: rgba(29, 12, 18, .78); border: 1px solid var(--line); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 18px; line-height: 28px; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; list-style: none; padding: 0; }
.nav-links a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--mut); text-decoration: none; font-size: 14px; line-height: 20px; font-weight: 500; transition: background-color 300ms var(--ease), color 300ms var(--ease); }
.nav-links a:hover { background: var(--s2); color: var(--tx); }
.nav-links a[aria-current="page"] { color: var(--tx); background: var(--s2); }
.nav-cta { margin-left: 4px; }
.nav-acct { flex: none; display: inline-flex; align-items: center; min-height: 36px; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line2); color: var(--tx); text-decoration: none; font-size: 14px; line-height: 20px; font-weight: 600; font-variant-numeric: tabular-nums; transition: background-color 300ms var(--ease); }
.nav-acct:hover { background: var(--s2); }
.nav-acct:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.lang { display: inline-flex; padding: 2px; border-radius: 10px; border: 1px solid var(--line); background: var(--s2); flex: none; }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 36px; padding: 0 8px; border-radius: 8px; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .04em; color: var(--mut); text-decoration: none; transition: background-color 300ms var(--ease), color 300ms var(--ease); }
.lang a:hover { color: var(--tx); }
.lang a[aria-current="true"] { background: var(--red); color: #fff; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--s2); cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--tx); transition: transform 500ms var(--ease), opacity 300ms var(--ease); }
.menu-btn span:nth-child(1) { top: 15px; }
.menu-btn span:nth-child(2) { top: 21px; }
.menu-btn span:nth-child(3) { top: 27px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
.menu-open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.m-panel { position: fixed; inset: 0; z-index: 40; background: rgba(20, 8, 12, .94); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); padding: 96px 24px 32px; display: none; flex-direction: column; gap: 8px; }
.menu-open .m-panel { display: flex; }
.m-panel a { display: block; padding: 12px 16px; border-radius: 12px; text-decoration: none; font-size: 20px; line-height: 28px; font-weight: 500; background: var(--s1); border: 1px solid var(--line); opacity: 0; transform: translateY(24px); }
.menu-open .m-panel a { animation: rise 500ms var(--ease) forwards; }
.m-panel a:nth-child(2) { animation-delay: 60ms; } .m-panel a:nth-child(3) { animation-delay: 120ms; } .m-panel a:nth-child(4) { animation-delay: 180ms; } .m-panel a:nth-child(5) { animation-delay: 240ms; } .m-panel a:nth-child(6) { animation-delay: 300ms; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- hero ---------- */
.hero { padding: 136px 0 64px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.hero h1 { max-width: 680px; background: linear-gradient(90deg, #FFFFFF, #9B9B9B); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #fff; }
.hero h1 .red { -webkit-text-fill-color: var(--red2); color: var(--red2); }
.hero .lead { max-width: 680px; margin-top: 24px; color: var(--mut); font-size: 18px; line-height: 28px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 24px; padding: 0; list-style: none; }
.trust-row li { display: inline-flex; align-items: center; gap: 8px; color: var(--mut); font-size: 14px; line-height: 20px; }
.trust-row svg { width: 20px; height: 20px; color: var(--ok); flex: none; }

/* kotak order cepat */
.quick { background: var(--s1); border: 1px solid var(--line); border-radius: 24px; padding: 24px; display: grid; gap: 16px; }
.quick h2 { font-size: 20px; line-height: 28px; }
.quick .chips { flex-wrap: wrap; overflow: visible; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--s2); color: var(--mut); cursor: pointer; font-size: 14px; line-height: 20px; font-weight: 500; transition: border-color 300ms var(--ease), background-color 300ms var(--ease), color 300ms var(--ease); }
.chip img { width: 24px; height: 24px; border-radius: 6px; }
.chip[aria-pressed="true"], .chip[aria-checked="true"] { border-color: var(--red); background: rgba(224, 30, 55, .14); color: var(--tx); }
.chip:hover { color: var(--tx); border-color: var(--line2); }

/* ---------- borang ---------- */
.field { display: grid; gap: 8px; min-width: 0; align-content: start; }
.field label { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--mut); }
.input { width: 100%; min-height: 48px; padding: 12px; border-radius: 12px; border: 1px solid var(--line2); background: var(--bg); color: var(--tx); font-size: 16px; line-height: 24px; transition: border-color 300ms var(--ease); }
.input::placeholder { color: var(--faint); }
.input:hover { border-color: rgba(237, 241, 240, .34); }
.input:focus { outline: none; border-color: var(--gold); }
.input[aria-invalid="true"] { border-color: var(--err); }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23EDF1F0' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; padding-right: 40px; }
.err-msg { color: var(--err); font-size: 14px; line-height: 20px; min-height: 0; }
.err-msg:empty { display: none; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: var(--mut); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--red); }

/* ---------- kad & grid ---------- */
.card { background: var(--s1); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.benefit { display: grid; gap: 12px; align-content: start; }
.benefit .ic { width: 48px; height: 48px; border-radius: 12px; background: rgba(224, 30, 55, .14); display: grid; place-items: center; color: var(--red2); }
.benefit .ic svg { width: 24px; height: 24px; }
.benefit h3 { font-size: 18px; line-height: 28px; font-weight: 600; }
.benefit p { color: var(--mut); font-size: 14px; line-height: 20px; }

/* langkah */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 0; list-style: none; }
.steps li { counter-increment: s; background: var(--s1); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(s, decimal-leading-zero); font-size: 36px; line-height: 40px; font-weight: 600; color: var(--red2); font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 18px; line-height: 28px; }
.steps p { color: var(--mut); font-size: 14px; line-height: 20px; }

/* grid game */
.game-tools { display: flex; gap: 12px; align-items: center; margin-bottom: 24px; flex-wrap: wrap; }
.game-tools .input { max-width: 360px; }
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); gap: 12px; }
.g-card { display: grid; gap: 12px; padding: 12px; border-radius: 16px; background: var(--s1); border: 1px solid var(--line); text-decoration: none; transition: transform 500ms var(--ease), border-color 300ms var(--ease), background-color 300ms var(--ease); min-width: 0; }
.g-card:hover { transform: translateY(-4px); border-color: var(--line2); background: var(--s2); }
.g-card:active { transform: scale(0.98); }
.g-img { aspect-ratio: 1; border-radius: 8px; background: var(--s3); overflow: hidden; display: grid; place-items: center; }
.g-img img { width: 100%; height: 100%; object-fit: cover; }
.g-img .ph { font-size: 30px; line-height: 36px; font-weight: 600; color: var(--red2); }
.g-name { font-size: 14px; line-height: 20px; font-weight: 500; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 40px; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: var(--s3); color: var(--mut); font-size: 12px; line-height: 16px; font-weight: 600; width: max-content; }
.tag-red { background: rgba(224, 30, 55, .18); color: #FFB3BE; }
.tag-gold { background: rgba(255, 201, 77, .16); color: var(--gold); }
.tag-ok { background: rgba(61, 220, 151, .14); color: var(--ok); }
.skel { background: var(--s2); border-radius: 8px; position: relative; overflow: hidden; }
.skel::after { content: ""; position: absolute; inset: 0; background: rgba(237, 241, 240, .06); animation: pulse 1600ms var(--ease) infinite; }
@keyframes pulse { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
.empty { text-align: center; padding: 48px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--s1); display: grid; gap: 12px; justify-items: center; }

/* ---------- tagline (perkataan menyala) ---------- */
.tagline { padding: 96px 0; }
.tagline p { max-width: 760px; text-wrap: balance; font-size: 48px; line-height: 48px; font-weight: 600; letter-spacing: -.02em; }
.tagline .w { color: rgba(237, 241, 240, .28); transition: color 700ms var(--ease); }
.tagline .w.on { color: var(--tx); }
.tagline .w.on.r { color: var(--red2); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--s1); border: 1px solid var(--line); border-radius: 16px; }
.faq summary { list-style: none; cursor: pointer; padding: 16px 48px 16px 24px; position: relative; font-size: 16px; line-height: 24px; font-weight: 500; border-radius: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--mut); border-bottom: 2px solid var(--mut); transform: translateY(-70%) rotate(45deg); transition: transform 500ms var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .ans { padding: 0 24px 24px; color: var(--mut); display: grid; gap: 8px; }

/* ---------- CTA akhir ---------- */
.final { text-align: center; display: grid; gap: 16px; justify-items: center; padding: 48px 24px; background: var(--s1); border: 1px solid var(--line); border-radius: 24px; }
.final p { color: var(--mut); max-width: 560px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); background: #10060A; padding: 48px 0 32px; margin-top: 64px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot h2 { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--tx); margin-bottom: 12px; }
.foot ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.foot a { color: var(--mut); text-decoration: none; font-size: 14px; line-height: 20px; }
.foot a:hover { color: var(--tx); text-decoration: underline; }
.foot .biz { color: var(--mut); font-size: 14px; line-height: 20px; display: grid; gap: 8px; margin-top: 12px; }
.foot .biz strong { color: var(--tx); font-weight: 600; }
.foot-bottom { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 8px; color: var(--faint); font-size: 12px; line-height: 16px; }

/* ---------- halaman polisi ---------- */
.page-head { padding: 136px 0 32px; }
.page-head h1 { font-size: 48px; line-height: 48px; }
.page-head p { color: var(--mut); margin-top: 16px; max-width: 680px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.doc { padding: 0 0 32px; }
.doc .card { padding: 32px; }
.doc h2 { font-size: 24px; line-height: 32px; margin: 32px 0 12px; }
.doc h2:first-child { margin-top: 0; }
.doc h3 { font-size: 18px; line-height: 28px; margin: 24px 0 8px; }
.doc p, .doc li { color: var(--mut); }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 24px; display: grid; gap: 8px; margin: 12px 0; }
.doc strong { color: var(--tx); font-weight: 600; }
.doc a { color: var(--gold); }
.lang-sep { margin: 48px 0 0; }
.doc .note { margin-bottom: 24px; }
.note { border: 1px solid rgba(255, 201, 77, .4); background: rgba(255, 201, 77, .08); border-radius: 12px; padding: 16px; color: var(--tx); font-size: 14px; line-height: 20px; }
.info-list { display: grid; gap: 16px; }
.info-list > div { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-list > div:last-child { border-bottom: 0; }
.info-list dt { color: var(--faint); font-size: 14px; line-height: 20px; font-weight: 500; }
.info-list dd { margin: 0; color: var(--tx); }
.info-list dd a { color: var(--gold); }

/* ---------- halaman top-up ---------- */
.tp { padding: 120px 0 160px; }
.tp-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.tp-head { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; }
.tp-head .g-img { width: 72px; height: 72px; flex: none; border-radius: 16px; }
.tp-head h1 { font-size: 30px; line-height: 36px; }
.crumbs { display: flex; gap: 8px; color: var(--faint); font-size: 14px; line-height: 20px; margin-bottom: 16px; }
.crumbs a { color: var(--mut); text-decoration: none; }
.crumbs a:hover { color: var(--tx); text-decoration: underline; }
.step-card { background: var(--s1); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 16px; margin-bottom: 16px; transition: border-color 300ms var(--ease); }
.step-card.flash { border-color: var(--gold); }
.step-title { display: flex; align-items: center; gap: 12px; font-size: 18px; line-height: 28px; font-weight: 600; }
.step-title .n { width: 32px; height: 32px; border-radius: 999px; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 14px; line-height: 20px; font-weight: 600; flex: none; }
.step-title .done { background: var(--ok); color: #0B2018; }
.pk-groups { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.pk-groups::-webkit-scrollbar { display: none; }
.pk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pk { position: relative; display: grid; gap: 4px; text-align: left; padding: 12px; min-height: 88px; border-radius: 12px; border: 1px solid var(--line); background: var(--s2); cursor: pointer; transition: border-color 300ms var(--ease), background-color 300ms var(--ease), transform 300ms var(--ease); }
.pk:hover { border-color: var(--line2); }
.pk:active { transform: scale(0.98); }
.pk[aria-checked="true"] { border-color: var(--red); background: rgba(224, 30, 55, .12); }
.pk[disabled] { opacity: .45; cursor: not-allowed; }
.pk-top { display: flex; align-items: center; gap: 8px; min-width: 0; }
.pk-ico { flex: none; width: 24px; height: 24px; }
.pk .l { font-size: 14px; line-height: 20px; font-weight: 500; overflow-wrap: anywhere; }
.pk .p { font-size: 18px; line-height: 28px; font-weight: 600; color: var(--gold); font-variant-numeric: tabular-nums; }
.pk .p.na { color: var(--faint); font-size: 14px; line-height: 20px; }
.pk .tag { position: absolute; top: -8px; right: 8px; }
.pk-grid > .notice, .pk-grid > .empty { grid-column: 1 / -1; }
.more { justify-self: center; }
.summary { position: sticky; top: 96px; background: var(--s1); border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: grid; gap: 16px; }
.summary dl { display: grid; gap: 12px; }
.summary dl > div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 20px; }
.summary dt { color: var(--faint); }
.summary dd { margin: 0; text-align: right; overflow-wrap: anywhere; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 16px; border-top: 1px solid var(--line); }
.total strong { font-size: 24px; line-height: 32px; color: var(--gold); font-variant-numeric: tabular-nums; }
.small-print { color: var(--faint); font-size: 12px; line-height: 16px; }
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: rgba(16, 6, 10, .94); border-top: 1px solid var(--line); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); display: none; }
.bar-in { max-width: 1120px; margin: 0 auto; display: flex; gap: 12px; align-items: center; }
.bar-info { min-width: 0; flex: 1; display: grid; }
.bar-info .t1 { font-size: 12px; line-height: 16px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-info .t2 { font-size: 18px; line-height: 28px; font-weight: 600; color: var(--gold); font-variant-numeric: tabular-nums; }
.bar .btn { flex: none; }
.notice { display: flex; gap: 12px; padding: 12px 16px; border-radius: 12px; background: rgba(255, 201, 77, .08); border: 1px solid rgba(255, 201, 77, .35); color: var(--tx); font-size: 14px; line-height: 20px; }
.notice.bad { background: rgba(255, 138, 138, .08); border-color: rgba(255, 138, 138, .35); }
.notes { white-space: pre-line; color: var(--mut); font-size: 14px; line-height: 20px; }

.demo-bar { position: fixed; top: 76px; left: 50%; transform: translateX(-50%); z-index: 60; background: var(--gold); color: #14080C; padding: 4px 12px; border-radius: 999px; font-size: 12px; line-height: 16px; font-weight: 600; pointer-events: none; white-space: nowrap; }

/* ---------- bayaran ---------- */
.idchk { display: flex; gap: 8px; align-items: center; font-size: 14px; line-height: 20px; padding: 8px 12px; border-radius: 12px; background: var(--s2); border: 1px solid var(--line); margin: 0; }
.idchk.ok { border-color: rgba(61, 220, 151, .45); color: var(--ok); }
.idchk.bad { border-color: rgba(255, 138, 138, .45); color: var(--err); }
.idchk.wait { color: var(--mut); }
.idchk strong { color: var(--tx); font-weight: 600; }
.promo-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.promo-row .input { text-transform: uppercase; }
#tp-promo-msg.ok { color: var(--ok); } #tp-promo-msg.bad { color: var(--err); }
.pm-list { display: grid; gap: 8px; }
.pm { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "l p" "f p"; gap: 2px 12px; align-items: center; text-align: left; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--s2); cursor: pointer; transition: border-color 300ms var(--ease), background-color 300ms var(--ease); }
.pm:hover { border-color: var(--line2); }
.pm[aria-checked="true"] { border-color: var(--red); background: rgba(224, 30, 55, .12); }
.pm .l { grid-area: l; font-size: 16px; line-height: 24px; font-weight: 500; }
.pm .f { grid-area: f; font-size: 12px; line-height: 16px; color: var(--faint); }
.pm .p { grid-area: p; font-size: 18px; line-height: 28px; font-weight: 600; color: var(--gold); font-variant-numeric: tabular-nums; }
.os-card { display: grid; gap: 24px; }
.os-top { display: flex; gap: 16px; align-items: flex-start; }
.os-dot { flex: none; width: 16px; height: 16px; margin-top: 8px; border-radius: 999px; background: var(--faint); }
.os-dot.wait { background: var(--gold); animation: pulse2 1600ms var(--ease) infinite; }
.os-dot.run { background: #6CB4FF; animation: pulse2 1600ms var(--ease) infinite; }
.os-dot.ok { background: var(--ok); }
.os-dot.warn { background: var(--gold); }
.os-dot.bad { background: var(--err); }
@keyframes pulse2 { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.os-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- admin ---------- */
.adm-wrap { padding-top: 24px; padding-bottom: 64px; display: grid; gap: 24px; }
.adm-wrap section { padding: 0; display: grid; gap: 16px; }
.adm-login { max-width: 400px; margin: 96px auto; display: grid; gap: 24px; }
.adm-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.adm-tabs { display: flex; gap: 4px; flex-wrap: wrap; flex: 1; }
.adm-tabs button { min-height: 40px; padding: 8px 12px; border-radius: 8px; border: 1px solid transparent; background: transparent; color: var(--mut); font-weight: 500; cursor: pointer; }
.adm-tabs button[aria-selected="true"] { background: var(--s2); color: var(--tx); border-color: var(--line); }
.badge { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; line-height: 20px; text-align: center; }
.stack { display: grid; gap: 16px; }
fieldset.card { margin: 0; }
legend { padding: 0 4px; }
.row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.check.big { font-size: 16px; line-height: 24px; color: var(--tx); }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.stat { display: grid; gap: 4px; padding: 16px; }
.stat strong { font-size: 24px; line-height: 32px; font-weight: 600; }
.stat.ok strong { color: var(--ok); } .stat.warn strong { color: var(--gold); } .stat.bad strong { color: var(--err); }
.stat.click { cursor: pointer; border-color: rgba(255, 201, 77, .5); }
.adm-tools { display: flex; flex-wrap: wrap; gap: 12px; }
.adm-tools .input { max-width: 320px; }
.tw { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.tbl th, .tbl td { padding: 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.tbl th { color: var(--faint); font-weight: 500; background: var(--s1); white-space: nowrap; }
.tbl td.bad { color: var(--err); }
.in-sm { min-height: 40px; max-width: 110px; padding: 8px; }
.acts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.hist { padding-left: 16px; margin: 8px 0 0; display: grid; gap: 4px; font-size: 12px; line-height: 16px; color: var(--mut); min-width: 260px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 24px); opacity: 0; background: var(--ok); color: #0B2018; padding: 12px 16px; border-radius: 12px; font-weight: 600; pointer-events: none; transition: opacity 300ms var(--ease), transform 500ms var(--ease); z-index: 90; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { background: var(--err); color: #2A0A0A; }
@media (max-width: 760px) { .row3 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 404 ---------- */
.nf { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 136px 16px 64px; }
.nf .wrap { display: grid; gap: 16px; justify-items: center; }
.nf .code { font-size: 96px; line-height: 1; font-weight: 600; color: var(--red2); }

/* ---------- muncul semasa skrol ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- banner promo ---------- */
.bnr { margin-bottom: 48px; }
.bnr-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 24px; scrollbar-width: none; background: var(--s1); border: 1px solid var(--line); }
.bnr-track::-webkit-scrollbar { display: none; }
.bnr-slide { flex: 0 0 100%; scroll-snap-align: start; display: block; aspect-ratio: 12 / 5; }
.bnr-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
a.bnr-slide:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }
.bnr-dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.bnr-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: var(--line); cursor: pointer; transition: transform 300ms var(--ease), background-color 300ms var(--ease); }
.bnr-dot[aria-current="true"] { background: var(--red2); transform: scale(1.5); }
.bnr-dot:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.hero:has(.bnr:not([hidden])) { padding-top: 112px; }

/* ---------- halaman game: gambar besar & latar kabur ---------- */
.tp { overflow-x: hidden; overflow-x: clip; }
.tp > .wrap { position: relative; }
.tp-bg { position: absolute; left: 0; right: 0; top: -120px; height: 420px; background-size: cover; background-position: center; filter: blur(48px) saturate(1.2); opacity: 0; transform: scale(1.1); pointer-events: none; z-index: 0; transition: opacity 700ms var(--ease); -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
.tp-bg.on { opacity: .35; }
.tp > .wrap > *:not(.tp-bg) { position: relative; z-index: 1; }
.tp-cover { border-radius: 24px; overflow: hidden; margin-bottom: 24px; aspect-ratio: 12 / 5; border: 1px solid var(--line); background: var(--s1); }
.tp-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- admin: banner ---------- */
.bn-list { display: grid; gap: 16px; }
.bn-row { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; align-items: start; padding: 12px; border: 1px solid var(--line); border-radius: 16px; }
.bn-row .input { width: 100%; max-width: 420px; }
.bn-row .acts { display: flex; flex-wrap: wrap; gap: 8px; }
.bn-thumb { width: 100%; aspect-ratio: 12 / 5; object-fit: cover; border-radius: 8px; background: var(--s3); }
@media (max-width: 760px) { .bn-row { grid-template-columns: minmax(0, 1fr); } .bnr { margin-bottom: 24px; } .bnr-track { border-radius: 16px; } .tp-cover { border-radius: 16px; } .hero:has(.bnr:not([hidden])) { padding-top: 88px; } }

/* ---------- Flash Sale ---------- */
.flash { padding-top: 0; }
.fl-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 16px; }
.fl-head h2 { color: var(--tx); }
.fl-cd { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; }
.fl-cd .num { padding: 4px 8px; border-radius: 8px; background: var(--red); color: #fff; font-variant-numeric: tabular-nums; }
.fl-row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.fl-card { scroll-snap-align: start; display: grid; gap: 8px; padding: 12px; border-radius: 16px; border: 1px solid var(--line); background: var(--s1); color: var(--tx); text-decoration: none; transition: border-color 300ms var(--ease), transform 300ms var(--ease); }
a.fl-card:hover { border-color: var(--red2); transform: translateY(-2px); }
a.fl-card:active { transform: scale(.98); }
a.fl-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.fl-card.off { opacity: .55; }
.fl-top { display: flex; gap: 12px; align-items: center; }
.fl-img { width: 48px; height: 48px; flex: none; border-radius: 8px; }
.fl-txt { display: grid; min-width: 0; }
.fl-name { font-size: 14px; line-height: 20px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fl-lbl { font-size: 12px; line-height: 16px; color: var(--mut); }
.fl-price { display: flex; align-items: baseline; gap: 8px; }
.was { color: var(--faint); font-size: 14px; line-height: 20px; text-decoration: line-through; }
.fl-price .now { color: var(--gold); font-size: 20px; line-height: 28px; font-weight: 600; font-variant-numeric: tabular-nums; }
.fl-bar { display: block; height: 8px; border-radius: 999px; background: var(--s3); overflow: hidden; }
.fl-fill { display: block; height: 100%; border-radius: 999px; background: var(--red2); }
.fl-foot { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; line-height: 16px; color: var(--mut); }
.fl-save { color: var(--ok); font-weight: 600; }
.pk .was { font-size: 12px; line-height: 16px; }
.pk .fl-left { color: var(--red2); }
.tag-red { background: rgba(224, 30, 55, .2); color: #FF6B7D; }

/* ---------- akaun & Gamevion Credit ---------- */
.ac .card > h2 { margin: 0; }
.ac-links { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; }
.ac a, .acct-page .err-msg a { color: var(--gold); }
.ac .check { align-items: flex-start; color: var(--tx); }
.ac .check input { flex: none; margin-top: 0; }
.ac-bal-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 16px; }
.ac .ac-amt { margin: 4px 0 0; font-size: 36px; line-height: 40px; font-weight: 600; color: var(--gold); }
.ac-amts { display: flex; flex-wrap: wrap; gap: 8px; }
.ac-amts .chip[aria-pressed="true"] { border-color: var(--red2); color: var(--tx); background: rgba(224, 30, 55, .14); }
.ac .pms { display: grid; gap: 8px; }
.ac .lbl { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--mut); }
.ac-list { list-style: none; margin: 0; padding: 0; display: grid; }
.ac-list li { border-bottom: 1px solid var(--line); }
.ac-list li:last-child { border-bottom: 0; }
.ac-list li > a, .ac-list li { color: var(--tx); text-decoration: none; }
.ac-list li > a, .ac-list li:not(:has(> a)) { display: grid; gap: 4px; padding: 12px 0; }
.ac-list li > a:hover strong { color: var(--gold); }
.ac-l1, .ac-l2 { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-width: 0; }
.ac-l1 strong { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-l2 { color: var(--faint); }
.ac-plus { color: var(--ok); }
.ac-det summary { cursor: pointer; padding: 8px 0; color: var(--tx); }
.ac-det form { padding-top: 8px; }
.notice.ok { background: rgba(61, 220, 151, .08); border-color: rgba(61, 220, 151, .35); }
.pm .f.bad { color: var(--err); }

/* ---------- lencana bayaran ---------- */
.paybadges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.paybadges .pb { display: inline-flex; align-items: center; padding: 2px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: #14080C; font-size: 12px; line-height: 16px; font-weight: 600; }
.paybadges .caption-5 { flex-basis: 100%; }
.summary .paybadges { margin-top: 12px; }

/* ---------- responsif ---------- */
@media (max-width: 960px) {
  .hero-grid, .tp-grid { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta, .nav-bar .nav-acct { display: none; }
  .menu-btn { display: block; margin-left: 8px; }
  .lang { margin-left: auto; }
  section { padding: 48px 0; }
  .hero { padding: 96px 0 16px; }
  .hero .quick { display: none; }
  .hero .lead { margin-top: 12px; }
  #game { padding-top: 24px; }
  #game .sec-head .mut { display: none; }
  .heading-1 { font-size: 36px; line-height: 40px; }
  .heading-2 { font-size: 30px; line-height: 36px; }
  .heading-3 { font-size: 30px; line-height: 36px; }
  .hero .lead { font-size: 16px; line-height: 24px; }
  .tagline { padding: 32px 0; }
  .tagline p { font-size: 30px; line-height: 36px; }
  .grid-3, .steps { grid-template-columns: minmax(0, 1fr); }
  .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .pk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-head { padding: 112px 0 24px; }
  .page-head h1 { font-size: 30px; line-height: 36px; }
  .doc .card { padding: 24px 16px; }
  .info-list > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .quick { padding: 16px; border-radius: 16px; }
  .tp { padding: 104px 0 140px; }
  .bar { display: block; }
  .tp-page .foot { padding-bottom: 120px; }
  .summary .btn-wa { display: none; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .row2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
  .reveal { transform: none; transition: opacity 300ms var(--ease); }
  .g-card:hover { transform: none; }
  .tagline .w { transition: none; }
}
