/* ============================================================
   Joey Store — Design System
   Style: Playful Flat (kid-friendly) · Roblox blue + Robux gold
   Fonts: Baloo 2 (display) + Nunito (body)
   ============================================================ */

/* ---------- Design Tokens (dark theme · GOLD × BLACK — ciri khas Joey Store) ---------- */
:root {
  --brand:        #FFC220;   /* gold primary */
  --brand-dark:   #E0A200;
  --brand-soft:   #2A2410;   /* soft gold (dark tint) */
  --accent:       #FFD54A;   /* bright gold — Robux/coins */
  --accent-dark:  #F5B301;
  --on-accent:    #2A2100;
  --green:        #22C55E;
  --green-dark:   #16A34A;
  --red:          #F87171;

  --ink:          #F5EFE0;   /* warm off-white */
  --muted:        #A8A08C;   /* warm muted */
  --bg:           #09090B;   /* near black */
  --bg-2:         #131218;   /* dark */
  --card:         #18171F;   /* dark card */
  --border:       #2C2A34;

  --radius:       18px;
  --radius-sm:    12px;
  --radius-lg:    28px;
  --shadow:       0 10px 30px -12px rgba(0, 0, 0, .55);
  --shadow-soft:  0 6px 20px -10px rgba(0, 0, 0, .45);
  --shadow-gold:  0 12px 26px -10px rgba(255, 176, 32, .35);

  --space:        16px;
  --maxw:         1160px;

  --font-display: "Baloo 2", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Nunito", "Segoe UI", system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; color: var(--ink); }
ul { list-style: none; padding: 0; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  color: var(--brand); background: var(--brand-soft);
  padding: 6px 16px; border-radius: 999px; font-size: 14px; letter-spacing: .3px;
  margin-bottom: 14px;
}
.section-title { font-size: clamp(26px, 4vw, 40px); }
.section-sub { color: var(--muted); max-width: 620px; margin: 12px auto 0; font-size: 17px; }
.grid { display: grid; gap: 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  padding: 13px 26px; border-radius: 999px; border: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--brand); color: var(--on-accent); box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: var(--on-accent); box-shadow: var(--shadow-gold); }
.btn-accent:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost { background: var(--card); color: var(--ink); border: 2px solid var(--border); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 34px; font-size: 18px; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ---------- Badges & pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: .5px;
  padding: 4px 10px; border-radius: 999px; text-transform: uppercase;
}
.badge-hot { background: #FFE8B0; color: #92600A; }
.badge-best { background: var(--green); color: #fff; }
.badge-new { background: var(--brand-soft); color: var(--brand); }

/* ---------- Robux coin chip ---------- */
.robux {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 800;
}
.robux::before {
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFD772, var(--accent-dark));
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.08);
  flex: none;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 17, 32, .82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--ink); }
.brand .logo {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  background: #0A0A0C;
  display: grid; place-items: center; color: #fff; font-size: 20px;
  box-shadow: 0 0 0 2px var(--brand), 0 6px 16px -6px rgba(255, 194, 32, .6); overflow: hidden;
}
.brand .logo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: inherit; }
.brand b { color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 10px; }
.nav-links a {
  font-weight: 700; font-size: 15px; color: var(--muted);
  padding: 9px 14px; border-radius: 999px; transition: .15s;
}
.nav-links a:hover, .nav-links a.active { color: var(--brand); background: var(--brand-soft); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: var(--brand-soft); border: none; width: 44px; height: 44px; border-radius: 12px; color: var(--brand); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; text-align: center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 55% at 85% 5%, rgba(255, 122, 26, .18), transparent 60%),
    radial-gradient(50% 50% at 12% 15%, rgba(255, 176, 32, .14), transparent 60%);
}
.hero-inner { max-width: 780px; margin-inline: auto; }
.hero h1 { font-size: clamp(32px, 5.2vw, 56px); letter-spacing: -.5px; }
.hero h1 .hl { color: var(--brand); }
.hero h1 .hl-gold { color: var(--accent); }
.hero p.lead { font-size: 18px; color: var(--muted); margin: 18px auto 0; max-width: 620px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; justify-content: center; }

/* Search bar */
.hero-search {
  display: flex; align-items: center; gap: 10px; margin: 30px auto 0; max-width: 560px;
  background: var(--card); border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 8px 8px 20px; box-shadow: var(--shadow);
}
.hero-search svg { flex: none; color: var(--muted); }
.hero-search input { flex: 1; min-width: 0; border: none; background: none; outline: none; font-family: inherit; font-size: 16px; color: var(--ink); }
.hero-search input::placeholder { color: var(--muted); }
.hero-search button { flex: none; }

.hero-stats { display: flex; gap: 34px; margin-top: 34px; flex-wrap: wrap; justify-content: center; }
.hero-stats .stat b { font-family: var(--font-display); font-size: 30px; color: var(--ink); display: block; }
.hero-stats .stat span { color: var(--muted); font-size: 14px; font-weight: 700; }

/* Trust strip */
.trust-strip { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: center; margin-top: 34px; }
.trust-strip .item { display: flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; font-size: 14px; }
.trust-strip .item svg { color: var(--green); }

