@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap");

:root {
  --bg: #1e1e1e;
  --bg-elev: #1a1a1a;
  --bg-soft: #262626;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f5f5;
  --muted: #a3a3a3;
  --gold: #ffc107;
  --gold-dim: #e6ac00;
  --danger: #ff6b6b;
  --radius: 14px;
  --container: 1120px;
  --header-height: 72px;
  --checkout-sticky-top: calc(var(--header-height) + 16px);
  --scroll-size: 10px;
  --scroll-track: transparent;
  --scroll-thumb: #3a3a3a;
  --scroll-thumb-hover: rgba(255, 193, 7, 0.55);
}

* { box-sizing: border-box; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  min-height: 100%;
  scrollbar-gutter: stable;
}
* {
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-thumb) var(--scroll-track);
}
*::-webkit-scrollbar {
  width: var(--scroll-size);
  height: var(--scroll-size);
}
*::-webkit-scrollbar-track {
  background: var(--scroll-track);
}
*::-webkit-scrollbar-thumb {
  background: var(--scroll-thumb);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
*::-webkit-scrollbar-thumb:hover {
  background: var(--scroll-thumb-hover);
  background-clip: padding-box;
}
*::-webkit-scrollbar-corner {
  background: transparent;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background: radial-gradient(circle at top, rgba(255, 193, 7, 0.05), transparent 42%), var(--bg);
  line-height: 1.5;
}
#site-footer {
  margin-top: auto;
  width: 100%;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }

#site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
  flex-shrink: 0;
}
.site-header {
  backdrop-filter: blur(12px);
  background: rgba(18, 18, 18, 0.88);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; gap: 20px;
  min-height: 72px;
}
.brand-logo { height: 42px; width: auto; }
.nav-links { display: flex; gap: 6px; margin: 0 auto; flex-wrap: nowrap; }
.nav-link {
  padding: 8px 13px; border-radius: 999px; color: var(--muted); font-weight: 600;
  font-size: 14px; line-height: 1.2; white-space: nowrap;
}
.nav-link.active, .nav-link:hover { background: var(--gold); color: #111; }
@media (max-width: 1280px) and (min-width: 961px) {
  .header-inner { gap: 12px; }
  .nav-links { gap: 4px; }
  .nav-link { padding: 7px 10px; font-size: 13px; }
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.search-box {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 999px; padding: 8px 14px; min-width: 180px;
  color: var(--muted);
}
.search-box input {
  background: transparent; border: 0; outline: none; color: var(--text); width: 100%;
}
.search-wrap { position: relative; }
.search-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--muted);
  cursor: pointer;
  flex-shrink: 0;
}
.search-toggle:hover,
.search-toggle.is-open {
  color: var(--text);
  border-color: rgba(255, 193, 7, 0.35);
}
.search-panel { position: relative; }
.search-dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; min-width: 280px;
  max-height: 360px; overflow-y: auto; background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35); z-index: 300; padding: 6px;
}
.search-dropdown[hidden] { display: none; }
.search-dropdown-item {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px;
  color: var(--text); text-decoration: none;
}
.search-dropdown-item:hover,
.search-dropdown-item:focus-visible {
  background: var(--bg-soft); outline: none;
}
.search-dropdown-thumb {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 8px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700;
}
.search-dropdown-thumb img {
  width: 100%; height: 100%; object-fit: cover;
}
.search-dropdown-name {
  font-weight: 600; font-size: 14px; line-height: 1.3;
}
.search-dropdown-meta {
  font-size: 12px; color: var(--muted); margin-top: 2px;
}
.search-dropdown-empty,
.search-dropdown-loading {
  padding: 12px 10px; text-align: center; color: var(--muted); font-size: 13px;
}
.profile-wrap { position: relative; flex-shrink: 0; }
.profile-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; padding: 0; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--muted);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  overflow: visible;
  position: relative;
}
.profile-memo-dot {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffd54f 0%, #ffb300 100%);
  box-shadow: 0 0 0 2px var(--bg, #0f1117);
  pointer-events: none;
}
.profile-memo-dot[hidden] { display: none !important; }
.profile-btn:hover,
.profile-btn[aria-expanded="true"] {
  background: var(--bg-elev);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.14);
}
.profile-btn.is-logged {
  background: var(--bg-soft);
  color: var(--text);
  border-color: var(--line);
  font-weight: 800;
  font-size: 13px;
}
.profile-btn.is-logged:hover,
.profile-btn.is-logged[aria-expanded="true"] {
  background: var(--bg-elev);
  color: var(--gold);
  border-color: rgba(255, 193, 7, 0.35);
  filter: none;
}
.profile-menu {
  position: absolute; top: calc(100% + 10px); right: 0; width: 220px;
  padding: 12px; border-radius: 16px; z-index: 320;
  background: linear-gradient(180deg, #222222 0%, #1a1a1a 100%);
  border: 1px solid rgba(255, 193, 7, 0.22);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.03);
  display: grid; gap: 8px;
}
.profile-menu.profile-menu--user {
  width: 300px;
  padding: 14px;
  gap: 12px;
  background: #232323;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.profile-menu[hidden] { display: none; }
.profile-menu-label {
  margin: 0 2px 2px;
  padding: 0 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.profile-menu-head {
  display: flex; align-items: center; gap: 12px; padding: 2px 2px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.profile-menu-avatar {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #ffc107, #c99700);
  color: #111; font-weight: 800; font-size: 14px;
}
.profile-menu-hello {
  margin: 0; font-size: 15px; font-weight: 700; color: #fff; line-height: 1.3;
  word-break: break-word;
}
.profile-wallet-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.profile-wallet-grid--single {
  grid-template-columns: 1fr;
}
.profile-wallet-card {
  display: flex; align-items: center; gap: 8px;
  padding: 10px; border-radius: 12px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
}
.profile-wallet-icon {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800;
}
.profile-wallet-icon--cash {
  background: rgba(255, 193, 7, 0.15);
  border: 1px solid rgba(255, 193, 7, 0.4);
  color: var(--gold);
}
.profile-wallet-icon--coin {
  background: rgba(180, 190, 220, 0.12);
  border: 1px solid rgba(180, 190, 220, 0.35);
  color: #c5cbe0;
}
.profile-wallet-meta { min-width: 0; }
.profile-wallet-meta small {
  display: block; font-size: 10px; font-weight: 700; color: var(--muted);
  letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.profile-wallet-meta strong {
  display: block; margin-top: 2px; font-size: 15px; font-weight: 800; color: #fff;
  font-variant-numeric: tabular-nums;
}
.profile-menu-list { display: grid; gap: 2px; }
.profile-menu-item {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 12px 16px; border-radius: 12px;
  font-weight: 800; font-size: 14px; letter-spacing: 0.01em;
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.profile-menu--user .profile-menu-item {
  justify-content: flex-start;
  min-height: 42px;
  padding: 10px 12px;
  border: 0;
  font-weight: 600;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
}
.profile-menu-item-label { flex: 1; min-width: 0; }
.profile-menu-badge {
  margin-left: auto;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd54f 0%, #ffb300 100%);
  color: #1a1400;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.profile-menu-badge[hidden] { display: none !important; }
.profile-menu--user .profile-menu-item svg {
  flex-shrink: 0; width: 18px; height: 18px; opacity: 0.9;
}
.profile-menu-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 193, 7, 0.35);
  color: #fff;
}
.profile-menu--user .profile-menu-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: transparent;
}
.profile-menu-item--primary {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
}
.profile-menu-item--primary:hover {
  background: #ffd54a;
  border-color: #ffd54a;
  color: #111;
  transform: translateY(-1px);
}
.profile-menu-item--logout {
  color: #ff8f9a !important;
}
.profile-menu-item--logout:hover {
  background: rgba(255, 107, 120, 0.12) !important;
  color: #ffb0b8 !important;
}
.profile-menu .profile-menu-item {
  width: 100%;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

/* Guest welcome modal (profil icon) */
body.auth-welcome-open { overflow: hidden; }
.auth-welcome-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.auth-welcome-modal[hidden] { display: none; }
.auth-welcome-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 6, 8, 0.72);
  backdrop-filter: blur(4px);
}
.auth-welcome-card {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(88vh, 520px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.06);
  animation: authWelcomeIn 0.28s ease;
}
@keyframes authWelcomeIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.auth-welcome-left {
  padding: 28px 26px 24px;
  background: linear-gradient(160deg, #e0a61f 0%, #c48910 48%, #9a6a0c 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-welcome-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.auth-welcome-left h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.8vw, 1.7rem);
  line-height: 1.15;
  font-weight: 800;
  color: #fff;
}
.auth-welcome-lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  max-width: 34ch;
}
.auth-welcome-features {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.auth-welcome-features li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items: start;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
}
.auth-welcome-icon {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.06);
}
.auth-welcome-icon svg {
  width: 18px;
  height: 18px;
}
.auth-welcome-right {
  position: relative;
  padding: 32px 26px 24px;
  background: #141312;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}
.auth-welcome-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.auth-welcome-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 193, 7, 0.4);
  color: var(--gold);
}
.auth-welcome-close svg { width: 16px; height: 16px; }
.auth-welcome-right h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.45rem);
  color: #fff;
  font-weight: 800;
}
.auth-welcome-sub {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  max-width: 34ch;
}
.auth-welcome-actions {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}
.auth-welcome-btn {
  min-height: 44px;
  border-radius: 12px !important;
  font-weight: 800 !important;
  justify-content: center;
  text-align: center;
}
.auth-welcome-legal {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
}
.auth-welcome-legal a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
}
.auth-welcome-legal a:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .auth-welcome-card {
    grid-template-columns: 1fr;
    max-height: none;
    overflow: hidden;
  }
}
.auth-page {
  width: min(640px, calc(100% - 32px));
  margin: 36px auto 48px;
}
.page-main--auth {
  padding: 28px 0 40px;
}
.auth-page--form {
  width: min(560px, calc(100% - 32px));
  margin: 0 auto;
}
.auth-page--split {
  width: min(880px, calc(100% - 32px));
  margin: 0 auto;
}
.auth-shell {
  display: grid;
  grid-template-columns: minmax(240px, 0.92fr) minmax(280px, 1.08fr);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #141312;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}
.auth-aside {
  padding: 32px 28px;
  background: linear-gradient(160deg, #e0a61f 0%, #c48910 48%, #9a6a0c 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.auth-aside-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.auth-aside h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  line-height: 1.2;
  font-weight: 800;
  color: #fff;
}
.auth-aside > p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
  max-width: 32ch;
}
.auth-aside-points {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.auth-aside-points li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
}
.auth-aside-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
}
.auth-panel {
  padding: 32px 30px 28px;
  background: #171615;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.auth-shell .auth-panel {
  justify-content: center;
}
.auth-panel--solo {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  padding: 28px 26px 24px;
}
.auth-panel-head {
  margin-bottom: 20px;
}
.auth-panel-head--center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.auth-panel-head--center h1 {
  width: 100%;
  text-align: center;
}
.auth-panel-head--center .auth-lead {
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: center;
}
.auth-panel-head h1,
.auth-card h1 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 2.6vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}
.auth-panel-head .auth-lead,
.auth-card .auth-lead {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.auth-card {
  padding: 36px 40px !important;
  border-radius: 22px !important;
  border-color: rgba(255, 193, 7, 0.16) !important;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 193, 7, 0.08), transparent 60%),
    var(--bg-elev) !important;
}
.auth-card h1 { color: var(--gold); }
.auth-card .auth-lead { margin-bottom: 26px; }
.auth-form { display: grid; gap: 14px; }
.auth-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.auth-field { display: grid; gap: 7px; }
.auth-field span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72);
}
.auth-field input,
.auth-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
  color-scheme: dark;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.auth-field textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
  font-family: inherit;
}
.auth-field input::placeholder,
.auth-field textarea::placeholder { color: rgba(255, 255, 255, 0.35); }
.auth-field input:hover,
.auth-field textarea:hover {
  border-color: rgba(255, 255, 255, 0.18);
}
.auth-field input:focus,
.auth-field textarea:focus {
  border-color: rgba(255, 193, 7, 0.55);
  background: rgba(255, 193, 7, 0.05);
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.12);
}
.auth-submit {
  width: 100%;
  margin-top: 4px;
  min-height: 46px;
  font-size: 15px;
  border-radius: 12px !important;
}
.auth-switch {
  margin: 18px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  width: 100%;
}
.auth-switch a { color: var(--gold); font-weight: 700; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }
.auth-legal {
  margin: 14px 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  line-height: 1.55;
  width: 100%;
  max-width: 100%;
}
.auth-legal a {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
}
.auth-legal a:hover { text-decoration: underline; }
.auth-note {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 193, 7, 0.18);
  background: rgba(255, 193, 7, 0.05);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.auth-alert {
  margin: 0 0 14px;
  padding: 11px 13px;
  border-radius: 12px;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.28);
  color: #ffb4b4;
  font-size: 13px;
}
.auth-alert[hidden] { display: none; }
.auth-alert--ok {
  background: rgba(255, 193, 7, 0.1);
  border-color: rgba(255, 193, 7, 0.35);
  color: #ffe08a;
}
.akun-summary { display: grid; gap: 10px; margin-bottom: 20px; }
.akun-row {
  display: flex; justify-content: space-between; gap: 16px; align-items: baseline;
  padding: 12px 14px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
}
.akun-row span { color: var(--muted); font-size: 13px; font-weight: 600; }
.akun-row strong { text-align: right; font-size: 14px; word-break: break-word; }
.akun-member-id {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.akun-actions { display: grid; gap: 10px; }
.page-main--akun { padding: 24px 0 48px; }
.akun-page {
  width: min(960px, calc(100% - 32px));
  margin: 0 auto;
}
.akun-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.akun-sidebar {
  position: sticky;
  top: 88px;
  padding: 16px 12px;
  border-radius: 18px;
  background: #171615;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.akun-sidebar-label {
  margin: 16px 8px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.akun-sidebar-label:first-child {
  margin-top: 0;
}
.akun-memo-sheet {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  background: #171615;
}
.akun-memo-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
  padding: 0 8px;
}
.akun-memo-tab {
  appearance: none;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 14px;
  cursor: pointer;
  margin-bottom: -1px;
}
.akun-memo-tab:hover {
  color: #fff;
}
.akun-memo-tab.is-active {
  color: #ffc107;
  border-bottom-color: #ffc107;
}
.akun-memo-panel {
  padding: 16px;
}
.akun-memo-list {
  display: grid;
  gap: 10px;
}
.akun-memo-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  width: 100%;
  text-align: left;
  color: inherit;
  font: inherit;
}
.akun-memo-item--btn {
  cursor: pointer;
  appearance: none;
  display: block;
}
.akun-memo-item--btn:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}
.akun-memo-item.is-unread {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(255, 193, 7, 0.04);
  box-shadow: inset 3px 0 0 var(--gold);
}
.akun-memo-item.is-unread .akun-memo-item-head strong {
  color: #fff;
  font-weight: 800;
}
.akun-memo-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.akun-memo-item-head strong {
  min-width: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.akun-memo-item-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.akun-memo-item-head time {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--muted);
}
.akun-memo-meta-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}
.akun-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 20px;
}
.akun-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}
.akun-modal-card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: min(88vh, 720px);
  overflow: auto;
  background: #171615;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
}
.akun-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.akun-modal-head h3 {
  margin: 0;
  font-size: 16px;
}
.akun-modal-x {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  width: 32px;
  height: 32px;
}
.akun-modal-x:hover { color: #fff; }
.akun-modal-body {
  padding: 16px;
}
.akun-memo-detail-meta {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.akun-memo-detail-subject {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 10px;
  word-break: break-word;
}
.akun-memo-detail-body {
  white-space: pre-wrap;
  word-break: break-word;
  line-height: 1.5;
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  max-height: 240px;
  overflow: auto;
  margin-bottom: 14px;
}
.akun-memo-reply-title {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
}
.akun-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.akun-memo-form {
  display: grid;
  gap: 14px;
  max-width: 720px;
}
.akun-memo-form .auth-field input,
.akun-memo-form .auth-field textarea,
.akun-memo-body {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28) !important;
  color: var(--text) !important;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  outline: none;
  color-scheme: dark;
  caret-color: var(--gold);
}
.akun-memo-body {
  min-height: 180px;
  resize: vertical;
  line-height: 1.5;
}
.akun-memo-form .auth-field input::placeholder,
.akun-memo-form .auth-field textarea::placeholder,
.akun-memo-body::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.akun-memo-form .auth-field input:focus,
.akun-memo-form .auth-field textarea:focus,
.akun-memo-body:focus {
  border-color: rgba(255, 193, 7, 0.55);
  background: rgba(255, 193, 7, 0.05) !important;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.12);
}
.akun-nav { display: grid; gap: 4px; }
.akun-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}
.akun-nav-label { flex: 1; min-width: 0; }
.akun-nav-badge {
  margin-left: auto;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd54f 0%, #ffb300 100%);
  color: #1a1400;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px rgba(10, 12, 20, 0.45);
  flex-shrink: 0;
}
.akun-nav-badge.is-empty { display: none; }
.akun-nav-item svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  opacity: 0.85;
}
.akun-nav-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.akun-nav-item.is-active {
  background: rgba(255, 193, 7, 0.12);
  color: var(--gold);
}
.akun-nav-item.is-active svg { opacity: 1; }
.akun-main { min-width: 0; }
.akun-panel {
  padding: 24px 26px;
  border-radius: 18px;
  background: #171615;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.akun-panel[hidden] { display: none; }
.akun-panel-head { margin-bottom: 20px; }
.akun-panel-head h1 {
  margin: 0 0 6px;
  font-size: clamp(1.35rem, 2.6vw, 1.65rem);
  font-weight: 800;
  color: #fff;
}
.akun-panel-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.akun-cta {
  width: 100%;
  min-height: 44px;
  border-radius: 12px !important;
  justify-content: center;
}
.profile-wallet-icon--img {
  width: 36px;
  height: 36px;
  padding: 0;
  background: transparent;
  border: 0;
  object-fit: contain;
}
.humxp-cash-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  flex-shrink: 0;
}
.akun-balance-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 20px;
  border-radius: 16px;
  background: rgba(255, 193, 7, 0.06);
  border: 1px solid rgba(255, 193, 7, 0.22);
}
.akun-balance-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.akun-balance-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.akun-balance-value {
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.akun-balance-note {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.akun-loading {
  padding: 28px 24px !important;
  text-align: center;
}
.referral-box--page {
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.referral-referred {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 10px;
}
.referral-referred-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}
.referral-referred-list {
  display: grid;
  gap: 8px;
}
.referral-referred-empty {
  margin: 0;
}
.referral-referred-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.22);
}
.referral-referred-main {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.referral-referred-main strong {
  display: block;
  font-size: 14px;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.referral-referred-main small {
  color: var(--muted);
  font-size: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.referral-referred-date {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}
.referral-hint {
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.28);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
}
.auth-field--optional span em {
  font-style: normal;
  font-weight: 500;
  color: var(--muted);
  font-size: 12px;
}
.auth-field--optional input {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.auth-field--locked input.is-locked {
  opacity: 0.85;
  cursor: not-allowed;
  background: rgba(255, 193, 7, 0.08);
  border-color: rgba(255, 193, 7, 0.35);
  color: var(--gold);
  font-weight: 700;
  pointer-events: none;
}
.akun-balance-note {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.wallet-topup {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}
.wallet-topup-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}
.wallet-amount-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.wallet-amount-btn {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.85);
  border-radius: 12px;
  padding: 10px 8px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.wallet-amount-btn:hover {
  border-color: rgba(255, 193, 7, 0.35);
  color: #fff;
}
.wallet-amount-btn.is-active {
  border-color: rgba(255, 193, 7, 0.55);
  background: rgba(255, 193, 7, 0.12);
  color: var(--gold);
}
.wallet-select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.28);
  color: var(--text);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  outline: none;
}
.wallet-select:focus {
  border-color: rgba(255, 193, 7, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.12);
}
.wallet-topup .pay-accordion {
  margin-top: 2px;
}
.wallet-topup-alert {
  margin: 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 107, 107, 0.1);
  border: 1px solid rgba(255, 107, 107, 0.28);
  color: #ffb4b4;
  font-size: 13px;
}
.wallet-topup-alert--ok {
  background: rgba(255, 193, 7, 0.1);
  border-color: rgba(255, 193, 7, 0.35);
  color: #ffe08a;
}
.wallet-history {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 10px;
}
.wallet-history-title {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}
.wallet-history-list { display: grid; gap: 8px; }
.wallet-history-empty { margin: 0; }
.wallet-history-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}
.wallet-history-main strong { display: block; font-size: 14px; color: #fff; }
.wallet-history-main small { color: var(--muted); font-size: 12px; }
.wallet-history-side { text-align: right; display: grid; gap: 4px; justify-items: end; }
.wallet-history-status {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
}
.wallet-history-item--success .wallet-history-status {
  background: rgba(72, 199, 142, 0.15);
  color: #7dffc0;
}
.wallet-history-item--pending .wallet-history-status {
  background: rgba(255, 193, 7, 0.15);
  color: var(--gold);
}
@media (max-width: 560px) {
  .wallet-amount-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.referral-box {
  margin-top: 16px;
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}
.referral-box-head { display: grid; gap: 4px; }
.referral-box-head strong { color: var(--gold); font-size: 15px; }
.referral-box-head span { color: var(--muted); font-size: 12px; line-height: 1.45; }
.referral-code-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.referral-code-row span { color: var(--muted); font-size: 13px; font-weight: 600; }
.referral-code-row strong {
  font-size: 18px;
  letter-spacing: 0.08em;
  color: #fff;
}
.referral-link-field { display: grid; gap: 6px; }
.referral-link-field span { color: var(--muted); font-size: 12px; font-weight: 600; }
.referral-link-field input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  padding: 10px 12px;
  font-size: 12px;
}
.referral-copy-status {
  margin: 0;
  color: #7dffc0;
  font-size: 12px;
  font-weight: 600;
}
.transaksi-page { width: min(800px, calc(100% - 32px)); margin: 28px auto 40px; display: grid; gap: 18px; }
.transaksi-block { padding: 28px !important; }
.transaksi-block h1,
.transaksi-block h2 {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: clamp(1.45rem, 3vw, 1.85rem);
}
.transaksi-block h2 { font-size: clamp(1.25rem, 2.6vw, 1.5rem); }
.transaksi-lead,
.riwayat-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.riwayat-head { margin-bottom: 16px; }
.pesanan-list { display: grid; gap: 10px; }
.list-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}
.list-pager-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  border-radius: 10px;
  min-height: 40px;
  padding: 8px 12px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.list-pager-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.list-pager-info {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}
