/* ==========================================================================
   2. Public Shell, Navigation, And Search
   ========================================================================== */
body:not(.merchant-body) {
  --primary: #6d28d9;
  --primary-600: #5b21b6;
  --accent: #8b5cf6;
  --cyan: #c084fc;
  --rose: #a855f7;
  --ink: #111827;
  --muted: #6b7280;
  --line: #e9ddff;
  --soft: #faf7ff;
  --panel: #ffffff;
  --surface: #ffffff;
  --border-color: #e9ddff;
  --text-primary: #111827;
  --text-muted: #6b7280;
  --public-bg-start: #fcfaff;
  --public-bg-end: #f8f4ff;
  --public-primary-soft: #f5f3ff;
  --public-accent-soft: #faf5ff;
  --public-highlight-soft: #f3e8ff;
  --public-soft-line: #ede9fe;
  --public-header-bar-padding-y: 14px;
  --public-header-logo-height: 46px;
  --public-header-logo-mobile-height: 42px;
  --public-header-bg: #ffffff;
  --public-header-border: #e5e7eb;
  --public-header-link: #6d28d9;
  --public-header-link-hover: #5b21b6;
  --public-header-shadow: rgba(15, 23, 42, 0.04);
  --public-footer-padding-y: 38px;
  --public-footer-logo-width: 232px;
  --public-footer-logo-mobile-width: 120px;
  --public-footer-payment-icon-height: 24px;
  --public-footer-bg-start: #f5f0ff;
  --public-footer-bg-end: #f8f4ff;
  --public-footer-text: #5b4b7a;
  --public-footer-link: #5b21b6;
  --public-button-padding-y: 14px;
  --public-button-padding-x: 22px;
  --public-button-radius: 14px;
  --public-button-font-size: 15px;
  --public-button-min-height: 44px;
  --public-button-bg: #6d28d9;
  --public-button-text: #ffffff;
  --public-button-border: #6d28d9;
  --public-button-hover-bg: #5b21b6;
  --public-button-hover-text: #ffffff;
  --public-secondary-button-bg: #ffffff;
  --public-secondary-button-text: #374151;
  --public-input-padding-y: 14px;
  --public-input-padding-x: 16px;
  --public-input-radius: 14px;
  --public-input-font-size: 15px;
  --public-input-border-width: 1px;
  --public-input-bg: #ffffff;
  --public-input-text: #111827;
  --public-input-border: #d1d5db;
  --public-input-focus-border: #6d28d9;
  --public-input-placeholder: #9ca3af;
  --public-label-font-size: 14px;
  --public-label-margin-bottom: 8px;
  --public-label-color: #111827;
  --public-body-font-size: 15px;
  --public-small-text-size: 13px;
  --public-heading-font-size: 34px;
  --public-heading-color: #111827;
  --public-link-color: #6d28d9;
  --public-form-gap: 12px;
  --public-control-margin-bottom: 12px;
  --public-banner-bg: #140a2b;
  --public-banner-dot: rgba(255, 255, 255, 0.55);
  --public-banner-dot-active: #ffffff;
  --public-banner-nav-bg: rgba(0, 0, 0, 0.52);
  --public-banner-nav-text: #ffffff;
  --public-banner-fit: cover;
  --public-bottom-nav-bg: #ffffff;
  --public-bottom-nav-text: #6b7280;
  --public-bottom-nav-active: #6d28d9;
  --public-bottom-nav-border: #e5e7eb;
  --shadow-sm: 0 1px 3px rgb(91 33 182 / 10%);
  --shadow-md: 0 12px 28px rgb(91 33 182 / 12%);
  --shadow-lg: 0 22px 48px rgb(91 33 182 / 14%);
  font-size: var(--public-body-font-size);
  font-family: var(--public-font-family, "Inter", system-ui, sans-serif);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, var(--public-primary-soft) 0, transparent 30%),
    radial-gradient(circle at top right, var(--public-accent-soft) 0, transparent 28%),
    linear-gradient(180deg, var(--public-bg-start) 0%, var(--public-bg-end) 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--public-header-bg);
  border-bottom: 1px solid var(--public-header-border);
  box-shadow: 0 1px 0 var(--public-header-shadow);
  backdrop-filter: blur(14px);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: var(--public-header-bar-padding-y) 0;
}

.brand-link {
  flex: 0 0 auto;
}

.brand-logo {
  height: var(--public-header-logo-height);
  width: auto;
}

.brand-logo-mobile {
  display: block;
  height: var(--public-header-logo-mobile-height);
}

.merchant-game-reference-card {
  margin-top: 18px;
}

.merchant-game-reference-image {
  display: inline-grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
}

.merchant-game-reference-image img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.merchant-game-reference-image [hidden] {
  display: none !important;
}

.merchant-game-reference-fallback {
  grid-area: 1 / 1;
  width: 78px;
  height: 78px;
  border-radius: 20px;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.search-trigger {
  flex: 1;
  min-width: 220px;
  max-width: 640px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: var(--panel);
  color: var(--primary);
  padding: 11px 16px;
  cursor: text;
  text-align: left;
  transition: border-color .2s, box-shadow .2s;
}

.search-placeholder {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-trigger:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.search-icon,
.icon {
  width: 20px;
  height: 20px;
}

.desktop-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--public-header-link);
  font-size: 14px;
}

.desktop-links form {
  margin: 0;
}

.desktop-links a {
  color: var(--public-header-link);
  padding: 8px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.desktop-links a:hover {
  color: var(--public-header-link-hover);
  text-decoration: underline;
}

.desktop-links .login-pill {
  border: 1px solid #d1d5db;
  padding-inline: 18px;
}

.desktop-links .login-pill:hover {
  background: var(--public-header-link);
  color: white;
  border-color: var(--public-header-link);
  text-decoration: none;
}

.header-logout-button,
.drawer-logout-button {
  border: 0;
  background: transparent;
  color: var(--public-header-link);
  font-weight: 700;
  cursor: pointer;
}

.mobile-menu-button,
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--public-header-link);
  cursor: pointer;
  border-radius: 10px;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
}

.icon-button {
  width: 38px;
  height: 38px;
}

.mobile-menu-button:hover,
.icon-button:hover {
  background: #f3f4f6;
}

.mobile-drawer,
.search-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 9999;
  display: none;
  isolation: isolate;
}

.mobile-drawer.is-open,
.search-modal.is-open {
  display: block;
}

.public-flash-popup {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 10000;
  width: min(calc(100vw - 2rem), 24rem);
  pointer-events: none;
}

.public-flash-popup.is-closing {
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .18s ease, transform .18s ease;
}

.public-flash-popup-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  width: 100%;
  border-radius: 1rem;
  background: var(--panel);
  border: 1px solid #dbeafe;
  box-shadow: 0 18px 45px rgb(15 23 42 / 16%);
  padding: 1rem 1rem 1rem .95rem;
  pointer-events: auto;
  animation: public-flash-enter .2s ease;
}

.public-flash-popup-close {
  flex: 0 0 auto;
  margin-left: auto;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: var(--public-primary-soft);
  color: #1e293b;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.public-flash-popup-icon {
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #166534;
}

.public-flash-popup-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.public-flash-popup-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.public-flash-popup-copy strong {
  display: block;
  margin: 0 0 .2rem;
  color: #0f172a;
  font-size: .95rem;
}

.public-flash-popup-copy p {
  margin: 0;
  color: #475569;
  font-size: .92rem;
  line-height: 1.5;
}

@keyframes public-flash-enter {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.drawer-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgb(0 0 0 / 52%);
  backdrop-filter: blur(5px);
}

.drawer-panel {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(380px, 86vw);
  background: var(--panel);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  background: #f9fafb;
}

.drawer-logo {
  height: 54px;
  width: auto;
}

.drawer-welcome {
  display: flex;
  gap: 12px;
  padding: 18px 16px;
  border-bottom: 1px solid #f3f4f6;
}

.drawer-welcome p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 14px;
}

.drawer-welcome a {
  color: var(--accent);
  font-weight: 700;
  font-size: 14px;
}

.drawer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #9ca3af;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.drawer-links {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.drawer-links a {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  box-shadow: var(--shadow-sm);
  padding: 12px 14px;
  font-weight: 700;
}

.drawer-links a:hover {
  color: var(--primary);
  border-color: var(--line);
}

.search-panel {
  position: fixed;
  top: 56px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1040px, calc(100vw - 40px));
  max-height: calc(100dvh - 112px);
  background: var(--panel);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.search-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.search-panel-head h2 {
  margin: 0;
  font-size: 18px;
}

.search-input-wrap {
  margin: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
}

.search-input-wrap:focus-within {
  border-color: var(--primary);
}

.search-input-wrap input {
  border: 0;
  outline: 0;
  flex: 1;
  padding: 14px 0;
}

.search-popular-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 20px 16px;
}

.search-popular-head h3 {
  margin: 0;
  font-size: 18px;
}

.search-popular-head span {
  color: var(--muted);
  font-size: 14px;
}

.search-results {
  max-height: calc(100dvh - 250px);
  overflow: auto;
  padding: 0 20px 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.search-results-state {
  grid-column: 1 / -1;
  min-height: 180px;
  border: 1px dashed var(--line);
  border-radius: 18px;
  background: #f8fafc;
  color: var(--muted);
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
}

.search-results-state.is-error {
  border-color: #fecaca;
  background: #fff7f7;
  color: #b91c1c;
}

.search-result {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--panel);
  display: block;
  transition: background .2s, border-color .2s;
}

.search-result:hover {
  background: #f9fafb;
  border-color: var(--line);
}

.search-result img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.search-result span {
  display: grid;
  gap: 3px;
  padding: 12px;
}

.search-result small {
  color: var(--muted);
}

.search-card-image {
  position: relative;
}

.search-card-image span {
  position: absolute;
  right: 10px;
  top: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #c0392b;
  color: white;
  font-size: 12px;
  font-weight: 800;
}

/* ==========================================================================
   3. Public Home And Discovery
   ========================================================================== */
.hero-carousel {
  padding-top: var(--public-page-top-space);
  max-width: min(var(--public-banner-max-width), var(--container));
  margin-inline: auto;
}

.carousel-frame {
  position: relative;
  aspect-ratio: 1672 / 941;
  height: var(--public-banner-height, auto);
  min-height: var(--public-banner-min-height);
  overflow: hidden;
  border-radius: var(--public-banner-radius, var(--public-card-radius));
  box-shadow: var(--shadow-md);
  background: var(--public-banner-bg);
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}

.carousel-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.carousel-image {
  width: 100%;
  height: 100%;
  object-fit: var(--public-banner-fit);
  object-position: center;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  z-index: 2;
  width: var(--public-banner-nav-size, 42px);
  height: var(--public-banner-nav-size, 42px);
  border: 0;
  border-radius: 999px;
  background: var(--public-banner-nav-bg);
  color: var(--public-banner-nav-text);
  font-size: var(--public-banner-nav-font-size, 30px);
  cursor: pointer;
}

.carousel-prev {
  left: var(--public-banner-nav-side-offset, 16px);
}

.carousel-next {
  right: var(--public-banner-nav-side-offset, 16px);
}

.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: var(--public-banner-dots-bottom, 14px);
  translate: -50% 0;
  display: flex;
  gap: var(--public-banner-dot-gap, 8px);
  z-index: 2;
}

.carousel-dots button {
  position: relative;
  width: max(24px, var(--public-banner-dot-size, 9px));
  height: max(24px, var(--public-banner-dot-size, 9px));
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.carousel-dots button::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--public-banner-dot-size, 9px);
  height: var(--public-banner-dot-size, 9px);
  border-radius: 999px;
  background: var(--public-banner-dot);
  translate: -50% -50%;
}

.carousel-dots button.is-active {
  width: max(32px, var(--public-banner-dot-active-width, 32px));
}

.carousel-dots button.is-active::before {
  width: var(--public-banner-dot-active-width, 32px);
  background: var(--public-banner-dot-active);
}

.intro-copy {
  text-align: var(--public-intro-align, center);
  padding: var(--public-section-space-half) 0 var(--public-section-space-small);
}

.intro-copy h1 {
  font-family: "Exo 2", sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  margin: 0 auto var(--public-intro-title-margin-bottom, 12px);
  max-width: var(--public-intro-title-width, 980px);
}

.intro-copy p {
  max-width: var(--public-intro-subtitle-width, 680px);
  margin: 0 auto;
  color: var(--muted);
  font-size: var(--public-intro-subtitle-font-size, 15px);
  line-height: 1.7;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--public-grid-gap);
  margin: var(--public-section-title-space) 0 var(--public-section-title-space-half);
}

.section-title h2 {
  margin: 0;
  font-family: "Exo 2", sans-serif;
  font-size: clamp(24px, 3vw, 34px);
}

.section-title p {
  margin: 5px 0 0;
  color: var(--muted);
}

.section-link {
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}

.testimonial-section {
  display: grid;
  gap: var(--public-grid-gap-lg);
}

