/* ═══════════════════════════════════════════════════════════════
   OMKOIN — Flat 2D design, mobile-first
   Font: Baloo 2 | Palette: blue
   ═══════════════════════════════════════════════════════════════ */
:root {
  --accent: #0088FF;
  --accent-d: #006DD6;
  --accent-light: #D6ECFF;
  --accent-bg: #EBF5FF;
  --bg: #F0F7FF;
  --card: #FFFFFF;
  --text: #0A1A35;
  --muted: #7A9BBF;
  --body: #334E68;
  --line: #D4E4F2;
  --gold: #F59E0B;
  --gold-d: #D97706;
  --purple: #8B5CF6;
  --purple-d: #7C3AED;
  --ok-bg: #ECFDF5;
  --ok-tx: #059669;
  --err-bg: #FEF2F2;
  --err-tx: #DC2626;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow-xs: none;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-h: 60px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-bottom: calc(160px + env(safe-area-inset-bottom));
}

body {
  font-family: 'Baloo 2', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  min-height: 100dvh;
  -webkit-font-smoothing: antialiased;
}

img {
  user-select: none;
  -webkit-user-drag: none;
}

.material-symbols-rounded {
  font-family: 'Material Symbols Rounded';
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: 'FILL' 1, 'wght' 500, 'GRAD' 0, 'opsz' 20;
  overflow: hidden;
  width: 1em;
  height: 1em;
  vertical-align: middle;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input {
  font-family: inherit;
}

/* ── Header ─────────────────────────────────────────── */
.hdr {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(145deg, var(--accent-d), #003A8A);
  border-bottom: 2px solid rgba(90,180,255,0.3);
}

.hdr-inner {
  max-width: 520px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
}

.brand {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 0 rgba(0,0,0,0.2);
}

.brand-dot {
  color: var(--gold);
}

.hdr-status {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  padding: 5px 11px;
  border-radius: 20px;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 6px rgba(52, 211, 153, 0.6);
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.4;
  }
}

/* ── Wrap ────────────────────────────────────────────── */
.wrap {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 12px 34px;
  padding-bottom: calc(150px + env(safe-area-inset-bottom));
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
  position: relative;
  margin: 12px 0 14px;
  border-radius: 18px;
  overflow: hidden;
  min-height: 238px;
  padding: 23px 19px 58px;
  color: #fff;
  background-color: #082f2a;
  background-image:
    linear-gradient(90deg, rgba(3, 20, 49, 0.98) 0%, rgba(4, 36, 58, 0.94) 38%, rgba(5, 55, 53, 0.50) 61%, rgba(5, 55, 53, 0.08) 100%),
    url('../assets/hero-bg.webp');
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 30px rgba(4, 45, 38, 0.24);
}

.hero::after {
  content: none;
}

.hgi-brand-mark {
  position: absolute;
  z-index: 2;
  top: 9px;
  right: 10px;
  width: 118px;
  height: 42px;
  background-image: url('../assets/hgi-trust.jpeg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 270% auto;
  mix-blend-mode: screen;
  filter: grayscale(1) contrast(2) brightness(1.2) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.42));
  opacity: 0.9;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 55%;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 145px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 5px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  padding: 5px 9px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 700;
  margin-bottom: 11px;
  white-space: nowrap;
}

.hero h1 {
  max-width: 210px;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.04em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.32);
  margin: 0;
}

.h1-dot {
  color: var(--gold);
}

.h1-sub {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  opacity: 0.9;
  margin-top: 7px;
  letter-spacing: 0.01em;
  line-height: 1.45;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.34);
}

.hero-copy p {
  margin: auto 0 0 !important;
  font-size: 12.5px !important;
  line-height: 1.55 !important;
  opacity: 0.94;
  max-width: 240px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.34);
}

.hero-trust {
  position: absolute;
  z-index: 1;
  left: 12px;
  right: 12px;
  bottom: 10px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.hero-trust span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 4px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 9px;
  background: linear-gradient(135deg, var(--accent), var(--accent-d));
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  box-shadow: 0 3px 10px rgba(0, 80, 180, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.hero-trust b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  border-radius: 50%;
  background: #34D399;
  color: #052E24;
  font-size: 9px;
}

@media (max-width: 520px) {
  .hgi-brand-mark {
    top: 8px;
    right: 8px;
    width: 104px;
    height: 38px;
  }
}

@media (max-width: 370px) {
  .hero {
    min-height: 226px;
    padding: 17px 16px 50px;
    background-position: 54% center;
  }

  .hero-copy {
    max-width: 58%;
  }

  .hero h1 {
    font-size: 20px;
  }

  .hero-copy p {
    max-width: 190px;
    font-size: 11.5px;
    line-height: 1.38;
  }

  .hero-trust span {
    font-size: 9px;
    padding: 5px 3px;
  }
}

/* ── Event Banner ────────────────────────────────────── */
.event-banner {
  margin-bottom: 14px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.event-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* ── Cards ───────────────────────────────────────────── */
.card {
  background: var(--card);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 14px;
  margin-bottom: 14px;
  box-shadow: 0 3px 0 var(--line);
  overflow: hidden;
  scroll-margin-top: 70px;
}

.card h2 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
}

.num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.optional {
  font-weight: 500;
  color: var(--muted);
  font-size: 12px;
}

/* ── Input + Button ──────────────────────────────────── */
input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 15px;
  background: #FBFDFF;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
}

input:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 136, 255, 0.12);
}

.id-row {
  display: flex;
  gap: 8px;
}

.id-input-wrap {
  flex: 1;
  position: relative;
}

.id-input-wrap input {
  padding-right: 40px;
}