.pesanan-loading, .pesanan-empty {
  padding: 28px 18px; text-align: center; color: var(--muted);
  border: 1px dashed var(--line); border-radius: 14px;
}
.pesanan-empty .muted { margin: 8px auto 18px; max-width: 40ch; font-size: 13px; line-height: 1.55; }
.pesanan-empty .muted a { color: var(--gold); font-weight: 700; }
.pesanan-item {
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  padding: 14px 16px; border-radius: 14px;
  background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.pesanan-item:hover {
  border-color: rgba(255, 193, 7, 0.35);
  background: rgba(255, 193, 7, 0.05);
}
.pesanan-item-main { min-width: 0; }
.pesanan-item-main strong {
  display: block; font-size: 15px; margin-bottom: 4px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pesanan-item-main small { color: var(--muted); font-size: 12px; }
.pesanan-item-side {
  text-align: right; flex-shrink: 0; display: grid; gap: 3px; justify-items: end;
}
.pesanan-status {
  display: inline-flex; padding: 3px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 800; letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.06); color: var(--muted);
}
.pesanan-item--success .pesanan-status { background: rgba(72, 199, 142, 0.15); color: #7dffc0; }
.pesanan-item--pending .pesanan-status { background: rgba(255, 193, 7, 0.15); color: var(--gold); }
.pesanan-item--wait .pesanan-status { background: rgba(120, 160, 255, 0.15); color: #9cbcff; }
.pesanan-item--failed .pesanan-status { background: rgba(255, 107, 107, 0.15); color: #ff9b9b; }
.pesanan-item-side strong { font-size: 14px; color: #fff; }
.pesanan-item-side small { color: var(--muted); font-size: 11px; }
@media (max-width: 800px) {
  .auth-shell { grid-template-columns: 1fr; }
  .auth-aside { padding: 24px 22px 20px; }
  .auth-panel { padding: 26px 22px 24px; }
}
@media (max-width: 760px) {
  .akun-layout {
    grid-template-columns: 1fr;
  }
  .akun-sidebar {
    position: static;
    padding: 12px 10px;
  }
  .akun-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  .akun-nav-item {
    position: relative;
    flex-direction: column;
    gap: 6px;
    padding: 10px 8px;
    font-size: 11px;
    text-align: center;
  }
  .akun-nav-item svg { width: 16px; height: 16px; }
  .akun-nav-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    margin: 0;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 9px;
    box-shadow: 0 0 0 2px #171615;
  }
  .akun-panel { padding: 20px 18px; }
}
@media (max-width: 560px) {
  .auth-card { padding: 26px 20px !important; }
  .auth-page { margin: 24px auto 36px; }
  .auth-page--form { width: calc(100% - 24px); }
  .auth-page--split { width: calc(100% - 24px); }
  .auth-form-row { grid-template-columns: 1fr; }
  .auth-panel--solo { padding: 24px 18px 20px; }
  .pesanan-item { flex-direction: column; align-items: flex-start; }
  .pesanan-item-side { text-align: left; justify-items: start; width: 100%; }
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; padding: 12px 20px; font-weight: 700; border: 0; cursor: pointer;
}
.btn-primary { background: var(--gold); color: #111; }
.btn-outline { background: transparent; border: 1px solid var(--gold); color: var(--gold); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.hero-dots {
  position: absolute; left: 0; right: 0; bottom: 14px;
  display: flex; justify-content: center; align-items: center; gap: 6px; z-index: 2;
}
.hero-dot {
  width: 22px; height: 4px; border-radius: 999px; border: 0;
  background: rgba(255,255,255,.4); cursor: pointer; padding: 0;
  transition: background 0.2s ease, width 0.2s ease;
}
.hero-dot.active {
  background: var(--gold);
  width: 28px;
}
.hero {
  margin: 24px auto 0; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 21/7; min-height: 220px;
  background: linear-gradient(120deg, #1c1c1c, #121212 55%, #2a2208);
  position: relative;
  touch-action: pan-y;
  user-select: none;
}
.hero-track { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  padding: 40px 48px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.45s ease;
  background:
    linear-gradient(90deg, rgba(18,18,18,.78) 0%, rgba(18,18,18,.35) 55%, transparent 100%),
    radial-gradient(circle at 80% 20%, rgba(255,193,7,.18), transparent 40%);
  background-size: cover;
  background-position: center;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; z-index: 1; }
.hero-slide.is-fallback { opacity: 1; pointer-events: auto; }
.hero-slide.has-image {
  background-color: #121212;
  background-image: none;
}
.hero-slide.has-image:has(.hero-slide-copy)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(18,18,18,.78) 0%, rgba(18,18,18,.35) 55%, transparent 100%);
}
.hero-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}
.hero-slide-copy {
  position: relative;
  z-index: 1;
}
.hero-slide h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin: 0 0 8px; max-width: 620px; }
.hero-slide p { color: var(--muted); margin: 0 0 16px; max-width: 520px; }
.hero-price { color: var(--gold); font-size: 1.4rem; font-weight: 800; }
.hero-slide a.hero-cta {
  display: inline-flex; margin-top: 8px; text-decoration: none;
}

/* ——— App shell / skeleton loading ——— */
@keyframes shell-shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
.shell-shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.07) 50%,
    transparent 100%
  );
  animation: shell-shimmer 1.35s ease-in-out infinite;
  pointer-events: none;
}
#site-header.shell-pending,
#site-footer.shell-pending {
  position: relative;
  overflow: hidden;
  background: var(--bg-elev);
  border-color: var(--line);
}
#site-header.shell-pending {
  min-height: 72px;
  border-bottom: 1px solid var(--line);
}
#site-footer.shell-pending {
  min-height: 140px;
  border-top: 1px solid var(--line);
}
#site-header.shell-pending::after,
#site-footer.shell-pending::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 50%,
    transparent 100%
  );
  animation: shell-shimmer 1.35s ease-in-out infinite;
}
.hero-slide.hero-skeleton {
  display: block;
  padding: 0;
  background: var(--bg-elev);
  overflow: hidden;
}
.hero-slide.hero-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 50%,
    transparent 100%
  );
  animation: shell-shimmer 1.35s ease-in-out infinite;
}
.shell-category-inner {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 4px 0;
}
.shell-pill {
  display: block;
  width: 132px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.shell-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 50%,
    transparent 100%
  );
  animation: shell-shimmer 1.35s ease-in-out infinite;
}
.shell-game-card {
  aspect-ratio: 3 / 4.2;
  min-height: 168px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.shell-game-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 50%,
    transparent 100%
  );
  animation: shell-shimmer 1.35s ease-in-out infinite;
}
body.store-booting .store-shell-deferred {
  opacity: 0.55;
  transition: opacity 0.35s ease;
}
body.store-ready .store-shell-deferred {
  opacity: 1;
}