.testimonial-heading {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.testimonial-heading h2 {
  margin: 0;
  color: var(--public-heading-color);
  font-family: "Exo 2", sans-serif;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}

.testimonial-heading p {
  margin: 0;
  color: var(--muted);
  font-size: var(--public-body-font-size);
  line-height: 1.7;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: var(--public-grid-gap-lg);
}

.testimonial-card {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: calc(var(--public-card-padding) + 4px);
  border: 1px solid var(--line);
  border-radius: var(--public-card-radius);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.testimonial-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: #d1d5db;
  font-size: 17px;
  line-height: 1;
  letter-spacing: 0;
}

.testimonial-stars span.is-active {
  color: #f59e0b;
}

.testimonial-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: #e8f5e9;
  color: #1b5e20;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.testimonial-quote {
  flex: 1;
  margin: 0;
  color: var(--ink);
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 500;
  line-height: 1.55;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  display: inline-grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 999px;
  background: var(--testimonial-avatar-bg, var(--public-primary-soft));
  color: var(--testimonial-avatar-color, var(--public-link-color));
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
}

.testimonial-author span:last-child {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.testimonial-author strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.1;
}

.testimonial-author small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.public-testimonial-panel {
  margin-top: var(--public-grid-gap-xl);
}

.public-testimonial-card {
  min-height: 0;
}

.public-testimonial-card h3 {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.2;
}

.public-testimonial-intro {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.public-testimonial-field {
  display: grid;
  gap: 8px;
  margin: 0;
}

.public-testimonial-field span {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.public-testimonial-field input,
.public-testimonial-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  outline: 0;
}

.public-testimonial-field textarea {
  min-height: 118px;
  resize: vertical;
}

.testimonial-rating-field {
  display: inline-flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
  gap: 3px;
}

.testimonial-rating-field label {
  margin: 0;
  cursor: pointer;
  line-height: 1;
}

.testimonial-rating-field input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.testimonial-rating-field span:not(.sr-only) {
  color: #d1d5db;
  font-size: 21px;
  line-height: 1;
}

.testimonial-rating-field label:hover span:not(.sr-only),
.testimonial-rating-field label:hover ~ label span:not(.sr-only),
.testimonial-rating-field label:has(input:checked) span:not(.sr-only),
.testimonial-rating-field label:has(input:checked) ~ label span:not(.sr-only) {
  color: #f59e0b;
}

.public-testimonial-submit {
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 12px 24px rgb(109 40 217 / 24%);
}

.public-testimonial-submit svg {
  width: 17px;
  height: 17px;
}

.public-testimonial-card--submitted .testimonial-quote {
  flex: 0;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(var(--public-game-grid-columns-desktop, 5), minmax(0, 1fr));
  gap: var(--public-grid-gap);
}

.game-card {
  background: var(--panel);
  border: var(--public-game-card-border-width, 1px) solid #f3f4f6;
  border-radius: var(--public-card-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}

.game-card:hover {
  transform: translateY(calc(var(--public-game-card-hover-lift, 3px) * -1)) scale(var(--public-game-card-hover-scale, 1.02));
  box-shadow: var(--shadow-md);
  border-color: rgb(30 136 229 / 20%);
}

.game-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f3f4f6;
}

.home-grid .game-image-wrap {
  aspect-ratio: var(--public-home-game-image-ratio-width, 4) / var(--public-home-game-image-ratio-height, 3);
}

.game-image {
  width: 100%;
  height: 100%;
  object-fit: var(--public-game-card-image-fit, cover);
  transition: transform .35s;
}

.game-card:hover .game-image {
  transform: scale(var(--public-game-card-image-zoom, 1.08));
}

.game-badge {
  position: absolute;
  right: 8px;
  top: 8px;
  color: white;
  background: var(--accent);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  box-shadow: var(--shadow-sm);
}

.game-card-body {
  padding: var(--public-card-padding-xs);
}

.game-card-body h3 {
  margin: 0;
  font-size: 14px;
  line-height: 1.35;
}

.game-card-body p {
  margin: 7px 0 0;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
}

.game-card-body p span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  flex: 0 0 auto;
}

.feature-section,
.faq-section {
  margin: var(--public-section-space-wide) 0;
}

.feature-heading,
.faq-heading {
  text-align: center;
  margin-bottom: var(--public-section-space-half);
}

.feature-heading h2,
.faq-heading h2 {
  margin: 0 0 10px;
  font-family: "Exo 2", sans-serif;
  font-size: clamp(24px, 3vw, 34px);
}

.feature-heading p,
.faq-heading p {
  margin: 0 auto;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.6;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(var(--public-feature-grid-columns-desktop, 3), minmax(0, 1fr));
  gap: var(--public-grid-gap);
}

.custom-sections {
  display: grid;
  gap: var(--public-grid-gap-xl);
  margin-block: var(--public-section-space);
}

.custom-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--public-grid-gap-lg);
  overflow: hidden;
  max-width: var(--custom-section-max-width, none);
  border: var(--custom-section-border-width, 1px) solid var(--custom-section-border, var(--line));
  border-radius: var(--custom-section-radius, var(--public-card-radius));
  background: var(--custom-section-bg, var(--panel));
  color: var(--custom-section-text, inherit);
  box-shadow: var(--custom-section-shadow, var(--shadow-sm));
  padding: var(--custom-section-padding-y, var(--public-card-padding-xl)) var(--custom-section-padding-x, var(--public-card-padding-xl));
  margin-inline: auto;
  text-align: left;
  width: 100%;
}

.custom-section--align-center {
  text-align: center;
}

.custom-section--align-right {
  text-align: right;
}

.custom-section--split {
  grid-template-columns: minmax(0, 1fr) minmax(280px, var(--custom-section-image-width, 0.86fr));
  align-items: center;
}

.custom-section--media {
  padding: 0;
}

.custom-section--media .custom-section-copy {
  padding: 0 var(--custom-section-padding-x, var(--public-card-padding-xl)) var(--custom-section-padding-y, var(--public-card-padding-xl));
}

.custom-section-eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: var(--public-small-text-size);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.custom-section h2 {
  margin: 0 0 12px;
  color: var(--custom-section-title, var(--public-heading-color));
  font-family: "Exo 2", sans-serif;
  font-size: var(--custom-section-title-font-size, clamp(24px, 3vw, var(--public-heading-font-size)));
  line-height: 1.12;
}

.custom-section-body {
  color: var(--custom-section-text, var(--muted));
  font-size: var(--custom-section-body-font-size, var(--public-body-font-size));
  line-height: var(--custom-section-body-line-height, 1.75);
}

.custom-section--with-divider .custom-section-copy::before {
  content: "";
  display: block;
  height: 1px;
  margin-bottom: var(--custom-section-divider-margin-bottom, 16px);
  background: var(--custom-section-divider, var(--line));
}

.custom-section-body > *:first-child {
  margin-top: 0;
}

.custom-section-body > *:last-child {
  margin-bottom: 0;
}

.custom-section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: var(--public-button-min-height);
  margin-top: var(--public-grid-gap);
  border: 1px solid var(--public-button-border);
  border-radius: var(--public-button-radius);
  background: var(--public-button-bg);
  color: var(--custom-section-link, var(--public-button-text));
  padding: var(--public-button-padding-y) var(--public-button-padding-x);
  font-size: var(--public-button-font-size);
  font-weight: 800;
  text-decoration: none;
}

.custom-section-link:hover {
  background: var(--public-button-hover-bg);
  color: var(--public-button-hover-text);
  border-color: var(--public-button-hover-bg);
  text-decoration: none;
}

.custom-section--align-center .custom-section-link {
  margin-inline: auto;
}

.custom-section--align-right .custom-section-link {
  margin-left: auto;
}

.custom-section-media {
  margin: 0;
  max-width: var(--custom-section-image-width, none);
  width: 100%;
}

.custom-section-media img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: var(--custom-section-image-max-height, 420px);
  border-radius: var(--custom-section-image-radius, 0);
  object-fit: var(--custom-section-image-fit, cover);
}

.trust-signal-strip {
  display: grid;
  grid-template-columns: repeat(var(--public-trust-grid-columns-desktop, 4), minmax(0, 1fr));
  gap: var(--public-grid-gap-sm);
  margin: var(--public-section-space-third) 0 var(--public-section-space-half);
}

.trust-signal-item {
  min-width: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: var(--public-grid-gap-xs);
  row-gap: 2px;
  padding: var(--public-card-padding-xs) var(--public-card-padding-sm);
  border: var(--public-trust-card-border-width, 1px) solid var(--public-trust-card-border, var(--line));
  border-radius: var(--public-card-radius);
  background: var(--public-trust-card-bg, var(--panel));
  box-shadow: var(--shadow-sm);
}

.trust-signal-icon {
  grid-row: span 3;
  width: var(--public-trust-icon-size, 38px);
  height: var(--public-trust-icon-size, 38px);
  display: inline-grid;
  place-items: center;
  border-radius: var(--public-trust-icon-radius, 12px);
  color: var(--public-trust-icon-text, var(--accent));
  background: var(--public-trust-icon-bg, var(--public-primary-soft));
}

.trust-signal-item strong {
  min-width: 0;
  color: var(--ink);
  font-size: var(--public-trust-value-font-size, 20px);
  line-height: 1.05;
}

.trust-signal-item span:not(.trust-signal-icon) {
  min-width: 0;
  color: var(--public-trust-label, #374151);
  font-size: var(--public-trust-label-font-size, 13px);
  font-weight: 800;
}

.trust-signal-item small {
  min-width: 0;
  color: var(--public-trust-note, var(--muted));
  font-size: var(--public-trust-note-font-size, 11px);
  line-height: 1.3;
}

.trust-signal-strip.is-compact {
  grid-template-columns: repeat(4, minmax(116px, 1fr));
  min-width: min(100%, 620px);
  margin: 0;
}

.trust-signal-strip.is-compact .trust-signal-item {
  padding: 10px 12px;
  border-color: rgb(255 255 255 / 72%);
  background: rgb(255 255 255 / 72%);
  box-shadow: none;
}

.trust-signal-strip.is-compact .trust-signal-icon {
  width: 30px;
  height: 30px;
  border-radius: 10px;
}

.trust-signal-strip.is-compact .trust-signal-item strong {
  font-size: 16px;
}

.feature-card {
  background: var(--public-feature-card-bg, var(--panel));
  border: var(--public-feature-card-border-width, 1px) solid var(--public-feature-card-border, #f3f4f6);
  border-radius: var(--public-card-radius);
  box-shadow: var(--shadow-sm);
  padding: var(--public-card-padding);
  text-align: center;
}

.feature-icon,
.faq-icon,
.track-heading span {
  width: 54px;
  height: 54px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: var(--public-feature-icon-text, white);
  background: linear-gradient(135deg, var(--public-feature-icon-bg-start, var(--accent)), var(--public-feature-icon-bg-end, var(--cyan)));
}

.feature-icon {
  width: var(--public-feature-card-icon-size, 54px);
  height: var(--public-feature-card-icon-size, 54px);
  border-radius: var(--public-feature-card-icon-radius, 999px);
  margin-inline: auto;
}

.feature-card h3 {
  margin: 16px 0 8px;
  font-size: var(--public-feature-card-title-font-size, 17px);
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: var(--public-feature-card-body-font-size, 14px);
}

.faq-list {
  background: var(--panel);
  border-radius: var(--public-card-radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 0 var(--public-card-padding);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item summary {
  cursor: pointer;
  padding: 18px 0;
  font-weight: 800;
}

.faq-item p {
  color: var(--muted);
  margin: 0 0 18px;
  line-height: 1.7;
}

.seo-section {
  margin-block: var(--public-section-space);
}

.seo-section article,
.legal-page,
.help-card,
.track-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--public-card-radius);
  box-shadow: var(--shadow-sm);
}

.seo-section article {
  padding: var(--public-card-padding-2xl);
  color: #374151;
  line-height: 1.8;
}

.seo-section h2,
.seo-section h3 {
  color: var(--ink);
}

.blog-hero,
.blog-detail-hero {
  margin-top: var(--public-page-top-space);
  display: grid;
  gap: 18px;
}

.blog-hero {
  padding: var(--public-card-padding-xl);
  border-radius: var(--public-card-radius);
  background: linear-gradient(135deg, var(--public-banner-bg), #31205f);
  border: 1px solid rgb(255 255 255 / 12%);
}

.blog-hero strong,
.blog-meta span {
  font-weight: 800;
  font-size: 13px;
}

.blog-hero .breadcrumb,
.blog-hero .breadcrumb a,
.blog-hero strong,
.blog-hero h1,
.blog-hero p {
  color: #ffffff !important;
}

.blog-hero .breadcrumb,
.blog-hero p {
  opacity: 0.86;
}

.blog-hero strong {
  opacity: 0.92;
}

.blog-hero h1,
.blog-detail-hero h1 {
  margin: 0;
  font-family: "Exo 2", sans-serif;
  letter-spacing: 0;
}

.blog-hero h1 {
  color: #ffffff !important;
  font-size: 34px;
}

.blog-detail-hero h1 {
  color: #111827 !important;
}

.blog-hero h1 span {
  color: #c7f9e5 !important;
}

.blog-hero p,
.blog-detail-hero p {
  max-width: 720px;
  margin: 0;
  color: #4b5563 !important;
  line-height: 1.7;
}

.blog-hero p {
  color: #ffffff !important;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.45;
}

.blog-listing-section {
  margin-block: var(--public-section-space);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 380px));
  gap: var(--public-grid-gap-roomy);
  align-items: stretch;
  justify-content: start;
}

.blog-card,
.blog-article-body,
.blog-side-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--public-card-radius);
  box-shadow: var(--shadow-sm);
}

