/* UNIX Gaming storefront: design tokens + components */
/* Gobold (user's licensed font library) is used ONLY for the poster-style giant words and numbers. */
@font-face { font-family: "Gobold"; src: url("../assets/fonts/Gobold-Bold.otf") format("opentype"); font-weight: 400; font-display: swap; }
/* Made Tommy (user's Essential Fonts Pack): friendly geometric, used for the home notice bar */
@font-face { font-family: "Made Tommy"; src: url("../assets/fonts/MadeTommy-Medium.otf") format("opentype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Made Tommy"; src: url("../assets/fonts/MadeTommy-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
/* Typography: Apple SF Pro through the system font stack. SF Pro's licence doesn't allow serving its files from a
   website, so no @font-face: Apple devices render real SF Pro (Display/Text picked by size); others use their
   own system UI font (Segoe UI on Windows, the system font on Android). All type goes through the tokens below. */

:root {
  /* surfaces */
  --bg: #070B16;
  --surface: #0F1626;
  --surface-2: #162036;
  --surface-3: #1C2944;
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .16);
  /* brand: UNIX logo blue (fills) + lighter tint for text on dark */
  --brand: #2563EB;
  --brand-strong: #1D4FD8;
  --brand-text: #6EA8FF;
  --brand-soft: rgba(59, 130, 246, .14);
  --brand-glow: rgba(59, 130, 246, .35);
  --on-brand: #FFFFFF;
  --silver: #C9D1DE;
  /* text */
  --text: #F3F5F9;
  --muted: #98A2B3;
  --faint: #667085;
  /* status */
  --success: #34D399;
  --warning: #FB923C;
  --error: #F87171;
  /* shape */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 20px;
  --container: 1200px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
  /* motion */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --t-press: 150ms;
  --t-fast: 250ms;
  --t-modal: 350ms;
  --t-reveal: 450ms;
  /* typography system (single source for every page, popup, button and menu) */
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Segoe UI", sans-serif;   /* headings, hero, big numbers */
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, "Segoe UI", sans-serif; /* body, nav, buttons, labels */
  --font-ui: var(--font-text);   /* older alias used across components */
  --font-poster: "Gobold", "SF Pro Display", Impact, sans-serif;   /* poster sections only */
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  /* Apple-style tracking: tighter as text gets bigger, neutral/slightly open when small or uppercase */
  --track-display: -0.022em;   /* 28px and up */
  --track-title: -0.016em;     /* 17–27px */
  --track-body: -0.008em;      /* 14–16px */
  --track-small: 0em;          /* 13px and below */
  --track-caps: 0.06em;        /* small uppercase labels */
  --lh-display: 1.1;
  --lh-title: 1.2;
  --lh-body: 1.5;
  color-scheme: dark;
}
/* alternative brand from the ad brief (purple): <html data-brand="purple"> */
:root[data-brand="purple"] {
  --bg: #0A0812; --surface: #120F1E; --surface-2: #1A1630; --surface-3: #221C3D;
  --brand: #7C3AED; --brand-strong: #6D28D9; --brand-text: #B69CFF;
  --brand-soft: rgba(139, 92, 246, .16); --brand-glow: rgba(139, 92, 246, .38);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 140px; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-text); font-size: 15px; line-height: var(--lh-body); letter-spacing: var(--track-body);
  font-weight: var(--fw-regular); text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
body::before { /* soft brand light at the top of every page */
  content: ""; position: fixed; inset: -20vh -10vw auto; height: 60vh; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 60% at 50% 0%, var(--brand-soft), transparent 70%);
}
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; letter-spacing: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: var(--fw-semibold); margin: 0; line-height: var(--lh-title); letter-spacing: var(--track-title); }
h1 { line-height: var(--lh-display); letter-spacing: var(--track-display); }
small, .hint { letter-spacing: var(--track-small); }
b, strong { font-weight: var(--fw-semibold); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--brand-text); outline-offset: 2px; border-radius: 6px; }
.icon { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: var(--r-sm); border: 1px solid transparent;
  font-weight: var(--fw-semibold); font-size: 14px; cursor: pointer; white-space: nowrap; position: relative;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
              transform var(--t-press) var(--ease), box-shadow var(--t-fast) var(--ease), opacity var(--t-fast);
}
.btn:active:not(:disabled) { transform: scale(.97); }
.btn-primary { background: var(--brand); color: var(--on-brand); box-shadow: 0 6px 18px -6px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-primary:hover:not(:disabled) { background: var(--brand-strong); transform: translateY(-1px); box-shadow: 0 10px 24px -6px var(--brand-glow), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn-outline:hover { border-color: var(--brand-text); color: var(--brand-text); background: var(--brand-soft); }
.btn-ghost { background: transparent; color: var(--muted); border-color: var(--border); }
.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,.06); }
.btn-block { width: 100%; height: 50px; font-size: 15px; }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: spin .7s linear infinite;
}
.btn.is-success { background: var(--success); color: #062016; }
.btn.is-error { animation: shake .35s var(--ease); }
@keyframes spin { to { transform: rotate(1turn); } }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 15, 28, .82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.header-row { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo img { height: 34px; width: auto; }
/* Header logo (option D): bigger 3D logo, deeper edge, cyan-to-purple light bar that slowly pulses */
.site-header .logo { position: relative; display: inline-flex; align-items: center; padding-bottom: 6px; flex: none; }
.site-header .logo img { height: 42px; filter: drop-shadow(0 3px 0 rgba(29,78,216,.9)) drop-shadow(0 0 14px rgba(34,211,255,.45)); transition: transform var(--t-fast) var(--ease); }
.site-header .logo::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: 0; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, #22D3FF, #6366F1, transparent); box-shadow: 0 0 10px #22D3FF; animation: logoBar 3.2s ease-in-out infinite; }
.site-header .logo:hover img { transform: translateY(-1px) scale(1.03); }
@keyframes logoBar { 0%, 100% { opacity: .55; transform: scaleX(.8); } 50% { opacity: 1; transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .site-header .logo::after { animation: none; } }
@media (max-width: 560px) { .site-header .logo img { height: 36px; } .site-header .logo { padding-bottom: 5px; } }
.search { flex: 1; max-width: 460px; position: relative; display: none; }
.search input {
  width: 100%; height: 42px; padding: 0 14px 0 40px; border-radius: 10px;
  background: var(--surface-2); border: 1px solid var(--border); outline: none;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.search input::placeholder { color: var(--faint); }
.search input:focus { border-color: var(--brand-text); background: var(--surface-3); }
.search .icon { position: absolute; left: 13px; top: 12px; color: var(--faint); }
.search-results {
  position: absolute; top: 48px; left: 0; right: 0; background: var(--surface-2); border: 1px solid var(--border-strong);
  border-radius: 12px; box-shadow: var(--shadow); padding: 6px; display: none; max-height: 360px; overflow: auto;
}
.search-results.open { display: block; animation: popIn var(--t-fast) var(--ease); }
.search-results a { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 8px; font-weight: var(--fw-semibold); font-size: 14px; }
.search-results a:hover, .search-results a.active { background: var(--surface-3); }
.search-results img { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; }
.search-results .empty { padding: 12px; color: var(--muted); font-size: 14px; }
.nav { display: none; align-items: center; gap: 4px; margin-left: auto; }
.nav a.link {
  position: relative; padding: 8px 12px; font-weight: var(--fw-semibold); font-size: 14px; color: var(--muted); transition: color var(--t-fast);
}
.nav a.link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--brand-text); transform: scaleX(0); transition: transform var(--t-fast) var(--ease);
}
.nav a.link:hover { color: var(--text); }
.nav a.link.active { color: var(--text); }
.nav a.link.active::after, .nav a.link:hover::after { transform: scaleX(1); }
.nav .btn { height: 38px; padding: 0 16px; }
.header-actions { display: flex; gap: 8px; margin-left: auto; }
.header-actions .btn { height: 36px; padding: 0 14px; font-size: 13px; }
.menu-btn {
  width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface);
  display: grid; place-items: center; cursor: pointer;
}
@media (min-width: 900px) {
  .search { display: block; }
  .nav { display: flex; }
  .header-actions, .menu-btn { display: none; }
}
/* mobile drawer */
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 90; background: rgba(4, 7, 15, .7); backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden; transition: opacity var(--t-modal) var(--ease), visibility var(--t-modal);
}
.drawer {
  position: fixed; z-index: 91; top: 0; left: 0; bottom: 0; width: min(340px, 88vw);
  background: linear-gradient(180deg, #0E1730 0%, var(--surface) 34%);
  border-right: 1px solid var(--border-strong); border-top: 3px solid var(--brand); padding: 16px;
  transform: translateX(-102%); display: flex; flex-direction: column; gap: 4px;
  overflow-y: auto; overscroll-behavior: contain;
  /* hidden (not just off-screen) when closed, so keyboard/screen-reader users can't land on invisible links */
  visibility: hidden; transition: transform var(--t-modal) var(--ease), visibility 0s linear var(--t-modal);
}
.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; }
.drawer-open .drawer { transform: none; visibility: visible; transition: transform var(--t-modal) var(--ease), visibility 0s; }
.drawer > *:not(.dr-poster) { position: relative; z-index: 1; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.drawer .search { display: block; max-width: none; margin-bottom: 4px; flex: none; z-index: 3; }
.drawer .btn { width: 100%; margin-top: 8px; }
/* section labels: small caps with a hairline, like the site's section heads */
.dr-label { display: flex; align-items: center; gap: 10px; margin: 16px 2px 8px; font-size: 11px; font-weight: var(--fw-semibold);
  letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.dr-label::after { content: ""; flex: 1; height: 1px; background: var(--border); }
/* page links: icon chip + label + chevron */
.drawer a.link { display: flex; align-items: center; gap: 12px; padding: 8px 10px 8px 8px; border-radius: 12px; font-weight: var(--fw-semibold); color: var(--muted);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.drawer a.link .ic { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; background: var(--surface-2); color: var(--brand-text); }
.drawer .go { margin-left: auto; width: 16px; height: 16px; opacity: .45; }
.drawer a.link:hover, .drawer a.link.active { background: var(--brand-soft); color: var(--text); }
.drawer a.link.active .ic { background: var(--brand); color: var(--on-brand); }
/* category tiles: 2 x 2, item count, slanted blue corner (the site's poster band, small) */
.dr-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dr-cat { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 2px; padding: 12px; border-radius: 14px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), transform var(--t-press) var(--ease); }
.dr-cat::after { content: ""; position: absolute; top: -22px; right: -22px; width: 52px; height: 52px; background: var(--brand); opacity: .16; transform: rotate(45deg); }
.dr-cat .ic { width: 36px; height: 36px; margin-bottom: 8px; display: grid; place-items: center; border-radius: 10px; background: var(--brand-soft); color: var(--brand-text); }
.dr-cat b { font-size: 14px; font-weight: var(--fw-semibold); letter-spacing: var(--track-body); }
.dr-cat small { font-size: 12px; color: var(--muted); }
.dr-cat:hover, .dr-cat.active { border-color: var(--brand); background: linear-gradient(160deg, rgba(37, 99, 235, .24), var(--surface-2) 62%); }
.dr-cat.active .ic { background: var(--brand); color: var(--on-brand); }
.dr-cat.active::after { opacity: .5; }
.dr-cat:active { transform: scale(.97); }
/* WhatsApp help card */
.dr-help { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 12px; border-radius: 14px; color: var(--text);
  background: rgba(37, 211, 102, .08); border: 1px solid rgba(37, 211, 102, .26); }
.dr-help .ic-wa { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 10px; background: #25D366; color: #fff; }
.dr-help strong { display: block; font-size: 14px; }
.dr-help small { display: block; font-size: 12px; color: var(--muted); }
.dr-auth { margin-top: auto; padding-top: 16px; }
/* giant outlined poster word behind the bottom of the menu (decoration only) */
.dr-poster { position: absolute; right: -8px; bottom: 92px; z-index: 0; pointer-events: none; user-select: none;
  font-family: var(--font-poster); font-size: 132px; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(110, 168, 255, .12); }
.icon-btn {
  width: 36px; height: 36px; border-radius: 9px; border: 0; background: transparent; color: var(--muted);
  display: grid; place-items: center; cursor: pointer; transition: background var(--t-fast), color var(--t-fast);
}
.icon-btn:hover { background: rgba(255,255,255,.08); color: var(--text); }

/* ---------- hero slider ---------- */
.hero { margin-top: 20px; }
.slider { position: relative; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); background: var(--surface); aspect-ratio: 1600 / 600; }
.slide > img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 639px) { .slider { border-radius: 14px; } }
.slides { display: flex; height: 100%; transition: transform 600ms var(--ease); }
.slide { flex: 0 0 100%; height: 100%; position: relative; overflow: hidden; }
.slide-brand {
  display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 20px 22px;
  background:
    radial-gradient(70% 120% at 85% 50%, var(--brand-glow), transparent 60%),
    linear-gradient(120deg, var(--surface-2), var(--bg) 70%);
}
.slide-brand::after { /* fine grid texture */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 32px 32px; mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.slide-brand .eyebrow { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-text); font-weight: var(--fw-semibold); }
.slide-brand h1 { font-size: clamp(22px, 4.2vw, 44px); font-weight: var(--fw-semibold); letter-spacing: var(--track-display); line-height: var(--lh-display); max-width: 15ch; }
.slide-brand h1 span { color: var(--brand-text); }
.slide-brand p { margin: 0; color: var(--muted); max-width: 46ch; font-size: clamp(13px, 1.4vw, 16px); }
.slide-brand .btn { align-self: flex-start; position: relative; z-index: 1; }
@media (max-width: 639px) {
  .slide-brand { gap: 8px; padding: 16px 18px 26px; }
  .slide-brand p { display: none; }
  .slide-brand .btn { height: 36px; font-size: 13px; padding: 0 14px; }
}
.slide-art { position: absolute; right: 4%; top: 50%; transform: translateY(-50%); display: none; gap: 12px; z-index: 1; }
.slide-art img { width: 108px; height: 108px; border-radius: 22px; object-fit: cover; border: 1px solid var(--border-strong); box-shadow: var(--shadow); }
.slide-art img:nth-child(2) { transform: translateY(-18px); }
.slide-art img:nth-child(3) { transform: translateY(14px); }
@media (min-width: 900px) { .slide-art { display: flex; } }
.slide-image { display: grid; place-items: center; }
.slide-image .bg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(24px) brightness(.45); }
.slide-image img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border-strong); background: rgba(10,15,28,.65); color: var(--text); display: none; place-items: center; cursor: pointer;
  transition: background var(--t-fast), transform var(--t-press);
}
.slider-arrow:hover { background: var(--brand); }
.slider-arrow.prev { left: 12px; } .slider-arrow.next { right: 12px; }
@media (min-width: 640px) { .slider-arrow { display: grid; } }
.dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; z-index: 2; }
.dots button { position: relative; width: 7px; height: 7px; border-radius: 99px; border: 0; padding: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: width var(--t-fast) var(--ease), background var(--t-fast); }
.dots button::after { content: ""; position: absolute; inset: -9px -5px; }   /* ~25px tall tap area, same look */
.dots button.active { width: 22px; background: var(--brand-text); }