.shell-nominal {
  height: 72px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.shell-nominal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 50%,
    transparent 100%
  );
  animation: shell-shimmer 1.35s ease-in-out infinite;
}

#category-bar {
  position: -webkit-sticky;
  position: sticky;
  top: var(--header-height);
  z-index: 40;
  margin-top: 0;
  padding-top: 12px;
  background: var(--bg-elev);
}
.category-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.category-scroll-wrap {
  width: 100%;
}
.category-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  justify-content: center;
  flex-wrap: wrap;
  -webkit-overflow-scrolling: touch;
}
.category-scroll::-webkit-scrollbar { display: none; }
.category-pill {
  white-space: nowrap; border: 0; background: var(--gold); color: #111;
  padding: 10px 16px; border-radius: 10px; font-weight: 800; font-size: 12px; cursor: pointer;
  opacity: 1;
  flex: 0 0 auto;
}
.category-pill.active, .category-pill:hover { box-shadow: 0 0 0 2px rgba(255,193,7,.35); }

@media (min-width: 961px) {
  #category-bar {
    margin-top: 24px;
    padding-top: 0;
  }
}

.section { padding: 28px 0 8px; }
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
  margin: 0 0 16px;
  padding: 12px 18px;
  border-radius: 18px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
}
.section-head h2 {
  margin: 0;
  color: var(--gold);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}
.section-head small { color: var(--muted); }
#catalog-section,
#popular-section {
  scroll-margin-top: calc(var(--header-height) + 72px);
}

.flash-wrap {
  background:
    radial-gradient(ellipse 80% 60% at 15% 0%, rgba(255, 193, 7, 0.16), transparent 55%),
    linear-gradient(180deg, #2a2418 0%, #1a1a1a 48%, #161616 100%);
  border: 1px solid rgba(255, 193, 7, 0.22);
  border-radius: 22px;
  padding: 18px 18px 16px;
  box-shadow: 0 0 0 1px rgba(255, 193, 7, 0.06), 0 18px 40px rgba(0, 0, 0, 0.35);
}
.flash-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.flash-intro { min-width: 0; }
.flash-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 193, 7, 0.18);
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid rgba(255, 193, 7, 0.35);
}
.flash-sub {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.flash-countdown-wrap {
  text-align: right;
  flex-shrink: 0;
}
.flash-countdown-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #cfcfcf;
  margin-bottom: 8px;
}
.countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gold);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.countdown .cd-unit {
  min-width: 2.1em;
  padding: 6px 8px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 193, 7, 0.22);
  color: var(--gold);
  font-size: 15px;
  text-align: center;
  line-height: 1;
}
.countdown .cd-sep {
  color: var(--gold);
  font-size: 14px;
  opacity: 0.85;
}
.flash-marquee {
  position: relative;
  overflow: hidden;
  margin: 0 -2px;
  padding: 10px 0 14px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(90deg, transparent 0, #000 28px, #000 calc(100% - 28px), transparent);
}
.flash-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: flash-marquee var(--flash-duration, 36s) linear infinite;
  align-items: center;
}
.flash-marquee:hover .flash-track,
.flash-marquee:focus-within .flash-track {
  animation-play-state: paused;
}
.flash-track-set {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  padding-right: 12px;
  align-items: center;
}
.flash-card {
  width: 210px;
  flex: 0 0 210px;
  background: #2c2c2c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
  z-index: 1;
  transform: scale(1);
  transform-origin: center center;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}
.flash-card:hover,
.flash-card:focus-within {
  z-index: 4;
  transform: scale(1.06);
  border-color: rgba(255, 193, 7, 0.55);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(255, 193, 7, 0.28),
    0 0 28px rgba(255, 193, 7, 0.2);
}
.flash-card:hover .flash-buy,
.flash-card:focus-within .flash-buy {
  box-shadow: 0 0 0 1px rgba(255, 193, 7, 0.35), 0 0 20px rgba(255, 193, 7, 0.38);
}
@keyframes flash-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .flash-track { animation: none; }
  .flash-card,
  .flash-card:hover,
  .flash-card:focus-within {
    transform: none;
    transition: none;
  }
  .flash-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: none;
  }
  .flash-marquee::-webkit-scrollbar { display: none; }
}
@media (max-width: 640px) {
  .flash-card { width: 178px; flex-basis: 178px; }
  .flash-marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent);
    mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent);
  }
}
.flash-card-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 11;
  background: #333333;
  overflow: hidden;
  padding: 14px 14px 8px;
}
.flash-card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}
.flash-cover-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  border-radius: 12px;
}
.flash-price-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 1;
  background: var(--gold);
  color: #111;
  font-weight: 800;
  font-size: 12px;
  line-height: 1;
  padding: 7px 10px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  text-transform: uppercase;
}
.flash-card-body {
  padding: 8px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  background: #141414;
}
.flash-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.flash-brand {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.flash-was-pill {
  flex-shrink: 0;
  background: #c62828;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 5px 8px;
  border-radius: 999px;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}
.flash-sku {
  margin: 0;
  color: #9a9a9a;
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 1.35em;
}
.flash-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 4px;
}
.flash-hint {
  color: #8f8f8f;
  font-size: 11px;
  line-height: 1.3;
}
.flash-buy {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: #111;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.02em;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 0 0 1px rgba(255, 193, 7, 0.25), 0 0 18px rgba(255, 193, 7, 0.28);
}
.flash-buy:hover { filter: brightness(1.05); }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: #111; font-weight: 800;
  padding: 8px 14px; border-radius: 999px; font-size: 12px;
}
@media (max-width: 640px) {
  .flash-top {
    flex-direction: row;
    align-items: center;
    gap: 8px;
  }
  .flash-countdown-wrap { text-align: right; }
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}
.game-grid.popular-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.game-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .15s, border-color .15s;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
button.game-card {
  font: inherit;
  cursor: pointer;
  width: 100%;
  text-align: left;
  padding: 0;
  appearance: none;
  -webkit-appearance: none;
}
button.popular-card {
  font: inherit;
  cursor: pointer;
  width: 100%;
  text-align: left;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
}
.game-card:hover { transform: translateY(-2px); border-color: rgba(255,193,7,.35); }
.brand-chooser {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: end center;
  padding: 16px;
}
.brand-chooser[hidden] { display: none !important; }
.brand-chooser-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.brand-chooser-panel {
  position: relative;
  width: min(420px, 100%);
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  margin-bottom: 8px;
}
.brand-chooser-panel h3 { margin: 0 0 4px; }
.brand-chooser-sub { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.brand-chooser-list { display: grid; gap: 8px; margin-bottom: 12px; }
.brand-chooser-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
}
.brand-chooser-item span { color: var(--gold); font-size: 13px; }
.brand-chooser-item:hover { border-color: rgba(255, 255, 255, 0.28); }
.brand-chooser-cancel { width: 100%; }
.game-card-cover {
  aspect-ratio: 1;
  width: 100%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 900;
  color: rgba(255,255,255,.92);
  overflow: hidden;
}
.game-card-cover.has-image {
  padding: 0;
  display: grid;
  place-items: stretch;
}
.game-card-cover.has-image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
}
.game-card-body {
  padding: 10px 12px 12px;
  min-height: 58px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.game-card-body strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.25;
  min-height: 2.5em;
  margin-bottom: 4px;
}
.game-card-body small {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Populer — kartu horizontal (ikon + judul di atas artwork) */
.popular-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 14px 16px;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #1a1a1a;
  isolation: isolate;
  transition: transform .15s ease, box-shadow .15s ease;
}
.popular-card.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--popular-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}
.popular-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.55) 55%, rgba(0,0,0,.4) 100%);
}
.popular-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,.35);
}
.popular-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,.35);
}
.popular-card-icon--fallback {
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
}
.popular-card-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.popular-card-text strong {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.popular-card-text small {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,.78);
}

.load-more-wrap { padding: 24px 0 8px; }
.load-more { width: 100%; }

.news-panel, .faq-wrap, .faq-feature, .faq-item {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: 18px;
}
.news-panel {
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 24px 28px; margin: 24px 0;
}
.news-panel h3 { margin: 8px 0 6px; font-size: 1.5rem; }
.news-panel p { margin: 0; color: var(--muted); }
.link-gold { color: var(--gold); font-weight: 700; }