.blog-card {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 240px;
  flex-direction: column;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.blog-card:hover,
.blog-card:focus-within {
  border-color: color-mix(in srgb, var(--accent), var(--line) 35%);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blog-card.is-featured {
  border-color: color-mix(in srgb, var(--accent), var(--line) 45%);
}

.blog-card-hit-area {
  position: absolute;
  inset: 0;
  display: block;
  z-index: 1;
  border-radius: inherit;
}

.blog-card-hit-area:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent), white 20%);
  outline-offset: 4px;
}

.blog-card img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.blog-card img {
  aspect-ratio: 16 / 9;
}

.blog-card-body {
  padding: var(--public-card-padding-lg);
  display: grid;
  gap: 12px;
  flex: 1;
}

.blog-meta,
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.blog-meta span {
  padding: 5px 9px;
  border-radius: 999px;
  color: #5b21b6;
  background: #f5f3ff;
}

.blog-card h2 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.blog-card h2 a,
.blog-card-link,
.blog-side-panel a {
  color: #111827;
  text-decoration: none;
}

.blog-card:hover h2 a,
.blog-card:focus-within h2 a,
.blog-side-panel a:hover {
  color: var(--accent);
}

.blog-card p {
  margin: 0;
  color: #4b5563;
  line-height: 1.7;
}

.blog-card-link {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  align-self: end;
  border: 1px solid color-mix(in srgb, var(--accent), #ffffff 52%);
  border-radius: 999px;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent), #ffffff 90%);
  padding: 9px 14px;
  font-weight: 800;
}

.blog-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.18s ease;
}

.blog-card:hover .blog-card-link,
.blog-card:focus-within .blog-card-link,
.blog-card-link:hover {
  color: #ffffff;
  background: var(--accent);
}

.blog-card:hover .blog-card-link svg,
.blog-card:focus-within .blog-card-link svg {
  transform: translateX(2px);
}

.blog-empty-state {
  margin: 0;
}

.blog-empty-state h2 {
  color: #111827 !important;
}

.blog-empty-state p {
  color: #4b5563 !important;
}

.blog-detail-hero h1 {
  max-width: 880px;
  font-size: 42px;
  line-height: 1.12;
}

.blog-tags span {
  padding: 6px 10px;
  border-radius: 999px;
  color: #4b5563;
  border: 1px solid var(--line);
  background: var(--panel);
  font-weight: 700;
  font-size: 13px;
}

.blog-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: var(--public-grid-gap-roomy);
  margin-block: var(--public-section-space);
  align-items: start;
}

.blog-article-body {
  padding: var(--public-card-padding-2xl);
  color: #374151;
  line-height: 1.85;
}

.blog-article-image {
  margin: 0 0 var(--public-grid-gap-roomy);
}

.blog-article-image img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--line);
  border-radius: calc(var(--public-card-radius) - 6px);
}

.blog-article-body h2,
.blog-article-body h3,
.blog-article-body h4 {
  color: #111827;
}

.blog-sidebar {
  display: grid;
  gap: var(--public-grid-gap);
}

.blog-side-panel {
  padding: var(--public-card-padding-lg);
}

.blog-side-panel h2 {
  margin: 0 0 12px;
  font-size: 17px;
}

.blog-side-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.blog-side-panel li {
  line-height: 1.45;
}

@media (max-width: 760px) {
  .blog-hero,
  .blog-detail-hero {
    margin-top: var(--public-section-space-mobile);
  }

  .blog-hero {
    padding: var(--public-card-padding-mobile);
  }

  .blog-hero h1,
  .blog-detail-hero h1 {
    font-size: 28px;
  }

  .blog-detail-layout {
    grid-template-columns: 1fr;
  }

  .blog-card-body,
  .blog-side-panel,
  .blog-article-body {
    padding: var(--public-card-padding-mobile);
  }
}

/* ==========================================================================
   4. Public Listing, Promo, And Tracking
   ========================================================================== */
.list-hero {
  margin-top: var(--public-page-top-space);
  padding: var(--public-card-padding-md) var(--public-card-padding);
  border-radius: var(--public-card-radius);
  background: linear-gradient(90deg, var(--public-primary-soft), var(--line));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--public-grid-gap-lg);
}

.list-hero h1 {
  margin: 0;
  font-family: "Exo 2", sans-serif;
  font-size: 28px;
}

.list-hero h1 span {
  color: var(--accent);
}

.list-hero strong {
  display: inline-block;
  margin-left: 12px;
  color: var(--accent);
  background: rgb(255 255 255 / 68%);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
}

.trust-row {
  display: flex;
  gap: 16px;
  color: #4b5563;
  font-size: 13px;
}

.listing-section {
  margin-top: var(--public-section-space-half);
}

.listing-head h2 {
  margin: 0 0 6px;
  font-size: 24px;
}

.listing-head h2 span {
  color: var(--accent);
}

.listing-head p {
  margin: 0;
  color: var(--muted);
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: var(--public-grid-gap-tiny);
  margin: var(--public-section-space-third) 0 var(--public-page-top-space);
}

.category-pill {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: #4b5563;
  font-size: 13px;
  font-weight: 700;
}

.category-pill.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: var(--shadow-sm);
}

.empty-state {
  background: var(--panel);
  border: 1px solid #f3f4f6;
  border-radius: var(--public-card-radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  padding: var(--public-card-padding-empty) var(--public-page-top-space);
}

.empty-state > span {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--public-primary-soft);
  border-radius: 999px;
}

.empty-state h1,
.empty-state h2 {
  margin: 0 0 8px;
}

.empty-state p {
  color: var(--muted);
  margin: 0 0 18px;
}

.primary-button,
.buy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--primary), var(--rose));
  color: white;
  font-weight: 800;
  padding: 14px 22px;
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.promo-page,
.sale-empty {
  margin-top: var(--public-page-top-space-lg);
}

.page-heading {
  margin-bottom: var(--public-page-top-space);
}

.page-heading h1 {
  font-size: clamp(28px, 4vw, 42px);
  margin: 0 0 8px;
}

.page-heading p {
  color: var(--muted);
  margin: 0;
}

/* Track transaction pages live in the same visual family as promo cards. */
.track-page {
  max-width: 820px;
  margin-top: 34px;
}

.promo-card,
.track-card,
.track-empty-card,
.track-heading,
.track-summary-banner,
.track-overview-card,
.track-history-card,
.track-details-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.promo-card {
  position: relative;
  width: min(100%, 332px);
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 14px 28px rgb(15 23 42 / 10%);
  background:
    radial-gradient(circle at 18px 18px, rgb(183 28 28 / 0.06) 0, rgb(183 28 28 / 0.06) 2px, transparent 2px) 0 0 / 42px 42px,
    linear-gradient(180deg, #fff8f7 0%, var(--panel) 42%);
}

.promo-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--public-grid-gap-2xl);
}

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

.promo-card-body {
  padding: var(--public-card-padding-lg) var(--public-card-padding-lg) var(--public-card-padding);
}

.promo-card-body h3 {
  margin: 0 0 14px;
  font-size: 23px;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: #23262f;
  white-space: nowrap;
}

.flash-sale-page {
  margin-top: var(--public-page-top-space);
  margin-bottom: var(--public-section-space-three-quarters);
}

.flash-sale-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--public-grid-gap-lg);
}

.flash-sale-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.flash-sale-highlight {
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--public-accent-soft) 0%, var(--panel) 100%);
  color: var(--primary);
  box-shadow: 0 10px 24px rgb(124 58 237 / 12%);
}

.flash-sale-highlight span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
}

.flash-sale-highlight svg {
  width: 20px;
  height: 20px;
}

.flash-sale-highlight strong,
.flash-sale-highlight small {
  display: block;
}

.flash-sale-highlight strong {
  font-size: 16px;
}

.flash-sale-highlight small {
  margin-top: 4px;
  color: var(--accent);
}

.flash-sale-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--public-grid-gap-xl);
}

.flash-sale-card {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--public-soft-line);
  background:
    radial-gradient(circle at 22px 22px, rgb(139 92 246 / 0.08) 0, rgb(139 92 246 / 0.08) 2px, transparent 2px) 0 0 / 46px 46px,
    linear-gradient(180deg, var(--public-accent-soft) 0%, var(--panel) 48%);
  box-shadow: 0 16px 34px rgb(124 58 237 / 12%);
}

.flash-sale-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 20px 0;
}

.flash-sale-badge {
  min-height: 34px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--public-soft-line);
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.flash-sale-discount {
  color: var(--accent);
  font-size: 14px;
  font-weight: 900;
}

.flash-sale-card-body {
  padding: 16px 20px 22px;
}

.flash-sale-card-body h2 {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.flash-sale-card-body p {
  margin: 0 0 18px;
  color: #6b7280;
  line-height: 1.6;
}

.flash-sale-code-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 18px;
}

.flash-sale-code,
.flash-sale-quota {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 800;
}

.flash-sale-code {
  gap: 8px;
  padding: 0 14px;
  border: 1px dashed var(--line);
  background: var(--panel);
  color: var(--primary);
}

.flash-sale-code svg {
  width: 16px;
  height: 16px;
}

.flash-sale-quota {
  padding: 0 12px;
  background: var(--public-highlight-soft);
  color: var(--primary);
}

.flash-sale-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.flash-sale-meta div {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--public-soft-line);
}

.flash-sale-meta dt {
  margin-bottom: 8px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.flash-sale-meta dd {
  margin: 0;
  color: #111827;
  font-size: 16px;
  font-weight: 900;
}

.flash-sale-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.flash-sale-copy-button,
.flash-sale-link {
  flex: 1;
  min-height: 46px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 900;
}

.flash-sale-copy-button {
  border: none;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  color: #fff;
  box-shadow: 0 14px 24px rgb(124 58 237 / 24%);
}

.flash-sale-copy-button svg {
  width: 17px;
  height: 17px;
}

.flash-sale-link {
  border: 1px solid var(--public-soft-line);
  background: var(--panel);
  color: var(--primary);
}

.promo-ribbon {
  position: absolute;
  top: 18px;
  right: -38px;
  min-width: 148px;
  padding: 12px 48px 11px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
  color: white;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  transform: rotate(45deg);
  box-shadow: 0 8px 20px rgb(109 40 217 / 26%);
}

.promo-chip-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.promo-code-chip,
.promo-state-chip,
.track-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
}

.promo-code-chip {
  border: 1px dashed var(--line);
  background: var(--panel);
  color: var(--primary);
  padding: 11px 14px;
}

.promo-code-chip svg {
  width: 16px;
  height: 16px;
}

.promo-code-chip code {
  font-family: inherit;
}

.promo-state-chip {
  background: var(--public-highlight-soft);
  color: var(--primary);
  padding: 11px 14px;
}

.promo-description {
  border-top: 2px dashed var(--public-soft-line);
  padding-top: 18px;
  margin-bottom: 18px;
}

.promo-description p {
  margin: 0;
  color: #585f6f;
  line-height: 1.65;
}

.promo-meta,
.track-result-grid,
.track-input-grid {
  display: grid;
  gap: 14px;
}

.promo-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.promo-meta div,
.track-result-grid div,
.track-input-grid div {
  background: var(--soft);
  border-radius: 14px;
  padding: 14px 16px;
}

.promo-meta dt,
.track-result-grid small,
.track-input-grid small,
.track-result-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.promo-meta dt svg {
  width: 14px;
  height: 14px;
  color: var(--accent);
  flex: 0 0 auto;
}

.promo-meta dd,
.track-result-grid strong,
.track-input-grid strong {
  margin: 0;
  font-size: 15px;
  font-weight: 800;
}

.promo-copy-button {
  width: 100%;
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--rose) 100%);
  color: white;
  font-weight: 800;
  padding: 14px 18px;
  box-shadow: 0 12px 24px rgb(124 58 237 / 24%);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
}

.promo-copy-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgb(124 58 237 / 28%);
}

.promo-copy-button.is-copied {
  background: linear-gradient(90deg, #198754 0%, #27ae60 100%);
}

.track-heading {
  text-align: center;
  padding: var(--public-card-padding-xl) var(--public-page-top-space);
  margin-bottom: var(--public-page-top-space);
}

.track-heading span {
  background: linear-gradient(135deg, var(--primary), var(--rose));
}

.track-heading h1 {
  margin: 14px 0 8px;
  font-size: clamp(30px, 4vw, 42px);
}

.track-heading p {
  margin: 0;
  color: var(--muted);
}

.track-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--public-card-radius);
  box-shadow: var(--shadow-sm);
  padding: var(--public-card-padding-xl);
}

.track-card label,
.checkout-step label,
.email-login label {
  display: block;
  font-weight: 800;
  margin-bottom: 8px;
}

.track-card strong,
.checkout-step strong {
  color: var(--primary);
}

.field-with-icon {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 0 14px;
}

.field-with-icon:focus-within {
  border-color: var(--primary);
}

.field-with-icon input,
.checkout-step input,
.promo-row input,
.email-login input {
  width: 100%;
  box-sizing: border-box;
  border: 0;
  outline: 0;
  background: var(--panel);
  color: var(--ink);
  padding: 14px 0;
}

