/* Akun opsional — gaya dark/gold; navigasi publik tetap. */
body.account-area .bottomnav { display: none; }
body.account-area { padding-bottom: 0; }
.account-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; padding-left: 16px; font-size: 14px; font-weight: 600; }
.account-actions a { color: var(--primary); }
.account-actions .btn-primary { color: #17130a; }
.hamburger-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 8px; background: transparent; border: 0; border-radius: 6px; color: var(--text); cursor: pointer; }
.account-actions a:focus-visible, .hamburger-btn:focus-visible, .account-link:focus-visible, .drawer-links a:focus-visible, .account-page a:focus-visible, .payment-choice:focus-within { outline: 2px solid var(--primary); outline-offset: 3px; }
.drawer-open { overflow: hidden; }
.side-drawer { position: fixed; inset: 0 auto 0 0; margin: 0; width: min(360px, 82vw); height: 100%; height: 100dvh; max-height: none; max-width: none; padding: 0; color: #f4f4f5; background: #25252c; border: 0; border-radius: 0; overflow-x: hidden; overscroll-behavior: contain; }
.side-drawer::backdrop { background: rgba(0,0,0,.68); }
.drawer-content { display: flex; flex-direction: column; min-height: 100%; padding-bottom: env(safe-area-inset-bottom); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 24px 24px 22px 30px; border-bottom: 1px dashed #4a4a53; }
.drawer-brand { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--primary); }
.drawer-brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 8px; }
.drawer-brand strong { display: block; font-size: 16px; font-weight: 700; letter-spacing: .02em; }
.drawer-brand small { display: block; margin-top: 3px; color: #b5b5bf; font-size: 11px; }
.drawer-head .hamburger-btn { flex-shrink: 0; color: #fff; }
.drawer-links { display: grid; gap: 4px; padding: 25px 30px 20px; }
.drawer-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 10px 0; border: 0; border-radius: 0; color: #f4f4f5; font-size: 16px; font-weight: 500; line-height: 1.4; }
.drawer-links a:hover, .drawer-links a[aria-current="page"] { color: var(--primary); }
.drawer-links [data-drawer-icon] { display: flex; flex-shrink: 0; color: #c3c3cc; }
.drawer-links a[aria-current="page"] [data-drawer-icon] { color: var(--primary); }
.drawer-footer { margin-top: auto; padding: 18px 30px 24px; }
.drawer-profile { border-top: 1px solid #3b3b44; padding-top: 20px; overflow-wrap: anywhere; }
.drawer-user { display: flex; align-items: center; gap: 10px; color: #d8d8df; }
.drawer-user > .icon { flex-shrink: 0; }
.drawer-user strong { font-size: 14px; font-weight: 500; }
.drawer-user small { display: block; color: #a1a1ad; margin-top: 3px; font-size: 12px; }
.drawer-balance { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0 8px; font-size: 12px; color: #b5b5bf; }
.drawer-balance strong { font-size: 19px; color: var(--primary); }
.drawer-logout { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 48px; margin-top: 12px; padding: 10px 0; background: transparent; border: 0; color: #e1e1e7; font: inherit; font-size: 15px; cursor: pointer; }
.drawer-logout:hover { color: var(--primary); }
.drawer-logout:focus-visible, .drawer-brand:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
.drawer-logout:disabled { opacity: .5; cursor: wait; }
@media (prefers-reduced-motion: no-preference) {
  .side-drawer[open] { animation: drawer-enter .18s ease-out; }
  @keyframes drawer-enter { from { transform: translateX(-100%); } to { transform: translateX(0); } }
}
.account-balance { font-size: 30px; font-weight: 800; color: var(--primary); margin: 8px 0 16px; overflow-wrap: anywhere; }
.account-form { max-width: 480px; margin: 20px auto; }
.account-form h1, .account-page h1 { font-size: 24px; }
/* Hanya halaman masuk/daftar: layar polos seperti referensi, bukan kartu toko. */
body:has(.auth-screen) { background: #25252d; padding-bottom: 0; }
body:has(.auth-screen) .topbar, body:has(.auth-screen) .bottomnav, body:has(.auth-screen) .site-footer { display: none; }
.view:has(.auth-screen) { max-width: none; padding: 0; }
.auth-screen { width: 100%; max-width: 520px; min-height: 100dvh; margin: 0 auto; padding: 24px 20px calc(32px + env(safe-area-inset-bottom)); color: #f4f4f5; }
.auth-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid #4b4b56; border-radius: 10px; color: #f4f4f5; }
.auth-heading { margin: 34px 0 28px; }
.auth-heading h1 { margin: 0 0 10px; font-size: 28px; line-height: 1.2; font-weight: 750; letter-spacing: -.02em; }
.auth-heading p { margin: 0; font-size: 14px; line-height: 1.6; color: #d0d0d8; }
.auth-screen .field { margin-bottom: 22px; min-width: 0; }
.auth-screen .field label { color: #eeeeF2; font-size: 13px; font-weight: 500; margin-bottom: 10px; }
.auth-screen .field input { min-height: 46px; background: #3c3c48; color: #fff; border: 1px solid #535361; border-radius: 9px; padding: 12px; font-size: 16px; line-height: 1.3; }
.auth-screen .field input::placeholder { color: #bcbcc8; font-size: 13px; opacity: 1; }
.auth-screen .field input:focus { outline: 2px solid var(--primary); outline-offset: 1px; }
.auth-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.auth-password { position: relative; }
.auth-screen .auth-password input { padding-right: 43px; }
.auth-eye { position: absolute; top: 1px; right: 1px; bottom: 1px; width: 40px; display: flex; align-items: center; justify-content: center; border: 0; background: transparent; color: #dedee6; cursor: pointer; border-radius: 8px; }
.auth-eye[aria-pressed="false"]::after { content: ''; position: absolute; width: 22px; height: 1.5px; background: currentColor; transform: rotate(-45deg); }
.auth-hint { color: #bebeca; font-size: 12px; margin: -10px 0 22px; }
.auth-terms { color: #d0d0d8; font-size: 12px; line-height: 1.7; margin: 0 0 24px; }
.auth-screen a:not(.auth-close) { color: var(--primary); }
.auth-screen .auth-submit { position: relative; min-height: 46px; border-radius: 9px; font-size: 14px; font-weight: 700; margin-top: 4px; }
.auth-submit > .icon { position: absolute; left: 16px; }
.auth-switch { margin: 24px 0; text-align: center; color: #dedee6; font-size: 13px; line-height: 1.6; }
.auth-switch a { font-weight: 700; margin-left: 3px; }
.auth-footnote { border-top: 1px solid #3d3d47; padding-top: 18px; text-align: center; color: #bdbdca; font-size: 12px; line-height: 1.7; }
.auth-footnote p { margin: 0 0 5px; }
.auth-footnote small { font-size: 12px; }
.auth-screen a:focus-visible, .auth-screen button:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
@media (max-width: 359px) { .auth-grid { grid-template-columns: minmax(0, 1fr); gap: 0; } }
@media (min-width: 760px) { .auth-screen { padding-top: 40px; } .auth-heading { margin-top: 44px; } }
.account-link { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.account-note { border-left: 3px solid var(--primary); background: rgba(201,164,104,.07); padding: 12px; font-size: 13px; line-height: 1.6; }
.form-error { color: #fca5a5; font-size: 14px; overflow-wrap: anywhere; }
.form-error:empty { display: none; }
.account-page .list-item { display: block; overflow-wrap: anywhere; }
.account-page .top-row { gap: 10px; flex-wrap: wrap; }
.account-page .kv { gap: 14px; flex-wrap: wrap; }
.account-page .kv .v { overflow-wrap: anywhere; min-width: 0; }
.account-summary { background: linear-gradient(135deg, rgba(201,164,104,.13), transparent 65%), var(--bg-card); border-color: rgba(201,164,104,.45); }
/* Dashboard akun: kartu ringkas dan tabel, terisolasi dari etalase/checkout. */
body:has(.dashboard-page) { background: #171719; }
body:has(.dashboard-page) .topbar { background: #252529; }
.dashboard-page { color: #f5f5f6; min-width: 0; }
.dashboard-page h1 { font-size: 24px; margin: 12px 0 22px; }
.dash-page-title { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.dash-notice { display: flex; align-items: center; gap: 20px; padding: 20px; margin-bottom: 22px; background: linear-gradient(110deg, #184485, #285dce); border: 1px solid #326bcc; border-radius: 14px; }
.dash-notice strong { display: block; font-size: 17px; }
.dash-notice p { font-size: 13px; color: #edf3ff; line-height: 1.65; margin: 9px 0 0; }
.dash-notice a { text-decoration: underline; text-underline-offset: 3px; }
.dash-notice > .icon { flex-shrink: 0; }
.dash-account-grid { display: grid; gap: 18px; }
.dash-card { background: #2b2b30; border: 1px solid #36363d; border-radius: 15px; padding: 20px; min-width: 0; }
.dash-profile-head { display: flex; align-items: center; gap: 14px; }
.dash-avatar { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%; background: #174139; color: #d8f9ec; font-size: 26px; }
.dash-identity { min-width: 0; flex: 1; }
.dash-identity h2 { font-size: 18px; line-height: 1.4; margin: 0 0 5px; overflow-wrap: anywhere; }
.dash-member { display: inline-block; padding: 3px 9px; border-radius: 5px; color: #c4e1ff; background: #234e86; font-size: 11px; }
.dash-profile-link { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; color: #c9c9d1; flex-shrink: 0; }
.dash-profile-link:hover { background: #39393f; color: var(--primary); }
.dash-contact { border-top: 1px solid #414148; margin-top: 20px; padding-top: 16px; display: grid; gap: 9px; color: #cacad3; font-size: 12px; overflow-wrap: anywhere; }
.dash-contact .icon { margin-right: 5px; }
.dash-wallet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dash-wallet-head h2 { margin: 0; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.dash-wallet-head h2 .icon { color: var(--primary); }
.dash-wallet-head > a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; color: #cccdd5; }
.dash-wallet-amount { font-size: 30px; font-weight: 700; color: var(--primary); margin: 18px 0; line-height: 1.2; overflow-wrap: anywhere; }
.dash-wallet-actions { display: flex; gap: 12px; }
.dashboard-page .dash-pill { width: auto; min-height: 40px; padding: 10px 22px; border-radius: 24px; font-size: 13px; }
.dash-wallet-actions .btn-ghost { background: #18181c; border-color: #18181c; }
.dashboard-page .dash-heading { margin: 30px 0 15px; font-size: 20px; line-height: 1.4; font-weight: 700; scroll-margin-top: 90px; }
.dash-description { margin: -4px 0 18px; color: #bcbcc8; font-size: 12px; line-height: 1.7; }
.dash-totals { display: grid; gap: 15px; margin-bottom: 15px; }
.dash-status-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 15px; }
.dash-stat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-width: 0; min-height: 108px; padding: 20px 12px; border: 1px solid #45454c; border-radius: 13px; background: #37373e; text-align: center; }
.dash-stat strong { font-size: 28px; font-weight: 700; overflow-wrap: anywhere; max-width: 100%; }
.dash-stat span { font-size: 12px; line-height: 1.5; }
.dash-stat-pending { background: #906800; border-color: #b48b12; }
.dash-stat-processing { background: #254ec4; border-color: #4b73e6; }
.dash-stat-success { background: #117540; border-color: #25985b; }
.dash-stat-failed { background: #b12631; border-color: #d2424e; }
.dash-table-wrap { width: 100%; overflow-x: auto; border: 1px solid #33333a; border-radius: 10px; background: #1e1e22; overscroll-behavior-x: contain; }
.dash-table-wrap { scrollbar-width: thin; scrollbar-color: #777785 #292930; }
.dash-table { border-collapse: collapse; width: 100%; min-width: 660px; font-size: 12px; }
.dash-table caption { text-align: left; padding: 12px 16px; color: #a6a6b3; font-size: 11px; }
.dash-table th, .dash-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid #33333a; white-space: nowrap; }
.dash-table th { font-weight: 500; color: #f0f0f4; background: #252529; }
.dash-table td { color: #c6c6d1; }
.dash-table tr:last-child td { border-bottom: 0; }
.dash-table td a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.dash-table td small { display: block; color: #9e9ead; margin-top: 5px; }
.dash-table .dash-empty { text-align: center; padding: 30px; }
.dash-status { padding: 5px 8px; border-radius: 5px; display: inline-block; background: #35353c; font-size: 11px; }
.dash-status-paid, .dash-status-suspended { color: #a9e7c5; background: #1c4934; }
.dash-status-pending { color: #ffe7a0; background: #584612; }
.dash-status-processing { color: #c2d8ff; background: #273e71; }
.dash-status-failed, .dash-status-expired, .dash-status-cancelled { color: #ffc4c7; background: #652a32; }
.dash-table .dash-credit { color: #9bd7b2; }
.dash-back { display: inline-flex; align-items: center; gap: 8px; color: #c9c9d1; font-size: 13px; margin-bottom: 18px; }
.dash-profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin: 28px 0 18px; }
.dash-profile-grid .field { min-width: 0; margin: 0; }
.dash-profile-grid .field:has(#profileEmail) { grid-column: 1 / -1; }
.dash-profile-grid .field label { color: #dbdbe3; font-size: 12px; margin-bottom: 9px; }
.dash-profile-grid .field input { border-radius: 24px; background: #36363e; color: #e3e3eb; border-color: #44444e; font-size: 14px; }
.dashboard-page a:focus-visible, .dash-table-wrap:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
@media (min-width: 760px) { .dash-account-grid, .dash-totals { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .dash-status-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 359px) { .dash-profile-grid { grid-template-columns: minmax(0, 1fr); } .dash-card { padding: 16px; } }
.deposit-presets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 16px; }
.payment-methods { padding: 0; margin: 0 0 16px; border: 0; min-width: 0; }
.payment-methods legend { margin-bottom: 10px; font-size: 14px; font-weight: 700; }
.payment-choice { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); margin: 8px 0; cursor: pointer; }
.payment-choice:has(input:checked) { border-color: var(--primary); background: rgba(201,164,104,.08); }
.payment-choice:has(input:disabled) { opacity: .55; cursor: not-allowed; }
.payment-choice input { accent-color: var(--primary); width: 18px; height: 18px; flex-shrink: 0; }
.payment-choice small { display: block; color: var(--text-dim); margin-top: 4px; }
@media (min-width: 760px) { .account-actions { margin-left: 12px; } }
@media (min-width: 760px) and (max-width: 940px) { .topnav { gap: 12px !important; } .account-dashboard { display: none; } }

/* Design system — dark, gold accent, mobile-first. Tanpa framework/build step. */
:root {
  --bg: #0d0d0f;
  --bg-elev: #17171a;
  --bg-card: #1c1c20;
  --border: #2a2a2f;
  --text: #f2f2f0;
  --text-dim: #9a9a9f;
  --primary: #c9a468;
  --primary-dim: #a9895a;
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 8px 24px rgba(0,0,0,.4);
  --maxw: 960px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background:
    repeating-linear-gradient(45deg, rgba(201,164,104,.028) 0 2px, transparent 2px 22px),
    linear-gradient(180deg, #131316 0%, var(--bg) 320px) fixed,
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Inter, sans-serif;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 76px;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
.icon { display: inline-block; vertical-align: -3px; flex-shrink: 0; }

/* Topbar */
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px;
  background: rgba(13,13,15,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.brand { font-weight: 700; font-size: 18px; color: var(--primary); display: flex; align-items: center; gap: 8px; }
.brand-logo { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.brand span { color: var(--text); }
.topnav { display: none; gap: 22px; }
.topnav a { color: var(--text-dim); font-weight: 500; font-size: 14px; }
.topnav a.active, .topnav a:hover { color: var(--text); }
@media (min-width: 760px) {
  .topnav { display: flex; }
  .bottomnav { display: none; }
  body { padding-bottom: 0; }
}

/* Bottom nav (mobile) */
.bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 20;
  display: flex; justify-content: space-around;
  background: rgba(23,23,26,.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}
.bottomnav a { display: flex; flex-direction: column; align-items: center; gap: 3px; color: var(--text-dim); font-size: 11px; padding: 4px 14px; border-radius: 12px; }
.bottomnav a .icon { width: 21px; height: 21px; }
.bottomnav a.active { color: var(--primary); background: rgba(201,164,104,.12); }

/* View container */
.view { max-width: var(--maxw); margin: 0 auto; padding: 20px 16px 40px; }

/* Cards & sections */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 16px;
}
.hero {
  text-align: center;
  padding: 44px 16px;
  border-radius: var(--radius);
  background: radial-gradient(120% 120% at 50% 0%, rgba(201,164,104,.14) 0%, var(--bg-card) 70%);
  border: 1px solid var(--border);
  margin-bottom: 24px;
}
.hero h1 { font-size: 26px; margin: 0 0 8px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.hero p { color: var(--text-dim); margin: 0 0 20px; }

/* Home — banner lebar (gaya ourastore) + tagline di bawahnya */
.home-banner {
  width: 100%; display: block; border-radius: var(--radius);
  border: 1px solid rgba(201,164,104,.4); object-fit: cover; aspect-ratio: 5 / 2;
  margin-bottom: 16px;
}
.home-tagline { text-align: center; margin-bottom: 24px; }
.home-tagline h1 { font-size: 22px; margin: 0 0 8px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.home-tagline p { margin: 0 0 18px; }

.section-title { font-size: 15px; font-weight: 700; color: var(--text-dim); text-transform: uppercase; letter-spacing: .04em; margin: 24px 0 12px; }

/* Grid produk */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 14px; }
.product-card { display: flex; flex-direction: column; gap: 10px; }
.product-card .name { font-weight: 700; font-size: 17px; }
.product-card .price { font-size: 20px; font-weight: 800; color: var(--primary); }
.product-card .specs { display: flex; gap: 10px; flex-wrap: wrap; color: var(--text-dim); font-size: 13px; }
.spec-chip { background: var(--bg-elev); border: 1px solid var(--border); padding: 3px 9px; border-radius: 999px; }

/* Grid varian produk (halaman /produk, gaya ourastore) */
.pgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 480px) { .pgrid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 760px) { .pgrid { grid-template-columns: repeat(4, 1fr); } }
/* Kartu produk — frame gaming hitam-emas: sudut chamfer + aksen emas */
/* ===== KARTU PRODUK ===== */
.pcard {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: #0a0b0e;          /* hitam pekat rata, bukan gradasi */
  border: none;                 /* garis dihapus */
  overflow: hidden;
}

.pcard-top {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 12px;
}

/* ===== STRIP BAWAH (GOLD) ===== */
.pcard-strip {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(201,164,104,0) 0%, rgba(201,164,104,.70) 100%); /* gold pekat */
  border-top: none;             /* garis pembatas dihapus */
}

/* ===== BADGE "Proses Instan" ===== */
.pcard-strip-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #1a1200;
  background: linear-gradient(135deg, #ffd982, #c9903f); /* gold badge tegas */
  padding: 4px 10px;
  border-radius: 999px;
}




.pcard-img {
  width: 46px; height: 46px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0;
}

.pcard-info { text-align: left; min-width: 0; }
.pcard-name { font-weight: 700; font-size: 14px; }
.pcard-sub { color: var(--text-dim); font-size: 12px; }
.pcard-price { color: var(--primary); font-weight: 700; font-size: 13px; margin-top: 2px; }
@media (max-width: 380px) { .pgrid { grid-template-columns: 1fr; } }

/* Halaman order — banner + pola background + step label + pilihan pembayaran */
.order-page {
  margin: -20px -16px 0; padding: 20px 16px 0;
  background:
    repeating-linear-gradient(45deg, rgba(201,164,104,.045) 0 2px, transparent 2px 18px);
}
.order-banner {
  width: 100%; border-radius: var(--radius); display: block; margin-bottom: 14px;
  border: 1px solid var(--border); object-fit: cover; aspect-ratio: 5 / 2;
}
.order-head { text-align: center; margin-bottom: 20px; }
.order-head-logo { width: 72px; height: 72px; border-radius: var(--radius); object-fit: cover; margin: 0 auto 10px; display: block; }
.step-label { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; margin-bottom: 16px; }
.step-num {
  width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #17130a;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0;
}

/* Kartu step bernomor (gaya ourastore: blok nomor emas + bar judul slate) */
.step-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  margin-bottom: 16px; overflow: hidden;
}
.step-head {
  display: flex; align-items: stretch; border-bottom: 1px solid var(--border);
}
.step-head-num {
  background: var(--primary); color: #17130a; font-weight: 800; font-size: 15px;
  display: flex; align-items: center; justify-content: center; padding: 0 16px; min-width: 46px;
}
.step-head-title {
  background: var(--bg-elev); color: var(--text); font-weight: 700; font-size: 14px;
  padding: 12px 14px; flex: 1;
}
.step-body { padding: 16px; }
.pay-option {
  display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--primary); background: rgba(201,164,104,.08); color: var(--primary);
}
.pay-option .pay-name { font-weight: 700; color: var(--text); font-size: 15px; }
.pay-option svg:last-child { margin-left: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: var(--radius-sm);
  padding: 13px 18px; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: transform .08s ease, opacity .15s ease;
  width: 100%;
}
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-primary { background: var(--primary); color: #17130a; }
.btn-primary:hover { background: var(--primary-dim); }
.btn-success { background: var(--success); color: #06210f; }
.btn-danger { background: var(--danger); color: #fff; }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-block-auto { width: auto; }
.btn-sm { padding: 8px 12px; font-size: 13px; width: auto; }

/* Forms */
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: var(--text-dim); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-elev); color: var(--text);
  font-size: 15px;
}
.field input:focus, .field select:focus { outline: 2px solid var(--primary); border-color: transparent; }
.field small { color: var(--text-dim); }

/* Table-like rows */
.kv { display: flex; justify-content: space-between; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--border); font-size: 14px; }
.kv:last-child { border-bottom: none; }
.kv .k { color: var(--text-dim); }
.kv .v { font-weight: 600; text-align: right; display: flex; align-items: center; gap: 6px; justify-content: flex-end; }

/* Status dot (pengganti emoji bulat) */
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.status-dot.dot-on { background: var(--success); box-shadow: 0 0 0 3px rgba(34,197,94,.18); }
.status-dot.dot-off { background: var(--danger); box-shadow: 0 0 0 3px rgba(239,68,68,.18); }
.status-dot.dot-unknown { background: var(--text-dim); }

/* Status badges */
.badge { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.badge-pending { background: rgba(245,158,11,.15); color: var(--warning); }
.badge-paid { background: rgba(34,197,94,.15); color: var(--success); }
.badge-suspended { background: rgba(239,68,68,.15); color: var(--danger); }
.badge-failed { background: rgba(239,68,68,.15); color: var(--danger); }
.badge-cancelled, .badge-expired { background: rgba(154,163,181,.15); color: var(--text-dim); }
.badge-processing { background: rgba(201,164,104,.15); color: var(--primary); }
.badge-renewal { background: rgba(201,164,104,.15); color: var(--primary); }
.badge-upgrade { background: rgba(34,197,94,.15); color: var(--success); }
.badge-order { background: rgba(154,163,181,.15); color: var(--text-dim); }

/* Invoice highlight */
.invoice-box {
  text-align: center; padding: 20px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(201,164,104,.14), rgba(201,164,104,.02));
  border: 1px dashed var(--primary);
  margin-bottom: 18px;
}
.invoice-code { font-size: 22px; font-weight: 800; letter-spacing: .04em; font-family: 'SF Mono', 'Courier New', monospace; }
.invoice-box small { color: var(--text-dim); }

.qr-wrap { display: flex; justify-content: center; margin: 16px 0; }
.qr-wrap img { width: 240px; height: 240px; border-radius: 12px; background: #fff; padding: 10px; }

.loading { text-align: center; color: var(--text-dim); padding: 40px 0; }
.empty-state { text-align: center; color: var(--text-dim); padding: 40px 20px; }
.empty-state .icon { width: 40px; height: 40px; margin-bottom: 10px; color: var(--text-dim); }

.list-item { padding: 14px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg-elev); margin-bottom: 10px; cursor: pointer; }
.list-item:hover { border-color: var(--primary); }
.list-item .top-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }

.toast {
  position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(20px);
  background: var(--bg-card); border: 1px solid var(--border); color: var(--text);
  padding: 12px 18px; border-radius: 10px; font-size: 14px; opacity: 0; pointer-events: none;
  transition: all .25s ease; z-index: 50; box-shadow: var(--shadow); max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (min-width: 760px) { .toast { bottom: 30px; } }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .row-2 { grid-template-columns: 1fr; } }

.muted { color: var(--text-dim); font-size: 13px; }
.center { text-align: center; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mb-0 { margin-bottom: 0; }

.duration-picker { display: flex; gap: 8px; flex-wrap: wrap; }
.duration-chip {
  padding: 9px 15px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--bg-elev); cursor: pointer; font-size: 13px; font-weight: 600;
}
.duration-chip.active { background: var(--primary); border-color: var(--primary); color: #17130a; }

code.inline { background: var(--bg-elev); padding: 2px 6px; border-radius: 6px; font-size: 13px; }

/* Feature list (home) — pengganti kartu emoji besar */
.feature-row { display: flex; align-items: center; gap: 12px; }
.feature-row .icon { width: 22px; height: 22px; color: var(--primary); flex-shrink: 0; }
.feature-row .name { font-weight: 700; font-size: 15px; }

/* Footer */
.site-footer {
  max-width: var(--maxw); margin: 40px auto 0; padding: 28px 16px 100px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 24px;
  border-top: 1px solid var(--border);
}
@media (min-width: 760px) { .site-footer { padding-bottom: 28px; } }
.footer-heading { color: var(--primary); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; }
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { color: var(--text-dim); font-size: 14px; }
.footer-col a:hover { color: var(--text); }
@media (max-width: 480px) { .site-footer { grid-template-columns: 1fr 1fr; } }

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.contact-ic {
  flex: 0 0 auto;
  color: #d4af6a; /* emas, samakan dengan warna aksen tema kamu */
}
.contact-link:hover .contact-ic {
  color: #f0c987;
}

.faq-list {
  gap: 10px;
}
.faq-item {
  cursor: pointer;
  transition: border-color .2s ease;
}
.faq-item summary {
  list-style: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  outline: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary .icon {
  flex: 0 0 auto;
  color: #d4af6a; /* emas, samakan dengan aksen tema kamu */
}
.faq-item summary span {
  flex: 1;
}
.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 20px;
  color: #d4af6a;
  transition: transform .2s ease;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-item[open] {
  border-color: #d4af6a;
}
.faq-item p {
  margin: 10px 0 0;
}

.legal-page {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 24px;
}
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  width: auto;
}
.legal-card {
  line-height: 1.7;
}
.legal-card p {
  margin: 0 0 14px;
}
.legal-card p:last-child {
  margin-bottom: 0;
}
.legal-card ul {
  margin: 0 0 14px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.legal-card li {
  line-height: 1.6;
}
.legal-card li::marker {
  color: #d4af6a; /* bullet emas, samakan dengan aksen tema */
}
.btn-close-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

/* Emoji api menyala-nyala */
.fire-emoji {
  display: inline-block;
  transform-origin: center bottom;
  animation: fireFlicker 0.5s ease-in-out infinite;
  filter: drop-shadow(0 0 6px rgba(255, 140, 0, 0.6));
}
@keyframes fireFlicker {
  0%   { transform: scale(1) rotate(-2deg); }
  25%  { transform: scale(1.12) rotate(2deg); }
  50%  { transform: scale(0.96) rotate(-1deg); }
  75%  { transform: scale(1.08) rotate(1deg); }
  100% { transform: scale(1) rotate(-2deg); }
}


@keyframes floatTilt {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-6px) rotate(2deg); }
}

/* Banner berjalan mengalir terus (marquee) kanan ke kiri */
.banner-marquee {
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 16px;
}
.banner-run {
  display: flex;
  width: max-content;
  animation: runBanner 30s linear infinite;
}
.banner-item {
  height: 150px;          /* sesuaikan tinggi banner kamu */
  width: auto;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 14px;
  margin-right: 12px;      /* jarak antar banner */
}
@keyframes runBanner {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== Best Seller ===== */
/* Wadah marquee best seller (jalan otomatis kanan ke kiri) */
.bs-marquee {
  overflow: hidden;
  padding: 6px 0 14px;
}
.bs-run {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: bsRun 25s linear infinite;
}
.bs-marquee:hover .bs-run {
  animation-play-state: paused;   /* berhenti saat disentuh/hover biar gampang diklik */
}
@keyframes bsRun {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


.bs-card {
  position: relative;
  flex: 0 0 auto;
  width: 150px;
  align-self: flex-start;   /* penting: biar gak melar ikut tinggi kartu lain */
  padding: 12px;
  border-radius: 14px;
  background: #14161d;
  text-align: center;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  z-index: 0;
}


/* Border animasi menyala berputar */
.bs-card::before {
  content: "";
  position: absolute;
  inset: -60%;
  z-index: -2;
  background: conic-gradient(from 0deg, transparent 0 70%, #d4af6a 85%, #ffe6a8 92%, #d4af6a 100%);
  animation: bsSpin 3s linear infinite;
}
.bs-card::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: 14px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(201,164,104,.16) 0%, transparent 55%),
    repeating-linear-gradient(135deg, rgba(201,164,104,.04) 0px, rgba(201,164,104,.04) 1px, transparent 1px, transparent 11px),
    #14161d;
}
@keyframes bsSpin {
  to { transform: rotate(360deg); }
}

.bs-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  color: #1a1200;
  background: linear-gradient(135deg, #ffe6a8, #d4af6a);
  padding: 3px 8px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.bs-img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 auto 8px;
  display: block;
}

.bs-name {
  font-weight: 700;
  font-size: 14px;
}
.bs-sub {
  font-size: 12px;
  color: #9aa0aa;
  margin: 2px 0 6px;
}
.bs-price {
  color: #d4af6a;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 8px;
}

.bs-order {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #1a1200;
  background: linear-gradient(135deg, #ffe6a8, #d4af6a);
  padding: 7px 0;
  border-radius: 10px;
}

.banner-slider {
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 16px;
  width: 100%;
}
.banner-track {
  display: flex;
  transition: transform 0.2s ease-in-out;
}
.banner-slide {
  width: 100%;
  height: 150px;
  flex: 0 0 100%;
  object-fit: cover;
  border-radius: 14px;
  display: block;
}
.order-head-logo {
  transform-origin: center bottom;
  animation: floatTilt 2s ease-in-out infinite;
}

/* Badge ajakan daftar di home */
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #1a1200;
  background: linear-gradient(135deg, #ffe6a8, #d4af6a);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.cta-badge .icon { color: #1a1200; }

#accountActions a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
/* ===== Metode pembayaran (kartu + icon) ===== */
.payment-methods { border: none; padding: 0; margin: 0; }
.payment-methods legend { font-weight: 700; margin-bottom: 12px; padding: 0; }

.payment-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-elev);
  cursor: pointer;
  margin-bottom: 10px;
  transition: border-color .2s ease, background .2s ease;
}
/* Sembunyikan radio bulet bawaan */
.payment-choice input[type="radio"] { display: none; }

.payment-choice .pay-ic {
  flex: 0 0 auto;
  color: var(--primary);
  display: inline-flex;
}
.payment-choice .pay-info { flex: 1; display: flex; flex-direction: column; }
.payment-choice .pay-info strong { font-size: 16px; }
.payment-choice .pay-info small { color: var(--text-dim); font-size: 12px; margin-top: 2px; }

/* Centang: default sembunyi, muncul saat terpilih */
.payment-choice .pay-check {
  flex: 0 0 auto;
  color: var(--primary);
  opacity: 0;
  transition: opacity .2s ease;
  display: inline-flex;
}
.payment-choice:has(input:checked) {
  border-color: var(--primary);
  background: rgba(201,164,104,.08);
}
.payment-choice:has(input:checked) .pay-check { opacity: 1; }

/* Pilihan disabled (SALDO saat belum login) */
.payment-choice:has(input:disabled) { opacity: .55; cursor: not-allowed; }

.account-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 13px;
}

/* Icon di footer (Peta Situs & Legalitas) */
.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-ic {
  flex: 0 0 auto;
  color: var(--primary);
}
.footer-col a:hover .footer-ic {
  color: var(--text);
}

/* Badge bonus di halaman deposit */
.deposit-bonus-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #1a1200;
  background: linear-gradient(135deg, #ffe6a8, #d4af6a);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.deposit-bonus-badge .icon { color: #1a1200; }

/* Tombol nominal preset deposit */
.deposit-preset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

/* Selaraskan icon dengan teks di form deposit */
#depositForm label,
.account-form h1,
.account-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
#depositForm button[type="submit"],
#checkDepositBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.home-cta-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #4a5058 0%, #2d3238 55%, #1c2025 100%);
  border: none;
  border-radius: 16px;
  padding: 22px 20px;
  text-align: left;
  box-shadow: 0 6px 22px rgba(0, 0, 0, .4);
}
.home-cta-text {
  flex: 1;
  min-width: 0;
}
.home-cta-box .cta-badge {
  margin-bottom: 12px;
}
.home-cta-box .muted {
  color: #cbd2da;
  margin: 0;
}
.home-cta-box .muted b {
  color: #fff;
}
/* Petir besar di kanan + efek denyut */
.cta-bolt-big {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  color: #ffe6a8;
  animation: ctaBoltPulse 1.2s ease-in-out infinite;
  transform-origin: center;
}
.cta-bolt-big .icon {
  color: #ffe6a8;
}
@keyframes ctaBoltPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 2px rgba(255, 230, 168, .4));
  }
  50% {
    transform: scale(1.25);
    filter: drop-shadow(0 0 8px rgba(255, 230, 168, .9));
  }
}
/* Popup Follow Channel */
.popup-overlay {
  display: none;              /* default: sembunyi */
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(3px);
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}
.popup-overlay.show {
  display: flex;             /* muncul cuma pas ada class .show */
  animation: popupFade .25s ease;
}

.popup-box {
  position: relative;
  background: linear-gradient(135deg, #4a5058 0%, #2d3238 55%, #1c2025 100%);
  border: none;
  border-radius: 18px;
  max-width: 380px;
  width: 100%;
  padding: 24px 22px 20px;
  box-shadow: 0 12px 45px rgba(0, 0, 0, .6);
  animation: popupPop .3s ease;
}
.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, .35);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  padding: 0;
  transition: background .2s, transform .2s;
}
.popup-close:hover { background: #e11d48; transform: scale(1.08); }
.popup-close:active { transform: scale(.95); }

.popup-links { margin-bottom: 14px; }
.popup-links p {
  margin: 0 0 8px;
  font-size: 14px;
  color: #cbd2da;
  line-height: 1.5;
}
.popup-links a {
  color: #ffd873;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.popup-links a:hover { color: #ffe6a8; }
.popup-links b { color: #e8c56a; }
.popup-desc {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: #9aa3ad;
  line-height: 1.5;
}
.popup-dont {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #9aa3ad;
  cursor: pointer;
  margin-top: 6px;
}
.popup-dont input { cursor: pointer; }
@keyframes popupFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes popupPop {
  from { transform: scale(.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.popup-bolt {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  color: #ffd873;
}

/* ===== Efek Bintang Jatuh (Shooting Stars) — versi hemat 5 bintang ===== */
.starfall {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
#app { position: relative; z-index: 1; }

.starfall span {
  position: absolute;
  top: -10%;
  width: 2px;
  height: 80px;
  background: linear-gradient(180deg, rgba(201,164,104,0), rgba(255,230,168,.85));
  border-radius: 50%;
  filter: drop-shadow(0 0 5px rgba(255,230,168,.5));
  opacity: 0;
  transform: rotate(18deg);
  animation: starFall linear infinite;
}
.starfall span::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 7px 2px rgba(255,230,168,.85);
}

@keyframes starFall {
  0%   { transform: translate3d(0, 0, 0) rotate(18deg); opacity: 0; }
  8%   { opacity: 1; }
  100% { transform: translate3d(-240px, 110vh, 0) rotate(18deg); opacity: 0; }
}

/* 5 bintang — posisi, kecepatan & jeda dibuat pelan biar santai & hemat */
.starfall span:nth-child(1) { left: 12%; animation-duration: 6s;   animation-delay: 0s;   }
.starfall span:nth-child(2) { left: 34%; animation-duration: 7.5s; animation-delay: 2.5s; }
.starfall span:nth-child(3) { left: 55%; animation-duration: 6.8s; animation-delay: 4.5s; }
.starfall span:nth-child(4) { left: 74%; animation-duration: 8s;   animation-delay: 1.5s; }
.starfall span:nth-child(5) { left: 90%; animation-duration: 7s;   animation-delay: 5.5s; }

@media (prefers-reduced-motion: reduce) {
  .starfall { display: none; }
}

/* Baris judul best seller + jam sejajar */
.bs-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin: 8px 0 4px;
}

/* Jam & tanggal — satu baris, teks putih polos, tanpa border/bungkus */
.bs-clock {
  flex-shrink: 0;
  white-space: nowrap;
  text-align: right;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
}


