.faq-wrap {
  padding: 28px;
  margin: 24px 0 8px;
}
.faq-head {
  margin-bottom: 22px;
}
.faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 193, 7, 0.22);
  background: rgba(255, 193, 7, 0.08);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.faq-badge::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.faq-head h2 {
  margin: 14px 0 10px;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.faq-head > p {
  margin: 0;
  max-width: none;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}
.faq-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 16px;
}
.faq-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.faq-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.faq-rule {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(255, 193, 7, 0.75) 0%,
    rgba(255, 193, 7, 0.35) 18%,
    rgba(255, 255, 255, 0.06) 42%,
    rgba(120, 130, 255, 0.35) 100%
  );
}
.faq-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
@media (max-width: 900px) {
  .faq-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .faq-features { grid-template-columns: 1fr; }
}
.faq-feature {
  position: relative;
  overflow: hidden;
  min-height: 168px;
  padding: 20px 18px;
  border-radius: 16px;
}
.faq-feature-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.faq-feature-label::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.faq-feature h3 {
  position: relative;
  z-index: 1;
  margin: 10px 0 8px;
  max-width: 78%;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
}
.faq-feature p {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 82%;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.faq-feature-icon {
  position: absolute;
  right: 8px;
  bottom: 4px;
  width: 88px;
  height: 88px;
  color: rgba(255, 193, 7, 0.22);
  pointer-events: none;
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-item {
  overflow: hidden;
  border-radius: 16px;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.14);
}
.faq-item.open {
  border-color: rgba(255, 193, 7, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 193, 7, 0.12);
}
.faq-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  transition: background 0.22s ease;
}
.faq-item.open .faq-item-head {
  background: linear-gradient(
    90deg,
    rgba(255, 193, 7, 0.24) 0%,
    rgba(255, 193, 7, 0.1) 34%,
    rgba(255, 193, 7, 0.03) 68%,
    transparent 100%
  );
}
.faq-q {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: #fff;
  transition: color 0.18s ease;
}
.faq-item.open .faq-q {
  color: var(--gold);
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.32s cubic-bezier(0.33, 1, 0.68, 1);
}
.faq-a-inner {
  min-height: 0;
  overflow: hidden;
}
.faq-a-inner > p {
  overflow: hidden;
  margin: 0;
  padding: 0 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.7;
}
.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}
.faq-item.open .faq-a-inner > p {
  padding-bottom: 18px;
}
.faq-toggle {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  color: rgba(255, 255, 255, 0.88);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}
.faq-toggle-icon {
  display: block;
  width: 14px;
  height: 14px;
}
.faq-toggle-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  transition: opacity 0.18s ease, transform 0.18s ease;
  transform-origin: center;
}
.faq-item.open .faq-toggle-line--v {
  opacity: 0;
  transform: scaleY(0);
}
.faq-item.open .faq-toggle {
  border-color: rgba(255, 193, 7, 0.55);
  background: rgba(255, 193, 7, 0.16);
  color: var(--gold);
}

.cta-banner {
  margin-top: 40px;
  background:
    radial-gradient(ellipse 80% 120% at 50% 0%, rgba(255, 193, 7, 0.12), transparent 55%),
    linear-gradient(180deg, var(--bg-elev) 0%, var(--bg) 100%);
  border-top: 1px solid var(--line);
  color: var(--text);
  padding: 52px 0;
}
.cta-inner { text-align: center; max-width: 760px; margin: 0 auto; }
.cta-inner h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.25; font-weight: 800; }
.cta-inner h2 span { color: var(--gold); }
.cta-inner p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

.site-footer {
  background: var(--bg-elev);
  color: var(--text);
  padding: 44px 0 0;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px 24px;
}
.footer-grid h3 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-grid p,
.footer-grid li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}
.footer-grid p strong { color: var(--text); font-weight: 700; }
.footer-grid a {
  color: var(--text);
  transition: color 0.2s ease;
}
.footer-grid a:hover { color: var(--gold); }
.footer-help-text {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #f5f5f5;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.footer-social-link svg {
  width: 20px;
  height: 20px;
  display: block;
}
.footer-social-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 193, 7, 0.45);
  color: var(--gold);
  background: rgba(255, 193, 7, 0.1);
}
.footer-social-link--youtube:hover { color: #ff4d4d; border-color: rgba(255, 77, 77, 0.45); }
.footer-social-link--tiktok:hover { color: #69c9d0; border-color: rgba(105, 201, 208, 0.45); }
.footer-social-link--instagram:hover { color: #e1306c; border-color: rgba(225, 48, 108, 0.45); }
.footer-social-link--whatsapp:hover { color: #25d366; border-color: rgba(37, 211, 102, 0.45); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-bottom {
  margin-top: 32px;
  width: 100%;
  padding: 14px 16px;
  text-align: center;
  background: linear-gradient(90deg, rgba(255, 193, 7, 0.18), rgba(255, 193, 7, 0.08) 50%, rgba(255, 193, 7, 0.18));
  border-top: 1px solid rgba(255, 193, 7, 0.22);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}
.footer-bottom p {
  margin: 0;
  color: var(--muted);
}
.footer-payments-row {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 8px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.footer-payments-row h3 {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-payments-wrap {
  min-height: 44px;
}
.footer-payments-loading,
.footer-payments-empty {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}
/* Override .footer-grid ul — grid kompak multi-kolom, bukan list vertikal */
.footer-grid .footer-payments-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}
.footer-grid .footer-pay-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 40px;
  padding: 5px 8px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
  color: inherit;
  font-size: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.footer-grid .footer-pay-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}
.footer-grid .footer-pay-item img {
  display: block;
  max-width: 100%;
  max-height: 26px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.footer-grid .footer-pay-item--text span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #333;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.2;
  word-break: break-word;
}

.page-main { padding: 24px 0 48px; overflow: visible; }
.container { overflow: visible; }
.panel {
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: 20px; padding: 24px;
}

/* Checkout layout: flex + sticky murni (tanpa JS) */
.game-layout {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  overflow: visible;
}
.checkout-main {
  flex: 1 1 auto;
  min-width: 0;
}
.checkout-sidebar {
  flex: 0 0 320px;
  width: 320px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-self: flex-start;
}
@media (min-width: 961px) {
  .checkout-sidebar {
    position: sticky;
    top: var(--checkout-sticky-top);
    max-height: calc(100vh - var(--checkout-sticky-top) - 20px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    padding-right: 4px;
  }
  .product-desc-text {
    max-height: min(42vh, 320px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 4px;
  }
}
.summary-box {
  width: 100%;
  position: static;
  margin: 0;
}
.checkout-summary-slot {
  display: none;
}
.summary-box .sum-title {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 800;
}
.summary-box .sum-table {
  margin: 0;
  display: grid;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}
.summary-box .sum-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.summary-box .sum-row:last-child {
  border-bottom: 0;
}
.summary-box .sum-row dt {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}
.summary-box .sum-row dd {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  text-align: right;
  word-break: break-word;
}
.summary-box .sum-total {
  margin: 14px 0 0;
  padding: 14px 4px 0;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.summary-box .sum-total span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.summary-box .sum-total strong {
  color: var(--gold);
  font-size: 1.35rem;
}
.summary-box .sum-note {
  font-size: 12px;
  color: var(--muted);
  margin: 14px 0 0;
  line-height: 1.5;
}
.product-desc-card {
  background: var(--bg-elev);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px 14px 18px;
}
.product-desc-banner {
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
}
.product-desc-banner > img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 12px;
}
.product-desc-body {
  padding: 14px 4px 0;
}
.product-desc-brand {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.3;
}
.product-desc-rule {
  margin: 12px 0 14px;
  border: 0;
  border-top: 1.5px dashed rgba(255, 255, 255, 0.18);
}
.product-desc-text {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}
.product-desc-text p {
  margin: 0 0 12px;
}
.product-desc-text p:last-child {
  margin-bottom: 0;
}
.product-desc-text .product-desc-lead {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.45;
}
.product-desc-text strong {
  font-weight: 800;
  color: var(--text);
}
.promo-block {
  margin-top: 4px;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}
.promo-block-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.promo-block-head strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}
.promo-block-head p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}
.promo-block-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 193, 7, 0.35);
  background: rgba(255, 193, 7, 0.12);
  color: var(--gold, #ffc107);
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.promo-block-icon:hover {
  background: rgba(255, 193, 7, 0.2);
  border-color: rgba(255, 193, 7, 0.55);
  transform: translateY(-1px);
}
.promo-block-icon:focus-visible {
  outline: 2px solid rgba(255, 193, 7, 0.55);
  outline-offset: 2px;
}
.voucher-modal[hidden] { display: none !important; }
.voucher-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
}
.voucher-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
}
.voucher-modal-card {
  position: relative;
  width: min(440px, 100%);
  max-height: min(78vh, 640px);
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #151922;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.voucher-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.voucher-modal-head h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}
.voucher-modal-head p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}
.voucher-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}
.voucher-modal-close:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
}
.voucher-modal-close svg { width: 16px; height: 16px; }
.voucher-modal-body {
  padding: 12px;
  overflow: auto;
  display: grid;
  gap: 10px;
}
.voucher-modal-empty {
  margin: 18px 8px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.voucher-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}