.track-card > p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.track-card .primary-button {
  width: 100%;
}

.track-status-pill.success {
  background: #dcfce7;
  color: #166534;
}

.track-status-pill.warning {
  background: var(--public-highlight-soft);
  color: var(--primary);
}

.track-status-pill.danger {
  background: var(--public-highlight-soft);
  color: var(--primary);
}

.track-status-pill.neutral {
  background: #e5e7eb;
  color: #374151;
}

.track-inputs {
  margin-top: 18px;
}

.track-inputs h3 {
  margin: 0 0 12px;
}

.track-input-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.track-empty-card {
  margin-top: var(--public-section-space-compact);
  text-align: center;
  padding: var(--public-card-padding-3xl) var(--public-page-top-space);
}

.track-empty-card > span {
  width: 60px;
  height: 60px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  color: var(--primary);
  background: var(--public-highlight-soft);
  border-radius: 999px;
}

.track-empty-card h2 {
  margin: 0 0 8px;
}

.track-empty-card p {
  color: var(--muted);
  margin: 0;
}

.track-transaction-layout {
  margin-top: var(--public-section-space-compact);
}

.track-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #374151;
  font-weight: 700;
  margin-bottom: 18px;
}

.track-back-link svg {
  width: 18px;
  height: 18px;
  transform: rotate(180deg);
}

.track-summary-banner {
  display: flex;
  align-items: flex-start;
  gap: var(--public-grid-gap);
  padding: var(--public-card-padding);
  margin-bottom: var(--public-section-space-compact);
}

.track-summary-banner.success {
  background: #f3fff3;
  border-color: #b6edbf;
}

.track-summary-banner.warning {
  background: var(--public-accent-soft);
  border-color: var(--public-soft-line);
}

.track-summary-banner.danger {
  background: var(--public-accent-soft);
  border-color: #e9d5ff;
}

.track-summary-banner.neutral {
  background: #f8fafc;
}

.track-summary-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: white;
  background: #22c55e;
}

.track-summary-banner.warning .track-summary-icon {
  background: var(--accent);
}

.track-summary-banner.danger .track-summary-icon {
  background: var(--rose);
}

.track-summary-banner.neutral .track-summary-icon {
  background: #64748b;
}

.track-summary-icon svg {
  width: 20px;
  height: 20px;
}

.track-summary-copy h2 {
  margin: 6px 0 6px;
  font-size: 28px;
}

.track-summary-copy p {
  margin: 0;
  color: #4b5563;
  line-height: 1.6;
}

.track-summary-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgb(255 255 255 / 85%);
  border: 1px solid rgb(34 197 94 / 20%);
  color: #166534;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
}

.track-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(260px, 1fr);
  gap: var(--public-grid-gap-xl);
  align-items: start;
}

.track-overview-stack {
  display: grid;
  gap: var(--public-grid-gap-xl);
}

.track-overview-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: var(--public-grid-gap-roomy);
  padding: var(--public-card-padding);
}

.track-overview-media {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid #f1f5f9;
  box-shadow: 0 6px 18px rgb(15 23 42 / 6%);
  display: grid;
  place-items: center;
}

.track-overview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.track-overview-media span {
  color: var(--primary);
}

.track-overview-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.track-overview-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  margin-bottom: 12px;
}

.track-overview-copy h2 {
  margin: 0 0 6px;
  font-size: 22px;
}

.track-overview-copy p,
.track-history-item p {
  margin: 0;
  color: #4b5563;
}

.track-overview-copy small,
.track-section-label {
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.track-overview-copy small {
  margin-top: 14px;
}

.track-overview-copy strong {
  margin-top: 6px;
  font-size: 26px;
  color: var(--primary);
}

.track-history-card,
.track-details-card,
.track-voucher-card {
  overflow: hidden;
}

.track-history-card h3,
.track-details-card h3,
.track-voucher-card h3 {
  margin: 0;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.track-history-card h3 svg,
.track-details-card h3 svg,
.track-voucher-card h3 svg {
  width: 16px;
  height: 16px;
  color: var(--primary);
}

.track-history-list {
  padding: 18px 18px 10px;
}

.track-history-item {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 20px;
}

.track-history-item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 34px;
  width: 2px;
  height: calc(100% - 22px);
  background: #86efac;
}

.track-history-dot {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #22c55e;
  color: white;
  box-shadow: 0 6px 16px rgb(34 197 94 / 24%);
}

.track-history-dot svg {
  width: 16px;
  height: 16px;
}

.track-history-item strong {
  display: block;
  margin-bottom: 4px;
}

.track-details-card {
  margin-top: 22px;
}

.track-voucher-card .track-detail-box {
  display: grid;
  gap: 12px;
}

.track-voucher-card .track-detail-row + .track-detail-row {
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.track-voucher-card .track-detail-row strong {
  display: block;
  word-break: break-word;
}

.track-detail-block {
  padding: var(--public-card-padding-md);
}

.track-detail-block + .track-detail-block {
  border-top: 1px solid var(--line);
}

.track-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.track-detail-row small {
  display: block;
  margin-bottom: 8px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.track-detail-row strong {
  font-size: 16px;
}

.track-copy-button {
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: #f8fafc;
  color: #64748b;
  cursor: pointer;
}

.track-copy-button.is-copied {
  background: #dcfce7;
  color: #166534;
}

.track-detail-box {
  margin-top: var(--public-grid-gap-sm);
  background: #f8fafc;
  border-radius: var(--public-card-radius);
  padding: var(--public-card-padding-sm);
}

.track-detail-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.track-detail-line + .track-detail-line {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}

.track-detail-line span {
  color: #6b7280;
}

.track-detail-line strong {
  text-align: right;
}

.track-payment-card {
  background: var(--surface);
  border: 1px solid var(--border-color);
  border-radius: var(--public-card-radius);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: var(--public-grid-gap-2xl);
  grid-template-columns: minmax(0, 1fr) auto;
  padding: var(--public-page-top-space);
}

.track-payment-card.warning {
  grid-template-columns: 1fr;
}

.public-payment-layout {
  display: grid;
  gap: var(--public-grid-gap-xl);
}

.track-payment-card--centered {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}

.track-payment-copy--centered {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.track-payment-copy h3 {
  align-items: center;
  color: var(--text-primary);
  display: flex;
  gap: 10px;
  margin: 0 0 8px;
}

.track-payment-copy h3 svg {
  height: 20px;
  width: 20px;
}

.track-payment-copy p {
  color: var(--text-muted);
  margin: 0 0 14px;
}

.track-payment-copy strong {
  color: var(--primary);
  display: block;
  font-size: 24px;
}

.track-payment-copy small {
  color: var(--danger);
  display: block;
  margin-top: 10px;
}

.track-qris-box {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--border-color);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
  min-width: 220px;
  padding: 16px;
}

.track-qris-box--centered {
  margin: 0 auto;
  max-width: 320px;
  min-width: min(100%, 260px);
  width: min(100%, 320px);
}

.track-qris-box svg,
.track-qris-box img {
  display: block;
  height: auto;
  max-width: 220px;
  width: 100%;
}

.help-card {
  margin-top: var(--public-section-space-compact);
  padding: var(--public-page-top-space);
  background: #f9fafb;
}

.help-card h2 {
  margin: 0 0 12px;
}

.help-card p {
  color: #4b5563;
}

.help-card a {
  color: var(--primary);
  font-weight: 800;
}

@media (max-width: 720px) {
  .promo-meta,
  .track-result-grid {
    grid-template-columns: 1fr;
  }

  .user-transactions-head,
  .user-transactions-actions,
  .user-transaction-row,
  .user-transaction-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .user-transaction-grid {
    grid-template-columns: 1fr;
  }

  .promo-card {
    width: 100%;
  }

  .promo-card-body h3 {
    font-size: 23px;
  }

  .track-result-head {
    flex-direction: column;
  }

  .track-overview-grid {
    grid-template-columns: 1fr;
  }

  .track-payment-card {
    grid-template-columns: 1fr;
  }

  .track-qris-box {
    min-width: 0;
    width: 100%;
  }

  .track-overview-card {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .track-overview-media {
    width: 72px;
    height: 72px;
  }

  .track-summary-banner,
  .track-detail-row,
  .track-detail-line {
    align-items: flex-start;
  }

  .track-detail-row,
  .track-detail-line {
    flex-direction: column;
  }

  .track-detail-line strong {
    text-align: left;
  }
}

/* ==========================================================================
   5. Game Detail And Checkout
   ========================================================================== */
.game-detail {
  --detail-primary: var(--primary);
  --detail-primary-strong: var(--primary-600);
  --detail-primary-soft: var(--public-primary-soft);
  --detail-line: var(--line);
  --detail-line-strong: var(--public-soft-line);
  --detail-muted: var(--muted);
  --detail-page: var(--public-bg-end);
  margin-top: var(--public-page-top-space);
}

.game-detail-shell {
  max-width: var(--public-detail-width);
  margin: 0 auto;
  display: grid;
  gap: var(--public-grid-gap);
}

.game-hero-card,
.instruction-card,
.checkout-card {
  background: var(--panel);
  border: 1px solid var(--detail-line);
  border-radius: var(--public-card-radius);
  box-shadow: 0 14px 34px rgb(15 23 42 / 8%);
  overflow: hidden;
}

.game-hero-banner {
  background: linear-gradient(135deg, var(--detail-primary-strong), var(--accent));
}

.game-hero-banner img {
  width: 100%;
  height: 240px;
  display: block;
  object-fit: cover;
}

.game-hero-body {
  position: relative;
  padding: 0 var(--public-card-padding-md) var(--public-card-padding-md);
}

.game-hero-thumb {
  width: 84px;
  height: 84px;
  margin-top: -34px;
  border-radius: 20px;
  overflow: hidden;
  border: 4px solid var(--panel);
  box-shadow: 0 10px 24px rgb(15 23 42 / 18%);
}

.game-hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-hero-copy h1 {
  margin: 14px 0 0;
  font-family: "Exo 2", sans-serif;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.1;
  color: #1f2937;
}

.game-hero-copy p {
  margin: 14px 0 0;
  color: #4b5563;
  line-height: 1.7;
}

.instruction-card {
  padding: var(--public-card-padding-md);
  border-color: var(--detail-line);
  background: var(--panel);
}

.instruction-card h2 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #1f2937;
}

.instruction-card p {
  margin: 0;
  color: #4b5563;
  line-height: 1.7;
}

.instruction-card p + p {
  margin-top: 10px;
}

.game-uid-guide-image {
  width: 100%;
  display: block;
  margin-top: 12px;
  border-radius: 16px;
  border: 1px solid var(--detail-line);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--detail-muted);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--detail-primary);
}

.checkout-card {
  background: linear-gradient(180deg, #fdfaff 0%, var(--detail-page) 100%);
  border-color: var(--detail-line);
}

.checkout-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding: 14px;
  background: linear-gradient(135deg, var(--detail-primary-strong), var(--accent));
}

.checkout-tabs button {
  border: 0;
  border-radius: 14px;
  background: rgb(255 255 255 / 14%);
  color: rgb(255 255 255 / 82%);
  padding: 14px 16px;
  font-weight: 800;
}

.checkout-tabs button.is-active {
  background: var(--panel);
  color: var(--detail-primary);
  box-shadow: 0 10px 24px rgb(15 23 42 / 18%);
}

[data-checkout-form] {
  padding: var(--public-grid-gap) var(--public-grid-gap) 0;
}

.checkout-step {
  margin-bottom: var(--public-grid-gap);
  border: 1px solid var(--detail-line);
  border-radius: var(--public-card-radius);
  background: var(--panel);
  overflow: hidden;
}

.checkout-step[hidden],
.voucher-panel[hidden] {
  display: none;
}

.checkout-step-body {
  padding: var(--public-card-padding-md);
}

.step-title {
  display: flex;
  align-items: center;
  gap: var(--public-grid-gap-sm);
  margin: 0;
  padding: var(--public-grid-gap) var(--public-card-padding-md);
  background: linear-gradient(90deg, var(--detail-primary-strong) 0%, var(--accent) 52%, rgb(255 255 255 / 96%) 100%);
}

.step-title span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgb(255 255 255 / 16%);
  color: white;
  font-size: 14px;
  font-weight: 900;
  border: 1px solid rgb(255 255 255 / 18%);
}

.step-title h2 {
  margin: 0;
  display: flex;
  align-items: center;
  font-size: 20px;
  line-height: 1;
  min-height: 32px;
  color: white;
}

.game-data-grid,
.contact-grid {
  display: grid;
  gap: var(--public-grid-gap);
}

.game-data-grid,
.contact-grid-double {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: 1fr;
}

.checkout-step label,
.voucher-note-field label {
  display: block;
  margin-bottom: 8px;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
}

.checkout-step input,
.checkout-step select,
.voucher-note-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--detail-line-strong);
  border-radius: 14px;
  background: var(--panel);
  color: #111827;
  outline: 0;
  padding: 14px 16px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

.checkout-step input:focus,
.checkout-step select:focus,
.voucher-note-field textarea:focus {
  border-color: var(--detail-primary);
  box-shadow: 0 0 0 3px rgb(17 19 64 / 10%);
}

