/* BILSTORE — toko baru (2026-11). Satu stylesheet, dibangun dari nol. Tata letak mengikuti pola zeyastoree
 * (hero coverflow, "Paling Populer" coverflow, tab kategori, grid poster potret, halaman beli bernomor),
 * dengan identitas warna BILSTORE (merah-pink). */
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter/inter-latin-ext-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter Tight'; src: url('/assets/fonts/inter-tight/inter-tight-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #121014;
  --bg-2: #18141b;
  --card: #1c1820;
  --card-2: #241e29;
  --card-3: #2c2532;
  --line: #2f2836;
  --line-2: #433a4b;
  --text: #f8f4f7;
  --muted: #bcb0b9;
  --subtle: #8f838c;
  --brand: #e2245f;
  --brand-2: #ff5d8f;
  --brand-3: #ff9dbb;
  --brand-dark: #b8174a;
  --brand-tint: #e2245f1f;
  --gold: #ffc94a;
  --ok: #3ccf8e;
  --warn: #f3b54a;
  --bad: #ff6b6b;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 18px;
  --r-xl: 22px;
  --shadow: 0 14px 40px #00000066;
  --glow: 0 0 0 2px var(--brand), 0 14px 36px #e2245f40;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Inter Tight', 'Inter', ui-sans-serif, system-ui, sans-serif;
  --header-h: 64px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--brand-3); outline-offset: 2px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--brand); color: #fff; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
.container { width: min(1200px, calc(100% - 32px)); margin-inline: auto; }
.muted { color: var(--muted); }