/* ---------- section heads ---------- */
.section { margin-top: 36px; }
.section-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.section-head h2, .section-head h3 { font-size: 19px; font-weight: var(--fw-semibold); letter-spacing: var(--track-title); display: flex; align-items: center; gap: 10px; }
.section-head h2::before, .section-head h3::before { content: ""; width: 4px; height: 20px; border-radius: 4px; background: var(--brand); box-shadow: 0 0 12px var(--brand-glow); }
.section-head .line { flex: 1; height: 1px; background: var(--border); }
.pill { font-size: 12px; font-weight: var(--fw-semibold); padding: 4px 11px; border-radius: 99px; color: var(--brand-text); background: var(--brand-soft); border: 1px solid rgba(110, 168, 255, .25); white-space: nowrap; }

/* ---------- popular (list cards) ---------- */
.popular-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .popular-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
.mini-card {
  display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--border); min-width: 0;
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.mini-card img { width: 46px; height: 46px; border-radius: 11px; object-fit: cover; flex: none; background: var(--surface-2); }
@media (min-width: 900px) { .mini-card img { width: 52px; height: 52px; } }
.mini-card .t { min-width: 0; }
.mini-card strong { display: block; font-size: 14px; font-weight: var(--fw-semibold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color var(--t-fast); }
.mini-card span { font-size: 12px; color: var(--muted); }
.mini-card:hover { transform: translateY(-2px); border-color: rgba(110, 168, 255, .4); background: var(--surface-2); box-shadow: 0 10px 24px -10px var(--brand-glow); }
.mini-card:hover strong { color: var(--brand-text); }

/* ---------- category chips ---------- */
.chips-bar {
  position: sticky; top: 64px; z-index: 40; margin-top: 32px; padding: 10px 0;
  background: linear-gradient(var(--bg) 70%, transparent);
}
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; flex: none; scroll-snap-align: center;
  height: 38px; padding: 0 14px; border-radius: 99px; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted); font-weight: var(--fw-semibold); font-size: 13px;
  transition: background var(--t-fast) var(--ease), color var(--t-fast), border-color var(--t-fast), transform var(--t-press) var(--ease), box-shadow var(--t-fast);
}
.chip .count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center; font-size: 11px; font-weight: var(--fw-semibold); background: rgba(255,255,255,.07); }
.chip:hover { color: var(--text); border-color: rgba(110, 168, 255, .35); background: var(--surface-2); }
.chip:active { transform: scale(.96); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 6px 18px -6px var(--brand-glow); }
.chip.active .count { background: rgba(255,255,255,.2); }

/* ---------- product cards ---------- */
.cat-block { margin-top: 28px; }
.cat-block.filter-in { animation: catIn 280ms var(--ease) both; }
@keyframes catIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; } }
.card {
  position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--r); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast), box-shadow var(--t-fast);
}
.card-media { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--surface-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.card-badge {
  position: absolute; top: 7px; right: 7px; z-index: 2; font-size: 10px; font-weight: var(--fw-semibold); padding: 3px 8px; border-radius: 99px;
  background: rgba(7, 11, 22, .78); border: 1px solid var(--border-strong); backdrop-filter: blur(6px); color: var(--silver);
}
.card-badge.oos { color: #FFC9A3; border-color: rgba(251, 146, 60, .45); }
.card-overlay {
  position: absolute; inset: 0; display: grid; place-items: end center; padding-bottom: 14px;
  background: linear-gradient(transparent 35%, rgba(7, 11, 22, .85)); opacity: 0; transition: opacity var(--t-fast) var(--ease);
}
.card-overlay span {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 99px; font-size: 12px; font-weight: var(--fw-semibold);
  background: var(--brand); color: #fff; transform: translateY(10px); transition: transform var(--t-fast) var(--ease);
  box-shadow: 0 6px 16px -4px var(--brand-glow);
}
.card-info { padding: 9px 10px 11px; }
.card-info h4 { font-family: var(--font-text); font-size: 13px; font-weight: var(--fw-semibold); letter-spacing: var(--track-small); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color var(--t-fast); }
.card-info p { margin: 2px 0 0; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-info .from { color: var(--brand-text); font-weight: var(--fw-semibold); margin-top: 4px; font-size: 12.5px; }
.card-badge .icon { width: 11px; height: 11px; vertical-align: -1px; }
.card-overlay .icon { width: 14px; height: 14px; }
@media (min-width: 640px) { .card-info h4 { font-size: 14px; } .card-info p { font-size: 12px; } }
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); border-color: rgba(110, 168, 255, .55); box-shadow: 0 14px 28px -8px rgba(0,0,0,.6), 0 0 22px -4px var(--brand-glow); }
  .card:hover .card-media img { transform: scale(1.06); }
  .card:hover .card-overlay { opacity: 1; }
  .card:hover .card-overlay span { transform: none; }
  .card:hover h4 { color: var(--brand-text); }
}
.card:active { transform: scale(.98); }
.card.is-oos .card-media img { filter: grayscale(.6) brightness(.7); }

/* Home: scrolling support notice bar (under the header) */
.notice-bar { display: flex; align-items: center; gap: 10px; margin: 10px 0 10px; padding: 4px 12px 4px 5px; border-radius: 99px; color: var(--text); text-decoration: none;
  background: linear-gradient(90deg, rgba(14,165,233,.12), rgba(10,18,40,.9) 30%, rgba(10,18,40,.9) 70%, rgba(79,70,229,.14));
  border: 1px solid rgba(34,211,255,.6); box-shadow: 0 0 0 1px rgba(34,211,255,.15) inset, 0 0 18px rgba(34,211,255,.28); }