.checkout-step small {
  color: #9ca3af;
  font-weight: 500;
}

.inline-guide-card {
  margin-top: var(--public-grid-gap-roomy);
  border: 1px solid var(--detail-line);
  border-radius: var(--public-card-radius);
  background: #f8fafc;
  padding: var(--public-card-padding-xs);
}

.inline-guide-card h3 {
  margin: 0;
  color: #1f2937;
  font-size: 15px;
}

.product-group + .product-group {
  margin-top: var(--public-grid-gap);
}

.product-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--detail-line);
}

.product-group-head strong {
  color: #111827;
  font-size: 16px;
}

.product-group-head span {
  color: var(--detail-muted);
  font-size: 13px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--public-grid-gap-sm);
}

.product-option {
  position: relative;
  min-height: 188px;
  border: 1px solid var(--detail-line);
  border-radius: var(--public-card-radius);
  padding: var(--public-card-padding-md) var(--public-grid-gap-sm);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: stretch;
  background: var(--panel);
  text-align: center;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}

.product-option-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  gap: var(--public-grid-gap-sm);
  height: 100%;
}

.product-option-media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.product-option-media img,
.product-option-fallback {
  width: 78px;
  height: 78px;
  border-radius: 20px;
}

.product-option-media img {
  object-fit: cover;
  border: 1px solid var(--public-soft-line);
  background: var(--panel);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.product-option-fallback {
  display: block;
  background: #f3f4f6;
}

.product-option input {
  position: absolute;
  inset: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.product-option:has(input:checked) {
  border-color: var(--detail-primary);
  box-shadow: inset 0 0 0 1px var(--detail-primary);
  background: var(--public-accent-soft);
}

.product-option:hover {
  border-color: #bfc6d3;
  transform: translateY(-1px);
}

.product-option-name {
  display: -webkit-box;
  width: 100%;
  max-width: 100%;
  min-height: calc(1.3em * 2);
  color: #111827;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-option-pricing {
  display: grid;
  gap: 4px;
  width: 100%;
  justify-items: center;
  margin-top: auto;
}

.product-option-pricing small {
  max-width: 100%;
  color: #9ca3af;
  font-size: 12px;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  text-decoration: line-through;
  white-space: nowrap;
}

.product-option-pricing strong {
  max-width: 100%;
  color: var(--detail-primary);
  font-size: 16px;
  line-height: 1.1;
  overflow: hidden;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-option em {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ef4444, #f97316);
  color: white;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  overflow: hidden;
  padding: 6px 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.promo-box {
  border: 1px solid var(--detail-line);
  border-radius: var(--public-card-radius);
  background: #fbfdff;
  padding: var(--public-card-padding-xs);
}

.promo-row {
  display: flex;
  gap: 10px;
}

.promo-row button {
  border: 0;
  color: white;
  font-weight: 800;
  padding: 0 18px;
  border-radius: 12px;
  margin: 0;
}

.apply-promo-button {
  background: var(--detail-primary);
}

.remove-promo-button {
  background: #e5e7eb;
  color: #374151 !important;
}

.promo-feedback {
  margin-top: 12px;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
}

.promo-feedback.is-success {
  background: #ecfdf3;
  border: 1px solid #86efac;
  color: #166534;
}

.promo-feedback.is-error {
  background: #fff7ed;
  border: 1px solid #fdba74;
  color: #9a3412;
}

.payment-stack {
  display: grid;
  gap: var(--public-grid-gap-sm);
}

.payment-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--public-grid-gap-md);
  border: 1px solid var(--detail-line);
  border-radius: var(--public-card-radius);
  padding: var(--public-card-padding-xs);
  cursor: pointer;
  background: var(--panel);
}

.payment-option:has(input:checked) {
  border-color: var(--detail-primary);
  box-shadow: inset 0 0 0 1px var(--detail-primary);
  background: var(--public-accent-soft);
}

.payment-option input {
  position: absolute;
  inset: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.payment-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--detail-primary-soft);
  color: var(--detail-primary);
  flex: 0 0 auto;
}

.payment-option svg {
  width: 22px;
  height: 22px;
}

.payment-option strong,
.payment-option small {
  display: block;
}

.payment-option strong {
  color: #111827;
}

.payment-option small {
  color: var(--detail-muted);
  margin-top: 3px;
}

.fee-note {
  margin: 0 var(--public-grid-gap) var(--public-page-top-space);
  display: flex;
  align-items: center;
  gap: var(--public-grid-gap-sm);
  border-radius: var(--public-card-radius);
  border: 1px solid var(--detail-line-strong);
  background: linear-gradient(90deg, var(--public-highlight-soft), var(--public-soft-line));
  color: var(--detail-primary-strong);
  padding: var(--public-card-padding-md) var(--public-grid-gap);
}

.fee-note span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--panel);
  color: var(--detail-primary);
}

.fee-note svg {
  width: 18px;
  height: 18px;
}

.fee-note strong {
  display: block;
  line-height: 1.25;
}

.checkout-summary {
  position: sticky;
  bottom: 12px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--public-grid-gap);
  margin: 0 -1px;
  border: 1px solid #dbe0e7;
  border-radius: 22px 22px 0 0;
  background: var(--panel);
  box-shadow: 0 -10px 24px rgb(15 23 42 / 10%);
  padding: var(--public-grid-gap) var(--public-card-padding-md);
}

.checkout-summary small,
.checkout-summary span {
  display: block;
  color: var(--detail-muted);
}

.checkout-summary strong {
  display: block;
  color: #111827;
  font-size: 22px;
  margin: 2px 0;
}

.checkout-summary .buy-button {
  min-width: 196px;
}

.checkout-check-id-alert[hidden],
.checkout-confirmation-modal[hidden] {
  display: none;
}

.checkout-confirmation-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
}

.checkout-confirmation-backdrop {
  position: absolute;
  inset: 0;
  background: rgb(15 23 42 / 64%);
  backdrop-filter: blur(4px);
}

.checkout-confirmation-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(720px, calc(100vh - 36px));
  overflow: auto;
  border-radius: var(--public-card-radius);
  background: var(--panel);
  box-shadow: 0 28px 80px rgb(15 23 42 / 28%);
}

.checkout-confirmation-panel header,
.checkout-confirmation-panel footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
}

.checkout-confirmation-panel header {
  background: linear-gradient(90deg, var(--detail-primary), var(--accent));
  color: white;
}

.checkout-confirmation-panel header h2 {
  margin: 0;
  font-size: 20px;
}

.checkout-confirmation-panel header button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 14%);
  color: white;
}

.checkout-confirmation-panel header svg {
  width: 18px;
  height: 18px;
}

.checkout-confirmation-body {
  display: grid;
  gap: var(--public-grid-gap-md);
  padding: var(--public-card-padding-md);
}

.checkout-confirmation-body dl,
.checkout-confirmation-fields {
  display: grid;
  gap: 10px;
  margin: 0;
}

.checkout-confirmation-body dl div,
.checkout-confirmation-field {
  display: grid;
  grid-template-columns: minmax(110px, 36%) minmax(0, 1fr);
  gap: 12px;
  border-bottom: 1px solid var(--detail-line);
  padding-bottom: 10px;
}

.checkout-confirmation-body dt,
.checkout-confirmation-field span {
  color: var(--detail-muted);
  font-size: 13px;
  font-weight: 700;
}

.checkout-confirmation-body dd,
.checkout-confirmation-field strong {
  min-width: 0;
  margin: 0;
  color: #111827;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.checkout-confirmation-profile {
  border: 1px solid #bbf7d0;
  border-radius: var(--public-card-radius);
  background: #f0fdf4;
  padding: var(--public-card-padding-xs);
}

.checkout-confirmation-profile small,
.checkout-confirmation-profile span {
  display: block;
  color: #15803d;
}

.checkout-confirmation-profile strong {
  display: block;
  margin: 4px 0;
  color: #14532d;
  font-size: 18px;
}

.checkout-confirmation-error {
  margin: 0;
  border: 1px solid #fecaca;
  border-radius: 14px;
  background: #fff1f2;
  color: #be123c;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
}

.checkout-confirmation-warning {
  margin: 0;
  border: 1px solid #fde68a;
  border-radius: 14px;
  background: #fffbeb;
  color: #92400e;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
}

.checkout-confirmation-panel footer {
  border-top: 1px solid var(--detail-line);
}

.checkout-confirmation-panel footer .buy-button {
  margin: 0;
}

.checkout-confirmation-secondary {
  border: 1px solid var(--detail-line);
  border-radius: 14px;
  background: var(--panel);
  color: #374151;
  font-weight: 800;
  padding: 12px 16px;
}

.game-detail .buy-button {
  margin: 0;
  background: linear-gradient(90deg, var(--detail-primary), var(--accent));
  box-shadow: var(--shadow-md);
}

.voucher-panel {
  padding: 0;
}

.voucher-panel-head {
  display: flex;
  align-items: center;
  gap: var(--public-grid-gap-md);
  margin: 0 var(--public-grid-gap) var(--public-grid-gap);
  padding: var(--public-card-padding-md);
  border: 1px solid var(--detail-line);
  border-radius: var(--public-card-radius);
  background: var(--panel);
}

.voucher-panel-head > span {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--public-highlight-soft), var(--public-soft-line));
  color: var(--detail-primary);
}

.voucher-panel-head svg {
  width: 22px;
  height: 22px;
}

.voucher-panel-head h2 {
  margin: 0 0 6px;
  font-size: 28px;
  color: #111827;
}

.voucher-panel-head p {
  margin: 0;
  color: var(--detail-muted);
  line-height: 1.6;
}

.voucher-note-field {
  margin-top: var(--public-grid-gap);
}

.voucher-note-field textarea {
  resize: vertical;
  min-height: 112px;
}

.related-section {
  margin-bottom: var(--public-section-space-large);
}

.related-section .listing-head {
  margin-bottom: var(--public-grid-gap);
}

/* ==========================================================================
   6. About, Legal, Footer, Auth, And Public Transactions
   ========================================================================== */
.about-intro {
  background: var(--panel);
  text-align: center;
}

.about-intro .narrow {
  max-width: var(--public-narrow-width);
  padding: var(--public-section-space-wide) 0;
}

.about-intro img {
  height: 46px;
  margin: 0 auto 22px;
}

.about-intro p {
  color: var(--muted);
  line-height: 1.8;
}

.stats-grid,
.vision-grid {
  display: grid;
  gap: var(--public-grid-gap-roomy);
  margin-block: var(--public-section-space);
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  text-align: center;
}

.stats-grid strong {
  display: block;
  font-size: 34px;
  margin-bottom: 6px;
}

.stats-grid span {
  display: block;
  font-weight: 800;
}

.stats-grid p {
  color: var(--muted);
  font-size: 13px;
}

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

.vision-grid article,
.legal-page article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--public-card-radius);
  padding: var(--public-card-padding-xl);
  box-shadow: var(--shadow-sm);
}

.vision-grid h2,
.legal-page h2 {
  margin-top: 0;
}

.vision-grid p,
.legal-page p {
  color: var(--muted);
  line-height: 1.8;
}

.legal-page {
  margin-top: var(--public-section-space-two-thirds);
  margin-bottom: var(--public-section-space);
  padding: var(--public-card-padding-2xl);
  display: grid;
  gap: var(--public-grid-gap);
}

.legal-page h1 {
  margin: 0 0 12px;
  font-size: 38px;
}

.site-footer {
  background: linear-gradient(180deg, var(--public-footer-bg-start) 0%, var(--public-footer-bg-end) 100%);
  border-top: 1px solid var(--public-soft-line);
  margin-top: var(--public-section-space-xl);
  padding: var(--public-footer-padding-y) 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: var(--public-grid-gap-footer);
  align-items: start;
}

.footer-logo {
  height: auto;
  width: min(100%, var(--public-footer-logo-width));
  max-width: 100%;
  margin-bottom: 16px;
}

.footer-logo-mobile {
  display: none;
}

.footer-company h2,
.site-footer h3 {
  margin: 0 0 10px;
  font-size: 14px;
}

.footer-company p,
.site-footer li,
.footer-bottom p {
  color: var(--public-footer-text);
  font-size: 14px;
  line-height: 1.6;
}

.footer-company h2,
.site-footer h3,
.footer-columns a,
.footer-bottom a {
  color: var(--public-footer-link);
}

.payment-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.payment-list img {
  height: var(--public-footer-payment-icon-height);
  width: auto;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--public-grid-gap-3xl);
}

.footer-columns ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-columns a:hover,
.footer-bottom a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 10px;
}

.site-footer .social-links a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  color: var(--public-footer-social-icon, #ffffff);
  font-weight: 800;
  font-size: 12px;
}

.site-footer .social-link-icon {
  width: 14px;
  height: 14px;
  display: block;
  color: currentColor;
  fill: currentColor;
}

.site-footer .social-links a:hover {
  color: var(--public-footer-social-icon, #ffffff);
}

.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px dashed var(--public-soft-line);
  text-align: center;
}

.site-footer--compact {
  padding: max(16px, calc(var(--public-footer-padding-y) * 0.72)) 0;
}