/* ============================================================
   CARDS — service methods
   ============================================================ */
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.svc-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  padding: 28px; position: relative; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand); }
.svc-card .ic {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
  color: #fff; margin-bottom: 16px;
}
.svc-card.primary .ic { background: linear-gradient(135deg, var(--brand), #5B8DFF); }
.svc-card.accent  .ic { background: linear-gradient(135deg, var(--accent), var(--accent-dark)); color: var(--on-accent); }
.svc-card.secondary .ic { background: linear-gradient(135deg, var(--green), var(--green-dark)); }
.svc-card h3 { font-size: 22px; }
.svc-card .tagline { color: var(--brand); font-weight: 800; font-size: 14px; margin: 4px 0 10px; }
.svc-card p { color: var(--muted); font-size: 15px; flex: 1; }
.svc-card .meta { display: flex; align-items: center; gap: 8px; margin: 16px 0; font-weight: 700; font-size: 14px; color: var(--ink); }
.svc-card .meta svg { color: var(--brand); }
.svc-card .corner-badge { position: absolute; top: 18px; right: 18px; }

/* ============================================================
   FEATURES / STEPS
   ============================================================ */
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.feature { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; text-align: center; }
.feature .ic { width: 54px; height: 54px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin: 0 auto 14px; }
.feature h4 { font-size: 18px; }
.feature p { color: var(--muted); font-size: 14px; margin-top: 6px; }

.steps { grid-template-columns: repeat(4, 1fr); counter-reset: step; }
.step { position: relative; padding: 24px 20px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.step .num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--on-accent);
  font-family: var(--font-display); font-weight: 800; font-size: 20px; display: grid; place-items: center; margin-bottom: 14px;
  box-shadow: var(--shadow-gold);
}
.step h4 { font-size: 17px; }
.step p { color: var(--muted); font-size: 14px; margin-top: 6px; }

/* ============================================================
   PACKAGE GRID
   ============================================================ */
.pkg-grid { grid-template-columns: repeat(5, 1fr); }
.pkg {
  background: var(--card); border: 2px solid var(--border); border-radius: var(--radius);
  padding: 18px 16px; text-align: center; position: relative; cursor: pointer;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.pkg:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: var(--shadow-soft); }
.pkg.selected { border-color: var(--brand); background: var(--brand-soft); box-shadow: var(--shadow); }
.pkg .amt { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--ink); }
.pkg .unit { font-size: 13px; color: var(--muted); font-weight: 700; }
.pkg .price { margin-top: 10px; font-weight: 800; color: var(--brand); font-size: 16px; }
.pkg .pkg-fee { display: block; margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 700; }
.pkg .badge { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); }
.pkg .check { position: absolute; top: 8px; right: 8px; opacity: 0; color: var(--brand); transition: .15s; }
.pkg.selected .check { opacity: 1; }
.pkg .gp-thumb { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 12px; margin: 0 auto 10px; box-shadow: var(--shadow-soft); }
.pkg .trade-tag {
  position: absolute; top: 8px; left: 8px; padding: 2px 8px; border-radius: 999px;
  background: var(--green); color: #fff; font-size: 9.5px; font-weight: 800; letter-spacing: .4px;
}

/* ============================================================
   ROBUX SLIDER (order page)
   ============================================================ */
.robux-slider { display: block; }
.rs-readout {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--brand-soft), #1E2740); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 22px; margin-bottom: 22px;
}
.rs-amount { display: flex; align-items: baseline; gap: 8px; }
.rs-amount .robux { font-family: var(--font-display); font-weight: 800; font-size: 40px; color: var(--ink); line-height: 1; }
.rs-amount .robux::before { width: 26px; height: 26px; }
.rs-amount .rs-unit { font-family: var(--font-display); font-weight: 700; color: var(--muted); font-size: 16px; }
.rs-price { font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--brand); }
.rs-price-wrap { text-align: right; }
.rs-price-wrap small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; font-weight: 700; }

/* range track fill via --pct */
input[type="range"]#robuxRange {
  -webkit-appearance: none; appearance: none; width: 100%; height: 12px; border-radius: 999px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand) var(--pct, 40%), var(--border) var(--pct, 40%), var(--border) 100%);
  outline: none; cursor: pointer; margin: 4px 0;
}
#robuxRange::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 30px; height: 30px; border-radius: 50%;
  background: #fff; border: 4px solid var(--brand); box-shadow: var(--shadow-soft); cursor: grab; margin-top: 0;
  transition: transform .12s ease;
}
#robuxRange::-webkit-slider-thumb:active { transform: scale(1.12); cursor: grabbing; }
#robuxRange::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid var(--brand); box-shadow: var(--shadow-soft); cursor: grab; }
#robuxRange::-moz-range-progress { background: var(--brand); height: 12px; border-radius: 999px; }
#robuxRange::-moz-range-track { background: var(--border); height: 12px; border-radius: 999px; }
.rs-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 700; margin-top: 6px; }

.rs-manual { margin-top: 18px; }
.rs-manual label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; }
.rs-input { display: flex; align-items: center; gap: 8px; max-width: 260px; border: 2px solid var(--border); border-radius: var(--radius-sm); padding: 4px 14px 4px 4px; background: var(--bg-2); transition: .15s; }
.rs-input:focus-within { border-color: var(--brand); background: var(--card); }
.rs-input input { flex: 1; border: none; outline: none; background: none; padding: 9px 11px; font-family: var(--font-display); font-weight: 800; font-size: 18px; color: var(--ink); width: 100%; }
.rs-input span { color: var(--muted); font-weight: 700; font-size: 14px; }

.rs-quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.rs-chip {
  display: inline-flex; align-items: center; gap: 6px; border: 2px solid var(--border); background: var(--card);
  padding: 9px 16px; border-radius: 999px; font-family: var(--font-display); font-weight: 700; font-size: 14px;
  color: var(--ink); transition: .15s;
}
.rs-chip:hover { border-color: var(--brand); color: var(--brand); }
.rs-chip.active { background: var(--brand); border-color: var(--brand); color: var(--on-accent); }
.rs-chip .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.rs-chip .dot.hot { background: var(--accent); }
.rs-chip .dot.best { background: var(--green); }
.rs-note { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; font-weight: 700; margin-top: 18px; background: var(--bg-2); border-radius: var(--radius-sm); padding: 11px 14px; }
.rs-note svg { flex: none; color: var(--brand); }
.gamepass-amount .rs-readout { margin-bottom: 18px; }
.gamepass-amount .rs-input { max-width: 360px; }
.gamepass-amount .field.invalid .rs-input { border-color: var(--red); }
.gamepass-amount .field .error { margin-top: 7px; }
.gig-rate {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 12px;
  color: var(--brand); background: var(--brand-soft); border: 1px solid var(--border);
  border-radius: 999px; padding: 7px 12px; font-size: 12px; font-weight: 800;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.cards-3.testi { align-items: start; }
.testi-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.testi-card .stars { color: var(--accent-dark); font-size: 16px; letter-spacing: 2px; }
.testi-card p { margin: 12px 0 16px; color: var(--ink); }
.testi-head { display: flex; align-items: center; gap: 12px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--accent)); color: var(--on-accent); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; }
.testi-head b { display: block; font-family: var(--font-display); }
.testi-head span { color: var(--muted); font-size: 13px; font-weight: 700; }