.voucher-item.is-disabled {
  opacity: 0.55;
}
.voucher-item-info {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  gap: 4px;
}
.voucher-item-code {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--gold, #ffc107);
}
.voucher-item-meta {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
}
.voucher-item-meta strong {
  color: var(--text);
  font-weight: 700;
}
.voucher-item .btn {
  flex: 0 0 auto;
  align-self: center;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
}
.promo-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.promo-row input {
  flex: 1 1 auto;
  min-width: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  color: var(--text);
  padding: 12px 14px;
  outline: none;
  text-transform: uppercase;
}
.promo-row input:focus {
  border-color: rgba(255, 255, 255, 0.35);
}
.promo-row input::placeholder {
  text-transform: none;
  color: var(--muted);
}
.promo-apply-btn {
  flex: 0 0 auto;
  border-radius: 12px;
  padding: 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.promo-msg {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 600;
}
.promo-msg.is-ok { color: #9de0bc; }
.promo-msg.is-err { color: #ffb4b4; }
.form-grid { display: grid; gap: 14px; }
.form-grid label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.form-grid label.field-placeholder-only { gap: 0; }
.form-grid input, .form-grid select, .form-grid textarea,
.checkout-fields input, .checkout-fields select, .checkout-fields textarea {
  width: 100%;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: var(--text);
  padding: 12px 14px;
  outline: none;
  font: inherit;
}
.form-grid input::placeholder, .checkout-fields input::placeholder {
  color: rgba(143, 152, 171, 0.85);
}
.form-grid input:focus, .form-grid select:focus,
.checkout-fields input:focus, .checkout-fields select:focus {
  border-color: rgba(255, 193, 7, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}
.checkout-form { margin-top: 20px; }
.checkout-step {
  display: grid;
  gap: 12px;
}
.checkout-step + .checkout-step,
.checkout-step + .promo-block,
.promo-block + .checkout-step {
  margin-top: 8px;
}
.checkout-step-title {
  margin: 0;
  color: var(--gold);
  font-size: 1.15rem;
  font-weight: 800;
}
.checkout-step:first-child .checkout-step-title {
  margin-top: 0;
}
.checkout-fields {
  display: grid;
  gap: 12px;
}
.checkout-fields label.field-placeholder-only {
  display: grid;
  gap: 6px;
}
.field-help {
  font-size: 12px;
  line-height: 1.45;
  color: var(--muted);
  font-weight: 400;
  margin: 0;
}
.form-hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.form-grid label.has-error input,
.checkout-fields label.has-error input {
  border-color: #f87171;
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.35);
}
.pay-accordion {
  display: grid;
  gap: 10px;
}
.pay-group {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.pay-group-toggle {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: transparent;
  border: 0;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}
.pay-group-toggle:hover {
  background: rgba(255, 255, 255, 0.04);
}
.pay-group-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.pay-group-title {
  font-size: 14px;
  font-weight: 800;
}
.pay-group-count {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 2px 8px;
}
.pay-group-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.pay-group-preview {
  display: flex;
  align-items: center;
  gap: 4px;
}
.pay-preview-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
  padding: 2px;
}
.pay-preview-fallback {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.12);
  color: var(--muted);
}
.pay-group-chevron {
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
  margin-top: -4px;
}
.pay-group.is-open .pay-group-chevron {
  transform: rotate(-135deg);
  margin-top: 4px;
}
.pay-group-body {
  display: none;
  padding: 0 12px 12px;
}
.pay-group.is-open .pay-group-body {
  display: block;
}
.pay-group-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.pay-option {
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  min-height: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.25;
}
.pay-option:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.09);
}
.pay-option.selected {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.pay-option-logo {
  display: grid;
  place-items: center;
  min-height: 40px;
  border-radius: 10px;
  background: #fff;
  padding: 6px 8px;
}
.pay-option-logo img {
  max-width: 72px;
  max-height: 28px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.pay-option-logo-fb {
  font-size: 12px;
  font-weight: 800;
  color: #333;
  letter-spacing: 0.04em;
}
.pay-option-meta {
  display: grid;
  gap: 4px;
}
.pay-option-meta strong {
  font-size: 12px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}
.pay-option-amount {
  font-size: 13px;
  font-weight: 800;
  color: var(--gold);
}
.pay-option-balance {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.pay-option.is-disabled,
.pay-option:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.pay-preview-icon--cash {
  padding: 0;
  background: transparent;
}
.pay-block {
  margin-top: 4px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}
.pay-block-title {
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 15px;
}
.product-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}
.product-cat-tabs[hidden] { display: none !important; }
.product-cat-tab {
  font: inherit;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
}
.product-cat-tab.is-active {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.product-option {
  position: relative;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 12px 30px;
  cursor: pointer;
  min-height: 96px;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.product-option.selected {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.product-option strong { display: block; margin-bottom: 4px; font-size: 13px; line-height: 1.35; }
.product-option span { color: var(--gold); font-weight: 800; font-size: 14px; }
.product-option.is-flash {
  border-color: rgba(255, 193, 7, 0.55);
  background: linear-gradient(180deg, rgba(255, 193, 7, 0.12), transparent);
}
.product-option .flash-sku-badge {
  position: absolute;
  right: 8px;
  bottom: 8px;
  margin: 0;
  display: inline-block;
  font-style: normal;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: var(--gold);
  color: #111;
  padding: 3px 8px;
  border-radius: 999px;
  line-height: 1;
}
.product-option .price-row {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
}
.product-option .price-flash {
  display: inline;
  color: var(--gold);
  font-weight: 800;
  font-size: 14px;
}
.product-option .price-was,
#sum-price .price-was {
  display: inline;
  margin-left: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  text-decoration: line-through;
}
#sum-price .price-flash { color: var(--gold); font-weight: 800; }
.game-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 18px;
  min-height: 220px;
  padding: 28px;
  margin-bottom: 20px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  color: #fff;
  background: #1a1a1a;
  isolation: isolate;
}
.game-hero.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}
.game-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.55) 45%, rgba(0, 0, 0, 0.82) 100%);
}
.game-hero-icon {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
.game-hero-icon[hidden],
.game-hero-icon--fallback[hidden] {
  display: none !important;
}
.game-hero-icon--fallback:not([hidden]) {
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.25rem;
  color: #fff;
}
.game-hero-text {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.game-hero-text h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.game-hero-text small {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}
.mini-cover.has-image {
  padding: 0;
  overflow: hidden;
}
.mini-cover.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.status-pill {
  display: inline-flex; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 800;
  background: rgba(255,193,7,.15); color: var(--gold);
}
.status-pill.success { background: rgba(125,206,160,.15); color: #7dcea0; }
.status-pill.failed { background: rgba(255,107,107,.15); color: var(--danger); }
.empty-state { color: var(--muted); padding: 28px; text-align: center; border: 1px dashed var(--line); border-radius: 16px; }

/* ——— Promo feed (accordion banners) ——— */
.page-main--promo {
  padding: 20px 0 40px;
}
.page-main--kalkulator {
  padding-top: 20px;
}
.wr-calc-wrap {
  max-width: 640px;
}
.wr-calc {
  padding: 28px 24px 24px;
  border-radius: 18px;
}
.wr-calc-head {
  text-align: center;
  margin-bottom: 22px;
}
.wr-calc-head h1 {
  margin: 0 0 10px;
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
}
.wr-calc-head p {
  margin: 0 auto;
  max-width: 520px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.wr-calc-form {
  display: grid;
  gap: 14px;
}
.wr-calc-field {
  display: grid;
  gap: 8px;
}
.wr-calc-field span {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.wr-calc-field input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}
.wr-calc-field input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.wr-calc-field input:focus {
  outline: none;
  border-color: rgba(255, 193, 7, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 193, 7, 0.2);
}
.wr-calc-result {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 193, 7, 0.35);
  background: rgba(255, 193, 7, 0.08);
}
.wr-calc-result.is-error {
  border-color: rgba(248, 113, 113, 0.45);
  background: rgba(248, 113, 113, 0.08);
}
.wr-calc-result p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.65;
  text-align: center;
}
.wr-calc-result strong {
  color: #7dffb2;
  font-weight: 800;
}
.wr-calc-result.is-error strong {
  color: #fca5a5;
}
.wr-calc-submit {
  width: 100%;
  margin-top: 4px;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 800;
}

.section--promo {
  padding: 0;
}
.promo-page-head {
  text-align: center;
  margin: 0 0 12px;
}
.promo-page-head h1 {
  margin: 0;
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}
.promo-page-head h1 span {
  color: var(--gold);
}
.promo-page-rule {
  width: min(280px, 70%);
  height: 2px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.55), transparent);
  position: relative;
}
.promo-page-rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--gold);
}
.promo-feed {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.promo-feed-skeleton {
  aspect-ratio: 3 / 1;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.promo-feed-skeleton::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 50%,
    transparent 100%
  );
  animation: shell-shimmer 1.35s ease-in-out infinite;
}
.promo-item {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elev);
}
.promo-banner {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 0;
  position: relative;
}
.promo-banner img {
  width: 100%;
  aspect-ratio: 3 / 1;
  object-fit: cover;
  display: block;
}
.promo-info-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 7px 14px;
  border-radius: 6px;
  background: var(--gold);
  color: #111;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  pointer-events: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.promo-banner:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.promo-panel {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
}
.promo-panel-title {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
}
.promo-panel-body {
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
  white-space: normal;
}
.promo-panel-body .muted { color: var(--muted); margin: 0; }
.promo-item.is-open .promo-banner img {
  filter: brightness(0.92);
}

.alert { padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.alert-error { background: rgba(255,107,107,.12); color: #ffb4b4; border: 1px solid rgba(255,107,107,.25); }
.alert-ok { background: rgba(125,206,160,.12); color: #9de0bc; border: 1px solid rgba(125,206,160,.25); padding: 12px 14px; border-radius: 12px; }

.product-cat-badge {
  display: inline-block; margin: 0 0 8px; padding: 4px 10px; border-radius: 999px;
  background: rgba(255,193,7,.18); color: var(--gold); font-size: 12px; font-weight: 800;
}
.form-hint { color: var(--muted); font-size: 14px; margin: 0 0 8px; }
.field-help { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; font-weight: 500; }
.field-error { display: block; margin-top: 6px; color: #f87171; font-size: 12px; font-weight: 600; }
.form-grid label.has-error input { border-color: #f87171; box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.35); }
.destination-preview {
  margin: 4px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
}
#submit-btn:disabled { opacity: 0.55; cursor: not-allowed; }

.pay-panel { padding: 28px; }
.pay-steps { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-step {
  flex: 1; min-width: 100px; text-align: center; padding: 10px 8px; border-radius: 12px;
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 700;
}
.pay-step.active { border-color: rgba(255,193,7,.45); color: var(--gold); }
.pay-step.done { color: #9de0bc; border-color: rgba(125,206,160,.35); }
.pay-summary {
  margin: 18px 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--bg-soft);
}
.pay-row {
  display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px;
  border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px;
}
.pay-row:last-child { border-bottom: 0; }
.pay-row strong { color: var(--text); text-align: right; }
.pay-row.total strong { color: var(--gold); font-size: 1.15rem; }
.pay-secure {
  background: rgba(255,193,7,.08); border: 1px solid rgba(255,193,7,.2);
  border-radius: 14px; padding: 14px 16px; margin-bottom: 16px; color: var(--muted); font-size: 14px;
}
.pay-cta { width: 100%; display: inline-flex; margin-top: 4px; }
.sim-flow {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0;
}
.sim-card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px; padding: 18px;
}
.sim-card span { color: var(--gold); font-weight: 800; font-size: 12px; }
.sim-card h3 { margin: 8px 0 6px; font-size: 1rem; }
.sim-card p { margin: 0; color: var(--muted); font-size: 14px; }
.sim-demo { opacity: .95; }
.sim-banner {
  background: rgba(255,193,7,.12); border: 1px solid rgba(255,193,7,.35);
  color: var(--gold); border-radius: 12px; padding: 12px 14px; font-size: 13px; font-weight: 700;
  margin-bottom: 16px;
}
.sim-qr {
  display: grid; place-items: center; margin: 8px 0 12px;
}
.sim-qr-inner {
  width: 200px; height: 200px; border-radius: 16px; background: #fff; color: #111;
  display: grid; place-items: center; position: relative; box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.sim-qr-grid {
  width: 150px; height: 150px;
  background:
    linear-gradient(#111 0 0) 0 0 / 28% 28%,
    linear-gradient(#111 0 0) 100% 0 / 28% 28%,
    linear-gradient(#111 0 0) 0 100% / 28% 28%,
    repeating-conic-gradient(#111 0% 25%, #fff 0% 50%) 50% 50% / 16px 16px;
  background-repeat: no-repeat;
  border: 6px solid #111; border-radius: 8px;
}
.sim-qr-inner span {
  position: absolute; bottom: 10px; font-size: 11px; font-weight: 800; letter-spacing: .08em;
}
.sim-code { text-align: center; margin: 0 0 16px; }
.sim-code.big code { font-size: 1.35rem; letter-spacing: .06em; }
.sim-code-label { text-align: center; color: var(--muted); margin: 0 0 6px; font-weight: 700; }
.pay-qr-wrap {
  display: grid;
  place-items: center;
  gap: 12px;
  margin: 8px 0 18px;
}
.pay-qr-img {
  width: 220px;
  height: 220px;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
  padding: 10px;
}
.pay-download,
.pay-copy {
  display: flex;
  width: min(100%, 220px);
  margin: 0 auto;
  justify-content: center;
}
.pay-copy { margin-bottom: 16px; }
.pay-wait {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin: 18px 0 0;
}
.pay-footer-note {
  margin-top: 14px;
  font-size: 13px;
  text-align: center;
}
.pay-expire {
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 12px;
}
.pay-howto {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
}
.pay-howto strong { display: block; margin-bottom: 6px; color: var(--text); }
.pay-howto ol {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}
.pay-result {
  text-align: center;
  border-radius: 18px;
  padding: 22px 18px;
  margin: 8px 0 4px;
  border: 1px solid rgba(125, 206, 160, 0.35);
  background: linear-gradient(180deg, rgba(125, 206, 160, 0.14), rgba(125, 206, 160, 0.04));
}
.pay-result.is-paid {
  border-color: rgba(255, 193, 7, 0.35);
  background: linear-gradient(180deg, rgba(255, 193, 7, 0.12), rgba(255, 193, 7, 0.03));
}
.pay-result-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: #0b1220;
  background: #7dcea0;
}
.pay-cancel {
  margin-top: 14px;
  border-color: rgba(255, 107, 107, 0.45);
  color: #ff8e8e;
}
.pay-cancel:hover {
  border-color: rgba(255, 107, 107, 0.75);
  color: #ffb0b0;
}
.pay-result.is-cancelled {
  border-color: rgba(255, 107, 107, 0.35);
  background: linear-gradient(180deg, rgba(255, 107, 107, 0.12), rgba(255, 107, 107, 0.03));
}
.pay-result.is-cancelled .pay-result-icon {
  background: var(--danger);
  color: #fff;
}
.pay-result h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  color: var(--text);
}
.pay-result p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.pay-sn {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 0 18px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 13px;
}
.pay-sn strong {
  color: var(--text);
  text-align: right;
  word-break: break-word;
}

.tx-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-soft);
  overflow: hidden;
}
.tx-hero {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 16px;
  border-bottom: 1px solid var(--line);
}
.tx-hero-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #0b1220;
  background: #7dcea0;
}
.tx-card.tx-failed .tx-hero-icon { background: var(--danger); color: #fff; }
.tx-card.tx-wait .tx-hero-icon,
.tx-card.tx-pending .tx-hero-icon { background: var(--gold); }
.tx-hero-text .status-pill { margin-bottom: 8px; }
.tx-hero-text h2 {
  margin: 0 0 6px;
  font-size: 1.15rem;
}
.tx-hero-text p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.tx-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  color: var(--muted);
  font-size: 13px;
  border-bottom: 1px solid var(--line);
}
.tx-meta strong {
  color: var(--text);
  word-break: break-all;
  text-align: right;
}
.tx-summary { margin: 0; border: 0; border-radius: 0; }
.tx-note {
  margin: 0;
  padding: 12px 16px;
  color: var(--muted);
  font-size: 13px;
}
.tx-time {
  margin: 0;
  padding: 0 16px 14px;
  color: var(--muted);
  font-size: 12px;
}
.tx-actions {
  display: grid;
  gap: 10px;
  padding: 0 16px 16px;
}
.status-pill.wait {
  background: rgba(255, 193, 7, 0.15);
  color: var(--gold);
}
.site-footer a.link-gold, .link-gold { color: var(--gold); font-weight: 700; }

.page-main { padding: 24px 0 48px; overflow: visible; }
.legal-doc h1 { margin-top: 0; color: var(--gold); font-size: clamp(1.6rem, 3vw, 2rem); }
.legal-doc h2 { margin: 28px 0 10px; font-size: 1.15rem; }
.legal-doc .muted { color: var(--muted); }
.legal-doc ul { padding-left: 1.2rem; color: var(--muted); }
.legal-doc a { color: var(--gold); text-decoration: underline; }
.contact-cards {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 20px 0;
}
.contact-card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 16px;
}
.contact-card h3 { margin: 0 0 6px; font-size: 14px; color: var(--gold); }
.contact-card p { margin: 0; }
.form-note { font-size: 13px; color: var(--muted); margin: 0; }
.form-note a { color: var(--gold); text-decoration: underline; }

.nav-toggle {
  display: none; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg-soft); padding: 10px;
  flex-direction: column; justify-content: center; gap: 5px; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--text); border-radius: 2px; transition: .2s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; flex-shrink: 0; }
  .header-inner {
    flex-wrap: nowrap;
    overflow-anchor: none;
  }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--sticky-header-offset, calc(var(--header-height) + var(--safe-top, 0px)));
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    z-index: 54;
    flex-direction: column;
    gap: 6px;
    padding: 8px max(14px, env(safe-area-inset-left, 0px)) 12px max(14px, env(safe-area-inset-right, 0px));
    background: rgba(18, 18, 18, 0.98);
    border-bottom: 1px solid var(--line);
    box-sizing: border-box;
    max-height: calc(100dvh - var(--sticky-header-offset, 52px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav-links.is-open { display: flex; }
  .nav-link { border-radius: 12px; }
  .header-actions {
    width: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
  }
  .brand { flex-shrink: 0; }
  .search-toggle { display: inline-flex; }
  .search-panel {
    display: none;
    position: fixed;
    top: var(--sticky-header-offset, calc(var(--header-height) + var(--safe-top, 0px)));
    left: 0;
    right: 0;
    z-index: 55;
    padding: 12px max(14px, env(safe-area-inset-left, 0px)) 12px max(14px, env(safe-area-inset-right, 0px));
    background: rgba(18, 18, 18, 0.98);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
  }
  .search-panel.is-open { display: block; }
  .search-panel .search-box {
    display: flex;
    min-width: 0;
    width: 100%;
  }
  .search-panel .search-dropdown {
    position: static;
    margin-top: 8px;
    min-width: 0;
    max-width: none;
    left: auto;
    right: auto;
  }
  body.search-panel-open { overflow: hidden; }
  #category-bar {
    position: -webkit-sticky;
    position: sticky;
    top: var(--sticky-header-offset, calc(var(--header-height) + var(--safe-top, 0px)));
    z-index: 40;
    margin-top: 0;
    padding-top: 10px;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--line);
  }
  .category-bar {
    background: transparent;
    border-top: 0;
    border-bottom: 0;
    padding: 10px 0;
  }
  .category-scroll-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: none;
    margin: 0 calc(-1 * var(--page-gutter));
    padding: 0 var(--page-gutter);
  }
  .category-scroll-wrap::-webkit-scrollbar { display: none; }
  .category-scroll {
    flex-wrap: nowrap !important;
    justify-content: flex-start;
    overflow: visible;
    width: max-content;
    min-width: 100%;
    gap: 8px;
    padding-bottom: 2px;
  }
  .checkout-summary-slot {
    display: block;
    margin: 4px 0 16px;
  }
  .checkout-summary-slot:empty { display: none; }
  .game-grid.popular-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .game-grid:not(.popular-grid) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .popular-card {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    min-height: 104px;
    padding: 10px 12px;
    gap: 8px;
  }
  .popular-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }
  .popular-card-text strong {
    font-size: 13px;
    line-height: 1.25;
  }
  .popular-card-text small {
    font-size: 11px;
    line-height: 1.3;
  }
  .faq-features, .footer-grid, .contact-cards, .sim-flow { grid-template-columns: 1fr; }
  .footer-grid .footer-payments-list { grid-template-columns: repeat(auto-fill, minmax(68px, 1fr)); }
  .game-layout {
    display: flex;
    flex-direction: column;
  }
  .checkout-sidebar {
    flex: none;
    width: 100%;
    order: -1;
    position: static;
    top: auto;
    max-height: none;
    overflow: visible;
    padding-right: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .product-desc-text {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
  .checkout-main { order: 1; }
  .product-desc-card {
    padding: 12px 12px 16px;
  }
  .product-desc-body {
    padding: 12px 2px 0;
  }
  .game-hero {
    min-height: 180px;
    padding: 20px;
    gap: 14px;
  }
  .game-hero-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
  }
  .pay-group-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .header-actions .search-box { display: none; }
  .search-panel .search-box { display: flex; }
  .game-grid.popular-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .game-grid:not(.popular-grid) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .popular-card { min-height: 96px; padding: 10px 12px; }
  .popular-card-icon { width: 42px; height: 42px; }
  .hero-slide { padding: 10px 12px; }
  .footer-grid .footer-payments-list { grid-template-columns: repeat(auto-fill, minmax(62px, 1fr)); }
}