.site-footer--compact .footer-grid {
  grid-template-columns: 260px minmax(0, 1fr);
  gap: var(--public-grid-gap-2xl);
}

.site-footer--compact .footer-logo {
  width: min(100%, calc(var(--public-footer-logo-width) * 0.82));
}

.site-footer--compact .payment-list {
  margin-bottom: 18px;
}

.site-footer--stacked .footer-grid,
.site-footer--centered .footer-grid {
  grid-template-columns: 1fr;
}

.site-footer--stacked .footer-company {
  max-width: 520px;
}

.site-footer--centered {
  text-align: center;
}

.site-footer--centered .footer-logo,
.site-footer--centered .footer-logo-mobile {
  margin-inline: auto;
}

.site-footer--centered .payment-list,
.site-footer--centered .social-links {
  justify-content: center;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom p + p {
  margin-top: 8px;
}

.floating-actions {
  position: fixed;
  right: var(--public-floating-action-right, 18px);
  bottom: var(--public-floating-action-bottom, 18px);
  display: grid;
  gap: var(--public-floating-action-gap, 10px);
  z-index: 35;
}

.float-button,
.whatsapp-button {
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  font-weight: 800;
}

.float-button {
  width: var(--public-floating-button-size, 42px);
  height: var(--public-floating-button-size, 42px);
  display: grid;
  place-items: center;
  background: var(--public-floating-button-bg, var(--panel));
  color: var(--public-floating-button-text, var(--primary));
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--public-floating-whatsapp-bg, #075e54);
  color: var(--public-floating-whatsapp-text, white);
  padding: var(--public-floating-whatsapp-padding-y, 12px) var(--public-floating-whatsapp-padding-x, 16px);
  font-size: var(--public-floating-whatsapp-font-size, 14px);
  max-width: calc(100vw - 36px);
  white-space: nowrap;
}

.whatsapp-button-label-mobile {
  display: none;
}

.bottom-nav {
  display: none;
}

.auth-body {
  background: #f0f2f5;
}

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  padding: 24px;
}

.auth-logo img {
  height: 88px;
}

.auth-card {
  width: min(390px, 100%);
  background: var(--panel);
  border-radius: 24px;
  box-shadow: var(--shadow-md);
  padding: 26px;
}

.auth-card h1 {
  text-align: center;
  margin: 0 0 4px;
  font-size: 25px;
}

.auth-card > p {
  text-align: center;
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 13px;
}

.auth-benefits {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.auth-alert {
  margin-bottom: 18px;
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #be123c;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 600;
}

.auth-alert.is-success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #15803d;
}

.auth-errors {
  display: grid;
  gap: 6px;
  margin: -6px 0 18px;
  border: 1px solid #fed7aa;
  background: #fff7ed;
  color: #c2410c;
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 700;
}

.auth-benefits div {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.auth-benefits span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--accent);
  background: var(--public-primary-soft);
}

.oauth-button {
  width: 100%;
  display: flex;
  justify-content: center;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 12px;
  padding: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}

.oauth-form {
  margin: 18px 0 0;
}

.oauth-button.is-disabled {
  color: #9ca3af;
  background: #f9fafb;
}

.email-login {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.email-login input {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
}

.email-login button {
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-weight: 800;
  padding: 13px;
}

.auth-helper {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.auth-helper a {
  color: var(--accent);
  font-weight: 800;
}

.auth-footer {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
}

.auth-footer a {
  display: inline-block;
  margin: 0 5px 8px;
}

.public-transactions-page {
  margin-top: var(--public-page-top-space-list);
  margin-bottom: var(--public-section-space-page);
}

.public-transactions-head {
  display: grid;
  gap: 10px;
  margin-bottom: var(--public-section-space-half);
}

.public-transactions-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #6b7280;
  font-weight: 700;
}

.public-transactions-back-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  transform: rotate(180deg);
}

.public-transactions-back-icon svg {
  width: 18px;
  height: 18px;
}

.public-transactions-head h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
}

.public-transactions-head p {
  margin: 0;
  color: #6b7280;
  font-size: 16px;
}

.public-transactions-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--public-grid-gap-sm);
  background: var(--panel);
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  padding: var(--public-card-padding-xs);
  margin-bottom: var(--public-section-space-medium);
}

.public-transactions-filter {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 800;
}

.public-transactions-filter-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.public-transactions-filter-label-mobile {
  display: none;
}

.public-transactions-filter svg {
  width: 18px;
  height: 18px;
}

.public-transactions-filter.is-active {
  background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 12px 24px rgb(109 40 217 / 26%);
}

.public-transactions-stack {
  border-radius: var(--public-card-radius-lg);
  padding: var(--public-page-top-space);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel) 0%, var(--public-bg-end) 100%);
}

.public-transactions-stack.tone-pending {
  background: linear-gradient(180deg, var(--public-accent-soft) 0%, var(--public-bg-start) 100%);
  border-color: var(--line);
}

.public-transactions-stack.tone-processing {
  background: linear-gradient(180deg, var(--public-primary-soft) 0%, var(--public-bg-end) 100%);
  border-color: #c4b5fd;
}

.public-transactions-stack.tone-completed {
  background: linear-gradient(180deg, #f6fdf8 0%, #fbfefc 100%);
  border-color: #86efac;
}

.public-transactions-stack.tone-failed {
  background: linear-gradient(180deg, var(--public-accent-soft) 0%, var(--public-bg-start) 100%);
  border-color: #e9d5ff;
}

.public-transactions-stack-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}

.public-transactions-stack-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--accent);
}

.public-transactions-stack-icon svg {
  width: 22px;
  height: 22px;
}

.public-transactions-stack-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 4px;
}

.public-transactions-stack-title-row h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
}

.public-transactions-stack-count {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgb(139 92 246 / 16%);
  color: var(--primary);
  font-size: 14px;
  font-weight: 900;
}

.public-transactions-stack-head p {
  margin: 0;
  color: var(--primary);
  font-size: 16px;
}

.public-transactions-card-list {
  display: grid;
  gap: var(--public-grid-gap-roomy);
}

.public-transaction-card {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: var(--public-grid-gap-roomy);
  padding: var(--public-card-padding-xl) var(--public-card-padding-xl) var(--public-page-top-space);
  border-radius: var(--public-card-radius);
  border: 1px solid var(--public-soft-line);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
}

.public-transaction-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--accent);
}

.public-transaction-card.status-success::before {
  background: #16a34a;
}

.public-transaction-card.status-danger::before {
  background: var(--rose);
}

.public-transaction-card.status-warning::before {
  background: var(--accent);
}

.public-transaction-card-main {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  flex: 1;
}

.public-transaction-card-media {
  width: 74px;
  height: 74px;
  flex-shrink: 0;
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--public-soft-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.public-transaction-card-media img,
.public-transaction-card-fallback {
  width: 100%;
  height: 100%;
}

.public-transaction-card-media img {
  object-fit: cover;
}

.public-transaction-card-fallback {
  display: grid;
  place-items: center;
  font-size: 18px;
  font-weight: 900;
  color: #1f2937;
  background: var(--public-primary-soft);
}

.public-transaction-card-copy {
  min-width: 0;
  flex: 1;
}

.public-transaction-card-title-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}

.public-transaction-card-title-row h3 {
  margin: 0 0 4px;
  font-size: 22px;
  line-height: 1.15;
}

.public-transaction-card-title-row p {
  margin: 0;
  color: #374151;
  font-size: 16px;
  font-weight: 700;
}

.public-transaction-card-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #6b7280;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.public-transaction-deadline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 12px;
  background: var(--public-primary-soft);
  border: 1px solid var(--line);
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 14px;
}

.public-transaction-deadline-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
}

.public-transaction-deadline svg {
  width: 16px;
  height: 16px;
}

.public-transaction-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 700;
}

.public-transaction-card-meta strong:first-child {
  color: #4b5563;
  font-size: 15px;
  letter-spacing: .02em;
}

.public-transaction-card-amount {
  color: var(--accent);
  font-size: 18px;
}

.public-transaction-card-side {
  width: 190px;
  flex-shrink: 0;
  display: grid;
  justify-items: end;
  align-content: space-between;
  gap: 14px;
}

.public-transaction-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--public-primary-soft);
  color: var(--primary);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.public-transaction-countdown {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.public-transaction-countdown div {
  width: 54px;
  border-radius: 14px;
  border: 1px solid var(--public-soft-line);
  background: var(--panel);
  padding: 8px 6px;
  text-align: center;
}

.public-transaction-countdown strong {
  display: block;
  color: var(--accent);
  font-size: 20px;
  line-height: 1;
}

.public-transaction-countdown span {
  display: block;
  margin-top: 5px;
  color: #9ca3af;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.public-transaction-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 170px;
  padding: 0 20px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgb(109 40 217 / 24%);
}

body:not(.merchant-body) :where(h1, h2, h3) {
  color: var(--public-heading-color);
}

body:not(.merchant-body) :where(
  .intro-copy h1,
  .section-title h2,
  .page-heading h1,
  .track-heading h1,
  .public-transactions-head h1,
  .public-transactions-stack-title-row h2
) {
  font-size: var(--public-heading-font-size);
}

body:not(.merchant-body) :where(p, li, dd) {
  font-size: var(--public-body-font-size);
}

body:not(.merchant-body) :where(
  small,
  .search-placeholder,
  .game-card-body p,
  .product-group-head span,
  .payment-option small,
  .public-transaction-countdown span
) {
  font-size: var(--public-small-text-size);
}

body:not(.merchant-body) a:not([class]) {
  color: var(--public-link-color);
}

body:not(.merchant-body) label,
body:not(.merchant-body) .checkout-step label,
body:not(.merchant-body) .track-card label,
body:not(.merchant-body) .email-login label,
body:not(.merchant-body) .voucher-note-field label,
body:not(.merchant-body) .public-testimonial-field {
  color: var(--public-label-color);
  font-size: var(--public-label-font-size);
  margin-bottom: var(--public-label-margin-bottom);
}

body:not(.merchant-body) .email-login,
body:not(.merchant-body) .game-data-grid,
body:not(.merchant-body) .contact-grid,
body:not(.merchant-body) .payment-stack,
body:not(.merchant-body) .checkout-confirmation-fields {
  gap: var(--public-form-gap);
}

body:not(.merchant-body) input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
body:not(.merchant-body) select,
body:not(.merchant-body) textarea,
body:not(.merchant-body) .search-trigger,
body:not(.merchant-body) .field-with-icon,
body:not(.merchant-body) .search-input-wrap {
  border-color: var(--public-input-border);
  border-radius: var(--public-input-radius);
  background: var(--public-input-bg);
  color: var(--public-input-text);
  font-size: var(--public-input-font-size);
}

body:not(.merchant-body) input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]),
body:not(.merchant-body) select,
body:not(.merchant-body) textarea,
body:not(.merchant-body) .search-trigger {
  border-width: var(--public-input-border-width);
  padding: var(--public-input-padding-y) var(--public-input-padding-x);
}

body:not(.merchant-body) input::placeholder,
body:not(.merchant-body) textarea::placeholder,
body:not(.merchant-body) .search-placeholder {
  color: var(--public-input-placeholder);
}

body:not(.merchant-body) input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]):focus,
body:not(.merchant-body) select:focus,
body:not(.merchant-body) textarea:focus,
body:not(.merchant-body) .field-with-icon:focus-within,
body:not(.merchant-body) .search-input-wrap:focus-within,
body:not(.merchant-body) .search-trigger:hover {
  border-color: var(--public-input-focus-border);
}

body:not(.merchant-body) .field-with-icon,
body:not(.merchant-body) .search-input-wrap {
  border-width: var(--public-input-border-width);
  padding: 0 var(--public-input-padding-x);
}

body:not(.merchant-body) .field-with-icon input,
body:not(.merchant-body) .search-input-wrap input {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: var(--public-input-padding-y) 0;
}

body:not(.merchant-body) .primary-button,
body:not(.merchant-body) .buy-button,
body:not(.merchant-body) .promo-copy-button,
body:not(.merchant-body) .flash-sale-copy-button,
body:not(.merchant-body) .public-transaction-action,
body:not(.merchant-body) .promo-row button,
body:not(.merchant-body) .email-login button {
  min-height: var(--public-button-min-height);
  border: 1px solid var(--public-button-border);
  border-radius: var(--public-button-radius);
  background: var(--public-button-bg);
  color: var(--public-button-text);
  font-size: var(--public-button-font-size);
  padding: var(--public-button-padding-y) var(--public-button-padding-x);
}

body:not(.merchant-body) .primary-button:hover,
body:not(.merchant-body) .buy-button:hover,
body:not(.merchant-body) .promo-copy-button:hover,
body:not(.merchant-body) .flash-sale-copy-button:hover,
body:not(.merchant-body) .public-transaction-action:hover,
body:not(.merchant-body) .promo-row button:hover,
body:not(.merchant-body) .email-login button:hover {
  background: var(--public-button-hover-bg);
  color: var(--public-button-hover-text);
  border-color: var(--public-button-hover-bg);
}