.id-guide-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--muted);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  transition: background 0.15s;
  flex-shrink: 0;
}

.id-guide-btn:active {
  background: var(--accent);
}

#check-btn {
  background: linear-gradient(135deg, var(--accent), var(--accent-d));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 136, 255, 0.28);
  transition: transform 0.1s, box-shadow 0.1s;
}

#check-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0, 136, 255, 0.18);
}

#check-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}

.help-text {
  margin-top: 8px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

.nickname-result {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--ok-bg);
  color: var(--ok-tx);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nickname-result[hidden] {
  display: none;
}

.nickname-result.nickname-error {
  background: var(--err-bg);
  color: var(--err-tx);
}

.nickname-result.nickname-error .nickname-icon {
  background: var(--err-tx);
}

/* ── Guide Modal (bottom sheet) ────────────────────── */
.guide-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.guide-modal[hidden] {
  display: none;
}

.guide-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 26, 53, 0.52);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.guide-sheet {
  position: relative;
  background: #fff;
  border-radius: 24px 24px 0 0;
  width: 100%;
  max-width: 520px;
  z-index: 1;
  box-shadow: 0 -8px 32px rgba(0, 60, 120, 0.18);
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  animation: guideSheetUp 0.3s var(--ease) both;
}

@keyframes guideSheetUp {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.guide-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 14px;
  border-bottom: 1px solid var(--line);
}

.guide-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}

.guide-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}

.guide-close:active {
  background: var(--line);
  color: var(--text);
}

.guide-list {
  list-style: none;
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.guide-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.guide-step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-d));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 136, 255, 0.28);
}

.guide-list li > div:last-child {
  flex: 1;
  padding-top: 4px;
}

.guide-list strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}

.guide-list p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

.guide-ok-btn {
  display: block;
  width: calc(100% - 40px);
  margin: 0 20px;
  padding: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-d));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 136, 255, 0.3);
  transition: transform 0.1s;
}

.guide-ok-btn:active {
  transform: translateY(1px);
}

.nickname-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ok-tx);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
}

/* ── WhatsApp Input ──────────────────────────────────── */
.wa-row {
  display: flex;
  align-items: stretch;
}

.wa-prefix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  color: var(--body);
  white-space: nowrap;
}

.wa-row input {
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ── Payment Methods ─────────────────────────────────── */
.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pay-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 2px solid var(--line);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.pay-option:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}

.pay-option.active {
  border-color: var(--accent);
  background: var(--accent-bg);
}

.pay-option input[type="radio"] {
  display: none;
}

.pay-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent-d);
}

.pay-option.active .pay-icon {
  background: var(--accent);
  color: #fff;
}

.pay-info {
  flex: 1;
  min-width: 0;
}

.pay-info strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.pay-info small {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.3;
}

.pay-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: transparent;
  flex-shrink: 0;
  transition: all 0.15s;
}

.pay-option.active .pay-check {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ── Product Card — Sticky Tabs ──────────────────────── */
.product-card {
  padding: 0;
  overflow: visible;
}

.product-card>h2 {
  padding: 16px 14px 0;
}

.product-sticky {
  position: sticky;
  top: 50px;
  z-index: 15;
  background: var(--card);
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s;
}

.product-sticky.stuck {
  box-shadow: 0 4px 16px rgba(0, 60, 120, 0.1);
}

.tabs {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.tabs button {
  flex: 1 0 auto;
  padding: 9px 14px;
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  text-align: center;
  transition: all 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.tabs button.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  text-decoration: line-through;
  pointer-events: none;
}

.tabs button.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-d));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 3px 8px rgba(0,136,255,0.3);
}

/* semua tab aktif pakai biru — konsisten dengan tema */
.tabs button[data-cat="kartu"].active,
.tabs button[data-cat="koin"].active,
.tabs button[data-cat="vip"].active {
  background: linear-gradient(135deg, var(--accent), var(--accent-d));
  box-shadow: 0 3px 8px rgba(0,136,255,0.3);
}

.delivery-info {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--accent-d);
}

.delivery-info svg {
  flex-shrink: 0;
  stroke: var(--accent-d);
}

.product-body {
  padding: 10px 14px 16px;
}