/* ===== Berita ===== */
.page-main--berita {
  padding: 20px 0 40px;
}
.section--berita {
  padding: 0;
}
.news-page {
  padding: 0;
}
.news-skeleton {
  min-height: 280px;
  border-radius: 16px;
  background: linear-gradient(90deg, rgba(255,255,255,0.04), rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  background-size: 200% 100%;
  animation: newsShimmer 1.2s ease infinite;
}
@keyframes newsShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.news-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.news-featured {
  position: relative;
  display: block;
  min-height: 340px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}
.news-featured-img,
.news-cover-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-cover-fallback {
  background: linear-gradient(145deg, #2a2a2a, #151515 60%, rgba(255,193,7,0.18));
}
.news-featured-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.88));
}
.news-pill {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: #111;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.news-featured-overlay h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}
.news-featured-overlay p {
  margin: 8px 0 0;
  color: rgba(255,255,255,0.72);
  font-size: 13px;
}
.news-hero-side {
  display: grid;
  gap: 12px;
  align-content: start;
}
.news-side-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.03);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.news-side-item:hover {
  border-color: rgba(255,193,7,0.35);
  background: rgba(255,193,7,0.06);
}
.news-side-thumb {
  width: 84px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--bg-soft);
}
.news-side-item strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.35;
}
.news-side-item span,
.news-latest-item span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}
.news-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(240px, 0.9fr);
  gap: 20px;
  align-items: start;
}
.news-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 800;
}
.news-bar {
  width: 4px;
  height: 1.1em;
  border-radius: 4px;
  background: var(--gold);
}
.news-latest-list { display: grid; gap: 12px; }
.news-load-more-wrap {
  display: flex;
  justify-content: center;
  padding: 20px 0 4px;
}
.news-load-more {
  min-width: 168px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.news-load-more:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}
.news-load-more[hidden] { display: none; }
.news-trend-aside {
  align-self: start;
}
.news-trend-card {
  position: sticky;
  top: var(--checkout-sticky-top);
  padding: 18px 16px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #161616;
}
.news-trend-head {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
}
.news-trend-head .bi-fire {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  color: #ff2d55;
  font-size: 15px;
  line-height: 1;
}
.news-trend-list {
  display: flex;
  flex-direction: column;
}
.news-trend-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: opacity 0.15s ease;
}
.news-trend-item:first-child { padding-top: 10px; }
.news-trend-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.news-trend-item:hover { opacity: 0.88; }
.news-trend-num {
  font-size: 28px;
  font-weight: 800;
  color: #ff2d55;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.news-trend-body strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 700;
  color: #fff;
}
.news-trend-body span {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}
.news-latest-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.news-latest-item:hover {
  background: rgba(255,255,255,0.03);
  border-color: var(--line);
}
.news-latest-thumb {
  width: 140px;
  height: 88px;
  border-radius: 12px;
  object-fit: cover;
  background: var(--bg-soft);
}
.news-latest-item strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 16px;
  line-height: 1.35;
}
.news-empty,
.news-empty-side,
.news-empty-page {
  color: var(--muted);
  text-align: center;
  padding: 28px 12px;
}
.news-empty-page h1 { color: var(--text); margin: 0 0 8px; }
.article-page { padding: 8px 0 40px; }
.article-back { margin: 0 0 18px; }
.article-head h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.2;
  font-weight: 800;
}
.article-meta {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.article-cover {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 16px;
  margin: 22px 0 24px;
  border: 1px solid var(--line);
}
.article-body {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(245,245,245,0.92);
}
.article-body h2 { font-size: 1.4rem; margin: 1.4em 0 0.5em; }
.article-body h3 { font-size: 1.15rem; margin: 1.2em 0 0.4em; }
.article-body p { margin: 0 0 1em; }
.article-body img { max-width: 100%; border-radius: 12px; margin: 12px 0; }
.article-body a { color: var(--gold); text-decoration: underline; }
.article-body ul, .article-body ol { padding-left: 1.3em; margin: 0 0 1em; }
.article-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.article-share-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  font-weight: 700;
}
.article-share-label .bi {
  font-size: 16px;
  line-height: 1;
}
.article-share-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.article-share-btn:hover {
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}
.article-share-btn.is-copied {
  color: var(--gold);
  border-color: rgba(255, 193, 7, 0.35);
}
@media (max-width: 900px) {
  .news-hero,
  .news-grid { grid-template-columns: 1fr; }
  .news-featured { min-height: 260px; }
  .news-latest-item { grid-template-columns: 110px 1fr; }
  .news-latest-thumb { width: 110px; height: 72px; }
  .news-load-more-wrap { padding: 16px 0 2px; }
  .news-trend-card {
    position: static;
    margin-top: 8px;
  }
}