/* ---------- Latar dekoratif ---------- */
.bg-art { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background:
    radial-gradient(900px 480px at 50% -160px, #e2245f2e, transparent 70%),
    radial-gradient(600px 600px at 100% 40%, #7b1fa21a, transparent 70%),
    radial-gradient(520px 520px at 0% 75%, #e2245f14, transparent 70%),
    var(--bg);
}
.bg-art::before { content: ''; position: absolute; inset: -20%; opacity: .5;
  background: repeating-linear-gradient(115deg, transparent 0 120px, #ffffff05 120px 122px, transparent 122px 260px); }
.bg-word { position: absolute; top: 50%; font: 900 120px/1 var(--display); letter-spacing: .06em; color: #ffffff07; white-space: nowrap; }
.bg-word--l { left: -40px; transform: translateY(-50%) rotate(-90deg); transform-origin: left center; left: 60px; }
.bg-word--r { right: 60px; transform: translateY(-50%) rotate(90deg); transform-origin: right center; color: #e2245f0d; }
@media (max-width: 1100px) { .bg-word { display: none; } }

/* ---------- Tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: var(--r-sm); border: 1px solid transparent; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; transition: background-color .15s, border-color .15s, transform .12s, box-shadow .15s, filter .15s; }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(180deg, var(--brand-2), var(--brand) 55%, var(--brand-dark)); color: #fff; box-shadow: 0 8px 22px #e2245f40, inset 0 1px 0 #ffffff33; }
.btn-primary:hover:not(:disabled) { filter: brightness(1.08); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { background: var(--card-2); }
.btn-outline { background: var(--card); border-color: var(--line-2); color: var(--text); }
.btn-outline:hover { border-color: var(--brand-2); }
.link-btn { background: none; border: 0; padding: 6px 0; color: var(--brand-3); font-weight: 600; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.text-link { display: inline-flex; align-items: center; gap: 4px; color: var(--brand-3); font-weight: 600; font-size: 14px; text-decoration: none; min-height: 40px; }
.text-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: #121014d9; border-bottom: 1px solid #ffffff10; -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 8px 30px #00000080; }
.header-row { height: 100%; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo img { width: 36px; height: 36px; object-fit: contain; }
.logo-word { font: 900 20px/1 var(--display); letter-spacing: .04em; color: #fff; }
.logo-word b { color: var(--brand-2); font-weight: 900; }
.main-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.main-nav > a { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 10px; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; transition: color .15s, background-color .15s; }
.main-nav > a:hover { color: #fff; background: #ffffff0d; }
.main-nav > a[aria-current="page"] { color: #fff; }
.main-nav > a[aria-current="page"]::after { content: ''; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--brand-2); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.nav-auth-mobile { display: none; }
.menu-toggle { display: none; width: 44px; height: 44px; margin-left: auto; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); color: var(--brand-2); font-size: 22px; }
.account-chip { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 6px 0 4px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); text-decoration: none; font-size: 13px; font-weight: 600; }
.account-chip .avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, var(--brand-2), var(--brand-dark)); color: #fff; font-weight: 800; }
.account-chip .coin { color: var(--gold); font-variant-numeric: tabular-nums; padding-right: 8px; }
@media (max-width: 1020px) {
  .menu-toggle { display: inline-grid; }
  .header-actions { display: none; }
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 12px 16px 18px; background: #151217; border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px #000000cc; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .2s var(--ease), opacity .2s, visibility 0s .2s; }
  .site-header.menu-open .main-nav { transform: none; opacity: 1; visibility: visible; transition: transform .2s var(--ease), opacity .2s; }
  .main-nav > a { min-height: 48px; font-size: 15px; }
  .main-nav > a[aria-current="page"]::after { display: none; }
  .main-nav > a[aria-current="page"] { background: var(--brand-tint); color: var(--brand-3); }
  .nav-auth-mobile { display: flex; gap: 8px; padding-top: 10px; margin-top: 6px; border-top: 1px solid var(--line); }
  .nav-auth-mobile .btn { flex: 1; }
}

/* ---------- Hero coverflow ---------- */
.hero { padding-top: 22px; }
.hero-stage { position: relative; isolation: isolate; width: 100%; height: calc(min(1000px, 88vw) * 9 / 16); overflow: hidden; touch-action: pan-y; }
.hero-slide { position: absolute; top: 0; left: 50%; width: min(1000px, 88vw); height: 100%; margin-left: calc(min(1000px, 88vw) / -2); border-radius: var(--r-xl); overflow: hidden; display: flex; background: var(--card); box-shadow: var(--shadow);
  transition: transform .6s var(--ease), opacity .6s var(--ease), filter .6s; will-change: transform; }
/* Banner tampil utuh (tanpa terpotong); sisa ruang diisi versi buram dari gambar yang sama. */
.hero-slide { align-items: center; justify-content: center; }
/* Banner hero dibuat ulang: frame selalu penuh. Gambar game tampil utuh di kanan, teks BILSTORE di kiri. */
.hero-slide { container-type: inline-size; text-decoration: none; color: #fff; }
.hero-slide .hero-bg { position: absolute; inset: -30px; width: calc(100% + 60px); height: calc(100% + 60px); object-fit: cover; filter: blur(26px) brightness(.5) saturate(1.25); }
.hero-slide .hero-art { position: absolute; top: 0; right: 0; height: 100%; width: auto; max-width: none; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, #14080df2 0%, #1a0a11d9 26%, #1a0a1166 46%, transparent 62%), radial-gradient(120% 90% at 0% 100%, #e11d4840, transparent 60%); }
.hero-copy { position: relative; z-index: 1; align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 1.1cqw; width: 46%; margin-right: auto; padding: 0 0 0 4.6cqw; color: #fff; }
.hero-kicker { align-self: flex-start; padding: .45cqw 1.2cqw; border-radius: 99px; background: var(--brand); font-size: max(9px, 1.45cqw); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.hero-title { font-family: 'Inter Tight', 'Inter', sans-serif; font-size: 4.9cqw; line-height: 1.02; font-weight: 900; letter-spacing: -.02em; text-wrap: balance; text-shadow: 0 .3cqw 2cqw #0009; }
.hero-sub { font-size: max(10px, 1.6cqw); color: #ffffffd9; }
.hero-row { display: flex; align-items: center; gap: 1.6cqw; flex-wrap: wrap; margin-top: .6cqw; }
.hero-cta { display: inline-flex; align-items: center; padding: 1cqw 2.2cqw; border-radius: 99px; background: linear-gradient(135deg, var(--brand), #ff5a7a); font-size: max(10px, 1.6cqw); font-weight: 800; box-shadow: 0 .6cqw 2cqw #e11d4866; white-space: nowrap; }
.hero-price { font-size: max(10px, 1.6cqw); color: #ffffffcc; } .hero-price b { color: #fff; }
.hero-welcome { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: radial-gradient(60% 90% at 50% 50%, #c81e4a 0%, #8f0f2e 55%, #4a0617 100%); }
.hw-tile { position: absolute; top: 0; height: 100%; width: auto; }
.hw-tile--l { left: 0; -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 92%); mask-image: linear-gradient(90deg, #000 55%, transparent 92%); }
.hw-tile--r { right: 0; -webkit-mask-image: linear-gradient(270deg, #000 55%, transparent 92%); mask-image: linear-gradient(270deg, #000 55%, transparent 92%); }
.hw-copy::before { content: ''; position: absolute; z-index: -1; inset: -6cqw -10cqw; background: radial-gradient(closest-side, #7a0a26cc, transparent); }
.hw-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .8cqw; text-align: center; color: #fff; }
.hw-kicker { font-family: 'Inter Tight', 'Inter', sans-serif; font-size: 3.4cqw; font-weight: 900; font-style: italic; letter-spacing: .04em; text-transform: uppercase; text-shadow: 0 .4cqw 0 #7a0a26, 0 .4cqw 2cqw #0008; }
.hw-brand { font-family: 'Inter Tight', 'Inter', sans-serif; font-size: 8.6cqw; line-height: .95; font-weight: 900; font-style: italic; letter-spacing: -.01em; transform: skewX(-6deg); text-shadow: 0 .55cqw 0 #7a0a26, 0 .8cqw 3cqw #000a; }
.hw-brand em { font-style: inherit; color: #ffd1dc; }
.hw-sub { max-width: 40cqw; font-size: max(9px, 1.5cqw); font-weight: 600; color: #ffffffe6; text-shadow: 0 .2cqw 1cqw #0009; }
.hw-copy .hero-cta { margin-top: .6cqw; background: #fff; color: #b0123a; box-shadow: 0 .6cqw 2cqw #0006; }
@media (max-width: 640px) { .hero-sub, .hw-sub { display: none; } .hero-title { font-size: 6.4cqw; } .hero-copy { width: 54%; gap: 1.6cqw; } .hw-brand { font-size: 10.5cqw; } .hw-kicker { font-size: 4.2cqw; } }
.hero-slide::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px #ffffff1a; pointer-events: none; }
.hero-slide:not(.is-active) { filter: brightness(.45) saturate(.8); }
.hero-arrow, .round-arrow { position: absolute; top: 50%; z-index: 5; width: 44px; height: 44px; margin-top: -22px; display: grid; place-items: center; border-radius: 50%; border: 1px solid #ffffff2e; background: #121014b3; color: #fff; font-size: 20px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .15s, transform .15s; }
.hero-arrow:hover, .round-arrow:hover { background: var(--brand); border-color: var(--brand); }
.hero-arrow--prev { left: calc(50% - min(1000px, 88vw) / 2 + 14px); }
.hero-arrow--next { right: calc(50% - min(1000px, 88vw) / 2 + 14px); }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.dots > * { width: 8px; height: 8px; padding: 0; border-radius: 99px; border: 0; background: #ffffff38; transition: width .25s var(--ease), background-color .25s; }
.dots > [aria-selected="true"], .dots > .is-active { width: 26px; background: var(--brand-2); }
.dots button { min-width: 8px; position: relative; }
.dots button::before { content: ''; position: absolute; inset: -10px -4px; }
@media (max-width: 640px) {
  .hero { padding-top: 14px; }
  .hero-stage { height: calc(88vw * 9 / 16); }
  .hero-slide { border-radius: var(--r); }
  .hero-arrow { display: none; }
}

/* ---------- Pencarian ---------- */
.search { position: relative; display: flex; align-items: center; max-width: 880px; margin: 22px auto 0; }
.search-ico { position: absolute; left: 16px; color: var(--subtle); font-size: 18px; pointer-events: none; }
.search input { flex: 1; min-width: 0; height: 52px; padding: 0 16px 0 46px; border-radius: var(--r) 0 0 var(--r); border: 1px solid var(--line-2); border-right: 0; background: #1c1820e6; color: var(--text); font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
.search input::placeholder { color: var(--subtle); }
.search input:focus { border-color: var(--brand-2); box-shadow: 0 0 0 3px #e2245f33; }
.search-btn { width: 56px; height: 52px; display: grid; place-items: center; border: 0; border-radius: 0 var(--r) var(--r) 0; background: var(--brand); color: #fff; font-size: 20px; }
.search-btn:hover { background: var(--brand-dark); }
.search input::-webkit-search-cancel-button { filter: invert(1); }
.search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 30; margin: 0; padding: 6px; list-style: none; border-radius: var(--r); border: 1px solid var(--line-2); background: #1c1820fa; box-shadow: var(--shadow); max-height: 380px; overflow-y: auto; }
.search-results a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; text-decoration: none; }
.search-results a:hover, .search-results a[aria-selected="true"] { background: var(--card-3); }
.search-results img, .search-results .sr-fallback { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; background: var(--card-3); display: grid; place-items: center; font: 800 11px var(--display); color: var(--brand-3); flex: none; }
.search-results strong { display: block; font-size: 14px; }
.search-results small { color: var(--muted); font-size: 12px; }
.search-results .sr-empty { padding: 12px; color: var(--muted); font-size: 14px; }

/* ---------- Judul bagian ---------- */
.section-title { display: flex; align-items: center; gap: 10px; margin: 0; font: 800 22px/1.2 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.flame { color: var(--brand-2); font-size: 26px; filter: drop-shadow(0 0 10px #e2245f99); animation: flame 1.6s ease-in-out infinite; }
@keyframes flame { 50% { transform: scale(1.12); opacity: .85; } }

/* ---------- Paling populer (coverflow poster) ---------- */
.popular { margin-top: 40px; }
.pop-stage { position: relative; isolation: isolate; height: 420px; margin-top: 10px; overflow: hidden; touch-action: pan-y; }
.pop-card { --w: 210px; position: absolute; left: 50%; top: 44px; width: var(--w); aspect-ratio: 2 / 3; margin-left: calc(var(--w) / -2); border-radius: var(--r-lg); overflow: hidden; background: var(--card); text-decoration: none; box-shadow: 0 16px 40px #00000080;
  transition: transform .55s var(--ease), opacity .55s var(--ease), filter .55s, box-shadow .3s; will-change: transform; }
.pop-card > img { width: 100%; height: 100%; object-fit: cover; }
.pop-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px #ffffff1f; pointer-events: none; }
.pop-card:not(.is-active) { filter: brightness(.55) saturate(.85); }
.pop-card.is-active { box-shadow: var(--glow); }
.pop-card.is-active::after { box-shadow: inset 0 0 0 2px var(--brand-2); }
.pop-copy { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 12px 12px; text-align: center; background: linear-gradient(transparent, #0d0b0ee6 55%); }
.pop-copy strong { display: block; font: 800 14px/1.25 var(--display); letter-spacing: .04em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pop-copy small { display: block; margin-top: 3px; color: var(--brand-3); font-weight: 700; font-size: 12px; }
.round-arrow--prev { left: max(12px, calc(50% - 420px)); }
.round-arrow--next { right: max(12px, calc(50% - 420px)); }
@media (max-width: 640px) {
  .pop-stage { height: 330px; }
  .pop-card { --w: 160px; top: 30px; }
  .round-arrow { width: 38px; height: 38px; margin-top: -19px; }
}

/* ---------- Tag kecil di kartu ---------- */
.card-tag { position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 0 0 10px 0; font: 800 10px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.card-tag img { width: 14px; height: 14px; }
.card-tag--brand { top: 0; left: 0; background: #0d0b0ecc; color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.card-tag--soon { top: 0; right: 0; left: auto; border-radius: 0 0 0 10px; background: var(--warn); color: #241a05; }

/* ---------- Tab kategori ---------- */
.catalog { margin-top: 40px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; border-bottom: 1px solid var(--line); }
.tabs::-webkit-scrollbar { display: none; }
.tabs [role="tab"] { flex: none; min-height: 44px; padding: 0 18px; border: 0; border-bottom: 2px solid transparent; border-radius: 10px 10px 0 0; background: var(--card); color: var(--muted); font-weight: 700; font-size: 14px; white-space: nowrap; transition: color .15s, background-color .15s, border-color .15s; }
.tabs [role="tab"]:hover { color: #fff; }
.tabs [role="tab"][aria-selected="true"] { color: #fff; background: linear-gradient(180deg, #e2245f26, var(--card) 80%); border-bottom-color: var(--brand-2); }

/* ---------- Grid poster ---------- */
.game-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
@media (min-width: 640px) { .game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 900px) { .game-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (min-width: 1140px) { .game-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; } }
.game-card { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--card); text-decoration: none; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s; }
.game-card::after { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 1px #ffffff1a; pointer-events: none; transition: box-shadow .25s; }
.card-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card-fallback { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(120% 80% at 50% 20%, #e2245f40, transparent 70%), linear-gradient(160deg, var(--card-3), var(--card)); }
.card-fallback img { width: 46%; aspect-ratio: 1; border-radius: 22%; object-fit: cover; box-shadow: 0 10px 26px #00000099; }
.card-fallback b { font: 900 clamp(18px, 4vw, 28px)/1 var(--display); letter-spacing: .04em; color: var(--brand-3); text-shadow: 0 4px 20px #e2245f80; }
.card-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 48px 10px 10px; background: linear-gradient(transparent, #0d0b0ef2 60%); }
.card-copy strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: 800 13px/1.25 var(--display); }
.card-copy small { display: block; margin-top: 3px; color: var(--brand-3); font-weight: 700; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (min-width: 900px) { .card-copy { padding: 56px 12px 12px; } .card-copy strong { font-size: 15px; } .card-copy small { font-size: 12px; } }
a.game-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px #00000099, 0 0 30px #e2245f33; }
a.game-card:hover::after { box-shadow: inset 0 0 0 2px var(--brand-2); }
a.game-card:hover .card-img { transform: scale(1.06); }
.game-card.is-soon { cursor: default; }
.game-card.is-soon .card-img, .game-card.is-soon .card-fallback { filter: grayscale(.6) brightness(.6); }
.empty { padding: 32px 0; text-align: center; color: var(--muted); }
.more-row { display: flex; justify-content: center; margin-top: 22px; }

/* ---------- Transaksi terbaru ---------- */
.live { margin-top: 56px; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 #3ccf8e99; animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px #3ccf8e00; } 100% { box-shadow: 0 0 0 0 #3ccf8e00; } }
.table-card { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: #1c1820e6; }
.table-card table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.table-card th { padding: 13px 16px; text-align: left; background: var(--card-2); color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.table-card td { padding: 13px 16px; border-top: 1px solid var(--line); }
.table-card td:first-child { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--muted); white-space: nowrap; }
.table-card td:nth-child(3), .table-card td:nth-child(4) { white-space: nowrap; font-variant-numeric: tabular-nums; }
.row-new { animation: rowin 1s var(--ease); }
@keyframes rowin { from { background: #e2245f2e; } }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.ok { color: var(--ok); background: #3ccf8e1a; }
.badge.wait { color: var(--warn); background: #f3b54a1a; }
.badge.bad { color: var(--bad); background: #ff6b6b1a; }

@media (max-width: 640px) {
  .section-title { font-size: 19px; }
  .section-head { flex-wrap: wrap; gap: 4px 12px; }
  .table-card { overflow: visible; border: 0; background: none; }
  .table-card table, .table-card tbody { display: block; min-width: 0; }
  .table-card thead { display: none; }
  .table-card tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 14px; margin-bottom: 8px; border-radius: var(--r); border: 1px solid var(--line); background: #1c1820e6; }
  .table-card td { padding: 0; border: 0; }
  .table-card td:nth-child(1) { grid-column: 1; font-size: 12px; }
  .table-card td:nth-child(2) { grid-column: 1; grid-row: 2; font-weight: 600; }
  .table-card td:nth-child(3) { grid-column: 2; grid-row: 2; text-align: right; color: var(--brand-3); font-weight: 700; }
  .table-card td:nth-child(4) { grid-column: 1; grid-row: 3; color: var(--subtle); font-size: 12px; }
  .table-card td:nth-child(5) { grid-column: 2; grid-row: 1; text-align: right; }
  .table-card td[colspan] { grid-column: 1 / -1; grid-row: auto; }
}

/* ---------- Cara top up ---------- */
.howto { margin-top: 56px; }
.steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.steps li { display: flex; gap: 14px; padding: 18px; border-radius: var(--r-lg); border: 1px solid var(--line); background: #1c1820e6; }
.step-num { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; transform: rotate(45deg); background: linear-gradient(135deg, var(--brand-2), var(--brand-dark)); color: #fff; font: 900 15px/1 var(--display); box-shadow: 0 6px 16px #e2245f55; }
.step-num > span { transform: rotate(-45deg); }
.steps h3 { margin: 4px 0 4px; font: 800 15px/1.3 var(--display); }
.steps p { margin: 0; color: var(--muted); font-size: 13px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { margin-top: 72px; padding-top: 44px; border-top: 1px solid var(--line); background: linear-gradient(180deg, #17131a, #0f0d11); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; }
.footer-brand p { margin: 14px 0 0; color: var(--muted); font-size: 14px; max-width: 380px; }
.footer-brand .footer-note { color: var(--subtle); font-size: 13px; }
.legal-chip { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 8px 12px; border-radius: 10px; border: 1px solid #3ccf8e40; background: #3ccf8e12; color: var(--ok); font-weight: 700; font-size: 13px; }
.legal-chip svg { font-size: 18px; }
.footer-h { margin: 6px 0 14px; font: 800 14px/1.2 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.footer-h--sub { margin-top: 22px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.footer-links a, .footer-social a { display: inline-flex; min-height: 34px; align-items: center; color: var(--muted); font-size: 14px; text-decoration: none; }
.footer-links a:hover, .footer-social a:hover { color: #fff; }
.footer-social { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.pay-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-chips span { padding: 5px 10px; border-radius: 8px; background: #fff; color: #1a1a1a; font: 800 11px/1.2 var(--display); letter-spacing: .02em; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 36px; padding: 18px 0 28px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 13px; }
.footer-bottom p { margin: 0; }
.footer-bottom b { color: var(--text); }
.footer-bottom div { display: flex; gap: 18px; }
.footer-bottom a { color: var(--subtle); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer { padding-bottom: 72px; } }

/* ---------- Tombol mengambang ---------- */
.fab { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; display: flex; flex-direction: column; gap: 10px; }
.fab-btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 0; box-shadow: 0 10px 28px #00000080; font-size: 24px; transition: transform .15s; }
.fab-btn:hover { transform: scale(1.06); }
.fab-wa { background: #25d366; color: #fff; }
.fab-wa svg { fill: #fff; stroke: none; }
.fab-top { background: var(--card-3); color: #fff; border: 1px solid var(--line-2); width: 44px; height: 44px; font-size: 20px; margin-left: 4px; }
@media (max-width: 1020px) { .page-game .fab-wa { display: none; } }
body.has-buybar .fab { bottom: calc(96px + env(safe-area-inset-bottom)); }

/* ---------- Modal masuk / daftar ---------- */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: #07060899; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: fade .2s; }
.modal-card { position: relative; width: min(440px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 26px 24px 22px; border-radius: var(--r-xl); border: 1px solid var(--line-2); background: linear-gradient(180deg, #221c27, #19151c); box-shadow: 0 30px 80px #000000b3; animation: pop .25s var(--ease); }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.modal-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 0; background: transparent; color: var(--muted); font-size: 20px; }
.modal-close:hover { background: var(--card-3); color: #fff; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-right: 40px; border-radius: 12px; background: #0f0d11; }
.auth-tabs button { min-height: 40px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font-weight: 700; }
.auth-tabs [aria-selected="true"] { background: var(--card-3); color: #fff; box-shadow: inset 0 -2px 0 var(--brand-2); }
.auth-title { margin: 18px 0 4px; font: 800 22px/1.25 var(--display); }
.auth-sub { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label, .label { font-size: 13px; font-weight: 700; color: var(--text); }
.field input, .field select, .input { width: 100%; height: 48px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: #0f0d11; color: var(--text); font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s; }
.field input::placeholder, .input::placeholder { color: var(--subtle); }
.field input:focus, .field select:focus, .input:focus { border-color: var(--brand-2); box-shadow: 0 0 0 3px #e2245f33; }
.field input[aria-invalid="true"], .input[aria-invalid="true"] { border-color: var(--bad); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--brand); flex: none; }
.check a { color: var(--brand-3); }
.form-msg { margin: 0; min-height: 0; color: var(--bad); font-size: 13px; }
.form-msg.ok { color: var(--ok); }
.form-msg:empty { display: none; }
.divider { display: flex; align-items: center; gap: 12px; margin: 16px 0 12px; color: var(--subtle); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
#authGoogle { display: flex; justify-content: center; min-height: 44px; }
.recaptcha-note { margin: 14px 0 0; color: var(--subtle); font-size: 11px; text-align: center; }
.recaptcha-note a { color: var(--muted); }
#authModal [data-for] { display: none; }
#authModal[data-mode="login"] [data-for~="login"], #authModal[data-mode="register"] [data-for~="register"], #authModal[data-mode="forgot"] [data-for~="forgot"] { display: grid; }
#authModal .check[data-for] { display: none; }
#authModal[data-mode="register"] .check[data-for~="register"] { display: flex; }
#authModal .link-btn[data-for] { justify-self: center; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 90; max-width: min(92vw, 440px); padding: 12px 18px; border-radius: 12px; background: #2c2532f5; border: 1px solid var(--line-2); color: #fff; font-size: 14px; box-shadow: var(--shadow); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s var(--ease); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
body.has-buybar .toast { bottom: calc(100px + env(safe-area-inset-bottom)); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* =================== Halaman beli =================== */
.game-hero { position: relative; height: clamp(260px, 32vw, 460px); overflow: hidden; margin-top: calc(var(--header-h) * -1); }
.game-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: saturate(1.05); }
.game-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, #12101466 0%, #12101400 30%, #121014d9 78%, var(--bg) 100%), linear-gradient(90deg, #121014aa, transparent 40%, transparent 60%, #121014aa); }
.game-head { position: relative; display: flex; align-items: flex-end; gap: 22px; margin-top: -96px; padding: 18px 22px; border-radius: var(--r-xl); border: 1px solid var(--line); background: linear-gradient(135deg, #221b27f2, #18141bf2); box-shadow: var(--shadow); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.game-head::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(135deg, transparent 0 18px, #ffffff05 18px 36px); pointer-events: none; }
.game-poster { position: relative; flex: none; width: 128px; aspect-ratio: 2 / 3; margin-top: -64px; border-radius: var(--r-lg); object-fit: cover; box-shadow: 0 18px 40px #000000b3, 0 0 0 3px var(--brand-2); }
.game-head-copy { position: relative; min-width: 0; padding-bottom: 2px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: 12px; color: var(--subtle); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.game-head h1 { margin: 6px 0 2px; font: 900 clamp(22px, 3.2vw, 32px)/1.15 var(--display); letter-spacing: .01em; }
.game-sub { margin: 0; color: var(--muted); font-size: 14px; }
.perks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0 0; padding: 0; }
.perks li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; }
.perks svg { color: var(--brand-2); font-size: 16px; }
.game-layout { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 20px; align-items: start; margin-top: 20px; }
.game-side { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 16px; }
.panel { border-radius: var(--r-lg); border: 1px solid var(--line); background: #1c1820ee; }
.panel-body { padding: 0 18px 18px; }
.panel-title { display: flex; align-items: center; gap: 10px; margin: 0; padding: 16px 18px; font: 800 15px/1.3 var(--display); }
.panel-title svg { color: var(--gold); fill: var(--gold); font-size: 18px; }
.info-panel summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; list-style: none; cursor: pointer; font: 800 15px/1.3 var(--display); }
.info-panel summary::-webkit-details-marker { display: none; }
.info-panel summary svg { font-size: 18px; color: var(--muted); transition: transform .2s; }
.info-panel[open] summary svg { transform: rotate(180deg); }
.prose { color: var(--muted); font-size: 14px; }
.prose p { margin: 0 0 10px; }
.prose ol { margin: 0 0 10px; padding-left: 20px; display: grid; gap: 6px; }
.prose b { color: var(--text); }
.prose .note { padding: 10px 12px; border-radius: var(--r-sm); background: #f3b54a14; border: 1px solid #f3b54a33; color: #f6d79a; font-size: 13px; }
.rating { display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; gap: 4px 8px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.rating strong { font: 900 34px/1 var(--display); color: var(--gold); }
.rating > span:not(.stars) { color: var(--muted); }
.rating small { grid-column: 1 / -1; color: var(--muted); }
.stars { --v: 1; position: relative; display: inline-block; justify-self: start; font-size: 16px; letter-spacing: 2px; line-height: 1; }
.stars::before { content: '★★★★★'; color: #ffffff26; }
.stars::after { content: '★★★★★'; position: absolute; left: 0; top: 0; width: calc(var(--v) * 100%); overflow: hidden; color: var(--gold); white-space: nowrap; }
.stars.sm { font-size: 12px; }
.reviews { list-style: none; margin: 0; padding: 0; }
.reviews li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.reviews li:last-child { border-bottom: 0; padding-bottom: 0; }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; }
.reviews p { margin: 6px 0 4px; color: var(--muted); font-size: 14px; }
.reviews small { color: var(--subtle); font-size: 12px; }

.game-steps { display: grid; gap: 16px; min-width: 0; }
.game-steps > *, .game-side > * { min-width: 0; }
.step { padding: 0 18px 18px; }
.step-h { display: flex; align-items: center; gap: 14px; margin: 0 -18px 16px; padding: 16px 18px; border-bottom: 1px solid var(--line); font: 800 16px/1.3 var(--display); }
.step-h .step-num { width: 28px; height: 28px; border-radius: 7px; font-size: 13px; box-shadow: 0 4px 12px #e2245f66; }
.fields { display: grid; gap: 14px; }
.fields.two { grid-template-columns: 1fr 1fr; }
.help { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.help:empty { display: none; }
.nick-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 12px; }
.nick { margin: 0; font-size: 13px; font-weight: 600; }
.nick.ok { color: var(--ok); } .nick.bad { color: var(--bad); } .nick.wait { color: var(--warn); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card-2); color: var(--muted); font-weight: 700; font-size: 13px; transition: all .15s; }
.chip:hover { color: #fff; border-color: var(--brand-2); }
.chip.is-on { color: #fff; background: var(--brand); border-color: var(--brand); box-shadow: 0 6px 16px #e2245f44; }
.packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pack-group { grid-column: 1 / -1; margin: 6px 0 0; color: var(--muted); font: 800 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; }
.pack-group:first-child { margin-top: 0; }
.pack { position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; align-content: center; gap: 2px 10px; min-height: 76px; padding: 12px; border-radius: var(--r); border: 1px solid var(--line-2); background: linear-gradient(160deg, var(--card-2), var(--card)); color: var(--text); text-align: left; overflow: hidden; transition: border-color .15s, transform .15s, box-shadow .15s; }
.pack:hover { border-color: #ff5d8f99; transform: translateY(-1px); }
.pack.is-on { border-color: var(--brand-2); background: linear-gradient(160deg, #e2245f33, var(--card-2) 70%); box-shadow: 0 0 0 1px var(--brand-2), 0 10px 24px #e2245f2e; }
.pack.is-on::after { content: ''; position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat; }
.pack-ico { grid-row: 1 / span 3; align-self: center; width: 28px; height: 28px; border-radius: 8px; object-fit: cover; }
.pack-name { font-weight: 700; font-size: 13px; line-height: 1.3; padding-right: 18px; }
.pack-price { color: var(--brand-3); font-weight: 800; font-size: 14px; }
.pack-was { grid-column: 2; color: var(--subtle); font-size: 11px; }
.pack-flag { position: absolute; left: 0; top: 0; padding: 2px 8px; border-radius: 0 0 8px 0; background: var(--gold); color: #2a1e00; font: 800 9px/1.4 var(--display); letter-spacing: .06em; text-transform: uppercase; }
.pack:has(.pack-flag) { padding-top: 24px; }
.pack-more { grid-column: 1 / -1; justify-self: center; margin-top: 4px; }
.pack-skel { min-height: 76px; background: linear-gradient(90deg, var(--card-2), var(--card-3), var(--card-2)); background-size: 200% 100%; animation: skel 1.2s infinite linear; border-color: transparent; }
@keyframes skel { to { background-position: -200% 0; } }
.state-msg { margin: 6px 0 0; padding: 14px; border-radius: var(--r); border: 1px dashed var(--line-2); color: var(--muted); font-size: 14px; text-align: center; }
.pay-list { display: grid; gap: 10px; }
.pay { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 64px; padding: 10px 14px; border-radius: var(--r); border: 1px solid var(--line-2); background: var(--card-2); color: var(--text); text-align: left; transition: border-color .15s, background-color .15s; }
.pay:hover:not(.is-off) { border-color: #ff5d8f99; }
.pay.is-on { border-color: var(--brand-2); background: linear-gradient(90deg, #e2245f26, var(--card-2) 70%); box-shadow: 0 0 0 1px var(--brand-2); }
.pay.is-off { opacity: .55; cursor: not-allowed; }
.pay-logo { display: grid; place-items: center; height: 36px; border-radius: 8px; background: #fff; color: #111; font: 900 12px/1 var(--display); letter-spacing: .02em; }
.pay-logo--gobiz { color: #00a5cf; }
.pay-logo--shopee { color: #ee4d2d; }
.pay-logo--coin { background: linear-gradient(135deg, #ffd66b, #f5a524); color: #3a2500; }
.pay-copy { display: grid; gap: 2px; min-width: 0; }
.pay-copy strong { font-size: 14px; }
.pay-copy small { color: var(--muted); font-size: 12px; }
.pay.is-off small { color: var(--warn); }
.pay-amt { color: var(--brand-3); font-size: 14px; white-space: nowrap; }
.pay-fee { display: inline-block; margin: 2px 0 0 6px; padding: 1px 7px; border-radius: 999px; font-style: normal; font-size: 11px; font-weight: 700; color: #ffd27a; background: rgba(255, 196, 0, .14); border: 1px solid rgba(255, 196, 0, .35); vertical-align: middle; }
.input-prefix { display: flex; }
.input-prefix span { display: grid; place-items: center; padding: 0 14px; border-radius: var(--r-sm) 0 0 var(--r-sm); border: 1px solid var(--line-2); border-right: 0; background: var(--card-3); color: var(--muted); font-weight: 700; }
.input-prefix input { border-radius: 0 var(--r-sm) var(--r-sm) 0 !important; }
.summary { display: grid; gap: 10px; margin: 0 0 16px; padding: 14px 16px; border-radius: var(--r); background: #0f0d11; border: 1px solid var(--line); }
.summary div { display: flex; justify-content: space-between; gap: 16px; font-size: 14px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; }
.summary .total { padding-top: 10px; border-top: 1px dashed var(--line-2); }
.summary .total dd { color: var(--brand-3); font: 900 20px/1.2 var(--display); }
.confirm .check { margin-bottom: 12px; }
.confirm .form-msg { margin-bottom: 12px; }
.btn-lg { min-height: 54px; font-size: 16px; border-radius: var(--r); }
.guest-box { margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--line, rgba(255,255,255,.12)); border-radius: 12px; background: rgba(255,255,255,.03); font-size: 13px; line-height: 1.5; color: var(--muted); }
.guest-box p { margin: 0 0 8px; }
.guest-box .guest-title { color: var(--text, #fff); font-weight: 700; font-size: 14px; }
.guest-box .guest-alt .link-btn { padding: 0; font-size: 13px; }
.guest-box .check { margin: 4px 0 0; }
.login-note { margin: 12px 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.login-note .link-btn { padding: 0; font-size: 13px; }
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: 10px 0 calc(10px + env(safe-area-inset-bottom)); background: #18141bf5; border-top: 1px solid var(--line-2); box-shadow: 0 -10px 30px #00000080; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.buybar-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.buybar-copy { min-width: 0; display: grid; }
.buybar-copy small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.buybar-copy strong { color: var(--brand-3); font: 900 18px/1.2 var(--display); }
@media (max-width: 1020px) {
  .game-layout { grid-template-columns: minmax(0, 1fr); }
  .game-side { position: static; order: 2; }
}
@media (max-width: 640px) {
  .game-hero { height: 200px; }
  .game-head { gap: 14px; margin-top: -70px; padding: 14px; align-items: center; }
  .game-poster { width: 86px; margin-top: -40px; border-radius: var(--r); }
  .perks { gap: 6px 12px; }
  .perks li { font-size: 12px; }
  .packs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pack { grid-template-columns: 1fr; min-height: 66px; padding: 10px 12px; }
  .pack:has(.pack-flag) { padding-top: 24px; }
  .pack-ico { display: none; }
  .pack-was { grid-column: 1; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -18px; padding-inline: 18px; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .fields.two { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pay { grid-template-columns: 64px minmax(0, 1fr); }
  .pay-amt { display: none; }
}

/* Banner unggahan tampil penuh 16:9, di tengah, tanpa teks; hanya tombol di tengah bawah. */
.hero-slide .hero-art { inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-cta--bottom { position: absolute; left: 50%; bottom: 4.5cqw; transform: translateX(-50%); z-index: 1; font-size: max(11px, 1.9cqw); padding: 1.1cqw 3cqw; }
.hero-arrow { z-index: 200; }
/* BILSTORE_RAIL_FEE_V1 / BILSTORE_DEPOSIT_RAILS_V1 */
.pay-copy .pay-fee { justify-self: start; margin: 2px 0 0; }
.dep-rails { margin: 12px 0; }
.dep-rails[hidden] { display: none; }
.dep-rails .pay { grid-template-columns: 74px minmax(0, 1fr); }
.pay-logo--dana { color: #118eea; }