/* ── Product Grid — 2 columns on mobile ──────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.prod {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  padding: 10px 4px 9px;
  border-radius: 16px;
  cursor: pointer;
  background: #fff;
  border: 2px solid var(--line);
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  box-shadow: 0 3px 0 var(--line);
}

.prod:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--line);
}

.prod.active {
  border-color: var(--accent);
  background: var(--accent-bg);
  box-shadow: 0 3px 0 var(--accent-light);
}

.prod.active::after {
  content: "✓";
  position: absolute;
  top: -8px;
  right: -6px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  line-height: 22px;
  text-align: center;
  box-shadow: 0 2px 0 var(--accent-d);
}

.prod-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 0 0 5px;
}

.prod-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.prod-icon.has-img {
  background: var(--bg);
  border: 1.5px solid var(--line);
  box-shadow: none;
  overflow: hidden;
}

.prod-icon.gold {
  background: radial-gradient(circle at 35% 30%, #FFE08A, var(--gold) 60%, var(--gold-d));
  box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(217, 142, 0, 0.3);
}

.prod-icon.purple {
  background: radial-gradient(circle at 35% 30%, #C4B5FD, var(--purple) 60%, var(--purple-d));
  box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(139, 92, 246, 0.3);
}

.prod-icon.dark-purple {
  background: radial-gradient(circle at 35% 30%, #A78BFA, var(--purple-d) 60%, #6D28D9);
  box-shadow: inset 0 -2px 4px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(124, 58, 237, 0.3);
}

.prod-name {
  flex: 0 0 auto;
  min-height: 2.3em;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.15;
}

.prod-price {
  margin-top: 5px;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--accent-d);
  color: var(--accent-light);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.35;
  white-space: nowrap;
}

.prod-strike {
  margin-top: 4px;
  font-size: 9px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: line-through;
  line-height: 1;
  white-space: nowrap;
}

.prod-price.disc {
  background: #059669;
  color: #fff;
}

.prod-badge {
  position: absolute;
  top: -7px;
  right: auto;
  left: 50%;
  transform: translateX(-50%);
  padding: 2px 8px;
  border-radius: 999px;
  background: #d6336c;
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 2px 0 #8f1d48;
}

.prod-badge-disc {
  background: #DC2626;
  box-shadow: 0 2px 0 #991B1B;
}

/* 3 columns on wider mobile */
@media (min-width: 400px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .prod {
    padding: 12px 6px 10px;
  }

  .prod-icon {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .prod-name {
    font-size: 11px;
  }

  .prod-price {
    font-size: 12.5px;
  }
}

/* ── Summary / Checkout Bar ──────────────────────────── */
.summary {
  position: fixed;
  z-index: 16;
  left: 11px;
  right: 11px;
  bottom: calc(var(--nav-h) + 10px + env(safe-area-inset-bottom));
  max-width: 498px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--accent-d), #004AAD);
  color: #fff;
  border: 2px solid var(--gold);
  border-radius: 18px;
  padding: 9px 10px 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 6px 0 #003A8A, 0 14px 26px rgba(0, 0, 0, 0.35);
}

.summary[hidden] {
  display: none;
}

.summary-assurance {
  width: 100%;
  padding-bottom: 6px;
  border-bottom: 1.5px dashed rgba(214, 236, 255, 0.35);
  font-size: 12px;
  font-weight: 700;
  color: rgba(214, 236, 255, 0.9);
}

.summary-detail {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.summary-detail::before {
  content: "Total";
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
}

#sum-product {
  display: none;
}

#sum-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
  white-space: nowrap;
}

#buy-btn {
  flex-shrink: 0;
  min-width: 148px;
  background: linear-gradient(180deg, var(--gold), var(--gold-d));
  color: #3a2a00;
  border: none;
  border-radius: 14px;
  padding: 10px 18px;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 4px 0 #9a6400;
  transition: transform 0.1s;
  white-space: nowrap;
}


#buy-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #9a6400;
}

#buy-btn:disabled {
  background: #5a8aba;
  color: rgba(255, 255, 255, 0.78);
  box-shadow: 0 4px 0 #3a6a9a;
  opacity: 1;
}


/* ── Testimonials ────────────────────────────────────── */
.testimonials-card h2 {
  margin-bottom: 14px;
}

.testi-viewport {
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.testi-track {
  display: flex;
  transition: transform 0.6s var(--ease);
  will-change: transform;
  touch-action: pan-y;
}

.testi-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 0 2px;
  box-sizing: border-box;
}

.testi-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 16px 14px;
  position: relative;
}

.testi-item::before {
  content: "\201C";
  position: absolute;
  top: -6px;
  right: 12px;
  font-size: 52px;
  font-family: Georgia, serif;
  color: var(--accent);
  opacity: 0.07;
  line-height: 1;
  pointer-events: none;
}

.testi-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 8px;
}

.testi-text {
  font-size: 13px;
  color: var(--body);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 12px;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 9px;
}

.testi-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #6366F1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  flex-shrink: 0;
}

.testi-author strong {
  font-size: 12.5px;
  color: var(--text);
  display: block;
}

.testi-author small {
  font-size: 11px;
  color: var(--muted);
}

.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
}

.testi-arrow {
  width: 34px;
  height: 34px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--body);
  box-shadow: var(--shadow-xs);
  transition: all 0.2s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.testi-arrow:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.testi-dots {
  display: flex;
  gap: 5px;
  align-items: center;
}

.testi-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--line);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}

.testi-dot.active {
  background: var(--accent);
  width: 18px;
  border-radius: 4px;
}

/* ── FAQ ─────────────────────────────────────────────── */
.faq-card h2 {
  margin-bottom: 6px;
}

.faq-item {
  border-top: 1px solid var(--line);
  padding: 11px 0;
}

.faq-item:first-of-type {
  border-top: 0;
  padding-top: 2px;
}

.faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  -webkit-tap-highlight-color: transparent;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  display: grid;
  place-items: center;
  background: var(--accent-bg);
  color: var(--accent-d);
  font-weight: 900;
  font-size: 14px;
  transition: transform 0.2s;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

/* ── Footer ──────────────────────────────────────────── */
.foot {
  text-align: center;
  padding: 14px 0 6px;
  color: var(--muted);
}

.foot-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
}

.foot-links a {
  color: var(--accent-d);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.foot-links a:hover {
  text-decoration: underline;
}

.foot small {
  font-size: 11px;
  line-height: 1.5;
}

/* ── Bottom Navigation ───────────────────────────────── */
.bnav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 18;
  height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -2px 0 var(--line);
}

.bnav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: var(--nav-h);
  max-width: 520px;
}

.bnav li {
  position: relative;
  min-width: 0;
}

.bnav a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 100%;
  padding: 6px 4px 4px;
  color: var(--muted);
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.15s;
}

.bnav svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.bnav a[aria-current="page"] {
  color: var(--accent-d);
  font-weight: 800;
}

.bnav a[aria-current="page"] svg {
  fill: var(--accent-bg);
  stroke-width: 2.2;
}

.bnav a[aria-current="page"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--accent);
}