body:not(.merchant-body) .flash-sale-link,
body:not(.merchant-body) .checkout-confirmation-secondary,
body:not(.merchant-body) .desktop-links .login-pill {
  min-height: var(--public-button-min-height);
  border-color: var(--public-button-border);
  border-radius: var(--public-button-radius);
  background: var(--public-secondary-button-bg);
  color: var(--public-secondary-button-text);
  font-size: var(--public-button-font-size);
  padding: var(--public-button-padding-y) var(--public-button-padding-x);
}

body:not(.merchant-body) .promo-copy-button,
body:not(.merchant-body) .track-card .primary-button,
body:not(.merchant-body) .email-login button,
body:not(.merchant-body) .field-with-icon,
body:not(.merchant-body) .search-input-wrap {
  margin-bottom: var(--public-control-margin-bottom);
}

body:not(.merchant-body) :where(
  .desktop-links,
  .section-link,
  .drawer-welcome a,
  .help-card a,
  .auth-helper a,
  .track-back-link,
  .public-transactions-back,
  .breadcrumb a,
  .flash-sale-link,
  .footer-columns a:hover,
  .footer-bottom a:hover
) {
  color: var(--public-link-color);
}

body:not(.merchant-body) :where(
  .merchant-game-reference-image,
  .game-card,
  .feature-card,
  .trust-signal-item,
  .faq-list,
  .seo-section article,
  .legal-page,
  .legal-page article,
  .vision-grid article,
  .empty-state,
  .track-card,
  .track-empty-card,
  .track-heading,
  .track-overview-card,
  .track-history-card,
  .track-details-card,
  .track-voucher-card,
  .checkout-step,
  .checkout-summary,
  .checkout-confirmation-panel,
  .voucher-panel-head,
  .payment-option,
  .product-option,
  .promo-box,
  .public-transactions-filters,
  .public-transactions-stack,
  .public-transaction-card,
  .track-payment-card,
  .track-qris-box,
  .help-card,
  .auth-card,
  .oauth-button
) {
  background-color: var(--panel);
  border-color: var(--line);
  color: var(--ink);
}

body:not(.merchant-body) :where(
  .merchant-game-reference-fallback,
  .game-image-wrap,
  .drawer-head,
  .drawer-avatar,
  .search-results-state,
  .inline-guide-card,
  .product-option-fallback,
  .track-detail-box,
  .track-copy-button,
  .track-overview-badge,
  .public-transaction-card-badge,
  .public-transaction-countdown div
) {
  background: var(--public-primary-soft);
  border-color: var(--public-soft-line);
  color: var(--muted);
}

body:not(.merchant-body) :where(
  .intro-copy p,
  .section-title p,
  .feature-heading p,
  .faq-heading p,
  .feature-card p,
  .faq-item p,
  .seo-section article,
  .list-hero,
  .trust-row,
  .listing-head p,
  .empty-state p,
  .page-heading p,
  .promo-description p,
  .track-heading p,
  .track-card > p,
  .track-summary-copy p,
  .track-overview-copy p,
  .track-history-item p,
  .track-detail-row small,
  .track-detail-line span,
  .track-payment-copy p,
  .help-card p,
  .game-hero-copy p,
  .instruction-card p,
  .checkout-step small,
  .product-group-head span,
  .product-option-pricing small,
  .payment-option small,
  .voucher-panel-head p,
  .about-intro p,
  .stats-grid p,
  .vision-grid p,
  .legal-page p,
  .auth-card > p,
  .auth-helper,
  .auth-footer,
  .public-transactions-head p,
  .public-transaction-card-title-row p,
  .public-transaction-card-meta,
  .public-transaction-countdown span
) {
  color: var(--muted);
}

body:not(.merchant-body) :where(
  .public-flash-popup-copy strong,
  .trust-signal-item strong,
  .game-card-body h3,
  .promo-card-body h3,
  .flash-sale-card-body h2,
  .flash-sale-meta dd,
  .promo-meta dd,
  .track-result-grid strong,
  .track-input-grid strong,
  .track-summary-copy h2,
  .track-overview-copy h2,
  .track-history-item strong,
  .track-detail-row strong,
  .track-payment-copy h3,
  .game-hero-copy h1,
  .instruction-card h2,
  .inline-guide-card h3,
  .product-group-head strong,
  .product-option-name,
  .payment-option strong,
  .checkout-summary strong,
  .checkout-confirmation-body dd,
  .checkout-confirmation-field strong,
  .voucher-panel-head h2,
  .public-transaction-card-title-row h3,
  .public-transaction-card-fallback
) {
  color: var(--public-heading-color);
}

body:not(.merchant-body) .promo-card {
  background:
    radial-gradient(circle at 18px 18px, var(--public-highlight-soft) 0, var(--public-highlight-soft) 2px, transparent 2px) 0 0 / 42px 42px,
    linear-gradient(180deg, var(--public-accent-soft) 0%, var(--panel) 42%);
}

body:not(.merchant-body) .flash-sale-card {
  background:
    radial-gradient(circle at 22px 22px, var(--public-primary-soft) 0, var(--public-primary-soft) 2px, transparent 2px) 0 0 / 46px 46px,
    linear-gradient(180deg, var(--public-accent-soft) 0%, var(--panel) 48%);
}

body:not(.merchant-body) :where(.list-hero, .checkout-card) {
  background: linear-gradient(180deg, var(--public-primary-soft) 0%, var(--public-bg-end) 100%);
}

body:not(.merchant-body) :where(.game-card:hover, .product-option:hover, .payment-option:hover) {
  border-color: var(--accent);
}

body:not(.merchant-body) :where(.game-badge, .trust-signal-icon, .feature-icon, .faq-icon, .track-heading span, .empty-state > span, .track-empty-card > span, .payment-icon, .voucher-panel-head > span, .public-transactions-stack-icon, .public-transaction-deadline, .public-transaction-status) {
  background: var(--public-primary-soft);
  color: var(--accent);
}

body:not(.merchant-body) .category-pill.is-active,
body:not(.merchant-body) .public-transactions-filter.is-active {
  background: var(--public-button-bg);
  border-color: var(--public-button-border);
  color: var(--public-button-text);
  box-shadow: var(--shadow-sm);
}

body:not(.merchant-body) .desktop-links .login-pill:hover {
  background: var(--public-button-hover-bg);
  border-color: var(--public-button-hover-bg);
  color: var(--public-button-hover-text);
}

body:not(.merchant-body) :where(.step-title h2, .checkout-confirmation-panel header h2) {
  color: var(--public-button-text);
}

body:not(.merchant-body) .testimonial-heading h2,
body:not(.merchant-body) .testimonial-quote,
body:not(.merchant-body) .testimonial-author strong {
  color: #111827;
}

body:not(.merchant-body) .testimonial-heading p,
body:not(.merchant-body) .testimonial-author small {
  color: #374151;
}