/* ===== Mobile only (HP/tablet kecil) — tidak mengubah desktop ===== */
@media (max-width: 960px) {
  :root {
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);
    --page-gutter: max(14px, var(--safe-left), var(--safe-right));
    --header-height: 52px;
    --sticky-header-offset: calc(var(--header-height) + var(--safe-top));
    --checkout-sticky-top: calc(var(--sticky-header-offset) + 12px);
  }

  html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  body {
    width: 100%;
    max-width: 100%;
    overscroll-behavior-x: none;
    -webkit-tap-highlight-color: transparent;
    padding-bottom: var(--safe-bottom);
  }

  .container {
    width: min(var(--container), calc(100% - var(--page-gutter) * 2));
  }

  /* Header fixed = stabil di Android; main dapat padding agar konten tidak tertutup */
  #site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 50;
    height: var(--sticky-header-offset);
    padding-top: var(--safe-top);
    background: rgba(18, 18, 18, 0.98);
    border-bottom: 1px solid var(--line);
    overflow: visible;
    overflow-anchor: none;
  }

  #site-header.shell-pending {
    min-height: var(--sticky-header-offset);
  }

  main.page-main,
  main.store-shell {
    padding-top: calc(var(--sticky-header-offset) + var(--main-content-gap, 16px));
  }

  main.store-shell {
    --main-content-gap: 12px;
  }

  main.page-main--auth {
    --main-content-gap: 20px;
  }

  .site-header .header-inner {
    padding-inline: max(0px, var(--safe-left)) max(0px, var(--safe-right));
  }

  .page-main,
  .store-shell-body {
    width: 100%;
    max-width: 100%;
  }

  .store-shell {
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  main,
  .store-shell {
    flex: 1 0 auto;
  }

  .panel,
  .auth-shell,
  .summary-box,
  .product-desc-card,
  .contact-card {
    max-width: 100%;
  }

  .header-inner {
    height: var(--header-height);
    min-height: var(--header-height);
    max-height: var(--header-height);
    gap: 10px;
    flex-wrap: nowrap;
  }

  .brand-logo { height: 28px; }

  .header-actions { gap: 6px; }

  .nav-toggle,
  .search-toggle,
  .profile-btn {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 10px;
  }

  .nav-toggle {
    padding: 8px;
    gap: 4px;
  }

  .nav-toggle span { height: 1.5px; }

  .nav-toggle.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }

  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

  .profile-btn.is-logged { font-size: 11px; }

  .search-toggle svg,
  .profile-btn svg {
    width: 17px;
    height: 17px;
  }

  .search-panel {
    padding: 8px var(--page-gutter) 10px;
  }

  .search-panel .search-box {
    padding: 6px 12px;
    gap: 6px;
    border-radius: 10px;
    min-height: 0;
  }

  .search-panel .search-box input {
    font-size: 14px;
    min-height: 0;
    height: auto;
    line-height: 1.35;
  }

  .search-panel .search-dropdown {
    margin-top: 6px;
    max-height: 240px;
    padding: 4px;
    border-radius: 10px;
  }

  .search-dropdown-item {
    padding: 6px 8px;
    gap: 8px;
  }

  .search-dropdown-thumb {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    font-size: 11px;
  }

  .search-dropdown-name { font-size: 13px; }

  .search-dropdown-meta { font-size: 11px; }

  .search-dropdown-empty,
  .search-dropdown-loading {
    padding: 8px;
    font-size: 12px;
  }

  .profile-menu,
  .profile-menu.profile-menu--user {
    width: min(248px, calc(100vw - var(--page-gutter) * 2));
    padding: 10px;
    gap: 8px;
    border-radius: 12px;
    top: calc(100% + 6px);
  }

  .profile-menu-head {
    padding: 0 0 8px;
    gap: 8px;
  }

  .profile-menu-hello { font-size: 13px; }

  .profile-wallet-grid { padding-bottom: 8px; }

  .profile-wallet-card {
    padding: 8px;
    border-radius: 10px;
    gap: 6px;
  }

  .profile-wallet-icon,
  .profile-wallet-icon--img {
    width: 28px !important;
    height: 28px !important;
  }

  .profile-wallet-meta strong { font-size: 13px; }

  .profile-menu--user .profile-menu-item {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 13px;
    border-radius: 8px;
  }

  .profile-menu--user .profile-menu-item svg {
    width: 16px;
    height: 16px;
  }

  .nav-links {
    padding: 8px var(--page-gutter) 10px;
    gap: 4px;
  }

  .nav-link {
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px;
    min-height: 36px;
  }

  .auth-welcome-modal {
    padding: 16px;
    align-items: center;
    justify-content: center;
  }

  .auth-welcome-card {
    position: relative;
    width: min(340px, 100%);
    max-height: min(86dvh, 480px);
    border-radius: 14px;
    overflow-x: hidden;
    overflow-y: auto;
    grid-template-columns: 1fr;
    -webkit-overflow-scrolling: touch;
  }

  .auth-welcome-left {
    display: flex;
    padding: 12px 12px 8px;
    gap: 6px;
  }

  .auth-welcome-badge {
    padding: 3px 8px;
    font-size: 9px;
  }

  .auth-welcome-left h2 {
    font-size: 0.88rem;
    line-height: 1.2;
  }

  .auth-welcome-lead {
    font-size: 10px;
    line-height: 1.35;
    max-width: none;
  }

  .auth-welcome-features {
    gap: 5px;
    margin-top: 2px;
  }

  .auth-welcome-features li {
    grid-template-columns: 22px 1fr;
    gap: 6px;
    font-size: 10px;
    line-height: 1.3;
  }

  .auth-welcome-icon {
    width: 22px;
    height: 22px;
    box-shadow: none;
  }

  .auth-welcome-icon svg {
    width: 11px;
    height: 11px;
  }

  .auth-welcome-right {
    position: static;
    padding: 10px 12px 12px;
    gap: 5px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .auth-welcome-right h3 {
    font-size: 0.85rem;
    padding-right: 24px;
    line-height: 1.25;
  }

  .auth-welcome-sub {
    font-size: 10px;
    line-height: 1.35;
    max-width: none;
  }

  .auth-welcome-actions {
    gap: 6px;
    margin-top: 2px;
  }

  .auth-welcome-btn {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 12px;
    border-radius: 9px !important;
    width: 100%;
  }

  .auth-welcome-legal {
    margin-top: 4px;
    font-size: 9px;
    line-height: 1.35;
  }

  .auth-welcome-close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 5;
    width: 26px;
    height: 26px;
    border-radius: 8px;
  }

  .auth-welcome-close svg {
    width: 13px;
    height: 13px;
  }

  /* Login / Daftar — compact serasi modal profil guest */
  .page-main--auth {
    display: flex;
    justify-content: center;
  }

  .auth-page,
  .auth-page--form,
  .auth-page--split {
    width: min(340px, calc(100% - var(--page-gutter) * 2));
    margin: 0 auto;
  }

  .auth-shell {
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    max-height: none;
    overflow: visible;
  }

  .auth-aside {
    padding: 12px 12px 8px;
    gap: 6px;
  }

  .auth-aside-badge {
    padding: 3px 8px;
    font-size: 9px;
  }

  .auth-aside h2 {
    font-size: 0.88rem;
    line-height: 1.2;
  }

  .auth-aside > p {
    font-size: 10px;
    line-height: 1.35;
    max-width: none;
  }

  .auth-aside-points {
    gap: 5px;
    margin-top: 2px;
  }

  .auth-aside-points li {
    padding-left: 14px;
    font-size: 10px;
    line-height: 1.3;
  }

  .auth-aside-points li::before {
    width: 5px;
    height: 5px;
    top: 0.42em;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.18);
  }

  .auth-panel {
    padding: 12px 12px 14px;
  }

  .auth-panel-head {
    margin-bottom: 10px;
  }

  .auth-panel-head h1 {
    margin: 0 0 4px;
    font-size: 1rem;
  }

  .auth-panel-head .auth-lead {
    font-size: 11px;
    line-height: 1.4;
  }

  .auth-form {
    gap: 10px;
  }

  .auth-form-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .auth-field {
    gap: 4px;
  }

  .auth-field span {
    font-size: 10px;
  }

  .auth-field input,
  .auth-field textarea {
    padding: 8px 11px;
    font-size: 16px;
    min-height: 0;
    border-radius: 10px;
  }

  .auth-submit {
    min-height: 38px;
    font-size: 13px;
    border-radius: 10px !important;
    margin-top: 2px;
  }

  .auth-switch {
    margin: 10px 0 0;
    font-size: 11px;
  }

  .auth-alert {
    font-size: 11px;
    padding: 8px 10px;
    border-radius: 10px;
  }

  .page-main,
  .page-main--akun,
  .page-main--berita,
  .page-main--promo,
  .page-main--kalkulator {
    /* Jangan pakai padding shorthand — menimpa padding-top offset header di `main` */
    padding-bottom: 32px;
    padding-left: 0;
    padding-right: 0;
  }

  .panel { padding: 14px 12px; border-radius: 12px; }

  /* ===== Mobile compact: akun, produk, transaksi, legal, dll. ===== */
  .akun-page {
    width: min(100%, calc(100% - var(--page-gutter) * 2));
    margin: 0 auto;
  }

  .akun-layout { gap: 10px; }

  .akun-sidebar {
    top: calc(var(--sticky-header-offset) + 8px);
    padding: 10px 8px;
    border-radius: 12px;
  }

  .akun-sidebar-label {
    margin: 8px 6px 6px;
    font-size: 9px;
  }

  .akun-nav { gap: 4px; }

  .akun-nav-item {
    position: relative;
    padding: 8px 10px;
    font-size: 11px;
    gap: 6px;
    border-radius: 10px;
    min-height: 36px;
  }

  .akun-nav-badge {
    position: absolute;
    top: 3px;
    right: 3px;
    margin: 0;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 9px;
  }

  .akun-nav-item svg {
    width: 15px;
    height: 15px;
  }

  .akun-panel {
    padding: 14px 12px;
    border-radius: 12px;
  }

  .akun-panel-head { margin-bottom: 12px; }

  .akun-panel-head h1 {
    font-size: 1rem;
    margin-bottom: 4px;
  }

  .akun-panel-head p {
    font-size: 11px;
    line-height: 1.4;
  }

  .akun-summary { gap: 8px; margin-bottom: 14px; }

  .akun-row span { font-size: 11px; }

  .akun-row strong { font-size: 12px; }

  .akun-balance-card {
    padding: 12px;
    border-radius: 12px;
    gap: 10px;
  }

  .akun-balance-card .humxp-cash-icon {
    width: 40px;
    height: 40px;
  }

  .akun-balance-label { font-size: 10px; }

  .akun-balance-value { font-size: 1.1rem; }

  .wallet-topup {
    margin-top: 12px;
    padding-top: 12px;
  }

  .wallet-topup-title {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }

  .wallet-amount-grid {
    gap: 6px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wallet-amount-btn {
    padding: 8px 6px;
    font-size: 11px;
    border-radius: 8px;
    min-height: 36px;
  }

  .akun-memo-tab {
    font-size: 11px;
    padding: 8px 10px;
  }

  .akun-memo-panel { padding: 10px; }

  .akun-memo-item {
    padding: 10px 12px;
    border-radius: 10px;
  }

  .akun-memo-item-head strong { font-size: 13px; }

  .akun-memo-item-head time { font-size: 10px; }

  .akun-modal-card {
    border-radius: 14px;
    max-width: min(340px, calc(100vw - var(--page-gutter) * 2));
  }

  .akun-modal-head { padding: 12px 14px; }

  .akun-modal-head h3 { font-size: 0.95rem; }

  .akun-modal-body { padding: 12px 14px; }

  .game-hero {
    min-height: 110px;
    padding: 12px 14px;
    gap: 10px;
    border-radius: 12px;
    margin-bottom: 10px;
  }

  .game-hero-icon,
  .game-hero-icon--fallback {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .game-hero-text small { font-size: 11px; }

  .checkout-form { margin-top: 12px; }

  .checkout-step + .checkout-step,
  .checkout-step + .promo-block,
  .promo-block + .checkout-step {
    margin-top: 12px;
  }

  .product-grid { gap: 8px; }

  .product-option {
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 10px;
  }

  .product-option strong { font-size: 12px; }

  .product-option span { font-size: 12px; }

  .product-cat-tab {
    padding: 6px 11px;
    font-size: 10px;
    border-radius: 7px;
  }

  .summary-box {
    padding: 12px;
    border-radius: 12px;
  }

  .summary-box .sum-title { font-size: 0.9rem; }

  .promo-block {
    padding: 12px;
    border-radius: 12px;
  }

  .promo-block-head strong { font-size: 13px; }

  .transaksi-page {
    width: min(100%, calc(100% - var(--page-gutter) * 2));
    margin: 0 auto;
    gap: 12px;
  }

  .transaksi-block {
    padding: 14px 12px !important;
  }

  .transaksi-block h1 { font-size: 1.05rem; }

  .transaksi-block h2 { font-size: 0.95rem; }

  .transaksi-lead,
  .riwayat-head p {
    font-size: 12px;
    line-height: 1.45;
  }

  .riwayat-head { margin-bottom: 12px; }

  .pesanan-item {
    padding: 12px;
    border-radius: 12px;
  }

  .pesanan-item-main strong { font-size: 13px; }

  .pesanan-item-side strong { font-size: 13px; }

  .pay-panel { padding: 14px 12px !important; }

  .pay-step {
    font-size: 10px;
    padding: 5px 8px;
  }

  .legal-doc h1 {
    font-size: 1.15rem;
    margin-bottom: 8px;
  }

  .legal-doc h2 {
    margin: 16px 0 6px;
    font-size: 0.95rem;
  }

  .legal-doc p,
  .legal-doc li {
    font-size: 12px;
    line-height: 1.5;
  }

  .contact-card {
    padding: 12px;
    border-radius: 12px;
  }

  .contact-card h3 { font-size: 12px; }

  .contact-card p { font-size: 12px; }

  .promo-feed { gap: 8px; }

  .promo-feed-skeleton {
    aspect-ratio: auto;
    min-height: 72px;
    max-height: 96px;
  }

  .promo-banner {
    display: flex;
    justify-content: center;
    background: #121212;
  }

  .promo-banner img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 96px;
    aspect-ratio: auto;
    object-fit: contain;
  }

  .promo-info-btn {
    right: 8px;
    bottom: 8px;
    min-width: 46px;
    padding: 5px 9px;
    font-size: 10px;
  }

  .list-pager-btn {
    min-height: 36px;
    font-size: 12px;
    padding: 6px 10px;
  }

  .news-featured { min-height: 200px; }

  .news-section-title { font-size: 1rem; }

  .wr-calc {
    padding: 16px 14px;
    border-radius: 12px;
  }

  .wr-calc-head {
    margin-bottom: 14px;
  }

  .wr-calc-head h1 { font-size: 1.1rem; }

  .wr-calc-head p { font-size: 12px; }

  .wr-calc-field span { font-size: 12px; }

  .wr-calc-field input {
    padding: 10px 12px;
    min-height: 0;
  }

  .form-grid {
    gap: 10px;
  }

  .form-grid label {
    font-size: 12px;
    gap: 4px;
  }

  .checkout-fields input,
  .checkout-fields select,
  .checkout-fields textarea,
  .form-grid input,
  .form-grid select,
  .form-grid textarea {
    padding: 9px 11px;
    min-height: 0;
    border-radius: 10px;
  }

  .page-main .btn:not(.auth-submit):not(.auth-welcome-btn),
  .akun-cta,
  #btn-wallet-topup {
    min-height: 40px;
    font-size: 13px;
  }

  .empty-state {
    padding: 18px 12px;
    font-size: 12px;
    border-radius: 12px;
  }

  .hero {
    margin-top: 0;
    aspect-ratio: 2.35 / 1;
    min-height: 138px;
    max-height: 138px;
    height: 138px;
    border-radius: 12px;
  }

  .hero-slide { padding: 10px 12px; }

  .hero-slide.has-image {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
  }
  .hero-slide-img {
    object-fit: contain;
  }

  #category-bar { padding-top: 6px; min-height: 52px; }

  .category-bar { padding: 6px 0; }

  .shell-pill {
    width: 72px;
    height: 28px;
    border-radius: 7px;
  }

  .category-pill {
    padding: 6px 11px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 7px;
  }

  .category-scroll { gap: 6px; }

  .section { padding: 14px 0 6px; }

  .section-head {
    padding: 8px 12px;
    margin-bottom: 10px;
    border-radius: 12px;
  }

  .section-head h2 { font-size: 1rem; }

  .flash-wrap {
    padding: 12px 12px 10px;
    border-radius: 14px;
  }

  .flash-top {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
  }

  .flash-sub { display: none; }

  .flash-badge {
    padding: 4px 10px;
    font-size: 10px;
  }

  .flash-countdown-wrap { text-align: right; }

  .flash-countdown-label {
    font-size: 8px;
    margin-bottom: 3px;
  }

  .countdown {
    padding: 3px 6px;
    gap: 3px;
  }

  .countdown .cd-unit {
    min-width: 1.45em;
    padding: 3px 5px;
    font-size: 11px;
    border-radius: 6px;
  }

  .countdown .cd-sep { font-size: 10px; }

  .flash-card {
    width: 152px;
    flex-basis: 152px;
  }

  .flash-marquee { padding: 6px 0 8px; }

  .popular-card {
    min-height: 88px;
    padding: 8px 10px;
  }

  .popular-card-icon {
    width: 38px;
    height: 38px;
  }

  #catalog-section .game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  #catalog-section .game-card {
    border-radius: 10px;
  }

  #catalog-section .game-card-cover {
    font-size: 1.15rem;
  }

  #catalog-section .game-card-body {
    padding: 6px 7px 8px;
    min-height: 0;
  }

  #catalog-section .game-card-body strong {
    font-size: 10px;
    line-height: 1.2;
    min-height: 0;
    margin-bottom: 2px;
  }

  #catalog-section .game-card-body small {
    font-size: 9px;
    line-height: 1.25;
  }

  .news-panel {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    margin: 14px 0;
    border-radius: 12px;
  }

  .news-panel h3 {
    margin: 6px 0 4px;
    font-size: 0.95rem;
    line-height: 1.3;
  }

  .news-panel p {
    font-size: 12px;
    line-height: 1.45;
  }

  .news-panel .badge {
    padding: 4px 10px;
    font-size: 10px;
  }

  .news-panel .link-gold {
    font-size: 13px;
  }

  .faq-wrap {
    padding: 14px;
    margin: 14px 0 6px;
    border-radius: 12px;
  }

  .faq-head { margin-bottom: 12px; }

  .faq-badge {
    padding: 4px 10px;
    font-size: 10px;
  }

  .faq-head h2 {
    margin: 8px 0 6px;
    font-size: 1.05rem;
  }

  .faq-head > p {
    font-size: 12px;
    line-height: 1.5;
  }

  .faq-tags {
    gap: 6px;
    margin: 10px 0 10px;
  }

  .faq-tag {
    padding: 6px 10px;
    font-size: 10px;
    gap: 5px;
  }

  .faq-features {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px;
    margin-bottom: 12px;
  }

  .faq-feature {
    min-height: 0;
    padding: 12px 10px;
    border-radius: 10px;
  }

  .faq-feature-label { font-size: 9px; }

  .faq-feature h3 {
    margin: 6px 0 4px;
    max-width: 100%;
    font-size: 0.82rem;
    line-height: 1.3;
  }

  .faq-feature p {
    max-width: 100%;
    font-size: 11px;
    line-height: 1.4;
  }

  .faq-feature-icon {
    width: 46px;
    height: 46px;
    right: 4px;
    bottom: 2px;
  }

  .faq-list { gap: 8px; }

  .cta-banner {
    margin-top: 14px;
    padding: 16px 0 14px;
  }

  .cta-inner {
    text-align: center;
    max-width: 100%;
  }

  .cta-inner h2 {
    margin: 0 0 6px;
    font-size: 0.9rem;
    line-height: 1.3;
    font-weight: 800;
  }

  .cta-inner h2 span {
    display: block;
    margin-top: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.35;
  }

  .cta-inner p {
    font-size: 11px;
    line-height: 1.45;
  }

  .site-footer {
    padding: 24px 0 0;
  }

  .footer-grid {
    gap: 16px;
  }

  .footer-grid h3 {
    margin: 0 0 8px;
    font-size: 10px;
  }

  .footer-grid p,
  .footer-grid li {
    font-size: 12px;
    line-height: 1.45;
  }

  .footer-help-text {
    margin: 0 0 10px;
    font-size: 12px;
  }

  .footer-social-link {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .footer-social-link svg {
    width: 16px;
    height: 16px;
  }

  .footer-grid ul { gap: 6px; }

  .footer-payments-row {
    margin-top: 4px;
    padding-top: 14px;
  }

  .footer-payments-row h3 {
    margin: 0 0 8px;
    font-size: 10px;
  }

  .footer-grid .footer-payments-list {
    grid-template-columns: repeat(auto-fill, minmax(52px, 1fr));
    gap: 6px;
  }

  .footer-grid .footer-pay-item {
    padding: 6px 4px;
    min-height: 34px;
  }

  .footer-bottom {
    margin-top: 18px;
    padding: 10px 12px;
    font-size: 11px;
  }

  .load-more-wrap { padding: 16px 0 6px; }

  .game-hero-text h1 {
    font-size: clamp(1.1rem, 4.8vw, 1.45rem);
    line-height: 1.2;
  }

  .checkout-step-title {
    font-size: 0.95rem;
  }

  .checkout-fields label,
  .field-placeholder-only,
  .promo-row,
  .pay-grid,
  .product-grid {
    width: 100%;
  }

  .search-panel .search-box input {
    font-size: 14px;
    min-height: 0;
  }

  input,
  select,
  textarea {
    font-size: 16px;
    min-height: 48px;
  }

  .btn,
  .promo-apply-btn,
  #submit-btn {
    min-height: 48px;
    width: 100%;
  }

  .auth-welcome-actions .auth-welcome-btn {
    min-height: 34px;
    width: 100%;
  }

  .auth-form .auth-submit {
    min-height: 38px;
    width: 100%;
  }

  .page-main .btn:not(.auth-submit):not(.auth-welcome-btn),
  .akun-cta,
  #btn-wallet-topup,
  #submit-btn,
  .promo-apply-btn {
    min-height: 40px;
    font-size: 13px;
  }

  .promo-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .promo-apply-btn { width: 100%; }

  .summary-box .sum-row {
    grid-template-columns: minmax(88px, 38%) 1fr;
    gap: 8px;
    padding: 10px 12px;
  }

  .sum-total {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .search-dropdown {
    left: calc(-1 * var(--page-gutter));
    right: calc(-1 * var(--page-gutter));
    min-width: calc(100vw - var(--page-gutter) * 2);
    max-width: calc(100vw - var(--page-gutter) * 2);
  }

  .footer-grid {
    gap: 16px;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .promo-block {
    padding: 12px;
  }

  .promo-block-head {
    align-items: center;
    gap: 8px;
  }

  .promo-block-head > div {
    min-width: 0;
    flex: 1 1 auto;
  }

  .promo-block-head p {
    font-size: 11px;
  }

  .voucher-modal {
    padding: max(14px, var(--safe-top)) var(--page-gutter) max(14px, var(--safe-bottom));
    z-index: 200;
    place-items: center;
    align-content: center;
  }

  .voucher-modal-card {
    width: min(340px, calc(100vw - var(--page-gutter) * 2));
    max-width: min(340px, calc(100vw - var(--page-gutter) * 2));
    height: auto;
    max-height: min(72dvh, 480px);
    border-radius: 14px;
    margin: 0;
  }

  .voucher-modal-head {
    padding: 12px 14px 10px;
  }

  .voucher-modal-head h3 {
    font-size: 0.95rem;
  }

  .voucher-modal-head p {
    font-size: 11px;
  }

  .voucher-modal-close {
    width: 30px;
    height: 30px;
    border-radius: 8px;
  }

  .voucher-modal-close svg {
    width: 14px;
    height: 14px;
  }

  .voucher-modal-body {
    padding: 8px 10px 12px;
    max-height: min(52dvh, 360px);
  }

  .voucher-item {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border-radius: 10px;
  }

  .voucher-item .btn {
    width: auto;
    flex-shrink: 0;
    min-height: 34px;
    padding: 6px 10px;
    font-size: 12px;
  }

  .voucher-item-code {
    font-size: 13px;
    word-break: break-word;
  }

  .voucher-item-meta {
    font-size: 11px;
  }

  .voucher-modal-empty {
    margin: 12px 6px;
    font-size: 12px;
  }
}

@media (max-width: 960px) and (orientation: landscape) {
  .hero { min-height: 140px; aspect-ratio: auto; }

  .game-hero { min-height: 120px; }

  .auth-welcome-card,
  .voucher-modal-card {
    max-height: min(92dvh, 520px);
  }
}

@media (max-width: 640px) {
  :root { --page-gutter: max(12px, var(--safe-left), var(--safe-right)); }

  .header-inner { gap: 8px; }

  .brand-logo { height: 28px; }

  .game-grid.popular-grid { gap: 10px; }

  #catalog-section .game-grid { gap: 8px; }

  .game-card { border-radius: 14px; }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-option {
    min-height: 48px;
    padding: 10px 12px;
  }

  .product-cat-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .product-cat-tabs::-webkit-scrollbar { display: none; }

  .product-cat-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .game-hero {
    min-height: 110px;
    padding: 12px 14px;
    border-radius: 12px;
  }

  .game-hero-icon {
    width: 44px;
    height: 44px;
  }

  .auth-page,
  .auth-page--form,
  .auth-page--split {
    width: min(340px, calc(100% - var(--page-gutter) * 2));
    margin-inline: auto;
  }

  .auth-panel { padding: 12px 12px 14px; }

  .akun-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pesanan-card,
  .bayar-card,
  .news-latest-item {
    border-radius: 14px;
  }

  .news-latest-item {
    grid-template-columns: 96px 1fr;
    gap: 10px;
  }

  .news-latest-thumb {
    width: 96px;
    height: 64px;
  }

  .cta-strip { padding: 24px 16px; }

  .faq-grid { gap: 12px; }
}

@media (max-width: 390px) {
  .hero-slide h1 { font-size: 1.25rem; }

  .summary-box .sum-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .summary-box .sum-row dt {
    font-size: 11px;
    color: var(--muted);
  }

  .akun-nav {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 360px) {
  :root { --page-gutter: max(10px, var(--safe-left), var(--safe-right)); }

  .nav-link {
    padding: 8px 12px;
    font-size: 13px;
    min-height: 36px;
  }

  .footer-grid .footer-payments-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) and (pointer: coarse) {
  .product-option,
  .pay-option,
  .game-card,
  .popular-card,
  .akun-nav-item,
  .news-latest-item,
  .footer-social-link {
    min-height: 44px;
  }

  .nav-link { min-height: 36px; }
}

@media (max-width: 960px) {
  .flash-track {
    animation: none;
    will-change: auto;
    transform: none;
    width: auto;
  }

  .flash-marquee {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    -webkit-mask-image: none;
    mask-image: none;
    scrollbar-width: none;
  }

  .flash-marquee::-webkit-scrollbar { display: none; }

  .flash-card:hover,
  .flash-card:focus-within {
    transform: none;
    box-shadow: none;
  }

  #site-header,
  .search-panel {
    backdrop-filter: none;
  }

  #popular-section,
  #catalog-section,
  .news-panel {
    content-visibility: visible;
  }

  .faq-wrap {
    content-visibility: visible;
  }

  .faq-item {
    contain: layout style;
  }

  .faq-item-head {
    padding: 12px 14px;
    gap: 10px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .faq-item.open .faq-item-head {
    background: rgba(255, 193, 7, 0.12);
  }

  .faq-q {
    font-size: 13px;
    line-height: 1.35;
  }

  .faq-a-inner > p {
    padding: 0 14px;
    font-size: 12px;
    line-height: 1.55;
  }

  .faq-item.open .faq-a-inner > p {
    padding-bottom: 12px;
  }

  .faq-toggle {
    width: 32px;
    height: 32px;
  }

  .faq-item.open .faq-toggle-line--v {
    opacity: 0;
    transform: rotate(90deg) scaleY(0);
  }
}

/* Livechat mobile — bubble ringan buka halaman Saktichat (tanpa widget) */
.livechat-mobile-fab {
  display: none;
}

@media (max-width: 960px) {
  .livechat-mobile-fab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 90;
    right: max(14px, var(--safe-right, env(safe-area-inset-right, 0px)));
    bottom: max(16px, var(--safe-bottom, env(safe-area-inset-bottom, 0px)));
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  .livechat-mobile-fab img {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
  }
}

/* Livechat / Saktichat — fullscreen di mobile saat panel terbuka (ringan, tanpa JS) */
@media (max-width: 960px) {
  #tiarachat-panel.tiarachat-panel-open {
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100dvh !important;
    max-width: none !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
  }
}