.bnav li.center a {
  justify-content: flex-end;
  padding-bottom: 5px;
  color: var(--accent);
  font-weight: 800;
}

.bnav-fab {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, var(--accent), var(--accent-d));
  border: 4px solid var(--bg);
  box-shadow: 0 8px 20px rgba(0, 136, 255, 0.38);
  transition: transform 0.15s, box-shadow 0.15s;
}

.bnav-fab svg {
  width: 21px;
  height: 21px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.2;
}

.bnav li.center a[aria-current="page"]::before {
  display: none;
}

.bnav li.center a:active .bnav-fab {
  transform: translateX(-50%) scale(0.93);
}

/* ── Desktop: app frame ──────────────────────────────── */
@media (min-width: 600px) {
  body {
    background: #E0E5ED;
  }

  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 520px;
    height: 100vh;
    background: var(--bg);
    z-index: -1;
    box-shadow: -1px 0 0 var(--line), 1px 0 0 var(--line);
  }

  .hdr {
    max-width: 520px;
    margin: 0 auto;
    border-radius: 0 0 0px 0px;
  }

  .hdr-inner {
    max-width: none;
  }

  .bnav {
    left: 50%;
    right: auto;
    width: 520px;
    transform: translateX(-50%);
  }

  .bnav ul {
    max-width: none;
  }

  .summary {
    max-width: 488px;
  }

  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ════════════════════════════════════════════════════════
   UI/UX IMPROVEMENTS — depth, motion, & game character
   ════════════════════════════════════════════════════════ */

/* 1. Background: subtle coin-dot pattern — distinctive, not generic gradient */
body {
  background-image: radial-gradient(circle, rgba(0,136,255,0.08) 1.5px, transparent 1.5px);
  background-size: 22px 22px;
}

/* 2. Card depth: inner top-light + bottom shadow = 2D pop */
.card {
  box-shadow: 0 3px 0 var(--line), inset 0 1px 0 rgba(255,255,255,0.95);
}

/* 3. Section number circles — bolder, 3D push */
.num {
  font-weight: 900;
  letter-spacing: -0.5px;
  box-shadow: 0 3px 0 var(--accent-d);
}

/* 4. ── Product cards — THE signature interaction moment ── */
.prod {
  transition:
    border-color 0.15s,
    background 0.15s,
    transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.15s;
}

.prod:hover {
  transform: translateY(-3px);
  border-color: var(--accent-light);
  box-shadow: 0 6px 0 var(--line);
}

.prod:active {
  transform: translateY(2px) !important;
  box-shadow: 0 1px 0 var(--line) !important;
}

/* Glow ring on selected coin icon */
.prod.active .prod-icon.gold {
  box-shadow: 0 0 0 3px rgba(245,158,11,0.35), inset 0 -2px 4px rgba(0,0,0,0.15);
}
.prod.active .prod-icon.purple {
  box-shadow: 0 0 0 3px rgba(139,92,246,0.35), inset 0 -2px 4px rgba(0,0,0,0.15);
}
.prod.active .prod-icon.dark-purple {
  box-shadow: 0 0 0 3px rgba(124,58,237,0.35), inset 0 -2px 4px rgba(0,0,0,0.15);
}
.prod.active .prod-icon.has-img {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,136,255,0.2);
}

/* 5. Buttons — spring press feel with 3D shadow */
#check-btn {
  box-shadow: 0 4px 0 var(--accent-d);
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.1s;
}
#check-btn:not(:disabled):active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 var(--accent-d);
}

.price-cta {
  box-shadow: 0 4px 0 var(--accent-d) !important;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.1s !important;
}
.price-cta:active {
  transform: translateY(3px) !important;
  box-shadow: 0 1px 0 var(--accent-d) !important;
}

.guide-ok-btn {
  box-shadow: 0 4px 0 var(--accent-d) !important;
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.1s !important;
}
.guide-ok-btn:active {
  transform: translateY(3px) !important;
  box-shadow: 0 1px 0 var(--accent-d) !important;
}

/* 6. Tabs — spring bounce on click */
.tabs button {
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.tabs button.active {
  box-shadow: 0 3px 8px rgba(0,136,255,0.3) !important;
  transform: none;
}
.tabs button:active {
  transform: scale(0.97);
}

/* 7. Input fields — blue glow ring on focus */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,136,255,0.16), 0 2px 0 var(--accent-d) !important;
  background: #fff;
}

/* 8. Hero trust pills — spring tap */
.hero-trust span {
  box-shadow: 0 3px 0 rgba(0,50,170,0.22);
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.1s;
}
.hero-trust span:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 rgba(0,50,170,0.18);
}

/* 10. Pay options — spring border highlight */
.pay-option {
  transition: border-color 0.15s, background 0.15s,
              transform 0.2s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.15s;
}
.pay-option:active {
  transform: scale(0.985);
}
.pay-option.active {
  box-shadow: 0 3px 0 rgba(0,136,255,0.22);
}

/* 11. Feature cards (index) — hover lift */
.feature-card {
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.2s, border-color 0.15s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,60,120,0.1);
  border-color: var(--accent-light);
}

/* 12. FAQ items — smooth reveal */
.faq-item summary {
  transition: color 0.15s;
}
.faq-item[open] summary {
  color: var(--accent-d);
}