/* Form rating pasca-bayar */
.rating-box { margin: 16px 0; padding: 16px; border: 1px solid var(--border); border-radius: 14px; background: #FAFBFF; text-align: center; }
.rating-title { font-family: var(--font-display); font-weight: 800; font-size: 15px; margin-bottom: 10px; }
.rating-stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 12px; }
.rate-star { background: none; border: none; cursor: pointer; font-size: 30px; line-height: 1; color: #D6DEEC; transition: color .12s, transform .12s; padding: 0 2px; }
.rate-star:hover { transform: scale(1.15); }
.rate-star.on { color: var(--accent, #FFB020); }
.rating-input { width: 100%; margin-bottom: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; font-family: inherit; font-size: 14px; resize: vertical; }
.rating-done { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0; padding: 14px; border-radius: 12px; background: #E9F9EF; color: #148A4E; font-weight: 800; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq { max-width: 780px; margin-inline: auto; display: grid; gap: 12px; }
.faq-item { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 18px 22px; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .chev { transition: transform .2s ease; color: var(--brand); flex: none; }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.faq-a p { padding: 0 22px 20px; color: var(--muted); }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--brand), #FF9D4D); color: #fff;
  border-radius: var(--radius-lg); padding: 48px; text-align: center; position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.cta-banner h2 { color: #fff; font-size: clamp(24px, 4vw, 36px); }
.cta-banner p { color: rgba(255,255,255,.9); margin: 10px auto 24px; max-width: 520px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #0B0B0D; color: #B9C6DE; padding: 56px 0 28px; margin-top: 40px; border-top: 1px solid rgba(255,194,32,.14); }
.footer .brand { color: #fff; margin-bottom: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid a { display: block; }
.footer-grid .brand { display: inline-flex; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; } }
@media (max-width: 440px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h5 { font-family: var(--font-display); color: #fff; font-size: 16px; margin-bottom: 14px; }
.footer a { color: #B9C6DE; font-size: 14px; line-height: 2.1; transition: .15s; }
.footer a:hover { color: #fff; }
.footer .disclaimer { font-size: 13px; color: #7d8bab; max-width: 340px; margin-top: 12px; }
.footer-address { display: block; color: #7d8bab; font-size: 13px; line-height: 1.6; max-width: 240px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; text-align: center; font-size: 13px; color: #7d8bab; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; color: #fff; }
.social a:hover { background: var(--brand); }

/* ============================================================
   ORDER PAGE
   ============================================================ */
.order-wrap { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; margin-bottom: 22px; }
.panel-title { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.panel-title .step-dot { width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: var(--on-accent); font-family: var(--font-display); font-weight: 800; display: grid; place-items: center; flex: none; }
.panel-title h3 { font-size: 20px; }

.method-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.method-tab {
  flex: 1; min-width: 160px; background: var(--card); border: 2px solid var(--border); border-radius: var(--radius);
  padding: 14px 16px; text-align: left; transition: .15s; display: flex; gap: 12px; align-items: center;
}
.method-tab:hover { border-color: var(--brand); }
.method-tab.active { border-color: var(--brand); background: var(--brand-soft); }
.method-tab .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: var(--on-accent); display: grid; place-items: center; flex: none; }
.method-tab b { font-family: var(--font-display); display: block; font-size: 15px; color: var(--ink); }
.method-tab span { font-size: 12px; color: var(--muted); font-weight: 700; }

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; color: var(--ink); }
.field label .req { color: var(--red); }
.field input, .field select {
  width: 100%; padding: 13px 15px; border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 15px; background: var(--bg-2); color: var(--ink); transition: .15s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); background: var(--bg-2); }
.field .help { font-size: 13px; color: var(--muted); margin-top: 6px; }
.field .error { font-size: 13px; color: var(--red); margin-top: 6px; font-weight: 700; display: none; }
.field.invalid input, .field.invalid select { border-color: var(--red); }
.field.invalid .error { display: block; }

/* status deteksi harga item gamepass */
.link-status { display: none; font-size: 13.5px; font-weight: 700; margin-top: 8px; align-items: center; gap: 7px; line-height: 1.5; }
.link-status svg { flex: none; }
.link-status.loading { display: flex; color: var(--muted); }
.link-status.ok { display: flex; color: var(--green); }
.link-status.error { display: flex; color: var(--red); }
.link-status b { color: inherit; }

/* ---------- Login with Roblox (OAuth) ---------- */
.rbx-login { margin-bottom: 14px; }
.rbx-btn {
  display: inline-flex; align-items: center; gap: 9px; width: 100%;
  justify-content: center; padding: 12px 16px; border-radius: var(--radius-sm);
  border: 2px solid var(--border); background: var(--card); color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 14.5px;
  cursor: pointer; transition: .15s;
}
.rbx-btn:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }
.rbx-btn svg { flex: none; }
.rbx-chip {
  display: flex; align-items: center; gap: 10px; padding: 8px 10px;
  border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--card);
}
.rbx-chip img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #fff; flex: none; }
.rbx-chip .rbx-av {
  width: 34px; height: 34px; border-radius: 50%; background: var(--brand);
  color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; flex: none;
}
.rbx-chip .rbx-name { flex: 1; min-width: 0; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rbx-chip .rbx-out {
  flex: none; border: 1px solid var(--border); background: none; color: var(--muted);
  font-weight: 700; font-size: 12px; padding: 6px 12px; border-radius: 999px; cursor: pointer; transition: .15s;
}
.rbx-chip .rbx-out:hover { border-color: var(--red); color: var(--red); }

/* pratinjau produk item gamepass (foto + nama + harga) */
.gp-preview {
  display: none; align-items: center; gap: 12px; margin-top: 10px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.gp-preview.show { display: flex; }
.gp-preview img {
  width: 58px; height: 58px; border-radius: 10px; object-fit: contain;
  background: #fff; flex: none; box-shadow: var(--shadow-soft);
}
.gp-preview .gp-name { font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--ink); line-height: 1.25; }
.gp-preview .gp-meta { font-size: 12.5px; color: var(--muted); font-weight: 700; margin-top: 2px; }
.gp-preview .gp-price { font-family: var(--font-display); font-weight: 800; color: var(--accent); font-size: 15px; margin-top: 2px; }
.gp-preview .gp-trade, .gp-preview .gp-notrade {
  display: inline-block; margin-left: 5px; padding: 1px 6px; border-radius: 999px;
  font-size: 9px; font-weight: 800; letter-spacing: .4px; vertical-align: middle;
}
.gp-preview .gp-trade { background: var(--green); color: #fff; }
.gp-preview .gp-notrade { background: var(--red); color: #fff; }

.hint-box { background: var(--brand-soft); border: 1px solid rgba(255, 122, 26, .3); border-radius: var(--radius-sm); padding: 14px 16px; font-size: 14px; color: #FFD7B3; display: flex; gap: 10px; }
.hint-box svg { flex: none; color: var(--brand); }

/* payment list */
.pay-group { margin-bottom: 18px; }
.pay-group h5 { font-family: var(--font-display); font-size: 14px; color: var(--muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .5px; }
.pay-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pay-opt {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 2px solid var(--border);
  border-radius: var(--radius-sm); background: var(--card); transition: .15s; position: relative;
}
.pay-opt:hover { border-color: var(--brand); }
.pay-opt.active { border-color: var(--brand); background: var(--brand-soft); }
.pay-opt .logo { width: 46px; height: 30px; border-radius: 7px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 800; font-size: 11px; flex: none; font-family: var(--font-display); }
.pay-opt[data-id="sociabuzz"] .logo { background: #76CC11; color: #fff; }
.pay-opt[data-id="plisio"] .logo { background: #F7931A; color: #fff; }
.pay-opt b { font-size: 14px; }
.pay-opt small { display: block; color: var(--muted); font-weight: 700; }
.currency-converter { margin-top: 14px; padding: 16px; border: 1px solid rgba(118, 204, 17, .35); border-radius: var(--radius-sm); background: rgba(118, 204, 17, .07); }
.currency-converter[hidden] { display: none; }
.currency-converter .field { margin: 0; }
.currency-converter select { width: 100%; min-height: 44px; border: 1px solid var(--border); border-radius: 10px; background: var(--card); color: var(--ink); padding: 10px 12px; font: inherit; font-weight: 700; }
.currency-rate-status { display: flex; flex-direction: column; gap: 2px; margin-top: 10px; font-size: 12px; }
.currency-rate-status b { color: var(--ink); }
.currency-rate-status span { color: var(--muted); }
.currency-rate-retry { margin-top: 8px; padding: 0; border: 0; background: none; color: #62ad0b; font: inherit; font-size: 12px; font-weight: 800; cursor: pointer; text-decoration: underline; }
.currency-total b { color: #62ad0b; }
#plisioCryptoWrap .currency-rate-status b { color: var(--ink); }
.plisio-crypto { display: flex; flex-direction: column; gap: 3px; align-items: center; margin: 8px 0 4px; text-align: center; }
.plisio-crypto-label { color: var(--muted); font-size: 12px; font-weight: 800; }
.plisio-crypto b { color: #F7931A; font-family: var(--font-display); font-size: 24px; }
.plisio-crypto small { color: var(--muted); font-size: 12px; line-height: 1.5; margin-top: 4px; }

/* summary sticky */
.summary { position: sticky; top: 88px; }
.summary .sum-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 15px; }
.summary .sum-row span:first-child { color: var(--muted); }
.summary .sum-row b { font-weight: 800; }
.summary hr { border: none; border-top: 1px dashed var(--border); margin: 8px 0; }
.summary .total { font-family: var(--font-display); font-size: 22px; color: var(--brand); }
.sum-empty { color: var(--muted); text-align: center; padding: 20px 0; font-size: 14px; }

/* baris label–nilai generik (dipakai di detail lacak pesanan) */
.sum-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 10px 0; font-size: 15px; border-bottom: 1px dashed var(--border); }
.sum-row:last-child { border-bottom: none; }
.sum-row span { color: var(--muted); flex: none; }
.sum-row b { font-weight: 700; text-align: right; word-break: break-word; }

/* ============================================================
   TRACK ORDER
   ============================================================ */
.track-box { max-width: 620px; margin-inline: auto; }
.track-form { display: flex; gap: 10px; margin-top: 18px; }
.track-form input { flex: 1; }
.track-result { margin-top: 24px; }
.status-timeline { display: grid; gap: 0; margin-top: 18px; }
.tl-item { display: flex; gap: 14px; padding-bottom: 22px; position: relative; }
.tl-item::before { content: ""; position: absolute; left: 15px; top: 32px; bottom: 0; width: 2px; background: var(--border); }
.tl-item:last-child::before { display: none; }
.tl-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--border); color: #fff; display: grid; place-items: center; flex: none; z-index: 1; }
.tl-item.done .tl-dot { background: var(--green); }
.tl-item.active .tl-dot { background: var(--brand); animation: pulse 1.6s infinite; }
.tl-item b { font-family: var(--font-display); }
.tl-item p { color: var(--muted); font-size: 14px; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(42,108,246,.5); } 50% { box-shadow: 0 0 0 8px rgba(42,108,246,0); } }

/* ============================================================
   TOAST / MODAL
   ============================================================ */
.toast-wrap { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 100; display: grid; gap: 10px; width: min(92%, 420px); }
.toast { background: #0B0F1A; color: #fff; padding: 14px 18px; border-radius: var(--radius-sm); box-shadow: var(--shadow); display: flex; gap: 10px; align-items: center; animation: toastIn .3s ease; font-weight: 700; }
.toast.success { background: var(--green-dark); }
.toast.error { background: var(--red); }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

.modal-back { position: fixed; inset: 0; background: rgba(15,27,51,.55); backdrop-filter: blur(4px); z-index: 90; display: none; place-items: center; padding: 20px; }
.modal-back.open { display: grid; }
.modal { background: var(--card); border-radius: var(--radius-lg); padding: 32px; max-width: 440px; width: 100%; text-align: center; animation: toastIn .3s ease; border: 1px solid var(--border); }
.modal .ic-big { width: 76px; height: 76px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; }
.modal h3 { font-size: 24px; }
.modal p { color: var(--muted); margin: 10px 0 8px; }
.modal .inv { font-family: var(--font-display); font-weight: 800; color: var(--brand); font-size: 18px; background: var(--brand-soft); padding: 10px; border-radius: var(--radius-sm); margin: 14px 0 20px; }

/* ---------- QRIS modal ---------- */
.qris-modal { max-width: 380px; padding: 24px; }
.qris-head { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 10px; }
.qris-logo { font-family: var(--font-display); font-weight: 800; letter-spacing: 1px; font-size: 20px; color: #fff; background: #0B0F1A; padding: 4px 12px; border-radius: 8px; }
.qris-badge { font-family: var(--font-display); font-weight: 800; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: var(--brand); background: var(--brand-soft); padding: 4px 10px; border-radius: 999px; }
.qris-merchant { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--ink); margin: 6px 0 2px; line-height: 1.35; }
.qris-nmid { font-size: 12px; color: var(--muted); font-weight: 700; line-height: 1.4; }
.qris-amount { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--brand); margin: 16px 0 4px; }
.qris-unique { font-size: 12px; color: var(--muted); font-weight: 700; margin-bottom: 12px; min-height: 0; line-height: 1.45; }
.qris-unique:empty { display: none; }
.qris-status {
  display: flex; align-items: center; gap: 7px; font-weight: 800; font-size: 13px;
  padding: 7px 14px; border-radius: 999px; margin: 12px auto 20px; line-height: 1;
  width: fit-content;
}
.qris-status svg { flex: none; }
.qris-status:empty { display: none; }
.qris-status.st-load, .qris-status.st-wait { background: #FEF3C7; color: #92600A; }
.qris-status.st-paid { background: #DCFCE7; color: #15803D; }
.qris-status.st-dead { background: #FEE2E2; color: var(--red); }
.qris-status.st-manual { background: var(--brand-soft); color: var(--brand); }
.qris-loading { padding: 60px 20px; color: var(--muted); font-weight: 700; }
.qris-canvas { width: 240px; max-width: 72vw; margin: 0 auto; padding: 12px; background: #fff; border: 2px solid var(--border); border-radius: var(--radius-sm); }
.qris-canvas img { display: block; width: 100%; height: auto; image-rendering: pixelated; }
.qris-canvas.expired { opacity: .25; filter: grayscale(1); }
.qris-timer {
  display: flex; align-items: center; gap: 8px; width: fit-content;
  margin: 0 auto 12px;
  background: #FEF3C7; color: #92600A; font-family: var(--font-display); font-weight: 800;
  padding: 8px 16px; border-radius: 999px; font-size: 14px;
}
.qris-timer b { font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.qris-timer.expired { background: #FEE2E2; color: var(--red); }
.qris-hint { font-size: 12.5px; color: var(--muted); margin: 16px 4px 0; line-height: 1.6; }
.qris-inv { font-size: 13px; color: var(--muted); margin-top: 10px; }
.qris-inv b { font-family: var(--font-display); color: var(--ink); }

/* ---------- Antrian: banner (modal checkout) ---------- */
.queue-banner {
  display: flex; align-items: center; gap: 12px; text-align: left;
  background: linear-gradient(135deg, var(--brand-soft), #1E2740); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 14px; margin: 14px 0;
}
.queue-banner .qb-ic { width: 40px; height: 40px; border-radius: 12px; background: var(--brand); color: var(--on-accent); display: grid; place-items: center; flex: none; }
.queue-banner .qb-body { display: flex; flex-direction: column; line-height: 1.35; }
.queue-banner .qb-body b { font-family: var(--font-display); font-size: 15px; color: var(--ink); }
.queue-banner .qb-body span { font-size: 12.5px; color: var(--muted); font-weight: 700; }

/* ---------- Antrian: kartu (halaman lacak) ---------- */
.queue-card {
  display: flex; gap: 22px; align-items: center; flex-wrap: wrap;
  background: linear-gradient(135deg, var(--brand), #FF9D4D); color: #fff;
  border-radius: var(--radius); padding: 24px; margin-bottom: 20px; box-shadow: var(--shadow);
}
.queue-card .q-ring {
  flex: none; width: 128px; height: 128px; border-radius: 50%;
  background: rgba(255,255,255,.14); border: 3px solid rgba(255,255,255,.42);
  display: grid; place-content: center; text-align: center;
}
.q-ring .q-pos { display: flex; align-items: baseline; justify-content: center; font-family: var(--font-display); font-weight: 800; }
.q-ring .q-hash { font-size: 22px; opacity: .8; }
.q-ring .q-num { font-size: 46px; line-height: 1; }
.q-ring small { display: block; font-size: 11px; opacity: .85; font-weight: 700; margin-top: 3px; }
.q-info { flex: 1; min-width: 210px; }
.q-info .q-title { font-family: var(--font-display); font-weight: 800; font-size: 21px; }
.q-info .q-eta { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; margin-top: 5px; opacity: .96; font-size: 14px; }
.q-bar { height: 8px; background: rgba(255,255,255,.25); border-radius: 999px; overflow: hidden; margin: 14px 0 10px; }
.q-bar span { display: block; height: 100%; background: #fff; border-radius: 999px; transition: width .5s ease; }
.q-note { font-size: 12.5px; opacity: .88; font-weight: 600; }

/* ============================================================
   PROMO BANNERS
   ============================================================ */
.promo-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 1fr);
  gap: 16px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.promo-strip::-webkit-scrollbar { height: 8px; }
.promo-strip::-webkit-scrollbar-thumb { background: var(--border); border-radius: 999px; }
.promo-card {
  scroll-snap-align: start; border-radius: var(--radius-lg); padding: 26px 24px; color: #fff;
  position: relative; overflow: hidden; min-height: 156px; display: flex; flex-direction: column;
  justify-content: center; box-shadow: var(--shadow);
}
.promo-card h3 { color: #fff; font-size: 22px; line-height: 1.2; }
.promo-card p { color: rgba(255, 255, 255, .88); font-weight: 700; margin-top: 6px; font-size: 14px; }
.promo-card .btn { align-self: flex-start; margin-top: 16px; background: #fff; color: #1A1710; }
.promo-card.tone-orange { background: linear-gradient(135deg, #FF7A1A, #FFB25E); }
.promo-card.tone-blue { background: linear-gradient(135deg, #2563EB, #6EA0FF); }
.promo-card.tone-green { background: linear-gradient(135deg, #16A34A, #4ADE80); }
.promo-card.tone-purple { background: linear-gradient(135deg, #7C3AED, #A78BFA); }

/* ============================================================
   GAME CATALOG
   ============================================================ */
.game-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.game-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 16px; text-align: center; cursor: pointer; position: relative; overflow: hidden;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.game-card:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: var(--shadow); }
.game-card .g-icon {
  width: 58px; height: 58px; border-radius: 16px; margin: 0 auto 13px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 19px; color: #fff;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .22); transition: transform .15s ease;
}
.game-card:hover .g-icon { transform: scale(1.06); }
.game-card .g-name { font-family: var(--font-display); font-weight: 800; font-size: 15.5px; color: var(--ink); }
.game-card .g-sub { font-size: 12.5px; color: var(--muted); font-weight: 700; margin-top: 2px; }
.game-card .g-badge { position: absolute; top: 12px; right: 12px; }
.game-card.coming .g-icon { filter: grayscale(.7); opacity: .65; }
.game-card.coming .g-sub::after { content: " · Segera"; color: var(--accent); }

/* ============================================================
   KALKULATOR (modal)
   ============================================================ */
.calc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-result { text-align: left; background: var(--brand-soft); border: 1px solid rgba(255, 122, 26, .3); border-radius: var(--radius-sm); padding: 14px 16px; margin-top: 14px; }
.calc-result .row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14px; }
.calc-result .row span { color: var(--muted); font-weight: 700; }
.calc-result .row b { font-family: var(--font-display); color: var(--ink); }
.calc-result .row.total { border-top: 1px dashed var(--border); margin-top: 6px; padding-top: 10px; }
.calc-result .row.total b { color: var(--brand); font-size: 18px; }

/* ---------- nav extra (lang pill + auth) ---------- */
.lang-pill {
  display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--border);
  background: var(--card); border-radius: 999px; padding: 8px 14px; font-weight: 800;
  font-size: 13px; color: var(--ink); font-family: var(--font-display);
}
.nav-auth { display: flex; align-items: center; gap: 8px; }
.nav-auth .btn { padding: 10px 18px; font-size: 14px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .order-wrap { grid-template-columns: 1fr; }
  .summary { position: static; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pkg-grid { grid-template-columns: repeat(3, 1fr); }
  .game-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--card); flex-direction: column; padding: 12px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow-soft); }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-cta .btn, .nav-cta .lang-pill { display: none; }
  .cards-3 { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .pay-list { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .cards-4 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .pkg-grid { grid-template-columns: repeat(2, 1fr); }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .calc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 18px; }
  .lang-pill { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- SEO landing pages + privacy-aware analytics ---------- */
.seo-hero { padding: 76px 0 52px; position: relative; overflow: hidden; }
.seo-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 18% 5%, rgba(255,194,32,.16), transparent 34%), radial-gradient(circle at 86% 72%, rgba(56,189,248,.10), transparent 30%); }
.seo-hero .container { position: relative; }
.seo-hero-grid { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(280px,.7fr); gap: 36px; align-items: center; }
.seo-hero h1 { font-size: clamp(38px,6vw,68px); line-height: 1.03; max-width: 820px; }
.seo-hero .lead { color: var(--muted); font-size: clamp(17px,2vw,20px); max-width: 700px; margin-top: 18px; }
.seo-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.seo-proof { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 28px; }
.seo-proof div { padding: 14px; border: 1px solid var(--border); border-radius: 14px; background: var(--card); }
.seo-proof b { display: block; font-family: var(--font-display); color: var(--ink); }
.seo-proof span { color: var(--muted); font-size: 12px; }
.seo-side-card { padding: 24px; background: linear-gradient(145deg,var(--card),var(--bg-2)); border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); }
.seo-side-card h2 { font-size: 22px; margin-bottom: 14px; }
.seo-checks { display: grid; gap: 12px; }
.seo-checks li { list-style: none; display: flex; gap: 10px; align-items: flex-start; color: var(--muted); }
.seo-checks li::before { content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: color-mix(in srgb, var(--green) 14%, var(--card)); color: var(--green); display: grid; place-items: center; font-weight: 900; }
.seo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.seo-card { display: flex; flex-direction: column; gap: 10px; padding: 24px; color: var(--ink); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); transition: .2s; }
.seo-card:hover { transform: translateY(-4px); border-color: var(--brand); box-shadow: var(--shadow-soft); }
.seo-card p { color: var(--muted); flex: 1; }
.seo-card .arrow { color: var(--brand); font-weight: 800; }
.contact-grid .seo-card { min-width: 0; }
.contact-grid .seo-card h2 { overflow-wrap: anywhere; }
.contact-grid address { color: var(--muted); font-style: normal; line-height: 1.75; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.breadcrumb a { color: var(--brand); }
.seo-content { max-width: 820px; }
.seo-content h2 { margin: 34px 0 10px; font-size: clamp(24px,3vw,32px); }
.seo-content h3 { margin: 24px 0 8px; font-size: 21px; }
.seo-content p, .seo-content li { color: var(--muted); line-height: 1.75; }
.seo-content ul, .seo-content ol { padding-left: 22px; margin: 12px 0; }
.seo-table-wrap { overflow-x: auto; margin: 22px 0; border: 1px solid var(--border); border-radius: var(--radius); }
.seo-table { width: 100%; border-collapse: collapse; background: var(--card); }
.seo-table th, .seo-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.seo-table th { background: var(--bg-2); color: var(--ink); font-family: var(--font-display); }
.seo-table tr:last-child td { border-bottom: 0; }
.seo-note { padding: 18px; margin: 20px 0; border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: 12px; background: var(--card); color: var(--muted); }
.article-meta { color: var(--muted); font-size: 14px; margin: 8px 0 28px; }
.price-table { width: 100%; border-collapse: collapse; margin: 20px 0; background: var(--card); border-radius: 16px; overflow: hidden; }
.price-table th, .price-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.price-table th { background: var(--bg-2); font-family: var(--font-display); }
.price-table td:last-child { font-weight: 800; color: var(--brand); }
.cluster-links { margin-top: 38px; padding: 24px; border-radius: var(--radius); background: var(--brand-soft); border: 1px solid var(--border); }
.cluster-links h2 { margin: 0 0 14px; font-size: 22px; }
.cluster-links nav { display: flex; flex-wrap: wrap; gap: 10px; }
.cluster-links a { padding: 9px 13px; background: var(--card); border: 1px solid var(--border); border-radius: 999px; font-weight: 700; }
.analytics-consent { position: fixed; z-index: 9999; left: 18px; right: 18px; bottom: 18px; max-width: 940px; margin: auto; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid var(--border); border-radius: 18px; background: var(--card); box-shadow: 0 20px 60px rgba(0,0,0,.35); color: var(--ink); }
.analytics-consent p { color: var(--muted); margin-top: 3px; font-size: 13px; }
.analytics-consent-actions { display: flex; gap: 9px; align-items: center; flex: none; }
.analytics-consent-actions a, .analytics-consent-actions button { border: 1px solid var(--border); border-radius: 999px; padding: 9px 13px; background: var(--bg-2); color: var(--ink); font: inherit; font-weight: 800; cursor: pointer; }
.analytics-consent-actions .accept { background: var(--accent); color: var(--on-accent); border-color: transparent; }
@media (max-width: 820px) { .seo-hero-grid { grid-template-columns: 1fr; } .seo-grid { grid-template-columns: 1fr; } .seo-proof { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .analytics-consent { align-items: stretch; flex-direction: column; } .analytics-consent-actions { justify-content: flex-end; flex-wrap: wrap; } }

/* ---- Panduan khusus metode (Via Login) ---- */
.method-guide { margin-bottom: 24px; border-left: 4px solid var(--brand); color: var(--ink); }
.method-guide h3 { color: var(--ink); }
.method-guide.gamepass-guide { border-left-color: var(--accent); }
.method-guide.gamepass-guide .step-dot { background: var(--accent); color: #2A2100; }
.mg-steps { margin: 4px 0 0; padding-left: 22px; color: var(--ink); }
.mg-steps li { margin: 6px 0; line-height: 1.55; color: var(--ink); }
.mg-steps a { color: var(--brand); font-weight: 800; }
.mg-note { margin-top: 16px; background: #FFF8E8; border: 1px solid #FFE1A6; color: #5A4A1E; border-radius: 12px; padding: 14px 16px; font-size: 14px; line-height: 1.65; }
.mg-note b { color: #4A3A12; }
.mg-warn { display: block; margin-top: 12px; background: #FDECEC; border: 1px solid #F7BFBF; color: #B4232A; border-radius: 12px; padding: 12px 16px; font-weight: 700; text-decoration: none; font-size: 14px; }
.mg-warn:hover { background: #FBDCDC; }

/* ============================================================
   Tombol tema (storefront) — di navbar
   ============================================================ */
.theme-btn {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  background: var(--brand-soft); border: none; color: var(--brand);
  display: grid; place-items: center; cursor: pointer; transition: filter .15s, background .15s;
}
.theme-btn:hover { filter: brightness(1.08); }
.theme-btn .ic-sun { display: none; }          /* default GELAP → tampilkan bulan */
html.theme-light .theme-btn .ic-moon { display: none; }
html.theme-light .theme-btn .ic-sun { display: block; }

/* ============================================================
   Mode Terang (light) — storefront default GELAP; ini override token.
   Footer sengaja tetap gelap (desain).
   ============================================================ */
html.theme-light {
  --brand-soft: #FFF4D2;   /* soft gold (terang) */
  --ink:    #1A1710;
  --muted:  #6E6552;
  --bg:     #F7F3E8;       /* cream */
  --bg-2:   #FFFDF6;
  --card:   #FFFFFF;
  --border: #EBE3D0;
  --red:    #EF4444;
  --shadow:      0 12px 30px -14px rgba(60, 50, 20, .22);
  --shadow-soft: 0 6px 20px -12px rgba(60, 50, 20, .15);
}
html.theme-light body { background: var(--bg); }
html.theme-light .nav { background: rgba(255, 253, 246, .85); }
html.theme-light .hint-box { color: var(--brand-dark); }        /* teks hint agar terbaca di bg terang */
html.theme-light .hero,
html.theme-light .section { background: transparent; }

/* ============================================================
   Animasi brand — logo & tulisan "Joey Store" bergerak bersamaan
   ============================================================ */
.brand-anim .logo { animation: brandFloat 3.2s ease-in-out infinite; }
.brand-anim .logo img { animation: brandGlow 3.2s ease-in-out infinite; }
.brand-anim .brand-text { display: inline-block; animation: brandFloat 3.2s ease-in-out infinite; }
.brand-anim:hover .logo { animation: brandSpin .9s ease; }
@keyframes brandFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes brandGlow {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(255, 176, 32, .25)); }
  50%      { filter: drop-shadow(0 0 11px rgba(255, 176, 32, .8)); }
}
@keyframes brandSpin { to { transform: rotate(360deg); } }

/* ============================================================
   Method tab — gambar badge Joey Store + animasi saat hover
   ============================================================ */
.method-tab { position: relative; overflow: hidden; transition: transform .18s ease, border-color .15s, box-shadow .18s ease; }
.method-tab .ic { transition: transform .25s ease; }
.method-tab .mt-text { position: relative; z-index: 1; }
.mt-badge {
  position: absolute; right: -14px; bottom: -14px; width: 70px; height: 70px;
  border-radius: 50%; object-fit: cover; opacity: .16; pointer-events: none;
  transition: transform .35s ease, opacity .35s ease;
}
.method-tab.active .mt-badge { opacity: .3; }
.method-tab:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.method-tab:hover .mt-badge { opacity: .42; transform: scale(1.18) rotate(14deg); }
.method-tab:hover .ic { animation: mtWiggle .55s ease; }
@keyframes mtWiggle {
  0%, 100% { transform: rotate(0) scale(1); }
  30%      { transform: rotate(-10deg) scale(1.08); }
  70%      { transform: rotate(10deg) scale(1.08); }
}

/* ============================================================
   FAQ storefront — ilustrasi maskot Joey Store di samping daftar
   ============================================================ */
.faq-layout { display: grid; grid-template-columns: 280px 1fr; gap: 34px; align-items: start; max-width: 1000px; margin-inline: auto; }
.faq-layout .faq { max-width: none; margin: 0; }
.faq-illust { position: sticky; top: 90px; text-align: center; }
.faq-illust img {
  width: 100%; max-width: 300px; border-radius: var(--radius-lg);
  border: 2px solid var(--brand-soft);
  animation: brandFloat 3.6s ease-in-out infinite;
  filter: drop-shadow(0 18px 46px rgba(255, 194, 32, .45));
}
.faq-bubble {
  margin-top: 16px; display: inline-block; background: var(--card); border: 1px solid var(--border);
  border-radius: 16px; padding: 10px 16px; font-weight: 700; font-size: 14px; color: var(--ink); box-shadow: var(--shadow-soft);
}
@media (max-width: 760px) {
  .faq-layout { grid-template-columns: 1fr; gap: 18px; }
  .faq-illust { position: static; margin-bottom: 4px; }
  .faq-illust img { max-width: 160px; }
}

/* ============================================================
   Ikon pada link navbar
   ============================================================ */
.nav-links a { display: inline-flex; align-items: center; gap: 7px; }
.nav-links a svg { width: 18px; height: 18px; flex: none; }

/* ============================================================
   i18n — tampilkan bahasa sesuai kelas <html class="lang-en">
   ============================================================ */
html:not(.lang-en) .only-en { display: none !important; }
html.lang-en .only-id { display: none !important; }

/* Tombol ganti bahasa (di navbar) */
.lang-btn {
  height: 44px; padding: 0 13px; border-radius: 12px; flex: none;
  background: var(--brand-soft); border: none; color: var(--brand);
  display: inline-flex; align-items: center; gap: 6px; cursor: pointer;
  font-weight: 800; font-family: var(--font-display); font-size: 14px; transition: filter .15s;
}
.lang-btn:hover { filter: brightness(1.08); }
.lang-btn svg { width: 18px; height: 18px; flex: none; }

/* ============================================================
   Halaman dokumen (Tentang / S&K / Privasi)
   ============================================================ */
.doc { max-width: 820px; margin-inline: auto; }
.doc .updated { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.doc h2 { margin: 28px 0 10px; font-size: 22px; }
.doc h3 { margin: 20px 0 8px; font-size: 18px; }
.doc p { color: var(--muted); line-height: 1.85; margin-bottom: 12px; }
.doc ul { padding-left: 22px; list-style: disc; margin: 8px 0 14px; }
.doc li { color: var(--muted); line-height: 1.8; margin: 5px 0; }
.doc a { color: var(--brand); font-weight: 700; }
.doc .doc-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; }

/* ============================================================
   Section Metode Pembayaran
   ============================================================ */
.pay-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; max-width: 940px; margin: 0 auto; }
.pay-chip {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 12px;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; transition: transform .15s, border-color .15s;
}
.pay-chip:hover { border-color: var(--brand); transform: translateY(-3px); }
.pay-chip .pc-ic {
  min-width: 52px; height: 40px; padding: 0 10px; border-radius: 10px; background: var(--brand-soft);
  color: var(--brand); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 14px;
}
.pay-chip b { font-size: 14px; color: var(--ink); font-family: var(--font-display); }
.pay-chip small { color: var(--muted); font-weight: 700; font-size: 12px; }
.sociabuzz-chip .sociabuzz-ic { background: #76CC11; color: #fff; }
#sociabuzzPayButton { width: 100%; margin-top: 8px; }
#sociabuzzPayButton #btnModal { width: 100%; max-width: none !important; min-height: 42px !important; padding: 10px 16px !important; font-size: 14px !important; }
#sociabuzzPayButton .sociabuzz-fallback { display: grid; place-items: center; min-height: 42px; width: 100%; border-radius: 25px; background: #76CC11; color: #fff; font-weight: 800; text-decoration: none; }
.sociabuzz-checkout { margin: 16px 0; padding: 16px; border: 1px solid rgba(118, 204, 17, .42); border-radius: var(--radius-sm); background: rgba(118, 204, 17, .09); text-align: center; }
.sociabuzz-checkout[hidden] { display: none; }
.sociabuzz-checkout-label { display: block; color: var(--muted); font-size: 13px; font-weight: 800; }
.sociabuzz-checkout strong { display: block; margin-top: 3px; color: #62ad0b; font-family: var(--font-display); font-size: 26px; }
.sociabuzz-base-amount { display: block; margin-top: 1px; color: var(--muted); font-size: 12px; font-weight: 700; }
.sociabuzz-checkout p { margin: 8px 0 12px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.sociabuzz-pay-action { background: #76CC11; color: #fff; }
.sociabuzz-pay-action:hover { background: #65b00d; }
#sociabuzzCopyStatus { display: block; min-height: 18px; margin-top: 8px; color: var(--muted); font-size: 12px; font-weight: 700; }

/* ============================================================
   Section Bantuan
   ============================================================ */
.help-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; max-width: 980px; margin: 0 auto; }
.help-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px; text-align: center; transition: transform .15s, border-color .15s; }
.help-card:hover { border-color: var(--brand); transform: translateY(-4px); }
.help-card .hc-ic { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 14px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.help-card h4 { margin-bottom: 6px; font-size: 17px; }
.help-card p { color: var(--muted); font-size: 14px; margin-bottom: 16px; line-height: 1.6; }

/* ============================================================
   Kotak validasi username Roblox (baca akun langsung dari Roblox)
   ============================================================ */
.rbx-user {
  display: flex; align-items: center; gap: 12px; margin-top: 10px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--bg-2); font-size: 14px;
}
.rbx-user.found { border-color: var(--green); background: color-mix(in srgb, var(--green) 10%, var(--bg-2)); }
.rbx-user.notfound, .rbx-user.error { border-color: var(--red); background: color-mix(in srgb, var(--red) 8%, var(--bg-2)); }
.rbx-user .rbx-av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; background: var(--card); border: 1px solid var(--border); }
.rbx-user .rbx-av-ph { display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: var(--brand); }
.rbx-user .rbx-meta { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.rbx-user .rbx-meta b { color: var(--ink); font-family: var(--font-display); font-size: 15px; }
.rbx-user .rbx-meta small { color: var(--muted); font-size: 12px; }
.rbx-user .rbx-verified { color: var(--brand); }
.rbx-user .rbx-ok { margin-left: auto; color: var(--green-dark); font-weight: 800; font-size: 13px; white-space: nowrap; }
.rbx-user .rbx-bad { color: var(--red); font-weight: 800; }
.rbx-user.notfound, .rbx-user.error { color: var(--red); font-weight: 700; }
.rbx-spin {
  width: 16px; height: 16px; border: 2px solid var(--border); border-top-color: var(--brand);
  border-radius: 50%; display: inline-block; animation: rbxSpin .8s linear infinite; flex: none;
}
@keyframes rbxSpin { to { transform: rotate(360deg); } }

/* ============================================================
   Ringkasan rating + running text (ticker) testimoni
   ============================================================ */
.testi-rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; }
.testi-rating .tr-score { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: var(--brand); line-height: 1; }
.testi-rating .tr-stars { color: var(--accent); font-size: 20px; letter-spacing: 2px; }
.testi-rating .tr-count { color: var(--muted); font-weight: 700; font-size: 14px; }
.testi-rating .tr-count b { color: var(--ink); }

.ticker {
  position: relative; overflow: hidden; width: 100%; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker-track { display: inline-flex; gap: 14px; white-space: nowrap; will-change: transform; animation: tickerScroll 120s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  background: var(--card); border: 1px solid var(--border); border-radius: 999px;
  padding: 9px 16px; font-size: 14px; color: var(--muted);
}
.ticker-item .tk-ava { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: none; background: var(--bg-2); border: 1px solid var(--border); }
.ticker-item .tk-ava-ph { display: inline-grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 12px; color: var(--brand); }
.ticker-item .stars { color: var(--accent); letter-spacing: 1px; flex: none; }
.ticker-item b { color: var(--ink); font-family: var(--font-display); }
.ticker-item small { color: var(--muted); }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Payment method — tampilan tunggal (QRIS saja) */
.pay-grid-solo { grid-template-columns: minmax(240px, 460px); justify-content: center; }
.pay-grid-solo .pay-chip { padding: 22px; }
.pay-grid-solo .pay-chip .pc-ic { min-width: 68px; height: 48px; font-size: 18px; }

/* Daftar harga live — satu sumber dengan Admin dan checkout. */
.price-method-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 22px 0; align-items: start; }
.price-method-card { min-width: 0; padding: 22px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); }
.price-method-card h2 { margin: 0 0 6px; }
.price-method-card > p { margin: 0 0 16px; color: var(--muted); }
@media (max-width: 860px) { .price-method-grid { grid-template-columns: 1fr; } }

/* Hormati preferensi pengurangan gerak */
@media (prefers-reduced-motion: reduce) {
  .brand-anim .logo, .brand-anim .logo img, .brand-anim .brand-text,
  .mt-badge, .faq-illust img { animation: none !important; }
  .rbx-spin, .ticker-track { animation: none !important; }
}