.notice-bar:hover { border-color: #22D3FF; box-shadow: 0 0 0 1px rgba(34,211,255,.3) inset, 0 0 24px rgba(34,211,255,.45); }
.notice-ico { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; font-size: 14px;
  background: radial-gradient(circle at 35% 30%, #38BDF8, #1D4ED8); box-shadow: 0 0 14px rgba(34,211,255,.55); }
.notice-window { flex: 1; min-width: 0; overflow: hidden; border-left: 1px solid rgba(255,255,255,.12); padding-left: 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.notice-track { display: flex; width: max-content; animation: noticeScroll 38s linear infinite; }
.notice-bar:hover .notice-track, .notice-bar:focus-visible .notice-track { animation-play-state: paused; }
.notice-item { white-space: nowrap; font-family: "Made Tommy", var(--font-text); font-size: 12px; font-weight: 500; letter-spacing: .01em; padding-right: 56px; line-height: 20px; }
.nw { display: inline-block; padding: 0 7px; margin: 0 2px; border-radius: 99px; font-weight: 700; line-height: 17px; font-size: 11.5px; }
.nw-order { background: rgba(37,99,235,.35); border: 1px solid rgba(110,168,255,.6); color: #cfe0ff; }
.nw-pending { background: rgba(245,158,11,.22); border: 1px solid rgba(245,158,11,.6); color: #FCD34D; }
.nw-support { background: linear-gradient(90deg, #0EA5E9, #22D3FF); color: #03182b; box-shadow: 0 0 10px rgba(34,211,255,.6); }
@keyframes noticeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .notice-track { animation: none; } }
@media (max-width: 560px) { .notice-bar { margin: 8px 0; gap: 8px; } .notice-ico { width: 26px; height: 26px; font-size: 13px; } .notice-item { font-size: 11.5px; } }

/* Home: soft neon-blue light on the category chips (All Items, Games, ...) and the game cards */
.chips-bar .chips { padding: 8px 6px; margin: -6px -4px; } /* room so the glow isn't cut off by the scroll row */
.chips .chip { border-color: rgba(34,211,255,.22); box-shadow: 0 0 10px rgba(34,211,255,.10); }
.chips .chip:hover { border-color: rgba(34,211,255,.55); box-shadow: 0 0 14px rgba(34,211,255,.28); }
.chips .chip.active { background: linear-gradient(90deg, #1D6FF2, #0EA5E9); border-color: #22D3FF; box-shadow: 0 0 0 1px rgba(34,211,255,.5), 0 0 18px rgba(34,211,255,.5); }
.grid .card { border-color: rgba(34,211,255,.20); box-shadow: 0 0 14px rgba(34,211,255,.10); }
@media (hover: hover) {
  .grid .card:hover { border-color: #22D3FF; box-shadow: 0 0 0 1px rgba(34,211,255,.35), 0 0 22px rgba(34,211,255,.40), 0 14px 28px -8px rgba(0,0,0,.6); }
}
.empty-state {
  display: none; text-align: center; padding: 48px 16px; border: 1px dashed var(--border-strong); border-radius: var(--r-lg); margin-top: 28px; color: var(--muted);
}
.empty-state.show { display: block; animation: catIn 280ms var(--ease) both; }
.empty-state strong { display: block; color: var(--text); font-family: var(--font-text); font-weight: var(--fw-semibold); font-size: 17px; margin: 10px 0 4px; }
.empty-state .icon { width: 34px; height: 34px; margin: 0 auto; color: var(--brand-text); }
/* skeleton */
.skeleton { background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%); background-size: 300% 100%; animation: shimmer 1.3s linear infinite; border-radius: var(--r); }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
.sk-card { aspect-ratio: .78; }

/* ---------- why ---------- */
.why { margin-top: 72px; text-align: center; }
.why h2 { font-size: clamp(24px, 3.4vw, 34px); font-weight: var(--fw-semibold); letter-spacing: var(--track-display); }
.why h2 span { color: var(--brand-text); }
.why > p { color: var(--muted); max-width: 56ch; margin: 10px auto 0; }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 28px; text-align: left; }
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.why-card {
  display: flex; gap: 14px; padding: 18px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--border);
  transition: border-color var(--t-fast), transform var(--t-fast) var(--ease);
}
.why-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.why-card .ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.why-card .ico .icon { width: 20px; height: 20px; }
.why-card h3 { font-size: 15px; font-weight: var(--fw-semibold); }
.why-card p { margin: 5px 0 0; color: var(--muted); font-size: 13.5px; }
.tint-blue { background: rgba(59,130,246,.14); color: #7FB2FF; }
.tint-green { background: rgba(52,211,153,.13); color: #5EE0AE; }
.tint-amber { background: rgba(251,146,60,.13); color: #FDB27A; }
.tint-violet { background: rgba(167,139,250,.14); color: #BBA6FF; }

/* ---------- poster sections (Why band + reviews strip), full-bleed ---------- */
.why-band, .rv-section.rv-night { position: relative; width: 100vw; margin-left: calc(50% - 50vw); overflow: hidden; }
.why-band { margin-top: 64px; padding: 76px 0 84px; background: var(--brand); color: #fff;
  clip-path: polygon(0 34px, 100% 0, 100% calc(100% - 34px), 0 100%); }
.why-giant { position: absolute; left: max(16px, calc(50vw - var(--container) / 2)); top: 6px; font-family: var(--font-poster); font-weight: 400;
  font-size: clamp(110px, 17vw, 250px); line-height: .9; letter-spacing: .01em; color: rgba(255,255,255,.14); white-space: nowrap; pointer-events: none; }
.why-inner { position: relative; max-width: var(--container); margin: 0 auto; padding: 0 16px;
  display: grid; grid-template-columns: 1fr; gap: 26px; }
@media (min-width: 640px) { .why-inner { grid-template-columns: repeat(2, 1fr); gap: 30px 40px; } }
@media (min-width: 1000px) { .why-inner { grid-template-columns: repeat(4, 1fr); padding: 0 24px; } }
.why-item h3 { display: flex; align-items: baseline; gap: 12px; font-family: var(--font-poster); font-weight: 400; font-size: clamp(19px, 1.7vw, 24px); line-height: 1;
  letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.why-item h3 b { font-weight: 400; font-size: 56px; letter-spacing: .01em; }
.why-item p { margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.86); max-width: 34ch; }

/* reviews as a night-violet poster strip (applies wherever the reviews section is mounted) */
.rv-section.rv-night { margin-top: 0; margin-bottom: 0; padding: 46px 0 52px; color: #fff;
  background: radial-gradient(60% 70% at 78% 40%, rgba(37,99,235,.32), transparent 70%), linear-gradient(180deg, var(--bg) 0%, #0A1733 22%, #0B1A3F 50%, #0A1328 82%, #0A1328 100%); }
.why-band + .rv-section.rv-night { margin-top: -34px; padding-top: 80px; }
#emptyState + .rv-section.rv-night { margin-top: 56px; }
.rv-night::before { content: "VERIFIED"; position: absolute; right: -10px; top: 10px; font-family: var(--font-poster); font-size: clamp(120px, 18vw, 260px);
  line-height: .9; letter-spacing: .01em; color: rgba(110,168,255,.10); white-space: nowrap; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 35%, #000 70%, transparent 100%); }
.rv-night > * { position: relative; width: calc(100% - 32px); max-width: calc(var(--container) - 48px); margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .rv-night > * { width: calc(100% - 48px); } }
.rv-night .rv-head > div { display: flex; flex-direction: column; }
.rv-night .rv-sub { order: -1; margin: 0 0 8px; font-size: 11px; font-weight: var(--fw-semibold); letter-spacing: .28em; text-transform: uppercase; color: var(--brand-text); }
.rv-night .rv-title { font-family: var(--font-poster); font-weight: 400; font-size: clamp(34px, 5vw, 56px); line-height: .95; letter-spacing: .02em; text-transform: uppercase; }
.rv-night .rv-score { color: #C9D6EE; }
.rv-night .rv-write { background: transparent; color: #fff; border-color: rgba(110,168,255,.55); }
.rv-night .rv-write:hover { border-color: #fff; }
.rv-night .rv-card { background: rgba(7,13,32,.55); border: 1.5px solid rgba(110,168,255,.35); border-radius: 0; }
.rv-night .rv-card:hover { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 12px 30px -12px var(--brand-glow); }
.rv-night .rv-foot { border-top-color: rgba(110,168,255,.2); }
.rv-night .rv-text { color: #E3EAF7; }
.rv-night .rv-date, .rv-night .rv-prod { color: rgba(190,206,235,.6); }
.rv-night .rv-empty { background: rgba(7,13,32,.55); border: 1.5px dashed rgba(110,168,255,.45); border-radius: 0; color: #C9D6EE; }
.rv-night .rv-empty strong { color: #fff; font-family: var(--font-poster); font-weight: 400; font-size: 26px; letter-spacing: .05em; text-transform: uppercase; }
.rv-night > .rv-track { width: 100%; max-width: none; margin: 0; padding: 4px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.rv-night > .rv-track:not(.is-loop) { padding-left: max(16px, calc(50vw - var(--container) / 2 + 24px)); -webkit-mask-image: none; mask-image: none; }
@media (max-width: 560px) {
  /* phone: full giant word as the header, then a 2x2 poster grid */
  .why-band { margin-top: 36px; padding: 34px 0 56px; clip-path: polygon(0 18px, 100% 0, 100% calc(100% - 18px), 0 100%); }
  .why-giant { position: relative; display: block; left: auto; top: auto; padding: 0 16px; font-size: 22vw; line-height: .85;
    color: rgba(255,255,255,.2); margin-bottom: -14px; }
  .why-inner { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .why-item { border-top: 2px solid rgba(255,255,255,.45); padding-top: 10px; }
  .why-item h3 { flex-direction: column; align-items: flex-start; gap: 4px; white-space: normal; font-size: 17px; line-height: 1.05; }
  .why-item h3 b { font-size: 46px; line-height: .9; }
  .why-item p { margin-top: 6px; font-size: 12.5px; line-height: 1.45; }
  .why-band + .rv-section.rv-night { margin-top: -18px; padding-top: 56px; }
  .rv-night .rv-title { font-size: 12vw; line-height: .92; }
  .rv-night .rv-sub { letter-spacing: .14em; font-size: 10.5px; line-height: 1.5; }
}

/* ---------- Popular: big outlined word behind the heading (clipped inside the section, never wider than the screen) ---------- */
.pop-bigtext { position: relative; overflow: hidden; padding-top: 44px; margin-top: 4px; }
.pop-giant { position: absolute; left: 0; top: -0.04em; max-width: 100%; font-family: var(--font-poster); font-size: clamp(96px, 15vw, 210px); line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(110,168,255,.17); white-space: nowrap; pointer-events: none; z-index: 0; }
.pop-bigtext > .section-head, .pop-bigtext > .popular-grid { position: relative; z-index: 1; }
@media (max-width: 560px) { .pop-giant { font-size: 25vw; -webkit-text-stroke-width: 1.5px; } }

/* ---------- Announcement popup, poster style ---------- */
.ann-poster .modal-card { overflow: hidden; border: 1px solid rgba(110,168,255,.25); background: #070C1A; }
.ann-hero { position: relative; overflow: hidden; padding: 22px 22px 20px; color: #fff;
  background: radial-gradient(90% 120% at 100% 0%, rgba(31,175,84,.35), transparent 55%), linear-gradient(140deg, #1D4ED8 0%, #142F8A 55%, #0A1640 100%); }
.ann-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, #1FAF54, var(--brand-text)); }
.ann-giant { position: absolute; right: -10px; bottom: -0.22em; font-family: var(--font-poster); font-size: 150px; line-height: 1; letter-spacing: .02em;
  color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.18); pointer-events: none; }
.ann-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; border: 0; cursor: pointer;
  background: rgba(0,0,0,.25); color: #fff; transition: background var(--t-fast); }
.ann-x:hover { background: rgba(0,0,0,.45); }
.ann-x .icon { width: 17px; height: 17px; }
.ann-tag { display: inline-block; position: relative; font-family: var(--font-poster); font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
  background: #1FAF54; color: #fff; padding: 5px 12px 3px; transform: skewX(-12deg); box-shadow: 3px 3px 0 rgba(0,0,0,.35); }
.ann-tag > span { display: inline-flex; align-items: center; gap: 6px; transform: skewX(12deg); }
.ann-tag .icon { width: 14px; height: 14px; }
.ann-hero h3 { position: relative; margin: 14px 0 0; font-family: var(--font-poster); font-weight: 400; font-size: 52px; line-height: 1; letter-spacing: .02em; }
.ann-hero h3 em { font-style: normal; color: #86EFAC; }
.ann-hero p { position: relative; margin: 10px 0 0; max-width: 30ch; font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.85); }
.ann-body { padding: 18px 22px 20px; }
.ann-perks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 0; }
.ann-perks li { display: flex; align-items: center; gap: 14px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14.5px; color: #DCE3F0; }
.ann-perks li:last-child { border-bottom: 0; }
.ann-perks b { font-family: var(--font-poster); font-weight: 400; font-size: 26px; line-height: 1; color: rgba(110,168,255,.7); min-width: 30px; }
.ann-join { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 52px; border-radius: 12px; background: #1FAF54; color: #fff;
  font-weight: var(--fw-semibold); font-size: 16px; box-shadow: 0 14px 30px -10px rgba(31,175,84,.7); transition: transform var(--t-fast) var(--ease), background var(--t-fast); }
.ann-join .icon { width: 20px; height: 20px; }
.ann-join:hover { background: #179447; transform: translateY(-2px); }
.ann-poster .modal-foot { background: rgba(255,255,255,.02); }
@media (max-width: 560px) {
  .ann-hero { padding: 18px 18px 16px; }
  .ann-hero h3 { font-size: 44px; }
  .ann-giant { font-size: 120px; }
  .ann-body { padding: 14px 18px 16px; }
}

/* ---------- Footer, poster style (matches reviews/FAQ) ---------- */
.site-footer.foot-poster { position: relative; overflow: hidden; margin-top: 0; border-top: 2px solid var(--brand);
  background: radial-gradient(60% 120% at 85% 0%, rgba(59,130,246,.16), transparent 60%), linear-gradient(180deg, #0A1328, #050811); }
.foot-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 40px; padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,.08); }
.foot-cta-h { font-family: var(--font-poster); font-size: clamp(40px, 5.4vw, 72px); line-height: .9; letter-spacing: .02em; color: #fff; }
.foot-cta-h em { font-style: normal; color: var(--brand-text); }
.foot-cta-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; background: var(--brand); color: #fff; font-weight: var(--fw-semibold);
  font-size: 15px; border-radius: 10px; box-shadow: 0 12px 28px -10px var(--brand-glow); transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast); }
.foot-cta-btn .icon { width: 17px; height: 17px; }
.foot-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px var(--brand-glow); }
.foot-poster .footer-grid { position: relative; z-index: 1; }
.foot-poster h4 { display: inline-block; font-family: var(--font-poster); font-weight: 400; font-size: 22px; letter-spacing: .06em; color: #fff;
  padding-bottom: 6px; margin-bottom: 14px; border-bottom: 3px solid var(--brand); }
.foot-poster .footer-links a { display: inline-flex; align-items: center; gap: 6px; transition: color var(--t-fast), transform var(--t-fast) var(--ease); }
.foot-poster .footer-links a::before { content: "›"; color: var(--brand-text); font-weight: 700; opacity: .6; transition: opacity var(--t-fast); }
.foot-poster .footer-links li > a::before { content: none; }
.foot-poster .footer-links a:hover { transform: translateX(3px); }
.foot-poster .footer-links a:hover::before { opacity: 1; }
.foot-poster .socials a { border-radius: 10px; transition: background var(--t-fast), color var(--t-fast), transform var(--t-fast) var(--ease); }
.foot-poster .socials a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }
.foot-poster .pay-chips span { border-color: rgba(110,168,255,.35); background: rgba(37,99,235,.1); color: #DCE7FF; }
.foot-giant { position: relative; z-index: 0; max-width: var(--container); margin: 6px auto 0; padding: 0 24px; font-family: var(--font-poster);
  font-size: clamp(64px, 13.5vw, 196px); line-height: .9; letter-spacing: .02em; white-space: nowrap; overflow: hidden; color: transparent;
  -webkit-text-stroke: 1.5px rgba(110,168,255,.22); pointer-events: none; user-select: none; }
.foot-poster .footer-bottom { position: relative; z-index: 1; }
@media (max-width: 560px) {
  .foot-cta { padding-top: 26px; padding-bottom: 20px; gap: 14px; }
  .foot-cta-h { font-size: 13vw; }
  .foot-cta-btn { width: 100%; justify-content: center; }
  .foot-poster .footer-grid { padding-top: 24px; gap: 22px 18px; }
  .foot-poster h4 { font-size: 18px; margin-bottom: 10px; }
  .foot-giant { font-size: 15vw; margin-top: 2px; padding: 0 16px; }
  /* shorter: payments full width with chips in one row, drop the extra lines */
  .foot-poster .footer-grid > :first-child p { font-size: 13px; margin-top: 8px; }
  .foot-poster .footer-grid > :nth-child(3) > p { display: none; }
  .foot-poster .footer-grid > :last-child { grid-column: 1 / -1; }
  .foot-poster .footer-grid > :last-child > p:first-of-type { display: none; }
  .foot-poster .pay-chips { flex-wrap: nowrap; gap: 6px; }
  .foot-poster .pay-chips span { font-size: 12px; padding: 6px 9px; white-space: nowrap; }
  .foot-poster .footer-links { gap: 7px; }
  .foot-poster .footer-bottom { padding-top: 12px; }
}

/* ---------- FAQ as a poster section (full-bleed, numbered list) ---------- */
.home-faq.faq-poster { position: relative; width: 100vw; max-width: none; margin: 0 0 0 calc(50% - 50vw); padding: 86px 0 90px; overflow: hidden;
  background: linear-gradient(180deg, #0A1328 0%, #070B16 100%); counter-reset: faq; }
.faq-giant { position: absolute; right: -0.04em; top: -0.12em; font-family: var(--font-poster); font-size: clamp(200px, 30vw, 440px); line-height: 1;
  color: transparent; -webkit-text-stroke: 2px rgba(110,168,255,.22); pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%); }
.faq-wrap { position: relative; max-width: var(--container); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr; gap: 34px; }
@media (min-width: 900px) { .faq-wrap { grid-template-columns: 400px 1fr; gap: 70px; } .faq-side { position: sticky; top: 110px; align-self: start; } }
.faq-eyebrow { display: block; font-size: 11px; font-weight: var(--fw-semibold); letter-spacing: .28em; text-transform: uppercase; color: var(--brand-text); }
.home-faq.faq-poster h2 { margin: 10px 0 0; text-align: left; font-family: var(--font-poster); font-weight: 400; font-size: clamp(52px, 5.4vw, 78px); line-height: .98; letter-spacing: .02em; }
.home-faq.faq-poster h2 em { display: block; margin-top: .04em; font-style: normal; color: var(--brand-text); }
.home-faq.faq-poster .home-faq-sub { text-align: left; margin: 16px 0 0; max-width: 32ch; }
.faq-wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 11px 18px; border: 2px solid var(--brand); color: #fff;
  font-weight: var(--fw-semibold); font-size: 14px; box-shadow: 5px 5px 0 var(--brand); transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease); }
.faq-wa:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--brand); }
.faq-poster .faq-lg { margin: 0; border-top: 2px solid rgba(255,255,255,.18); }
.faq-poster .faq-lg details { margin: 0; border: 0; border-bottom: 2px solid rgba(255,255,255,.12); border-radius: 0; background: transparent; counter-increment: faq; }
.faq-poster .faq-lg details[open] { border-bottom-color: var(--brand); }
.faq-poster .faq-lg summary { display: grid; grid-template-columns: 64px 1fr 34px; align-items: center; gap: 14px; padding: 20px 0; font-size: 17px; }
.faq-poster .faq-lg summary::before { content: counter(faq, decimal-leading-zero); font-family: var(--font-poster); font-weight: 400; font-size: 40px; line-height: 1;
  color: rgba(110,168,255,.45); transition: color var(--t-fast); }
.faq-poster .faq-lg details[open] summary::before, .faq-poster .faq-lg summary:hover::before { color: var(--brand-text); }
.faq-poster .faq-lg summary .icon { display: none; }
.faq-poster .faq-lg summary::after { content: "+"; width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.3);
  font-size: 20px; font-weight: 400; line-height: 1; transition: background var(--t-fast), border-color var(--t-fast); }
.faq-poster .faq-lg details[open] summary::after { content: "\2212"; background: var(--brand); border-color: var(--brand); }
.faq-poster .faq-lg summary:focus-visible { outline: 2px solid var(--brand-text); outline-offset: 2px; border-radius: 0; }
.faq-poster .faq-lg details p { padding: 0 48px 24px 78px; color: #B8C2D6; font-size: 15px; line-height: 1.7; }
@media (max-width: 560px) {
  /* phone: compact */
  .home-faq.faq-poster { padding: 36px 0 40px; }
  .faq-wrap { padding: 0 16px; gap: 14px; display: flex; flex-direction: column; }
  .faq-side { display: contents; }
  .faq-giant { font-size: 30vw; top: -0.06em; }
  .faq-eyebrow { font-size: 10px; letter-spacing: .22em; order: 1; }
  .home-faq.faq-poster h2 { font-size: 11vw; margin-top: -6px; order: 2; }
  .home-faq.faq-poster h2 em { display: inline; margin-left: .2em; }
  .home-faq.faq-poster .home-faq-sub { display: none; }
  .faq-poster .faq-lg { order: 3; margin-top: 4px; }
  .faq-wa { order: 4; align-self: flex-start; margin-top: 6px; padding: 9px 14px; font-size: 13px; box-shadow: 4px 4px 0 var(--brand); }
  .faq-poster .faq-lg summary { grid-template-columns: 30px 1fr 26px; gap: 10px; padding: 12px 0; font-size: 14px; line-height: 1.35; }
  .faq-poster .faq-lg summary::before { font-size: 22px; }
  .faq-poster .faq-lg summary::after { width: 26px; height: 26px; font-size: 17px; }
  .faq-poster .faq-lg details p { padding: 0 2px 14px 40px; font-size: 13.5px; line-height: 1.6; }
}

/* trust band (text statements, no invented numbers) */
.trust {
  margin-top: 16px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; overflow: hidden;
  border-radius: var(--r-lg); border: 1px solid var(--border); background: var(--border);
}
@media (min-width: 1000px) { .trust { grid-template-columns: repeat(4, 1fr); } }
.trust div { background: var(--surface); padding: 20px 14px; text-align: center; }
.trust b { display: block; font-family: var(--font-display); font-size: clamp(20px, 3vw, 28px); font-weight: var(--fw-semibold); letter-spacing: var(--track-title); font-variant-numeric: tabular-nums; color: var(--text); }
.trust span { font-size: 11.5px; font-weight: var(--fw-semibold); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { margin-top: 80px; border-top: 1px solid var(--border); background: linear-gradient(var(--surface), var(--bg)); }
.footer-grid { display: grid; gap: 28px; padding-top: 44px; padding-bottom: 28px; grid-template-columns: 1fr 1fr; }
.footer-grid > :first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.3fr; } .footer-grid > :first-child { grid-column: auto; } }
.site-footer h4 { font-size: 13px; font-weight: var(--fw-semibold); letter-spacing: var(--track-caps); text-transform: uppercase; margin-bottom: 14px; }
.site-footer p { color: var(--muted); font-size: 14px; margin: 12px 0 0; max-width: 34ch; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-links a { color: var(--muted); font-size: 14px; transition: color var(--t-fast); }
.footer-links a:hover { color: var(--brand-text); }
.footer-links li { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 14px; }
.socials { display: flex; gap: 8px; margin-top: 16px; }
.socials a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border); color: var(--muted); transition: all var(--t-fast) var(--ease); }
.socials a:hover { color: #fff; background: var(--brand); border-color: var(--brand); transform: translateY(-2px); }
.pay-logos { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-logos span { background: #fff; border-radius: 8px; padding: 5px 8px; height: 34px; display: grid; place-items: center; }
.pay-logos img { height: 22px; width: auto; }
.pay-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.pay-chips span { font-size: 12.5px; font-weight: var(--fw-semibold); padding: 6px 11px; border-radius: 8px; border: 1px solid var(--border-strong); color: var(--text); background: var(--surface-2); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 16px; padding-bottom: 90px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: 13px; color: var(--faint); }
.footer-bottom nav { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--text); }
@media (min-width: 900px) { .footer-bottom { padding-bottom: 20px; } }
.footer-bottom.container { border-top: 0; box-shadow: inset 0 1px 0 var(--border); }

/* ---------- floating support ---------- */
.fab-wrap { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
  pointer-events: none; } /* the wrapper box is as big as the (closed) menu: let taps pass through to the page */
.fab-wrap .fab, .fab-open .fab-menu { pointer-events: auto; }
.has-buybar .fab-wrap { bottom: 86px; }
@media (min-width: 900px) { .has-buybar .fab-wrap { bottom: 16px; } .fab-wrap { right: 24px; bottom: 24px; } }
.fab {
  width: 54px; height: 54px; border-radius: 16px; border: 0; cursor: pointer; display: grid; place-items: center;
  background: var(--brand); color: #fff; box-shadow: 0 12px 26px -8px var(--brand-glow);
  animation: fabIn 500ms var(--ease) 600ms both; transition: transform var(--t-fast) var(--ease), background var(--t-fast);
}
.fab:hover { transform: translateY(-2px) scale(1.04); }
.fab .icon { width: 24px; height: 24px; transition: transform var(--t-fast) var(--ease), opacity var(--t-fast); }
.fab .i-close { position: absolute; opacity: 0; transform: rotate(-90deg); }
.fab-open .fab .i-chat { opacity: 0; transform: rotate(90deg); }
.fab-open .fab .i-close { opacity: 1; transform: none; }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 var(--brand-glow); animation: ring 2.6s ease-out 1.4s 3; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 var(--brand-glow); } 80%, 100% { box-shadow: 0 0 0 14px transparent; } }
@keyframes fabIn { from { opacity: 0; transform: translateY(16px) scale(.9); } to { opacity: 1; transform: none; } }
.fab-menu { display: flex; flex-direction: column; gap: 8px; padding: 8px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border-strong); box-shadow: var(--shadow);
  transform-origin: bottom right; opacity: 0; transform: translateY(8px) scale(.96); visibility: hidden; transition: all var(--t-fast) var(--ease); }
.fab-open .fab-menu { opacity: 1; transform: none; visibility: visible; }
.fab-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 11px; background: var(--surface); border: 1px solid var(--border); min-width: 220px; transition: border-color var(--t-fast), background var(--t-fast); }
.fab-menu a:hover { border-color: var(--border-strong); background: var(--surface-3); }
.fab-menu .ico { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; }
.fab-menu strong { display: block; font-size: 14px; }
.fab-menu small { color: var(--muted); font-size: 12px; }
.ico-wa { background: #1FAF54; color: #fff; }
.ico-fb { background: #1877F2; color: #fff; }

/* ---------- announcement modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px;
  background: rgba(4, 7, 15, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity var(--t-fast) var(--ease), visibility var(--t-fast);
}
.modal.open { opacity: 1; visibility: visible; }
.modal-card {
  width: 100%; max-width: 480px; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); border: 1px solid var(--border-strong);
  box-shadow: 0 30px 60px -15px rgba(0,0,0,.75), 0 0 0 1px rgba(110,168,255,.06);
  opacity: 0; transform: translateY(10px) scale(.96); transition: transform var(--t-modal) var(--ease), opacity var(--t-modal) var(--ease);
}
.modal.open .modal-card { opacity: 1; transform: none; }
.modal-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.modal-head .ico { width: 38px; height: 38px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-text); display: grid; place-items: center; }
.modal-head h3 { font-size: 17px; font-weight: var(--fw-semibold); flex: 1; }
.modal-art { position: relative; height: 120px; background: radial-gradient(80% 140% at 80% 0%, rgba(31,175,84,.35), transparent 60%), linear-gradient(135deg, var(--surface-3), var(--surface)); display: flex; align-items: center; gap: 14px; padding: 0 20px; border-bottom: 1px solid var(--border); }
.modal-art .wa { width: 56px; height: 56px; border-radius: 16px; background: #1FAF54; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 24px -6px rgba(31,175,84,.6); }
.modal-art .wa .icon { width: 30px; height: 30px; }
.modal-art b { font-family: var(--font-display); font-size: 20px; line-height: 1.2; }
.modal-art b span { color: #5EE0AE; }
.modal-body { padding: 18px; }
.modal-body h4 { font-family: var(--font-text); font-size: 16px; }
.modal-body p { color: var(--muted); font-size: 14px; margin: 6px 0 16px; }
.modal-body ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 14px; color: var(--silver); }
.modal-body li { display: flex; align-items: center; gap: 9px; }
.modal-body li .icon { width: 16px; height: 16px; color: #5EE0AE; }
.modal-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-top: 1px solid var(--border); background: rgba(0,0,0,.18); }
.check { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-size: 13px; color: var(--muted); user-select: none; }
.check input { appearance: none; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--border-strong); background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: all var(--t-fast); margin: 0; flex: none; }
.check input:checked { background: var(--brand); border-color: var(--brand); }
.check input:checked::after { content: ""; width: 9px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.btn-wa { background: #1FAF54; color: #fff; box-shadow: 0 6px 18px -6px rgba(31,175,84,.6); }
.btn-wa:hover { background: #179447; transform: translateY(-1px); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- product page ---------- */
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--faint); margin: 18px 0 14px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }
.pd-layout { display: grid; gap: 16px; align-items: start; grid-template-columns: minmax(0, 1fr); }
.pd-layout > *, .pd-layout .step, .pd-layout .step-body { min-width: 0; }
@media (min-width: 960px) { .pd-layout { grid-template-columns: 360px minmax(0, 1fr); gap: 22px; } .pd-side { position: sticky; top: 84px; } }
@media (max-width: 959px) { /* phone: product header, then steps, then summary */
  .pd-layout > .pd-side { display: contents; }
  .pd-layout > .pd-side > .summary { order: 3; margin-top: 0; }
  .pd-layout > div:not(.pd-side) { order: 2; }
}
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.pd-head { display: flex; gap: 14px; padding: 16px; }
.pd-head img { width: 88px; height: 88px; border-radius: 16px; object-fit: cover; flex: none; border: 1px solid var(--border-strong); }
.pd-head h1 { font-size: 20px; font-weight: var(--fw-semibold); }
.pd-head .type { color: var(--muted); font-size: 13px; margin-top: 2px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: var(--fw-semibold); padding: 4px 9px; border-radius: 99px; border: 1px solid; }
.badge .icon { width: 13px; height: 13px; }
.badge.blue { color: var(--brand-text); border-color: rgba(110,168,255,.3); background: var(--brand-soft); }
.badge.green { color: #5EE0AE; border-color: rgba(52,211,153,.3); background: rgba(52,211,153,.1); }
.badge.amber { color: #FDB27A; border-color: rgba(251,146,60,.3); background: rgba(251,146,60,.1); }
.pd-note { display: flex; gap: 8px; align-items: flex-start; padding: 12px 16px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.pd-note .icon { width: 16px; height: 16px; color: var(--success); margin-top: 2px; }
.summary { margin-top: 16px; padding: 16px; }
.summary h3 { font-size: 16px; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.summary h3::before { content: ""; width: 4px; height: 18px; border-radius: 4px; background: var(--brand); }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; padding: 6px 0; }
.sum-row span { color: var(--muted); }
.sum-row b { text-align: right; font-weight: var(--fw-semibold); }
.total { display: flex; align-items: center; justify-content: space-between; margin: 14px 0; padding: 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--border); }
.total span { font-size: 11.5px; font-weight: var(--fw-semibold); letter-spacing: var(--track-caps); color: var(--muted); text-transform: uppercase; }
.total b { font-family: var(--font-display); font-size: 24px; color: var(--brand-text); transition: transform var(--t-fast) var(--ease); }
.total b.bump { animation: bump 380ms var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); } }
.guarantee { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 12px; font-size: 12.5px; color: var(--muted); }
.guarantee .icon { width: 15px; height: 15px; color: var(--success); }

.step { overflow: hidden; }
.step + .step { margin-top: 16px; }
.step-head { display: flex; align-items: center; gap: 14px; border-bottom: 1px solid var(--border); padding-right: 16px; }
.step-num { width: 50px; height: 50px; display: grid; place-items: center; background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: var(--fw-semibold); font-size: 19px; flex: none; }
.step-head h2 { font-size: 16px; font-weight: var(--fw-semibold); flex: 1; }
.step-head .help { font-size: 13px; color: var(--brand-text); font-weight: var(--fw-semibold); display: inline-flex; align-items: center; gap: 5px; cursor: pointer; background: none; border: 0; }
.step-body { padding: 16px; }
.fields { display: grid; gap: 14px; }
@media (min-width: 640px) { .fields.two { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 13px; font-weight: var(--fw-semibold); margin-bottom: 7px; }
.field label em { color: var(--error); font-style: normal; }
.input, .select {
  width: 100%; height: 46px; padding: 0 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); outline: none;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
}
.input::placeholder { color: var(--faint); }
.input:focus, .select:focus { border-color: var(--brand-text); background: var(--surface-3); box-shadow: 0 0 0 3px var(--brand-soft); }
.input.invalid { border-color: var(--error); box-shadow: 0 0 0 3px rgba(248,113,113,.12); }
.field .hint { font-size: 12px; color: var(--faint); margin-top: 6px; }
.field .err { font-size: 12px; color: var(--error); margin-top: 6px; display: none; }
.field.has-err .err { display: block; }
.secure-box { display: flex; gap: 12px; padding: 14px; border-radius: 12px; background: rgba(251,146,60,.07); border: 1px solid rgba(251,146,60,.25); font-size: 13.5px; color: var(--silver); margin-bottom: 14px; }
.secure-box .icon { color: #FDB27A; width: 20px; height: 20px; margin-top: 1px; }
.secure-box b { color: var(--text); }
.info-box { display: flex; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--brand-soft); border: 1px solid rgba(110,168,255,.22); font-size: 13.5px; color: var(--silver); margin-bottom: 14px; }
.info-box .icon { color: var(--brand-text); margin-top: 2px; }
.sub-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.sub-chips .chip { height: 32px; font-size: 12.5px; }
/* phone: product filter chips as one swipeable row instead of uneven wrapped rows; edges fade so it reads as scrollable */
@media (max-width: 640px) {
  #subChips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding: 0 16px;
    margin: 0 -16px 14px; padding: 2px 16px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 28px), transparent); }
  #subChips::-webkit-scrollbar { display: none; }
  #subChips .chip { flex: none; scroll-snap-align: start; white-space: nowrap; }
}
.pkg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .pkg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pkg {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 92px; padding: 14px 10px;
  border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); cursor: pointer; text-align: center;
  transition: border-color var(--t-fast), background var(--t-fast), transform var(--t-press) var(--ease), box-shadow var(--t-fast);
}
.pkg:hover { border-color: rgba(110,168,255,.45); background: var(--surface-3); }
.pkg-img { transition: transform var(--t-fast) var(--ease), filter var(--t-fast); }
/* Hover glow (mouse only, so taps on phones don't leave a stuck hover) */
@media (hover: hover) {
  .pkg:hover:not(.selected) { transform: translateY(-2px); border-color: rgba(110,168,255,.75);
    background: radial-gradient(circle at 28% 18%, rgba(59,130,246,.22), transparent 45%), linear-gradient(145deg, #13203d, #0b1222);
    box-shadow: 0 0 16px rgba(59,130,246,.28), 0 12px 24px rgba(0,0,0,.25); }
  .pkg:hover .pkg-img { transform: scale(1.06); }
}
.pkg:active { transform: scale(.97); }
.pkg .gem { width: 26px; height: 26px; color: var(--brand-text); }
.pkg strong { font-size: 13.5px; font-weight: var(--fw-semibold); line-height: 1.3; }
.pkg .price { font-family: var(--font-text); font-weight: var(--fw-semibold); font-size: 14px; color: var(--brand-text); }
.pkg .price.na { font-family: var(--font-ui); font-size: 12px; color: var(--muted); font-weight: var(--fw-semibold); }
/* Selected: neon blue glow card, glowing price, pop-in ring */
.pkg.selected { transform: translateY(-2px); border-color: #22D3FF;
  background: radial-gradient(circle at 28% 18%, rgba(34,211,255,.26), transparent 44%), radial-gradient(circle at 86% 86%, rgba(59,91,255,.30), transparent 46%), linear-gradient(145deg, #0a2a4a, #0d1433);
  box-shadow: 0 0 0 1px #22D3FF, 0 0 24px rgba(34,211,255,.55), 0 0 48px rgba(34,211,255,.18), 0 12px 26px rgba(0,0,0,.3); animation: pkgGlow .45s var(--ease); }
.pkg.selected .price { color: #7DF3FF; text-shadow: 0 0 10px rgba(34,211,255,.75), 0 0 20px rgba(34,211,255,.35); }
.pkg.selected .pkg-img { transform: scale(1.08); filter: drop-shadow(0 0 10px rgba(34,211,255,.55)) drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
@keyframes pkgGlow { 0% { box-shadow: 0 0 0 1px #22D3FF, 0 0 0 0 rgba(34,211,255,.7); } 60% { box-shadow: 0 0 0 1px #22D3FF, 0 0 0 9px rgba(34,211,255,0), 0 0 24px rgba(34,211,255,.55); } 100% { box-shadow: 0 0 0 1px #22D3FF, 0 0 24px rgba(34,211,255,.55), 0 0 48px rgba(34,211,255,.18), 0 12px 26px rgba(0,0,0,.3); } }
@media (prefers-reduced-motion: reduce) { .pkg.selected { animation: none; } .pkg.selected, .pkg:hover { transform: none !important; } }
.pkg.selected::after { content: ""; position: absolute; top: 8px; right: 8px; width: 16px; height: 16px; border-radius: 50%; box-shadow: 0 0 10px rgba(34,211,255,.8); background: #0EA5E9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 10px no-repeat; animation: popIn var(--t-fast) var(--ease); }
.pkg.oos { opacity: .45; cursor: not-allowed; }
@keyframes popIn { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
.pkg-img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; margin-bottom: 2px; }
/* Per-package item icons (transparent PNG/WebP): show whole, a little larger, no crop. */
.pkg-img.is-icon { width: 52px; height: 52px; border-radius: 0; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }.pay-list { display: grid; gap: 10px; }
.pay-list .pay-opt { width: 100%; text-align: left; font: inherit; color: inherit; }
.pay-ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-text); flex: none; }
.pay-txt { min-width: 0; }
.pay-mini { display: flex; gap: 5px; margin-top: 6px; }
.pay-mini img { height: 18px; width: auto; background: #fff; border-radius: 4px; padding: 2px 4px; }
/* Fonepay's official logo has white "pay" text, made for dark backgrounds. */
.pay-mini img[src$="fonepay.webp"] { height: 20px; background: none; padding: 0; border-radius: 0; }
.pay-amt { margin-left: auto; font-family: var(--font-text); font-weight: var(--fw-semibold); color: var(--brand-text); font-size: 15px; white-space: nowrap; }
.pay-list .radio { margin-left: 4px; }
.promo { display: flex; gap: 8px; flex-wrap: wrap; }
.promo-input { position: relative; flex: 1 1 220px; }
.promo-input .icon { position: absolute; left: 13px; top: 14px; color: var(--faint); }
.promo-input .input { padding-left: 40px; text-transform: uppercase; }
.promo-input .input::placeholder { text-transform: none; }
.promo .btn { height: 46px; }
.pay-grid { display: grid; gap: 10px; }
@media (min-width: 640px) { .pay-grid { grid-template-columns: 1fr 1fr; } }
.pay-opt { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.pay-opt:hover { border-color: rgba(110,168,255,.45); }
.pay-opt.selected { border-color: var(--brand-text); box-shadow: 0 0 0 1px var(--brand-text); background: var(--surface-3); }
.pay-opt .logo { width: 64px; height: 36px; border-radius: 8px; background: #fff; display: grid; place-items: center; padding: 4px 6px; flex: none; }
.pay-opt .logo img { max-height: 26px; width: auto; }
.pay-opt strong { font-size: 14px; display: block; }
.pay-opt small { color: var(--muted); font-size: 12px; }
.pay-opt .radio { margin-left: auto; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border-strong); flex: none; transition: all var(--t-fast); }
.pay-opt.selected .radio { border-color: var(--brand-text); box-shadow: inset 0 0 0 4px var(--surface-3); background: var(--brand-text); }

/* ---------- Product page: payment step (GSN-style block in UNIX blue) ---------- */
.pm { border-radius: 22px; padding: 12px; margin-bottom: 18px; background: linear-gradient(180deg, rgba(37,99,235,.10), rgba(37,99,235,.02)); border: 1px solid rgba(80,140,255,.45); box-shadow: 0 0 0 1px rgba(37,99,235,.15) inset, 0 20px 50px rgba(0,0,0,.35); }
.pm-head { display: flex; align-items: center; gap: 14px; padding: 11px 16px; border-radius: 16px; background: linear-gradient(90deg, #1D4ED8, #2563EB 45%, #4F46E5); border: 1px solid rgba(160,190,255,.45); }
.pm-num { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none; font-family: var(--font-display); font-weight: 800; font-size: 19px; color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); }
.pm-head h2 { font-size: 17px; color: #fff; flex: 1; }
.pm-chev { color: #BFD4FF; font-weight: 800; letter-spacing: -3px; font-size: 22px; }
.pm-list { display: grid; gap: 12px; padding: 14px 4px 4px; }
.pm .pay-list { display: grid; gap: 12px; }
.pm .pm-opt { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 18px; border: 1px solid var(--border-strong); background: linear-gradient(180deg, #0f1a33, #0b1326); }
.pm .pm-opt:hover { border-color: rgba(110,168,255,.55); }
.pm .pm-opt.selected { border-color: #22D3FF; box-shadow: 0 0 0 1px #22D3FF inset, 0 0 24px rgba(34,211,255,.5), 0 0 48px rgba(34,211,255,.16);
  background: radial-gradient(circle at 18% 20%, rgba(34,211,255,.18), transparent 45%), radial-gradient(circle at 90% 90%, rgba(59,91,255,.22), transparent 50%), linear-gradient(145deg, #0a2a4a, #0d1433); }
.pm .pm-opt.selected .pm-amt { color: #7DF3FF; text-shadow: 0 0 10px rgba(34,211,255,.7); }
.pm-tile { width: 56px; height: 56px; border-radius: 14px; background: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 6px 18px rgba(0,0,0,.35); }
.pm-tile svg { width: 32px; height: 32px; }
.pm-tile img { width: 46px; height: auto; }
.pm-tile.sm { width: 46px; height: 46px; } .pm-tile.sm svg { width: 28px; height: 28px; }
/* Payment cards: wide white tiles so the full Fonepay logo fits (fonepay-light.webp has a dark "pay" for white). */
.pm-tile.wide { width: 84px; }
.pm-tile.wide img { width: 68px; }
.pm-txt { flex: 1; min-width: 0; }
.pm .pm-txt strong { display: block; font-size: 16px; }
.pm .pm-txt small { color: var(--muted); font-size: 12.5px; }
.pm-apps { display: flex; gap: 6px; margin-top: 7px; flex-wrap: wrap; }
.pm-apps span { font-size: 10.5px; padding: 3px 7px; border-radius: 6px; background: rgba(255,255,255,.08); color: #cfd8ea; }
.pm-pill { display: inline-flex; flex-direction: column; align-items: center; font-size: 11px; font-weight: 700; padding: 5px 10px; border-radius: 99px; line-height: 1.2; text-align: center; white-space: nowrap; flex: none; }
.pm-pill.green { background: linear-gradient(90deg, #0EA5E9, #22D3FF); color: #03182b; box-shadow: 0 0 12px rgba(34,211,255,.55); }
.pm-pill.blue { background: rgba(110,168,255,.16); color: #9cc2ff; border: 1px solid rgba(110,168,255,.4); }
.pm-amt { font-weight: 700; font-size: 16px; color: #fff; white-space: nowrap; margin-right: 4px; }
.pm-tick { position: absolute; right: -8px; top: -8px; width: 32px; height: 32px; border-radius: 50%; background: #0EA5E9; color: #fff; display: grid; place-items: center; border: 3px solid #0b1433; box-shadow: 0 0 0 2px #22D3FF, 0 0 14px rgba(34,211,255,.7); opacity: 0; transform: scale(.6); transition: opacity var(--t-fast), transform var(--t-fast); }
.pm-tick .icon { width: 16px; height: 16px; stroke-width: 3.2; }
.pm .pm-opt.selected .pm-tick { opacity: 1; transform: none; }
.pm-tip { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; border: 1px dashed rgba(110,168,255,.35); background: rgba(37,99,235,.06); }
.pm-tip-t { flex: 1; font-size: 13px; color: var(--muted); }
.pm-tip-t b { color: #FCD34D; display: block; font-size: 14px; margin-bottom: 2px; }
.pm-tip-btn { height: 38px; padding: 0 16px; flex: none; }
.pm-promo { border-radius: 18px; border: 1px solid rgba(245,158,11,.4); background: linear-gradient(90deg, rgba(245,158,11,.10), rgba(245,158,11,.02)); }
.pm-promo-row { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: none; border: 0; color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.pm-promo-row strong { flex: 1; font-size: 15px; } .pm-promo-row small { color: var(--muted); font-weight: 500; }
.pm-gift { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 2px solid #38BDF8; color: #fff; flex: none; }
.pm-caret { font-size: 24px; color: #fff; transition: transform var(--t-fast); }
.pm-promo.open .pm-caret { transform: rotate(90deg); }
.pm-promo-box { padding: 0 16px 16px; }
@media (max-width: 560px) {
  .pm { padding: 10px; }
  .pm-head h2 { font-size: 15.5px; }
  .pm .pm-opt { padding: 14px 12px; gap: 11px; margin-top: 6px; }
  .pm-tile { width: 48px; height: 48px; }
  .pm-tile.wide { width: 70px; } .pm-tile.wide img { width: 58px; }
  .pm-pill { position: absolute; top: -12px; right: 38px; flex-direction: row; padding: 4px 9px; }
  .pm-pill .l2::before { content: "\00a0· "; }
  .pm-tip { flex-wrap: wrap; gap: 10px 12px; }
  .pm-tip-t { flex: 1 1 calc(100% - 60px); }
  .pm-tip-btn { margin-left: 58px; }
}
.pm-pill .l2 { display: block; }
@media (max-width: 560px) { .pm-pill .l2 { display: inline; } }
.desc { padding: 18px; margin-top: 16px; }
.desc h2 { font-size: 17px; margin-bottom: 10px; }
.desc .text { color: var(--muted); font-size: 14px; white-space: pre-line; }
.howto { display: grid; gap: 10px; margin-top: 14px; }
@media (min-width: 640px) { .howto { grid-template-columns: repeat(4, 1fr); } }
.howto div { padding: 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.howto b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--brand-soft); color: var(--brand-text); font-family: var(--font-display); margin-bottom: 8px; }
.howto strong { display: block; font-size: 14px; }
.howto span { font-size: 13px; color: var(--muted); }
.faq { margin-top: 10px; }
.faq details { border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); margin-top: 8px; overflow: hidden; }
.faq summary { padding: 14px 16px; cursor: pointer; font-weight: var(--fw-semibold); font-size: 14px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform var(--t-fast) var(--ease); color: var(--muted); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { margin: 0; padding: 0 16px 14px; color: var(--muted); font-size: 14px; }
.faq details p a { color: var(--brand-text); }
/* Home page FAQ (centred card, larger rows) */
.home-faq { max-width: 900px; margin: 56px auto 8px; padding: clamp(24px, 4vw, 44px) clamp(16px, 4vw, 40px); }
.home-faq h2 { font-family: var(--font-display); font-size: clamp(24px, 3.2vw, 34px); font-weight: var(--fw-semibold); letter-spacing: var(--track-display); text-align: center; margin: 0; }
.home-faq-sub { text-align: center; color: var(--muted); margin: 8px 0 26px; font-size: 15px; }
.faq-lg details { margin-top: 12px; border-radius: 14px; transition: border-color var(--t-fast) var(--ease); }
.faq-lg details:hover, .faq-lg details[open] { border-color: var(--border-strong); }
.faq-lg summary { padding: 18px 22px; font-size: 15.5px; font-weight: var(--fw-semibold); }
.faq-lg summary .icon { flex: none; width: 18px; height: 18px; }
.faq-lg summary:focus-visible { outline: 2px solid var(--brand-text); outline-offset: -2px; border-radius: 14px; }
.faq-lg details p { padding: 0 22px 20px; font-size: 14.5px; line-height: 1.65; }
/* sticky mobile buy bar */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(10,15,28,.92); backdrop-filter: blur(14px); border-top: 1px solid var(--border-strong); transform: translateY(100%); transition: transform var(--t-modal) var(--ease); }
.buybar.show { transform: none; }
.buybar .p small { display: block; font-size: 11px; color: var(--muted); font-weight: var(--fw-semibold); letter-spacing: var(--track-caps); text-transform: uppercase; }
.buybar .p b { font-family: var(--font-display); font-size: 19px; color: var(--brand-text); }
.buybar .btn { margin-left: auto; height: 46px; padding: 0 22px; }
@media (min-width: 960px) { .buybar { display: none; } }

/* ---------- simple pages (auth, contact, checkout) ---------- */
.page-narrow { max-width: 440px; margin: 40px auto 0; }
.auth-card { padding: 26px 22px; }
.auth-card h1 { font-size: 24px; font-weight: var(--fw-semibold); letter-spacing: var(--track-title); }
.auth-card > p { color: var(--muted); margin: 6px 0 22px; font-size: 14px; }
.auth-card .fields { gap: 14px; }
.auth-alt { text-align: center; font-size: 14px; color: var(--muted); margin-top: 18px; }
.auth-alt a { color: var(--brand-text); font-weight: var(--fw-semibold); }
.pw-wrap { position: relative; }
.pw-wrap .icon-btn { position: absolute; right: 5px; top: 5px; }
.notice { display: none; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; margin-top: 14px; }
.notice.show { display: flex; animation: catIn 280ms var(--ease); }
.notice.warn { background: rgba(251,146,60,.08); border: 1px solid rgba(251,146,60,.3); color: #FFD3B0; }
.notice.ok { background: rgba(52,211,153,.08); border: 1px solid rgba(52,211,153,.3); color: #B6F2DA; }
.notice .icon { margin-top: 1px; }
.page-title { margin: 34px 0 6px; font-size: clamp(24px, 3.4vw, 32px); font-weight: var(--fw-semibold); letter-spacing: var(--track-display); }
.page-sub { color: var(--muted); margin: 0 0 24px; }
.contact-grid { display: grid; gap: 14px; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-card { padding: 20px; display: flex; flex-direction: column; gap: 10px; transition: transform var(--t-fast) var(--ease), border-color var(--t-fast); }
.contact-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.contact-card .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; }
.contact-card h3 { font-size: 16px; }
.contact-card p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
.co-layout { display: grid; gap: 16px; align-items: start; }
@media (min-width: 960px) { .co-layout { grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; } .co-layout .pd-side { position: sticky; top: 84px; } }
.co-item { display: flex; gap: 12px; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 10px; }
.co-item img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.co-item strong { display: block; }
.co-item span { font-size: 13px; color: var(--muted); }
.legal { padding: 22px; color: var(--muted); font-size: 14.5px; }
.legal ul { padding-left: 20px; margin: 6px 0 10px; } .legal li { margin: 4px 0; }
/* Contact page (GSN-style channel list, UNIX neon blue) */
.ct-hero { text-align: center; padding: 34px 0 18px; }
.ct-badge { width: 78px; height: 78px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 20px; color: #22D3FF;
  border: 2px solid #22D3FF; background: radial-gradient(circle at 50% 30%, rgba(34,211,255,.18), rgba(10,18,40,.9)); box-shadow: 0 0 22px rgba(34,211,255,.45), 0 0 0 1px rgba(34,211,255,.2) inset; }
.ct-badge .icon { width: 38px; height: 38px; stroke-width: 2.2; }
.ct-title { font-family: var(--font-display); font-size: clamp(34px, 6vw, 46px); font-weight: 800; letter-spacing: -.02em; margin: 0; }
.ct-sub { font-size: 18px; color: #B8C2D6; margin: 8px 0 0; } .ct-sub b { color: #22D3FF; text-shadow: 0 0 12px rgba(34,211,255,.5); }
.ct-text { max-width: 520px; margin: 14px auto 0; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.ct-list { display: grid; gap: 14px; margin-top: 12px; }
.ct-row { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 18px; color: var(--text); text-decoration: none;
  background: linear-gradient(180deg, #111a2e, #0b1222); border: 1px solid var(--border-strong); transition: transform var(--t-fast) var(--ease), border-color var(--t-fast), box-shadow var(--t-fast); }
.ct-row:hover { transform: translateY(-2px); border-color: rgba(34,211,255,.6); box-shadow: 0 0 20px rgba(34,211,255,.22); }
.ct-ico { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 14px; border: 2px solid; }
.ct-ico .icon { width: 28px; height: 28px; }
.ct-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ct-txt strong { font-size: 17px; } .ct-txt em { font-style: normal; font-size: 13px; font-weight: 600; } .ct-txt span { font-size: 13px; color: var(--muted); }
.ct-chev { color: var(--muted); flex: none; } .ct-chev .icon { width: 20px; height: 20px; }
.ct-wa .ct-ico, .ct-wa2 .ct-ico { color: #25D366; border-color: #25D366; background: rgba(37,211,102,.08); box-shadow: 0 0 14px rgba(37,211,102,.3); }
.ct-wa em, .ct-wa2 em { color: #34D399; }
.ct-mail .ct-ico { color: #FBBF24; border-color: #FBBF24; background: rgba(251,191,36,.08); } .ct-mail em { color: #FBBF24; }
.ct-ig .ct-ico { color: #fff; border: 0; background: linear-gradient(45deg, #F58529, #DD2A7B 45%, #8134AF 75%, #515BD4); box-shadow: 0 0 14px rgba(221,42,123,.35); } .ct-ig em { color: #F472B6; }
.ct-fb .ct-ico { color: #fff; border: 0; background: #1877F2; box-shadow: 0 0 14px rgba(24,119,242,.4); } .ct-fb em { color: #60A5FA; }
.ct-dot { position: absolute; top: 14px; right: 18px; width: 10px; height: 10px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 3px rgba(34,197,94,.2), 0 0 10px #22C55E; }
.ct-dot.blue { background: #3B82F6; box-shadow: 0 0 0 3px rgba(59,130,246,.2), 0 0 10px #3B82F6; }
.ct-ribbon { position: absolute; top: 50%; right: 46px; transform: translateY(-50%) rotate(-4deg); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 8px; color: #fff; background: linear-gradient(90deg, #1D6FF2, #0EA5E9); box-shadow: 0 0 14px rgba(34,211,255,.55); }
.ct-help { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 14px 18px; border-radius: 16px; color: var(--muted); font-size: 13.5px; text-decoration: none;
  border: 1px dashed rgba(34,211,255,.45); background: rgba(14,165,233,.06); }
.ct-help b { color: var(--text); } .ct-help:hover { border-color: #22D3FF; }
.ct-help-ico { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; color: #22D3FF; background: rgba(34,211,255,.12); }
/* Contact: "Before you message us" checklist */
.ct-prep { position: relative; margin: 18px 0 48px; padding: 22px; border-radius: 22px; overflow: hidden;
  background: radial-gradient(circle at 0% 0%, rgba(34,211,255,.14), transparent 45%), radial-gradient(circle at 100% 100%, rgba(99,102,241,.16), transparent 50%), linear-gradient(180deg, #0f1a33, #0a1222);
  border: 1px solid rgba(34,211,255,.45); box-shadow: 0 0 0 1px rgba(34,211,255,.12) inset, 0 0 26px rgba(34,211,255,.14); }
.ct-prep-eyebrow { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: #22D3FF; text-shadow: 0 0 10px rgba(34,211,255,.5); }
.ct-prep-head h2 { font-size: 22px; margin: 6px 0 4px; }
.ct-prep-head p { margin: 0; color: var(--muted); font-size: 13.5px; }
.ct-steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); counter-reset: none; }
.ct-steps li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 14px 14px; border-radius: 16px;
  background: rgba(7,11,22,.55); border: 1px solid rgba(110,168,255,.22); transition: transform var(--t-fast) var(--ease), border-color var(--t-fast), box-shadow var(--t-fast); }
.ct-steps li:hover { transform: translateY(-2px); border-color: rgba(34,211,255,.65); box-shadow: 0 0 18px rgba(34,211,255,.22); }
.ct-steps li b { position: absolute; top: 10px; right: 12px; font-family: var(--font-poster); font-weight: 400; font-size: 26px; line-height: 1; color: rgba(110,168,255,.28); }
.ct-step-ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; margin-bottom: 8px; color: #22D3FF;
  background: rgba(34,211,255,.10); border: 1px solid rgba(34,211,255,.5); box-shadow: 0 0 12px rgba(34,211,255,.3); }
.ct-step-ico .icon { width: 20px; height: 20px; }
.ct-steps strong { font-size: 14.5px; color: var(--text); }
.ct-steps span:not(.ct-step-ico) { font-size: 12.5px; color: var(--muted); line-height: 1.5; }
.ct-steps code { font-family: var(--font-mono); font-size: 12px; color: #7DF3FF; background: rgba(34,211,255,.1); padding: 0 5px; border-radius: 5px; }
@media (max-width: 760px) { .ct-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .ct-prep { padding: 18px 14px; } .ct-steps { gap: 10px; } .ct-steps li { padding: 14px 12px 12px; }
  .ct-row { padding: 14px; gap: 12px; } .ct-ico { width: 48px; height: 48px; } .ct-txt strong { font-size: 16px; }
  .ct-ribbon { top: 12px; right: 30px; transform: rotate(-4deg); padding: 4px 9px; font-size: 10px; }
}

/* Support page */
.sup-top { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 6px; }
@media (min-width: 860px) { .sup-top { grid-template-columns: 1fr 1.25fr; } }
.sup-card { padding: 20px; border-color: rgba(34,211,255,.25); box-shadow: 0 0 14px rgba(34,211,255,.08); }
.sup-card h2 { font-size: 18px; margin: 0 0 6px; }
.sup-card p { color: var(--muted); font-size: 13.5px; margin: 0 0 12px; }
.sup-track { display: flex; gap: 8px; }
.sup-track .input { flex: 1; text-transform: uppercase; font-family: var(--font-mono); }
.sup-track .input::placeholder { font-family: var(--font-text); }
.sup-link { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--brand-text); }
.sup-card textarea.input { height: auto; padding: 10px 12px; resize: vertical; min-height: 84px; }
.sup-card .hint:empty { display: none; }
.sup-h { font-size: 18px; margin: 26px 0 10px; }
.faq details p { padding: 0 16px 14px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.faq details p a, .sup-legal a { color: var(--brand-text); }
.sup-legal { color: var(--muted); font-size: 13.5px; margin: 22px 0 8px; }
.legal h2 { color: var(--text); font-size: 17px; margin: 18px 0 8px; }

/* ---------- Google sign-in button (follows Google's branding: white surface, official G, "Continue with Google") ---------- */
.btn-google {
  width: 100%; height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; position: relative;
  background: #fff; color: #1F1F1F; border: 1px solid #DADCE0; border-radius: 10px; cursor: pointer;
  font-family: var(--font-text); font-weight: var(--fw-semibold); font-size: 15px; text-decoration: none;
  transition: background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), transform var(--t-press) var(--ease);
  box-shadow: 0 1px 2px rgba(0,0,0,.3);
}
.btn-google:hover { background: #F7F9FC; box-shadow: 0 6px 18px -6px rgba(110,168,255,.55), 0 1px 2px rgba(0,0,0,.3); transform: translateY(-1px); }
.btn-google:active { transform: scale(.98); }
.btn-google .g { width: 20px; height: 20px; flex: none; }
.btn-google[aria-disabled="true"] { opacity: .55; cursor: not-allowed; pointer-events: none; box-shadow: none; }
.btn-google.is-loading { color: transparent; pointer-events: none; }
.btn-google.is-loading .g { opacity: 0; }
.btn-google.is-loading::after { content: ""; position: absolute; width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid #DADCE0; border-top-color: #4285F4; animation: spin .7s linear infinite; }
.auth-perks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-size: 13.5px; color: var(--muted); }
.auth-perks li { display: flex; gap: 10px; align-items: center; }
.auth-perks .icon { width: 16px; height: 16px; color: var(--success); }
.auth-legal { font-size: 12px; color: var(--faint); text-align: center; margin-top: 18px; }
.auth-legal a { color: var(--muted); text-decoration: underline; }

/* ---------- user menu in header ---------- */
.auth-slot { display: flex; align-items: center; gap: 8px; }
.auth-slot.pending { visibility: hidden; }
@media (min-width: 900px) { .header-actions.auth-slot { display: none; } }
.user-btn {
  display: inline-flex; align-items: center; gap: 9px; height: 40px; padding: 0 10px 0 4px; border-radius: 99px; cursor: pointer;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text); font-weight: var(--fw-semibold); font-size: 13.5px;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.user-btn:hover, .user-btn[aria-expanded="true"] { border-color: var(--brand-text); background: var(--surface-3); }
.user-btn .icon { width: 15px; height: 15px; color: var(--muted); transition: transform var(--t-fast) var(--ease); }
.user-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.user-btn .nm { max-width: 120px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; background: var(--brand); color: #fff; display: inline-grid; place-items: center; font-weight: var(--fw-semibold); font-size: 14px; }
.avatar.lg { width: 76px; height: 76px; font-size: 30px; border: 2px solid var(--border-strong); }
.user-menu-wrap { position: relative; }
.user-menu {
  position: absolute; right: 0; top: 48px; width: 250px; padding: 8px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow); z-index: 70; opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right;
  transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), visibility var(--t-fast);
}
.user-menu.open { opacity: 1; visibility: visible; transform: none; }
.user-menu .who { display: flex; gap: 10px; align-items: center; padding: 8px 8px 12px; border-bottom: 1px solid var(--border); margin-bottom: 6px; }
.user-menu .who strong { display: block; font-size: 14px; }
.user-menu .who small { display: block; font-size: 12px; color: var(--muted); max-width: 170px; overflow: hidden; text-overflow: ellipsis; }
.user-menu a, .user-menu button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 9px; border: 0; background: none; color: var(--silver); font-size: 14px; font-weight: var(--fw-semibold); cursor: pointer; text-align: left; }
.user-menu a:hover, .user-menu button:hover { background: var(--surface-3); color: var(--text); }
.user-menu .danger:hover { color: #FFB4B4; }
.user-menu .icon { width: 17px; height: 17px; }
.header-actions .user-btn .nm, .header-actions .user-btn > .icon { display: none; }
.header-actions .user-btn { padding: 0 4px; }
.drawer .drawer-user { display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--surface-2); margin-bottom: 6px; }
.drawer .drawer-user strong { display: block; font-size: 14px; }
.drawer .drawer-user small { color: var(--muted); font-size: 12px; }

/* ---------- account page ---------- */
.acct-grid { display: grid; gap: 16px; align-items: start; margin-top: 8px; }
@media (min-width: 900px) { .acct-grid { grid-template-columns: 340px minmax(0, 1fr); gap: 22px; } }
.acct-card { padding: 22px; }
.acct-profile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.acct-profile h2 { font-size: 20px; margin-top: 8px; }
.acct-profile p { margin: 0; color: var(--muted); font-size: 14px; word-break: break-all; }
.acct-profile .badge { margin-top: 8px; }
.acct-actions { display: grid; gap: 8px; margin-top: 18px; }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 12px 16px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: var(--fw-semibold); word-break: break-word; }
@media (max-width: 520px) { .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 10px; } }

/* ---------- orders ---------- */
.badge.red { color: #FFB4B4; border-color: rgba(248,113,113,.35); background: rgba(248,113,113,.1); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; position: relative; }
.timeline li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 12.5px; color: var(--faint); font-weight: var(--fw-semibold); position: relative; }
.timeline li::before { content: ""; position: absolute; top: 15px; left: -50%; right: 50%; height: 2px; background: var(--border-strong); z-index: 0; }
.timeline li:first-child::before { display: none; }
.timeline li.done::before { background: var(--brand); }
.timeline .dot { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); border: 2px solid var(--border-strong); position: relative; z-index: 1; font-weight: var(--fw-semibold); font-size: 13px; }
.timeline .dot .icon { width: 16px; height: 16px; }
.timeline li.done { color: var(--text); }
.timeline li.done .dot { background: var(--brand); border-color: var(--brand); color: #fff; box-shadow: 0 0 14px -2px var(--brand-glow); }
.timeline li.next .dot { border-color: var(--brand-text); color: var(--brand-text); animation: pulseDot 1.6s ease-in-out infinite; }
.timeline li.off { opacity: .4; }
@keyframes pulseDot { 50% { box-shadow: 0 0 0 6px var(--brand-soft); } }
.events { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.events li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.events li:last-child { border-bottom: 0; }
.events li span { grid-column: 1; color: var(--muted); font-size: 13px; }
.events time { grid-column: 2; grid-row: 1; color: var(--faint); font-size: 12px; white-space: nowrap; }
.order-list { display: grid; gap: 10px; }
.order-row { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); transition: border-color var(--t-fast), transform var(--t-fast) var(--ease); }
.order-row:hover { border-color: rgba(110,168,255,.45); transform: translateY(-1px); }
.order-row img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.order-row strong { display: block; font-size: 14px; }
.order-row small { color: var(--muted); font-size: 12.5px; }
.order-row .r { text-align: right; display: grid; gap: 4px; justify-items: end; }
.order-row .r b { font-family: var(--font-text); font-weight: var(--fw-semibold); font-size: 14px; }

/* ---------- player check ---------- */
.player-check { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 12px; border-radius: 10px; font-size: 13.5px; border: 1px solid var(--border); background: var(--surface-2); color: var(--silver); animation: catIn 250ms var(--ease); }
.player-check .icon { width: 16px; height: 16px; flex: none; }
.player-check.ok { border-color: rgba(52,211,153,.35); background: rgba(52,211,153,.08); color: #B6F2DA; }
.player-check.ok b { color: #fff; }
.player-check.bad { border-color: rgba(248,113,113,.4); background: rgba(248,113,113,.08); color: #FFC9C9; }
/* Fonepay QR panel */
.qr-pay { margin: 0 0 12px; padding: 14px; border-radius: 14px; border: 1px solid var(--border-strong); background: var(--surface-2); text-align: center; animation: catIn 250ms var(--ease); }
.qr-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.qr-brand { display: block; height: 26px; width: auto; }
.qr-timer { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--silver); }
.qr-timer .icon { width: 15px; height: 15px; }
.qr-timer b { font-variant-numeric: tabular-nums; font-size: 18px; color: #fff; min-width: 3.2ch; text-align: right; }
.qr-pay.is-ending .qr-timer b { color: var(--warning, #FBBF24); }
.qr-img { display: block; width: 100%; max-width: 230px; height: auto; aspect-ratio: 1; margin: 0 auto; padding: 10px; background: #fff; border-radius: 12px; image-rendering: pixelated; }
.qr-pay.is-expired .qr-img { opacity: .15; filter: blur(3px); }
.qr-amt { margin-top: 12px; font-size: 14px; color: var(--muted); }
.qr-amt b { color: #fff; font-size: 18px; margin-left: 4px; }
.qr-help { font-size: 12.5px; color: var(--faint); margin: 8px 0 0; line-height: 1.45; }
.player-check .spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--border-strong); border-top-color: var(--brand-text); animation: spin .7s linear infinite; }

/* ---------- wallet ---------- */
.wallet-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; margin-bottom: 14px; border-radius: 14px;
  background: radial-gradient(120% 140% at 100% 0%, var(--brand-soft), transparent 60%), var(--surface-2); border: 1px solid var(--border); }
.wallet-label { display: block; font-size: 11.5px; font-weight: var(--fw-semibold); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--muted); }
.wallet-bal { font-family: var(--font-display); font-size: 30px; font-weight: var(--fw-semibold); letter-spacing: var(--track-display); font-variant-numeric: tabular-nums; color: var(--text); }
.topup .sub-chips .chip { height: 32px; font-size: 12.5px; }

/* ---------- admin ---------- */
.adm-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 16px; }
@media (min-width: 800px) { .adm-stats { grid-template-columns: repeat(5, 1fr); } }

/* ---------- customer reviews ("What Our Customers Say") ---------- */
.rv-section { margin: 48px 0 8px; }
.rv-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 22px; }
.rv-score { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.rv-score b { font-family: var(--font-text); font-weight: var(--fw-semibold); font-size: 15px; color: var(--text); }
.rv-title { font-family: var(--font-display); font-size: clamp(24px, 3.2vw, 32px); font-weight: var(--fw-semibold); margin: 0; letter-spacing: var(--track-display); }
.rv-sub { margin: 4px 0 0; font-size: 13.5px; color: var(--brand-text); }
.rv-write { height: 42px; gap: 8px; }
.rv-write .icon { width: 16px; height: 16px; }
.rv-stars { display: inline-flex; gap: 3px; }
.rv-stars i { display: grid; width: 18px; height: 18px; color: rgba(255,255,255,.14); }
.rv-stars.sm i { width: 16px; height: 16px; }
.rv-stars i.on { color: #FBBF24; }
.rv-stars svg, .rv-pick svg { width: 100%; height: 100%; fill: currentColor; }
.rv-track { overflow: hidden; margin: 0 -4px; padding: 4px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.rv-track:not(.is-loop) { overflow-x: auto; scrollbar-width: thin; -webkit-mask-image: none; mask-image: none; }
.rv-row, .rv-dup { display: flex; gap: 16px; width: max-content; }
.rv-dup { padding-left: 16px; }
.rv-track.is-loop .rv-row { animation: rvScroll calc(var(--n) * 6s) linear infinite; }
.rv-track.is-loop:hover .rv-row, .rv-track.is-loop:focus-within .rv-row { animation-play-state: paused; }
@keyframes rvScroll { to { transform: translateX(calc(-50% - 8px)); } }
.rv-card { position: relative; flex: none; width: 320px; min-height: 172px; display: flex; flex-direction: column; gap: 12px; padding: 20px;
  border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border); transition: border-color .2s, box-shadow .2s, transform .2s; }
.rv-card:hover { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), 0 10px 30px -12px var(--brand-glow); transform: translateY(-2px); }
.rv-text { margin: 0; flex: 1; font-size: 14px; line-height: 1.5; color: var(--text); overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.rv-foot { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 12.5px; }
.rv-name { color: var(--text); font-weight: var(--fw-semibold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px; }
.rv-ver { display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border-radius: 6px; font-size: 11px; font-weight: var(--fw-semibold); color: #6EE7B7; background: rgba(52,211,153,.1); border: 1px solid rgba(52,211,153,.3); }
.rv-ver .icon { width: 11px; height: 11px; }
.rv-date { margin-left: auto; color: var(--faint); font-size: 11.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rv-prod { position: absolute; top: 20px; right: 20px; max-width: 45%; font-size: 11px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv-empty { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 34px 20px; border-radius: 16px; border: 1px dashed var(--border-strong); background: var(--surface-2); color: var(--muted); font-size: 14px; }
.rv-empty strong { color: var(--text); font-size: 16px; }
@media (max-width: 560px) { .rv-card { width: 270px; } .rv-write { width: 100%; } }
@media (prefers-reduced-motion: reduce) {
  .rv-track.is-loop { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .rv-track.is-loop .rv-row { animation: none !important; }
  .rv-dup { display: none; }
}
/* write-a-review dialog */
.rv-dialog { width: min(440px, calc(100vw - 32px)); padding: 0; border: 1px solid var(--border-strong); border-radius: 18px; background: var(--surface); color: var(--text); }
.rv-dialog::backdrop { background: rgba(3,6,14,.7); backdrop-filter: blur(3px); }
.rv-dbody { position: relative; padding: 24px; }
.rv-dbody h3 { font-family: var(--font-display); font-size: 20px; margin: 0 0 8px; }
.rv-dbody p { color: var(--muted); font-size: 14px; margin: 0 0 16px; line-height: 1.5; }
.rv-x { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); color: var(--muted); cursor: pointer; }
.rv-x .icon { width: 16px; height: 16px; }
.rv-form { display: grid; gap: 8px; }
.rv-form > label { font-size: 13px; font-weight: var(--fw-semibold); margin-top: 6px; }
.rv-order { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.rv-order img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.rv-order b { display: block; color: var(--text); font-size: 14px; }
.rv-pick { display: flex; gap: 6px; }
.rv-pick label { cursor: pointer; }
.rv-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rv-pick span { display: block; width: 34px; height: 34px; color: rgba(255,255,255,.16); transition: color .15s, transform .15s; }
.rv-pick span.on { color: #FBBF24; }
.rv-pick label:hover span { transform: scale(1.1); }
.rv-pick input:focus-visible + span { outline: 2px solid var(--brand-text); outline-offset: 2px; border-radius: 6px; }
.rv-form textarea { min-height: 88px; height: auto; padding: 12px 14px; resize: vertical; text-transform: none; }
.rv-count { font-size: 12px; color: var(--faint); }
.adm-stat { padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); cursor: pointer; text-align: left; color: inherit; font: inherit; transition: border-color var(--t-fast); }
.adm-stat:hover, .adm-stat.active { border-color: var(--brand-text); }
.adm-stat b { display: block; font-family: var(--font-display); font-size: 24px; }
.adm-stat span { font-size: 12px; color: var(--muted); font-weight: var(--fw-semibold); text-transform: uppercase; letter-spacing: var(--track-caps); }
.adm-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.adm-bar .input { flex: 1 1 240px; }
.adm-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.adm-table th { text-align: left; font-size: 11.5px; font-weight: var(--fw-semibold); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--faint); padding: 10px; border-bottom: 1px solid var(--border-strong); }
.adm-table td { padding: 12px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.adm-table tr { cursor: pointer; transition: background var(--t-fast); }
.adm-table tbody tr:hover { background: var(--surface-2); }
.adm-table .mono { font-family: var(--font-mono); font-size: 12.5px; }
.adm-wrap { overflow-x: auto; }
.adm-detail { position: fixed; inset: 0 0 0 auto; width: min(560px, 100vw); background: var(--surface); border-left: 1px solid var(--border-strong); z-index: 95; overflow-y: auto; padding: 20px;
  transform: translateX(100%); transition: transform var(--t-modal) var(--ease); box-shadow: var(--shadow); }
.adm-detail.open { transform: none; }
.adm-open #detailBackdrop { opacity: 1; visibility: visible; }
.adm-detail h2 { font-size: 20px; }
.adm-detail textarea { width: 100%; min-height: 70px; padding: 10px 12px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); resize: vertical; font: inherit; }
.adm-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.copyable { cursor: copy; border-bottom: 1px dashed var(--border-strong); }

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