/* 13. Page-load stagger — cards cascade in */
@keyframes card-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.wrap > .card,
.wrap > .hero,
.wrap > section,
.wrap > .order-progress,
.wrap > .event-banner {
  animation: card-in 0.42s ease-out both;
}
.wrap > *:nth-child(1) { animation-delay: 0.04s; }
.wrap > *:nth-child(2) { animation-delay: 0.08s; }
.wrap > *:nth-child(3) { animation-delay: 0.13s; }
.wrap > *:nth-child(4) { animation-delay: 0.18s; }
.wrap > *:nth-child(5) { animation-delay: 0.23s; }
.wrap > *:nth-child(6) { animation-delay: 0.28s; }
.wrap > *:nth-child(7) { animation-delay: 0.32s; }
.wrap > *:nth-child(n+8) { animation-delay: 0.36s; }

/* 14. Status dot — brighter pulse */
.status-dot {
  box-shadow: 0 0 0 3px rgba(52,211,153,0.3);
  animation: status-pulse 2s ease infinite;
}
@keyframes status-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0.5); }
  50%       { box-shadow: 0 0 0 5px rgba(52,211,153,0); }
}

/* 15. CTA final section button */
.cta-final-btn {
  box-shadow: 0 4px 0 rgba(0,0,0,0.18) !important;
  transition: transform 0.15s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.1s !important;
}
.cta-final-btn:active {
  transform: translateY(3px) !important;
  box-shadow: 0 1px 0 rgba(0,0,0,0.15) !important;
}

/* 16. Price figures — tabular numbers for alignment */
.prod-price,
#sum-price,
.prod-price strong {
  font-variant-numeric: tabular-nums;
}

/* 17. Testi avatar — micro pop on hover */
.testi-avatar {
  transition: transform 0.2s cubic-bezier(0.34,1.56,0.64,1);
}
.testi-item:hover .testi-avatar {
  transform: scale(1.08);
}

/* 18. Footer WA button — spring */
.footer-wa-btn {
  box-shadow: 0 4px 0 #16a34a !important;
  transition: transform 0.15s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.1s !important;
}
.footer-wa-btn:active {
  transform: translateY(3px) !important;
  box-shadow: 0 1px 0 #16a34a !important;
}

/* 19. Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  .wrap > *,
  .hero-badge,
  .status-dot,
  .prod,
  .tabs button,
  .feature-card {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ── Index page ── */

/* Index-only additions */
.stats-card {
  background: linear-gradient(145deg, #0070D8 0%, #004DAD 100%);
  border: 2px solid #5ab4ff;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 0 #003A8A !important;
}
.stats-card::after {
  content: '';
  position: absolute;
  top: -40px; right: -20px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
}
.stats-card::before {
  content: '';
  position: absolute;
  bottom: -30px; left: -15px;
  width: 100px; height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  pointer-events: none;
}
.stats-label-top {
  font-size: 10.5px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px;
  opacity: 0.75; margin-bottom: 12px; text-align: center;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
}
.stat-item {
  padding: 12px 6px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255,255,255,0.18);
  box-shadow: 0 3px 0 rgba(0,0,0,0.15);
}
.stat-icon {
  width: 28px; height: 28px;
  background: rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 7px;
}
.stat-icon svg { display: block; }
.stat-val {
  font-size: 21px;
  font-weight: 800;
  line-height: 1.1;
}
.stat-label {
  font-size: 10px;
  font-weight: 600;
  opacity: 0.8;
  margin-top: 3px;
  line-height: 1.3;
}

.price-subtitle {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  margin: -6px 0 12px;
}
.price-cta {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent-d));
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,136,255,0.28);
  transition: transform 0.1s;
}
.price-cta:active { transform: translateY(1px); }

.game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 14px 6px 12px;
  border-radius: 16px;
  background: #fff;
  border: 2px solid var(--line);
  text-decoration: none;
  color: var(--text);
  box-shadow: 0 3px 0 var(--line);
  transition: transform 0.25s cubic-bezier(0.34,1.56,0.64,1), border-color 0.15s, box-shadow 0.15s;
}
.game-card:hover { transform: translateY(-3px); border-color: var(--accent-light); box-shadow: 0 6px 0 var(--line); }
.game-card:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--line); }
.game-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 2px;
}
.cat-tabs {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}
.cat-tabs button {
  padding: 9px 4px;
  font-size: 11px;
  text-align: center;
}