body:not(.merchant-body) .testimonial-avatar {
  color: var(--testimonial-avatar-color, #1f2937);
}

body:not(.merchant-body) .public-testimonial-card h3,
body:not(.merchant-body) .public-testimonial-field span {
  color: #111827;
}

body:not(.merchant-body) .public-testimonial-intro {
  color: #374151;
}

body:not(.merchant-body) .public-testimonial-card .testimonial-badge {
  background: #f5f3ff;
  color: #5b21b6;
}

/* ==========================================================================
   7. Public Responsive Rules
   ========================================================================== */
@media (max-width: 1024px) {
  .desktop-links {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
  }

  body:not(.merchant-body) .top-nav .search-trigger {
    min-width: 0;
    max-width: none;
    min-height: 44px;
    border-radius: 999px;
    padding: 0 14px;
    gap: 8px;
  }

  body:not(.merchant-body) .top-nav .search-placeholder {
    font-size: 0;
    line-height: 1;
  }

  body:not(.merchant-body) .top-nav .search-placeholder::after {
    content: "Cari game...";
    font-size: 14px;
  }

  .game-grid {
    grid-template-columns: repeat(var(--public-game-grid-columns-tablet, 4), minmax(0, 1fr));
  }

  .feature-grid {
    grid-template-columns: repeat(var(--public-feature-grid-columns-tablet, 3), minmax(0, 1fr));
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .flash-sale-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .flash-sale-highlight {
    min-width: 0;
    width: 100%;
  }

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

  .public-transaction-card {
    flex-direction: column;
  }

  .public-transaction-card-side {
    width: 100%;
    justify-items: start;
  }
}

@media (max-width: 760px) {
  .page-container {
    width: min(var(--container), calc(100% - var(--public-page-gutter-mobile)));
  }

  .hero-carousel {
    padding-top: var(--public-page-top-space-sm);
    max-width: none;
  }

  .intro-copy {
    padding: var(--public-section-space-small) 0 var(--public-section-space-quarter);
  }

  .section-title {
    margin: var(--public-section-title-space-mobile) 0 var(--public-section-title-space-mobile-bottom);
  }

  .section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-link {
    white-space: normal;
  }

  .testimonial-section {
    gap: var(--public-grid-gap);
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: var(--public-grid-gap);
  }

  .testimonial-card {
    min-height: 0;
    gap: 16px;
    padding: var(--public-card-padding-mobile);
    border-radius: var(--public-card-radius-mobile);
  }

  .testimonial-stars {
    font-size: 16px;
  }

  .testimonial-quote {
    font-size: 16px;
    line-height: 1.5;
  }

  .testimonial-avatar {
    width: 42px;
    height: 42px;
    font-size: 15px;
  }

  .testimonial-author strong {
    font-size: 16px;
  }

  .testimonial-author small {
    font-size: 12px;
  }

  .top-nav {
    gap: 10px;
    padding: 10px 0;
  }

  .brand-logo-mobile {
    height: var(--public-header-logo-mobile-height);
  }

  .search-trigger {
    min-width: 0;
    padding: 9px 12px;
  }

  .search-panel {
    top: 24px;
    width: min(620px, calc(100vw - 24px));
    max-height: calc(100dvh - 48px);
    border-radius: 18px;
  }

  .search-results {
    grid-template-columns: 1fr;
    gap: 10px;
    max-height: calc(100dvh - 225px);
  }

  .public-transactions-head h1 {
    font-size: clamp(30px, 8vw, 42px);
  }

  .flash-sale-grid,
  .flash-sale-meta {
    grid-template-columns: 1fr;
  }

  .flash-sale-actions {
    flex-direction: column;
  }

  .flash-sale-copy-button,
  .flash-sale-link {
    width: 100%;
  }

  .public-transactions-filters {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: visible;
    padding: 12px;
    gap: 8px;
  }

  .public-transactions-filters::-webkit-scrollbar {
    display: none;
  }

  .public-transactions-filter {
    justify-content: center;
    min-width: 0;
    min-height: 44px;
    padding: 0 8px;
    font-size: 11px;
    text-align: center;
  }

  .public-transactions-filter-label-desktop {
    display: none;
  }

  .public-transactions-filter-label-mobile {
    display: inline;
  }

  .public-transactions-filter-label {
    white-space: nowrap;
    line-height: 1;
  }

  .public-transactions-stack {
    padding: 18px;
    border-radius: 22px;
  }

  .public-transactions-stack-head {
    flex-direction: column;
  }

  .public-transactions-stack-title-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .public-transaction-card {
    padding: 20px 18px;
    border-radius: 20px;
  }

  .public-transaction-card-main,
  .public-transaction-card-title-row {
    flex-direction: column;
  }

  .public-transaction-card-side {
    justify-items: stretch;
  }

  .public-transaction-status,
  .public-transaction-action {
    width: 100%;
  }

  .public-transaction-countdown {
    width: 100%;
    justify-content: space-between;
  }

  .public-transaction-countdown div {
    flex: 1;
    width: auto;
  }

  .search-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
  }

  .search-card-image {
    flex: 0 0 auto;
  }

  .search-card-image img {
    width: 58px;
    height: 58px;
    border-radius: 10px;
  }

  .search-card-image span {
    display: none;
  }

  .search-result span {
    padding: 0;
  }

  .carousel-frame {
    height: var(--public-banner-height-mobile, var(--public-banner-height, auto));
    border-radius: var(--public-banner-radius, 14px);
    min-height: 0;
  }

  .carousel-nav {
    display: none;
  }

  .custom-section,
  .custom-section--split {
    grid-template-columns: 1fr;
  }

  .custom-section,
  .custom-section--media .custom-section-copy {
    padding: var(--custom-section-padding-y, var(--public-card-padding)) var(--custom-section-padding-x, var(--public-card-padding));
  }

  .custom-section--media {
    padding: 0;
  }

  .custom-section-media img {
    max-height: min(var(--custom-section-image-max-height, 260px), 260px);
  }

  .intro-copy {
    padding-top: var(--public-section-space-compact);
  }

  .legal-page h1 {
    font-size: clamp(30px, 8vw, 44px);
  }

  .about-intro .narrow {
    padding: var(--public-section-space-four-fifths) 0;
  }

  .feature-section,
  .faq-section,
  .seo-section,
  .stats-grid,
  .vision-grid,
  .related-section {
    margin-block: var(--public-section-space-two-thirds);
  }

  .feature-heading,
  .faq-heading,
  .page-heading,
  .public-transactions-head,
  .track-heading,
  .track-summary-banner,
  .public-transactions-filters {
    margin-bottom: var(--public-section-space-third);
  }

  .track-heading {
    padding: var(--public-card-padding) var(--public-card-padding-md);
  }

  .track-heading h1 {
    font-size: clamp(28px, 7vw, 36px);
  }

  .track-summary-banner,
  .track-overview-card,
  .track-history-list,
  .track-detail-block,
  .help-card {
    padding: var(--public-card-padding-md);
  }

  .track-summary-copy h2 {
    font-size: clamp(22px, 6vw, 28px);
  }

  .track-overview-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
  }

  .track-overview-media {
    width: 72px;
    height: 72px;
  }

  .track-overview-copy h2 {
    font-size: 20px;
  }

  .track-overview-copy strong {
    font-size: 22px;
  }

  .track-detail-row strong,
  .track-detail-line strong {
    font-size: 15px;
  }

  .public-transactions-stack-title-row h2 {
    font-size: clamp(24px, 6.5vw, 34px);
  }

  .public-transaction-card-title-row h3 {
    font-size: 20px;
  }

  .public-transaction-card-title-row p,
  .public-transactions-stack-head p {
    font-size: 15px;
  }

  .site-footer {
    padding: max(22px, calc(var(--public-footer-padding-y) * 0.64)) 0;
  }

  .footer-logo {
    height: auto;
    width: min(100%, calc(var(--public-footer-logo-width) * 0.82));
    max-width: 100%;
    margin-bottom: 10px;
  }

  .footer-logo-desktop {
    display: none;
  }

  .footer-logo-mobile {
    display: block;
    width: min(100%, var(--public-footer-logo-mobile-width));
    margin-bottom: 8px;
  }

  .payment-list {
    gap: 10px;
    margin-bottom: 16px;
  }

  .payment-list img {
    height: max(18px, calc(var(--public-footer-payment-icon-height) * 0.84));
  }

  .footer-grid {
    gap: 18px;
  }

  .site-footer h3 {
    margin-bottom: 8px;
    font-size: 13px;
  }

  .footer-company p,
  .site-footer li,
  .footer-bottom p,
  .footer-columns a {
    font-size: 13px;
    line-height: 1.45;
  }

  .footer-bottom {
    margin-top: 16px;
    padding-top: 14px;
  }

  .game-grid {
    grid-template-columns: repeat(var(--public-game-grid-columns-mobile, 3), minmax(0, 1fr));
    gap: 10px;
  }

  .game-card-body {
    padding: 10px;
  }

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

  .promo-card-body h3 {
    white-space: normal;
    line-height: 1.2;
  }

  .feature-grid {
    grid-template-columns: repeat(var(--public-feature-grid-columns-mobile, 1), minmax(0, 1fr));
  }

  .trust-signal-strip {
    grid-template-columns: repeat(var(--public-trust-grid-columns-mobile, 1), minmax(0, 1fr));
  }

  .footer-columns,
  .stats-grid,
  .vision-grid {
    grid-template-columns: 1fr;
  }

  .list-hero {
    display: block;
  }

  .trust-row {
    margin-top: 12px;
  }

  .trust-signal-strip.is-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 14px;
  }

  .game-hero-banner img {
    height: 220px;
  }

  .game-hero-copy h1,
  .voucher-panel-head h2 {
    font-size: clamp(24px, 7vw, 30px);
  }

  .checkout-tabs button {
    padding: 14px 10px;
    font-size: 14px;
  }

  .step-title h2 {
    font-size: 18px;
  }

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

  .product-option {
    min-height: 172px;
    padding: 11px 9px;
  }

  .product-option-body {
    gap: 10px;
  }

  .product-option-media img,
  .product-option-fallback {
    width: 62px;
    height: 62px;
    border-radius: 17px;
  }

  .product-option-name {
    font-size: 11px;
    min-height: calc(1.3em * 3);
    -webkit-line-clamp: 3;
  }

  .product-option-pricing {
    gap: 3px;
  }

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

  .product-option-pricing small {
    font-size: 10px;
  }

  .product-option em {
    font-size: 9px;
    padding: 4px 7px;
  }

  .payment-option {
    align-items: flex-start;
  }

  .fee-note {
    align-items: center;
  }

  .checkout-step-body,
  .track-card,
  .seo-section article,
  .legal-page {
    padding: 20px;
  }

  .game-data-grid,
  .contact-grid,
  .contact-grid-double {
    grid-template-columns: 1fr;
  }

  .promo-row {
    display: block;
  }

  .promo-row button {
    width: 100%;
    margin: 8px 0 0;
    padding: 12px;
  }

  .checkout-summary {
    align-items: center;
    flex-direction: row;
    padding: 14px 16px;
  }

  .checkout-summary strong {
    font-size: 18px;
  }

  .checkout-summary .buy-button {
    width: auto;
    min-width: 148px;
    padding: 12px 16px;
    font-size: 14px;
  }

  .voucher-panel-head {
    flex-direction: column;
  }

  .footer-grid {
    gap: 24px;
  }

  .footer-columns {
    gap: 18px;
  }

  .footer-columns ul {
    gap: 8px;
  }

  .floating-actions {
    right: var(--public-floating-action-right, 12px);
    bottom: var(--public-floating-action-bottom, 12px);
  }

  .site-shell:has(.bottom-nav) {
    padding-bottom: 74px;
  }

  .site-shell:has(.bottom-nav) .floating-actions {
    bottom: var(--public-floating-mobile-bottom-with-nav, 82px);
  }

  .bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--public-bottom-nav-gap, 2px);
    border-top: 1px solid var(--public-bottom-nav-border);
    background: var(--public-bottom-nav-bg);
    padding: var(--public-bottom-nav-padding-y, 7px) max(var(--public-bottom-nav-padding-x, 10px), env(safe-area-inset-left)) calc(var(--public-bottom-nav-padding-y, 7px) + env(safe-area-inset-bottom)) max(var(--public-bottom-nav-padding-x, 10px), env(safe-area-inset-right));
    box-shadow: 0 -10px 28px rgb(15 23 42 / 10%);
  }

  .bottom-nav-link {
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: var(--public-bottom-nav-item-gap, 4px);
    color: var(--public-bottom-nav-text);
    min-height: var(--public-bottom-nav-item-min-height, 0);
    border-radius: var(--public-bottom-nav-item-radius, 0);
    font-size: var(--public-bottom-nav-font-size, 11px);
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
  }

  .bottom-nav-link.is-active {
    color: var(--public-bottom-nav-active);
    transform: translateY(calc(var(--public-bottom-nav-active-translate-y, 0px) * -1));
  }

  .bottom-nav-icon {
    width: var(--public-bottom-nav-icon-size, 20px);
    height: var(--public-bottom-nav-icon-size, 20px);
  }

  .whatsapp-button {
    padding: var(--public-floating-whatsapp-padding-y, 11px) var(--public-floating-whatsapp-padding-x, 14px);
    font-size: var(--public-floating-whatsapp-font-size, 12px);
    max-width: calc(100vw - 24px);
  }

  .whatsapp-button-label-desktop {
    display: none;
  }

  .whatsapp-button-label-mobile {
    display: inline;
  }
}

@media (max-width: 430px) {
  .hero-carousel {
    padding-top: 14px;
  }

  .game-hero-copy h1,
  .voucher-panel-head h2,
  .step-title h2 {
    overflow-wrap: anywhere;
  }

  .game-hero-copy h1 {
    font-size: 18px;
    line-height: 1.2;
  }

  .game-hero-copy p,
  .instruction-card p,
  .voucher-panel-head p {
    font-size: 13px;
    line-height: 1.6;
  }

  .breadcrumb {
    gap: 5px;
    font-size: 12px;
  }

  .instruction-card h2 {
    font-size: 17px;
    margin-bottom: 8px;
  }

  .checkout-card {
    overflow: hidden;
  }

  .feature-section,
  .faq-section,
  .seo-section,
  .stats-grid,
  .vision-grid,
  .related-section {
    margin-block: 28px;
  }

  .public-transactions-page,
  .track-page,
  .promo-page,
  .flash-sale-page {
    margin-top: 20px;
    margin-bottom: 36px;
  }

  .legal-page {
    margin-top: 24px;
    margin-bottom: 36px;
    gap: 12px;
  }

  .site-footer {
    margin-top: 32px;
    padding: max(20px, calc(var(--public-footer-padding-y) * 0.54)) 0;
  }

  .footer-grid {
    gap: 16px;
  }

  .footer-logo {
    width: min(100%, calc(var(--public-footer-logo-width) * 0.72));
    margin-bottom: 8px;
  }

  .footer-logo-mobile {
    width: min(100%, calc(var(--public-footer-logo-mobile-width) * 0.92));
    margin-bottom: 6px;
  }

  .site-footer h3 {
    margin-bottom: 7px;
    font-size: 12px;
  }

  .payment-list {
    gap: 8px;
    margin-bottom: 14px;
  }

  .payment-list img {
    height: max(16px, calc(var(--public-footer-payment-icon-height) * 0.75));
  }

  .footer-columns {
    gap: 14px;
  }

  .footer-columns ul {
    gap: 7px;
  }

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

  .track-card,
  .track-empty-card,
  .track-summary-banner,
  .track-overview-card,
  .help-card,
  .auth-card {
    padding: 16px;
  }

  .track-overview-card {
    grid-template-columns: 1fr;
  }

  .track-overview-media {
    width: 64px;
    height: 64px;
  }

  .track-overview-copy h2 {
    font-size: 18px;
  }

  .track-overview-copy strong {
    font-size: 20px;
  }

  .public-transactions-head p,
  .track-heading p {
    font-size: 14px;
  }

  .public-transaction-card {
    padding: 18px 16px;
  }

  .public-transaction-card-media {
    width: 64px;
    height: 64px;
  }

  .public-transaction-card-title-row h3 {
    font-size: 18px;
  }

  .public-transaction-card-title-row p,
  .public-transaction-card-meta,
  .public-transaction-card-amount {
    font-size: 14px;
  }

  .public-transaction-card-side {
    gap: 12px;
  }

  .public-transaction-countdown strong {
    font-size: 18px;
  }

  .footer-company p,
  .site-footer li,
  .footer-bottom p {
    font-size: 12px;
    line-height: 1.4;
  }

  .social-links {
    gap: 6px;
  }

  .site-footer .social-links a {
    width: 30px;
    height: 30px;
    font-size: 11px;
  }

  .site-footer .social-link-icon {
    width: 13px;
    height: 13px;
  }

  .promo-ribbon {
    right: -32px;
    min-width: 128px;
    padding: 10px 38px 9px;
    font-size: 11px;
  }

  .checkout-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkout-tabs button {
    white-space: nowrap;
    line-height: 1;
    min-height: 48px;
    padding: 12px 8px;
    font-size: 12px;
  }

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

  .product-option {
    min-height: 160px;
    padding: 10px 8px;
    border-radius: 16px;
  }

  .product-option-body {
    gap: 9px;
  }

  .product-option-media img,
  .product-option-fallback {
    width: 56px;
    height: 56px;
    border-radius: 15px;
  }

  .product-option-name {
    font-size: 10px;
    min-height: calc(1.3em * 3);
    -webkit-line-clamp: 3;
  }

  .product-option-pricing {
    gap: 2px;
  }

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

  .product-option-pricing small {
    font-size: 9px;
  }

  .product-option em {
    display: none;
  }

  .step-title {
    align-items: center;
  }

  .step-title span {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .step-title h2 {
    font-size: 16px;
  }

  .game-hero-body,
  .instruction-card,
  .voucher-panel-head {
    padding-inline: 16px;
  }

  .checkout-step-body {
    padding: 16px;
  }

  .product-group-head strong {
    font-size: 14px;
  }

  .product-group-head span {
    font-size: 11px;
  }

  .checkout-step label,
  .voucher-note-field label {
    font-size: 12px;
    margin-bottom: 6px;
  }

  .checkout-step input,
  .checkout-step select,
  .voucher-note-field textarea {
    padding: 12px 14px;
    font-size: 13px;
  }

  .promo-row button {
    font-size: 13px;
  }

  .payment-option {
    gap: 10px;
    padding: 12px;
  }

  .payment-icon {
    width: 40px;
    height: 40px;
  }

  .payment-option strong {
    font-size: 13px;
  }

  .payment-option small {
    font-size: 11px;
  }

  .public-transactions-filters {
    padding: 10px;
    gap: 6px;
  }

  .public-transactions-filter {
    justify-content: center;
    min-height: 42px;
    padding: 0 6px;
    font-size: 10px;
  }

  .public-transaction-card-badge,
  .public-transaction-status,
  .public-transaction-deadline {
    white-space: normal;
  }

  .fee-note {
    margin-inline: 14px;
    gap: 10px;
    padding: 14px 12px;
  }

  .fee-note span {
    width: 30px;
    height: 30px;
    flex: 0 0 auto;
  }

  .fee-note strong {
    font-size: 14px;
    line-height: 1.35;
  }

  .checkout-summary {
    gap: 12px;
    padding: 12px;
  }

  .checkout-summary small {
    font-size: 11px;
  }

  .checkout-summary strong {
    font-size: 15px;
  }

  .checkout-summary span {
    font-size: 11px;
    line-height: 1.35;
  }

  .checkout-summary .buy-button {
    min-width: 122px;
    padding: 10px 12px;
    font-size: 12px;
  }

  .footer-bottom {
    margin-top: 14px;
    padding-top: 12px;
  }
}