.game-icon-img {
  width: 52px; height: 52px;
  border-radius: 14px;
  object-fit: cover;
  margin-bottom: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.game-card strong { font-size: 11.5px; font-weight: 800; line-height: 1.2; }
.game-card small { font-size: 10px; font-weight: 600; color: var(--muted); line-height: 1.3; }

@keyframes featFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.feature-card {
  position: relative;
  padding: 16px 13px 14px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  animation: featFadeUp 0.5s ease both;
  transition: box-shadow 0.18s, border-color 0.18s;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2.5px;
  background: var(--feat-color, var(--accent));
  border-radius: 2px 2px 0 0;
}
.feature-card:active {
  box-shadow: 0 2px 14px rgba(0,0,0,0.09);
  border-color: var(--feat-color, var(--accent));
}
.feature-card:nth-child(1) { animation-delay:.06s; --feat-color:#0066CC; }
.feature-card:nth-child(2) { animation-delay:.12s; --feat-color:#B45309; }
.feature-card:nth-child(3) { animation-delay:.18s; --feat-color:#047857; }
.feature-card:nth-child(4) { animation-delay:.24s; --feat-color:#6D28D9; }
.feature-card:nth-child(5) { animation-delay:.30s; --feat-color:#B91C1C; }
.feature-card:nth-child(6) { animation-delay:.36s; --feat-color:#1D4ED8; }
.feat-num {
  position: absolute; top: 10px; right: 11px;
  font-size: 10px; font-weight: 800;
  color: var(--feat-color, var(--accent));
  opacity: 0.38;
}
.feat-icon {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px;
}
.feat-icon svg { display: block; width: 20px; height: 20px; }
.feat-title { font-size: 12.5px; font-weight: 800; color: var(--text); line-height: 1.2; margin-bottom: 4px; }
.feat-desc  { font-size: 10.5px; color: var(--muted); line-height: 1.45; }

/* Footer v2 */
.footer-v2 {
  margin-top: 8px;
  background: linear-gradient(180deg, var(--bg) 0%, #ECF4FF 100%);
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.footer-accent-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, #7C3AED 55%, var(--accent) 100%);
}
.footer-inner { padding: 22px 16px 20px; }
.footer-wa-btn {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 20px;
  background: #22C55E; color: #fff;
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 800; text-decoration: none;
  margin-bottom: 22px;
  box-shadow: 0 4px 18px rgba(34,197,94,0.26);
  transition: transform 0.1s, box-shadow 0.1s;
  letter-spacing: 0.15px;
}
.footer-wa-btn:active { transform: translateY(1px); box-shadow: 0 2px 8px rgba(34,197,94,0.2); }
.footer-brand { text-align: center; margin-bottom: 18px; }
.footer-logo { font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: -0.3px; }
.footer-logo span { color: var(--gold); }
.footer-tagline { font-size: 11.5px; color: var(--muted); font-weight: 500; margin: 5px 0 0; line-height: 1.55; }
.footer-badges {
  display: flex; justify-content: center; gap: 6px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.fbadge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 11px; background: #fff; border-radius: 9px;
  font-size: 11px; font-weight: 700;
  box-shadow: 0 1px 3px rgba(0,60,120,0.07);
}
.fbadge-green { border: 1px solid #A7F3D0; color: #059669; }
.fbadge-blue  { border: 1px solid var(--accent-light); color: var(--accent-d); }
.fbadge-amber { border: 1px solid #FDE68A; color: #B45309; }
.footer-links-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  padding: 16px; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  box-shadow: 0 1px 4px rgba(0,60,120,0.04);
  margin-bottom: 20px;
}
.footer-links-hd {
  font-size: 10px; font-weight: 800; color: var(--accent-d);
  text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 10px;
}
.footer-link {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--body);
  text-decoration: none; padding: 5px 0; font-weight: 600;
  transition: color 0.15s;
}
.footer-link:active { color: var(--accent); }
.footer-divider {
  height: 1px; background: var(--line); margin: 0 0 14px;
}
.footer-bottom { text-align: center; font-size: 11px; color: var(--muted); font-weight: 500; }

/* Timeline (cara order) */
.timeline { display: flex; flex-direction: column; position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 20px; top: 44px; bottom: 44px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, #047857 100%);
  opacity: 0.18;
  z-index: 0;
}
.timeline-item {
  display: flex; gap: 14px; padding: 10px 0;
  position: relative;
  opacity: 0; transform: translateX(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.timeline-item.tl-visible { opacity: 1; transform: translateX(0); }
.tl-dot {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-d));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 12px rgba(0,136,255,0.28);
  position: relative; z-index: 1;
  transition: transform 0.2s, box-shadow 0.2s;
}
.timeline-item:active .tl-dot { transform: scale(0.93); box-shadow: 0 1px 6px rgba(0,136,255,0.2); }
.tl-content { flex: 1; min-width: 0; padding-top: 8px; }
.tl-title { font-size: 13.5px; font-weight: 800; color: var(--text); }
.tl-desc { font-size: 11.5px; color: var(--muted); margin-top: 3px; line-height: 1.45; }
.tl-badge {
  display: inline-block; font-size: 10px; font-weight: 700;
  padding: 2px 8px; border-radius: 20px; margin-top: 5px;
}
.tl-badge-green { background: #D1FAE5; color: #047857; }
.tl-badge-blue  { background: var(--accent-bg); color: var(--accent-d); }
.tl-time-note {
  display: flex; align-items: flex-start; gap: 7px;
  padding: 10px 13px;
  background: var(--accent-bg);
  border: 1px solid var(--accent-light);
  border-radius: var(--radius-sm);
  margin-top: 12px;
  font-size: 12px; font-weight: 700; color: var(--accent-d); line-height: 1.45;
}
.tl-time-note svg { flex-shrink: 0; margin-top: 1px; }
/* Payment v3 — icon grid */
.pay-group-label {
  font-size: 10px; font-weight: 800; color: var(--muted);
  text-transform: uppercase; letter-spacing: 0.8px;
  margin: 14px 0 8px;
}
.pay-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.pay-icon-grid.col3 { grid-template-columns: repeat(3, 1fr); }
.pay-icon-grid.col2 { grid-template-columns: repeat(2, 1fr); }
.pay-icon-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 6px 10px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  cursor: default;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.pay-icon-item:active {
  border-color: var(--accent);
  box-shadow: 0 2px 10px rgba(0,136,255,0.1);
}
.pay-icon-circle {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 900; color: #fff;
  flex-shrink: 0;
  letter-spacing: -0.3px;
}
.pay-icon-name {
  font-size: 10.5px; font-weight: 700; color: var(--text);
  line-height: 1.25;
}
.pay-qris-card {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(135deg, #0088FF 0%, #004DAD 100%);
  border-radius: var(--radius);
  margin-bottom: 0;
}
.pay-qris-icon {
  width: 44px; height: 44px; border-radius: 11px;
  background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.pay-qris-info { flex: 1; }
.pay-qris-name { font-size: 15px; font-weight: 900; color: #fff; letter-spacing: 0.5px; }
.pay-qris-sub  { font-size: 11px; color: rgba(255,255,255,0.82); font-weight: 600; margin-top: 2px; }
.pay-all-note {
  display: flex; align-items: flex-start; gap: 7px;
  padding: 10px 13px; background: #D1FAE5;
  border: 1px solid #A7F3D0;
  border-radius: var(--radius-sm);
  margin-top: 14px;
  font-size: 11.5px; font-weight: 700; color: #047857; line-height: 1.4;
}
.pay-all-note svg { flex-shrink: 0; margin-top: 1px; }
/* Prod sub-price */
.prod-sub { font-size: 9.5px; color: var(--muted); font-weight: 600; margin-top: 2px; }


.cta-final {
  text-align: center;
  padding: 28px 20px;
  background: linear-gradient(145deg, var(--accent), var(--accent-d));
  border: 2px solid #5ab4ff;
  box-shadow: 0 5px 0 #003A8A !important;
  color: #fff;
}
.cta-final h2 {
  justify-content: center;
  color: #fff;
  font-size: 20px;
}
.cta-final p {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  margin-bottom: 16px;
}
.cta-final-btn {
  display: inline-block;
  padding: 14px 32px;
  background: #fff;
  color: var(--accent-d);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: transform 0.1s;
}
.cta-final-btn:active { transform: translateY(1px); }

.price-card { padding: 0; overflow: visible; }
.price-card > div:first-child { padding: 16px 14px 0; }
.price-card > .price-subtitle { padding: 0 14px; }
.price-sticky {
  position: sticky;
  top: 50px;
  z-index: 15;
  background: var(--card);
  padding: 10px 14px;
  border-bottom: 1.5px solid var(--line);
}
.price-sticky.stuck {
  box-shadow: 0 4px 12px rgba(0,60,120,0.1);
}
.price-body { padding: 10px 14px 16px; }
  
/* ── Order page ── */

/* ── Order-page additions ── */
.card h2 .num {
  width: 24px; height: 24px; font-size: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-d));
  box-shadow: 0 3px 0 var(--accent-d);
}

.pay-option:nth-child(1) .pay-icon { background: #EBF5FF; color: #0066CC; }
.pay-option:nth-child(2) .pay-icon { background: #FEF3C7; color: #B45309; }
.pay-option:nth-child(3) .pay-icon { background: #EDE9FE; color: #6D28D9; }
.pay-option.active:nth-child(1) .pay-icon { background: var(--accent); color: #fff; }
.pay-option.active:nth-child(2) .pay-icon { background: #B45309; color: #fff; }
.pay-option.active:nth-child(3) .pay-icon { background: #6D28D9; color: #fff; }

.trust-strip {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 13px; background: #ECFDF5;
  border: 1px solid #A7F3D0; border-radius: var(--radius-sm);
  margin-bottom: 8px;
  font-size: 11.5px; font-weight: 700; color: #047857; line-height: 1.4;
}
.trust-strip svg { flex-shrink: 0; }
.nickname-icon svg { display: block; }

/* ── Floating checkout — white + GemoyHDI layout ── */
.summary {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 0 !important;
  left: 11px; right: 11px;
  padding: 0 !important;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 4px 0 var(--line), 0 8px 24px rgba(0,60,120,0.1);
  overflow: hidden;
}
.summary::before { display: none; }
.summary-assurance, .summary-info, .summary-detail { display: none !important; }
#sum-product { display: none; }

/* Top row: status + step pill */
.sum-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 14px;
}
.sum-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}
.sum-status svg { color: var(--ok-tx); flex-shrink: 0; }
.sum-step-text {
  font-size: 10px;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
  background: var(--accent-bg);
  padding: 3px 8px;
  border-radius: 99px;
  line-height: 1.4;
}

/* Dashed divider */
.sum-divider {
  height: 0;
  border-top: 1.5px dashed #b0c8e8;
  margin: 0;
  flex-shrink: 0;
}

/* Bottom row: total + button */
.sum-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px 12px 14px;
}
.sum-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.sum-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  line-height: 1;
}
#sum-price {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
#buy-btn {
  flex-shrink: 0;
  background: var(--accent);
  border: none;
  border-radius: 12px;
  padding: 13px 22px;
  font-size: 13.5px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 3px 0 var(--accent-d);
  transition: transform 0.15s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.1s;
}
#buy-btn:not(:disabled):active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--accent-d);
}
/* ── Inline alert card ── */
.om-alert { animation: alertIn 0.35s ease; }
@keyframes alertIn { from { opacity:0; transform:translateY(-10px); } to { opacity:1; transform:translateY(0); } }
.om-alert-inner {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
}
.om-alert-inner svg { flex-shrink: 0; margin-top: 1px; }
.om-alert-msg { font-size: 13px; font-weight: 700; line-height: 1.5; }
.om-alert-close {
  background: none; border: none; cursor: pointer; padding: 2px;
  opacity: 0.5; transition: opacity 0.15s; margin-left: auto; flex-shrink: 0;
}
.om-alert-close:hover { opacity: 1; }
.om-alert-error { border-color: #FECACA !important; background: #FEF2F2 !important; color: #B91C1C; }
.om-alert-info { border-color: var(--accent-light) !important; background: var(--accent-bg) !important; color: var(--accent-d); }

/* ── Checkout overlay ── */
.checkout-overlay {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.3s;
}
.checkout-overlay-show { opacity: 1; }
.checkout-overlay-bg {
  position: absolute; inset: 0;
  background: rgba(0,20,50,0.5);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.checkout-overlay-card {
  position: relative; z-index: 1;
  background: #fff; border-radius: 24px;
  padding: 36px 32px; text-align: center;
  width: calc(100% - 48px); max-width: 320px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  animation: overlayCardIn 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes overlayCardIn { from { transform: scale(0.85) translateY(20px); opacity:0; } to { transform: scale(1) translateY(0); opacity:1; } }
.checkout-overlay-title { font-size: 16px; font-weight: 800; color: var(--text); margin-top: 16px; }
.checkout-overlay-desc { font-size: 12px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
.checkout-spinner {
  width: 48px; height: 48px; margin: 0 auto;
  border: 4px solid var(--line); border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.checkout-success-icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, #059669, #047857);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
  animation: successPop 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes successPop { from { transform: scale(0); } to { transform: scale(1); } }

/* ── Country picker button ── */
.wa-country-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 0 12px;
  border: 1.5px solid var(--line);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  background: var(--bg);
  cursor: pointer;
  font-size: 13px; font-weight: 700; color: var(--text);
  white-space: nowrap; flex-shrink: 0;
  transition: background 0.15s;
}
.wa-country-btn:active { background: var(--line); }
.wa-flag-img { border-radius: 3px; border: 1px solid rgba(0,0,0,0.1); display: block; }

/* ── Country popup ── */
.country-popup { position: fixed; inset: 0; z-index: 999; display: flex; align-items: flex-end; justify-content: center; }
.country-popup[hidden] { display: none; }
.country-popup-overlay {
  position: absolute; inset: 0;
  background: rgba(0,20,50,0.45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.country-popup-sheet {
  position: relative; z-index: 1;
  width: 100%; max-width: 420px;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 0 0 env(safe-area-inset-bottom, 16px);
  animation: sheetUp 0.25s ease;
}
@keyframes sheetUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.country-popup-hd {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px 12px;
  border-bottom: 1px solid var(--line);
}
.country-popup-title { font-size: 15px; font-weight: 800; color: var(--text); }
.country-popup-close {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent-bg); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); transition: background 0.15s;
}
.country-popup-close:active { background: var(--line); }
.country-popup-list { padding: 8px 12px 12px; }
.country-option {
  display: flex; align-items: center; gap: 12px;
  width: 100%; padding: 14px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff; cursor: pointer;
  margin-bottom: 8px;
  transition: border-color 0.15s, background 0.15s;
}
.country-option:last-child { margin-bottom: 0; }
.country-option:active { background: var(--accent-bg); }
.country-option.active {
  border-color: var(--accent);
  background: var(--accent-bg);
}
.country-option-info { flex: 1; text-align: left; }
.country-option-info strong { display: block; font-size: 14px; font-weight: 700; color: var(--text); }
.country-option-info small { font-size: 12px; font-weight: 600; color: var(--muted); }
.country-check {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: none; align-items: center; justify-content: center;
}
.country-option.active .country-check { display: flex; }

/* ── Confirmation Modal ── */
.confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.confirm-modal[hidden] {
  display: none !important;
}
.confirm-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 26, 53, 0.65);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  animation: confirmFadeIn 0.2s ease;
}
@keyframes confirmFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.confirm-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 45px rgba(0, 35, 90, 0.28);
  overflow: hidden;
  animation: confirmPop 0.26s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes confirmPop {
  from {
    transform: scale(0.92) translateY(12px);
    opacity: 0;
  }
  to {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}
@media (max-width: 480px) {
  .confirm-modal {
    align-items: flex-end;
    padding: 0;
  }
  .confirm-sheet {
    max-width: 100%;
    border-radius: 22px 22px 0 0;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: sheetUp 0.26s cubic-bezier(0.16, 1, 0.3, 1) both;
  }
}
.confirm-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 14px;
  background: linear-gradient(135deg, var(--accent-bg), #fff);
  border-bottom: 1px solid var(--line);
}
.confirm-hd-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-d));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 136, 255, 0.28);
}
.confirm-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
  line-height: 1.2;
}
.confirm-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
}
.confirm-close {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}
.confirm-close:active {
  background: var(--line);
  color: var(--text);
}
.confirm-body {
  padding: 16px 18px;
  overflow-y: auto;
}
.confirm-card {
  background: #F8FAFC;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.confirm-account-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.confirm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  gap: 12px;
}
.confirm-label {
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
}
.confirm-value {
  color: var(--text);
  font-weight: 700;
  text-align: right;
  max-width: 60%;
  word-break: break-word;
}
.confirm-divider {
  height: 1px;
  background: var(--line);
  margin: 2px 0;
}
.confirm-row.total-row {
  padding-top: 2px;
}
.confirm-total-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--accent-d);
}
.confirm-disclaimer-box {
  margin-top: 14px;
  padding: 12px 14px;
  background: #FFFBEB;
  border: 1.5px solid #FDE68A;
  border-radius: 12px;
}
.confirm-check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.confirm-checkbox {
  width: 19px;
  height: 19px;
  min-width: 19px;
  margin-top: 2px;
  accent-color: var(--accent);
  cursor: pointer;
}
.confirm-check-text {
  font-size: 11.5px;
  line-height: 1.55;
  font-weight: 700;
  color: #92400E;
  user-select: none;
}
.confirm-ft {
  display: flex;
  gap: 10px;
  padding: 14px 18px 16px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.confirm-btn-cancel {
  flex: 1;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #F1F5F9;
  color: var(--body);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s;
}
.confirm-btn-cancel:active {
  background: var(--line);
}
.confirm-btn-proceed {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--gold), var(--gold-d));
  color: #3A2A00;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
  transition: all 0.2s;
}
.confirm-btn-proceed:active {
  transform: translateY(1px);
}
.confirm-btn-proceed:disabled {
  background: #94A3B8;
  color: #E2E8F0;
  cursor: not-allowed;
  box-shadow: none;
  opacity: 0.65;
  transform: none;
}