:root {
  --ui-bg: #f5f6fb;
  --ui-surface: #ffffff;
  --ui-surface-soft: #f8f9fc;
  --ui-text: #1d2030;
  --ui-muted: #74798f;
  --ui-line: #e5e8f0;
  --ui-brand: #ff6b24;
  --ui-brand-2: #ff2369;
  --ui-good: #16b76d;
  --ui-shadow: 0 18px 55px rgba(28, 35, 60, 0.10);
  --ui-shadow-soft: 0 10px 30px rgba(28, 35, 60, 0.07);
  --ui-radius: 22px;
}

html {
  scroll-behavior: smooth;
}

body.reference-ui {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 100vh;
  margin: 0 !important;
  overflow-x: hidden;
  color: var(--ui-text) !important;
  background: var(--ui-bg) !important;
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 16px;
  line-height: 1.5;
}

body.reference-ui *,
body.reference-ui *::before,
body.reference-ui *::after {
  box-sizing: border-box;
}

body.reference-ui a {
  color: inherit;
  text-decoration: none;
}

body.reference-ui button,
body.reference-ui input {
  font: inherit;
}

body.reference-ui button {
  cursor: pointer;
}

.reference-ui .ui-container {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.reference-ui .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.reference-ui .ambient-orbs {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.reference-ui .ambient-orbs span {
  position: absolute;
  width: 360px;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.16;
  filter: blur(85px);
}

.reference-ui .ambient-orbs span:nth-child(1) {
  top: 18%;
  left: -130px;
  background: #ff7f70;
}

.reference-ui .ambient-orbs span:nth-child(2) {
  top: 58%;
  right: -150px;
  background: #43c9ff;
}

.reference-ui .ambient-orbs span:nth-child(3) {
  bottom: -180px;
  left: 42%;
  background: #9a7bff;
}

/* Header */
.reference-ui .modern-header {
  position: sticky;
  top: 0;
  z-index: 80;
  width: 100%;
  border-bottom: 1px solid rgba(229, 232, 240, 0.92);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 5px 22px rgba(21, 28, 50, 0.05);
  backdrop-filter: blur(18px);
}

.reference-ui .header-inner {
  position: relative;
  display: flex;
  min-height: 74px;
  align-items: center;
  gap: 24px;
}

.reference-ui .modern-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.reference-ui .modern-brand-logo {
  display: block;
  width: 34px !important;
  height: 34px !important;
  flex: 0 0 34px;
  object-fit: contain;
}

.reference-ui .modern-brand > span {
  display: grid;
  line-height: 1.08;
}

.reference-ui .modern-brand strong {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: var(--ui-text) !important;
  font-family: "Inter", Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
}

.reference-ui .modern-brand small {
  margin-top: 3px;
  color: #8a8fa3 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.reference-ui .modern-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 10px;
}

.reference-ui .modern-nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: 10px;
  color: #666b7e;
  font-size: 13px;
  font-weight: 700;
  transition: color 180ms ease, background 180ms ease;
}

.reference-ui .modern-nav a::after {
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--ui-brand), var(--ui-brand-2));
  content: "";
  opacity: 0;
  transform: scaleX(0);
  transition: 180ms ease;
}

.reference-ui .modern-nav a:hover,
.reference-ui .modern-nav a.active {
  color: var(--ui-text);
  background: var(--ui-surface-soft);
}

.reference-ui .modern-nav a:hover::after,
.reference-ui .modern-nav a.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.reference-ui .modern-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reference-ui .modern-theme,
.reference-ui .modern-menu {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--ui-line);
  border-radius: 50%;
  color: #74798d;
  background: #f8f9fc;
}

.reference-ui .modern-theme {
  font-size: 19px;
}

.reference-ui .modern-menu {
  display: none;
  gap: 4px;
  align-content: center;
}

.reference-ui .modern-menu span {
  display: block;
  width: 17px;
  height: 2px;
  border-radius: 5px;
  background: currentColor;
  transition: 180ms ease;
}

.reference-ui .modern-menu.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.reference-ui .modern-menu.open span:nth-child(2) {
  opacity: 0;
}

.reference-ui .modern-menu.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.reference-ui .checkout-secure-chip {
  display: inline-flex;
  margin-left: 8px;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid rgba(22, 183, 109, 0.18);
  border-radius: 999px;
  color: #10965a;
  background: #ebfff5;
  font-size: 12px;
  font-weight: 800;
}

.reference-ui .checkout-secure-chip svg {
  width: 15px;
  fill: currentColor;
}

/* Shared heading and buttons */
.reference-ui .modern-section-head {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.reference-ui .modern-section-head.compact {
  margin-bottom: 32px;
}

.reference-ui .section-kicker,
.reference-ui .card-heading > span,
.reference-ui .catalogue-title > div > span,
.reference-ui .qr-heading > div > span {
  display: block;
  margin-bottom: 7px;
  color: var(--ui-brand-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reference-ui .modern-section-head h1,
.reference-ui .modern-section-head h2 {
  margin: 0;
  color: var(--ui-text);
  font-family: "Russo One", "Inter", sans-serif;
  font-size: clamp(34px, 4.2vw, 50px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.reference-ui .modern-section-head em {
  color: var(--ui-brand);
  background: linear-gradient(100deg, var(--ui-brand), var(--ui-brand-2));
  background-clip: text;
  font-style: normal;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.reference-ui .modern-section-head p {
  max-width: 650px;
  margin: 14px auto 0;
  color: var(--ui-muted);
  font-size: 15px;
  line-height: 1.75;
}

.reference-ui .gradient-btn {
  display: inline-flex !important;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0 !important;
  border-radius: 14px !important;
  color: #fff !important;
  background: linear-gradient(100deg, var(--ui-brand), var(--ui-brand-2)) !important;
  box-shadow: 0 13px 25px rgba(255, 54, 96, 0.22) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  transition: 180ms ease;
}

.reference-ui .gradient-btn:hover {
  box-shadow: 0 16px 30px rgba(255, 54, 96, 0.30) !important;
  transform: translateY(-2px);
}

.reference-ui .gradient-btn:active {
  transform: translateY(0);
}

.reference-ui .gradient-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.reference-ui .text-btn {
  width: 100%;
  border: 0;
  color: #767b8f;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}

/* Home */
.reference-ui.page-home main {
  display: block !important;
  padding: 28px 0 0 !important;
}

.reference-ui .hero-wrap {
  padding-top: 2px;
}

.reference-ui.page-home .hero-card {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  overflow: hidden;
  aspect-ratio: 1920 / 725;
  border: 1px solid rgba(255, 255, 255, 0.7) !important;
  border-radius: var(--ui-radius) !important;
  background: #d9e4ef !important;
  box-shadow: var(--ui-shadow) !important;
}

.reference-ui.page-home .hero-card .hero-img {
  position: absolute !important;
  inset: 0;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.reference-ui.page-home .hero-card .dots {
  position: absolute !important;
  right: 0 !important;
  bottom: 16px !important;
  left: 0 !important;
  z-index: 2;
  display: flex !important;
  width: auto !important;
  justify-content: center;
  gap: 6px;
}

.reference-ui.page-home .hero-card .dots span {
  display: block !important;
  width: 7px !important;
  height: 7px !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.62) !important;
}

.reference-ui.page-home .hero-card .dots span.active {
  width: 24px !important;
  border-radius: 99px !important;
  background: var(--ui-brand-2) !important;
}

.reference-ui .game-card {
  display: flex;
  min-height: 126px;
  margin-top: 20px;
  align-items: center;
  gap: 20px;
  padding: 20px 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--ui-radius);
  color: #fff;
  background:
    radial-gradient(circle at 80% 0, rgba(255, 255, 255, 0.18), transparent 35%),
    linear-gradient(112deg, #241d24, #77747a 58%, #d7d7d8);
  box-shadow: var(--ui-shadow);
}

.reference-ui .game-card-icon {
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
}

.reference-ui .game-card h1 {
  margin: 0 0 9px;
  color: #fff;
  font-family: "Russo One", "Inter", sans-serif;
  font-size: 25px;
  font-weight: 400;
}

.reference-ui .secure-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid rgba(44, 232, 142, 0.6);
  border-radius: 999px;
  color: #35ea9b;
  background: rgba(4, 30, 20, 0.42);
  font-size: 11px;
  font-weight: 800;
}

.reference-ui .secure-pill svg {
  width: 15px;
  fill: currentColor;
}

.reference-ui .verify-section {
  padding-top: 84px;
  padding-bottom: 88px;
}

.reference-ui .uid-card {
  width: min(520px, 100%);
  margin: 0 auto;
  padding: 28px;
  border: 1px solid rgba(255, 110, 78, 0.32);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--ui-shadow);
}

.reference-ui .uid-card .login-body {
  display: block !important;
  padding: 0 !important;
}

.reference-ui .uid-card label {
  display: block;
  margin: 0 0 10px;
  color: var(--ui-text);
  font-size: 13px;
  font-weight: 800;
}

.reference-ui .modern-input-row {
  display: flex;
  height: 58px;
  align-items: center;
  border: 1px solid #dfe3ec;
  border-radius: 12px;
  background: #f3f5f9;
  transition: 160ms ease;
}

.reference-ui .modern-input-row:focus-within {
  border-color: rgba(255, 65, 102, 0.72);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 65, 102, 0.09);
}

.reference-ui .input-brand-mark {
  display: grid !important;
  width: 52px !important;
  height: 100% !important;
  flex: 0 0 52px !important;
  place-items: center;
  border: 0 !important;
  background: transparent !important;
}

.reference-ui .input-brand-mark img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.reference-ui .modern-input-row .player-input {
  width: 100% !important;
  height: 100% !important;
  min-width: 0;
  padding: 0 16px 0 0 !important;
  border: 0 !important;
  outline: none !important;
  color: var(--ui-text) !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

.reference-ui .modern-input-row .player-input::placeholder {
  color: #9ca1b2 !important;
}

.reference-ui .uid-help {
  display: block;
  margin: 9px 0 15px;
  color: #8d92a4;
  font-size: 11px;
}

.reference-ui .verify-btn {
  width: 100%;
}

.reference-ui .loader {
  display: none;
  margin-top: 15px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #777c8f;
  font-size: 12px;
  font-weight: 700;
}

.reference-ui .loader > span {
  width: 18px;
  height: 18px;
  border: 2px solid #ffd0dc;
  border-top-color: var(--ui-brand-2);
  border-radius: 50%;
  animation: ui-spin 0.7s linear infinite;
}

@keyframes ui-spin {
  to { transform: rotate(360deg); }
}

.reference-ui .error-msg {
  display: none;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #c71f43;
  background: #fff0f3;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.reference-ui .info-section {
  padding-top: 76px;
  padding-bottom: 84px;
}

.reference-ui .how-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.reference-ui .how-grid article {
  padding: 28px 20px 25px;
  border: 1px solid var(--ui-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--ui-shadow-soft);
  text-align: center;
}

.reference-ui .how-grid article > span {
  display: grid;
  width: 44px;
  height: 44px;
  margin: 0 auto 17px;
  place-items: center;
  border: 3px solid #ffd4cc;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--ui-brand), var(--ui-brand-2));
  box-shadow: 0 8px 18px rgba(255, 72, 82, 0.22);
  font-weight: 800;
}

.reference-ui .how-grid h3 {
  margin: 0 0 8px;
  color: var(--ui-text);
  font-size: 15px;
  font-weight: 800;
}

.reference-ui .how-grid p {
  margin: 0;
  color: var(--ui-muted);
  font-size: 12px;
  line-height: 1.7;
}

.reference-ui .faq-section {
  max-width: 860px;
  padding-top: 76px;
  padding-bottom: 100px;
}

.reference-ui .faq-list {
  display: grid;
  gap: 12px;
}

.reference-ui .faq-item {
  overflow: hidden;
  border: 1px solid var(--ui-line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--ui-shadow-soft);
}

.reference-ui .faq-item > button {
  display: flex;
  width: 100%;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
  border: 0;
  color: var(--ui-text);
  background: transparent;
  font-size: 13px;
  font-weight: 750;
  text-align: left;
}

.reference-ui .faq-item > button b {
  color: var(--ui-brand);
  font-size: 20px;
  font-weight: 500;
  transition: 180ms ease;
}

.reference-ui .faq-item > div {
  display: grid;
  max-height: 0;
  overflow: hidden;
  transition: max-height 220ms ease;
}

.reference-ui .faq-item p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--ui-muted);
  font-size: 12px;
  line-height: 1.7;
}

.reference-ui .faq-item.open > div {
  max-height: 140px;
}

.reference-ui .faq-item.open > button b {
  transform: rotate(45deg);
}

/* Footer */
.reference-ui .modern-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--ui-line);
  color: var(--ui-text);
  background: #fff;
}

.reference-ui .footer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 2fr) repeat(3, minmax(110px, 0.55fr));
  gap: 48px;
  padding-top: 50px;
  padding-bottom: 38px;
}

.reference-ui .footer-intro p {
  max-width: 290px;
  margin: 17px 0 0;
  color: var(--ui-muted);
  font-size: 12px;
  line-height: 1.7;
}

.reference-ui .footer-grid h3 {
  margin: 4px 0 16px;
  font-size: 12px;
  font-weight: 800;
}

.reference-ui .footer-grid > div:not(.footer-intro) {
  display: grid;
  align-content: start;
  gap: 10px;
}

.reference-ui .footer-grid > div:not(.footer-intro) a {
  color: var(--ui-muted);
  font-size: 12px;
  transition: 150ms ease;
}

.reference-ui .footer-grid > div:not(.footer-intro) a:hover {
  color: var(--ui-brand-2);
}

.reference-ui .copyright {
  padding: 20px 0 24px;
  border-top: 1px solid var(--ui-line);
  color: #8b90a1;
  font-size: 11px;
  text-align: center;
}

/* Shared modal */
.reference-ui .modern-modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 200 !important;
  display: none !important;
  width: 100% !important;
  height: 100% !important;
  padding: 20px !important;
  align-items: center !important;
  justify-content: center !important;
  overflow-y: auto;
  background: rgba(18, 20, 31, 0.68) !important;
  backdrop-filter: blur(8px);
}

.reference-ui .modern-modal-overlay.active {
  display: flex !important;
}

#verifiedModal.modern-modal-overlay {
  background: rgba(0, 0, 0, 0.88) !important;
}

.reference-ui .close-btn {
  position: absolute !important;
  top: 15px !important;
  right: 15px !important;
  z-index: 3;
  display: grid !important;
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  place-items: center;
  border: 1px solid var(--ui-line) !important;
  border-radius: 50% !important;
  color: #7d8292 !important;
  background: #fff !important;
  font-size: 24px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
}

.reference-ui .modern-verified-modal {
  position: relative;
  width: min(490px, 100%) !important;
  max-height: none !important;
  padding: 0 28px 26px !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58) !important;
  border-radius: 24px !important;
  color: #f6f7fb !important;
  background: #07090f !important;
  box-shadow: 0 30px 90px rgba(11, 14, 25, 0.27) !important;
  text-align: center;
}

.reference-ui .verified-sparkles {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.reference-ui .verified-sparkles::before {
  position: absolute;
  top: 26%;
  left: 50%;
  width: 92px;
  height: 92px;
  border: 2px solid rgba(255, 211, 78, 0.78);
  border-radius: 50%;
  box-shadow:
    0 0 24px rgba(255, 211, 78, 0.42),
    inset 0 0 18px rgba(255, 47, 114, 0.22);
  content: "";
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.45);
}

.reference-ui .modern-modal-overlay.active .verified-sparkles::before {
  animation: verified-sparkle-halo 1.2s ease-out 0.06s forwards;
}

.reference-ui .verified-sparkle {
  position: absolute;
  top: 26%;
  left: 50%;
  width: var(--sparkle-size);
  height: var(--sparkle-size);
  border-radius: 2px;
  opacity: 0;
  background: var(--sparkle-color);
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
  filter: drop-shadow(0 0 11px var(--sparkle-color));
  will-change: transform, opacity;
  animation: verified-sparkle-burst var(--sparkle-duration) cubic-bezier(0.18, 0.76, 0.24, 1) var(--sparkle-delay) forwards;
}

.reference-ui .verified-sparkle-dot {
  border-radius: 50%;
  clip-path: none;
}

@keyframes verified-sparkle-burst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2) rotate(0deg);
  }

  12% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15) rotate(24deg);
  }

  70% {
    opacity: 0.95;
  }

  100% {
    opacity: 0;
    transform:
      translate(-50%, -50%)
      translate(var(--sparkle-x), var(--sparkle-y))
      scale(0.15)
      rotate(var(--sparkle-rotation));
  }
}

@keyframes verified-sparkle-halo {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.45);
  }

  24% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.35);
  }
}

.reference-ui .verified-hero {
  position: relative;
  margin: 0 -28px 24px;
  padding: 34px 24px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background:
    radial-gradient(circle at 18% 15%, rgba(255, 255, 255, 0.06), transparent 24%),
    linear-gradient(180deg, #07090f, #07090f);
}

.reference-ui .modern-modal-overlay.active .verified-hero::before,
.reference-ui .modern-modal-overlay.active .verified-hero::after {
  position: absolute;
  top: 47%;
  z-index: 1;
  color: #ffb21f;
  width: 24px;
  height: 24px;
  background: currentColor;
  clip-path: polygon(50% 0, 61% 38%, 100% 50%, 61% 62%, 50% 100%, 39% 62%, 0 50%, 39% 38%);
  content: "";
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 0 13px currentColor);
  animation: verified-hero-twinkle 1.5s ease-in-out 0.16s 2;
}

.reference-ui .modern-modal-overlay.active .verified-hero::before {
  left: 18%;
}

.reference-ui .modern-modal-overlay.active .verified-hero::after {
  right: 17%;
  color: #35c9f2;
  animation-delay: 0.34s;
}

@keyframes verified-hero-twinkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.35) rotate(0deg);
  }

  48% {
    opacity: 1;
    transform: scale(1.15) rotate(42deg);
  }
}

.reference-ui .verified-badge {
  display: inline-flex !important;
  margin: 0 auto 18px !important;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #50f0a0 !important;
  background: rgba(36, 194, 117, 0.14) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.reference-ui .verified-badge svg {
  width: 16px;
  fill: currentColor;
}

.reference-ui .modern-verified-modal .big-avatar {
  display: grid !important;
  width: 72px !important;
  height: 72px !important;
  margin: 0 auto -48px !important;
  place-items: center;
  border: 0 !important;
  padding: 0;
  border-radius: 16px !important;
  color: #fff !important;
  background: transparent !important;
  box-shadow: 0 10px 25px rgba(255, 57, 95, 0.25) !important;
  font-family: "Russo One", sans-serif;
  font-size: 28px !important;
  overflow: hidden;
}

.reference-ui .modern-verified-modal .big-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  object-fit: contain;
}

.reference-ui .modern-verified-modal .eyebrow {
  display: block;
  margin-top: 51px;
  color: #a7adbd;
  font-size: 11px;
  font-weight: 700;
}

.reference-ui .modern-verified-modal h2 {
  margin: 4px 0 20px !important;
  color: #f6f7fb !important;
  font-family: "Russo One", sans-serif;
  font-size: 25px !important;
  font-weight: 400 !important;
}

.reference-ui .modern-verified-modal .stats-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 10px !important;
  margin: 0 0 18px !important;
}

.reference-ui .modern-verified-modal .stats-grid > div {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 13px 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  background: #111520 !important;
}

.reference-ui .modern-verified-modal .stats-grid span {
  color: #9ea5b7 !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}

.reference-ui .modern-verified-modal .stats-grid strong {
  overflow: hidden;
  color: #f6f7fb !important;
  font-size: 14px !important;
  text-overflow: ellipsis;
}

.reference-ui .modern-verified-modal > .gradient-btn {
  width: 100%;
  margin-bottom: 8px;
}

.reference-ui .modern-verified-modal > .text-btn {
  color: #8f96aa;
}

@media (prefers-reduced-motion: reduce) {
  .reference-ui .verified-sparkles,
  .reference-ui .modern-modal-overlay.active .verified-hero::before,
  .reference-ui .modern-modal-overlay.active .verified-hero::after {
    display: none !important;
  }
}

/* Top-up page */
.reference-ui.page-topup .store-main {
  display: block !important;
  padding: 0 0 92px !important;
}

.reference-ui .account-section {
  padding-top: 28px;
}

.reference-ui .verified-account {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 22px;
  border: 1px solid var(--ui-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--ui-shadow-soft);
}

.reference-ui .verified-account-main {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 14px;
}

.reference-ui .verified-account .mini-avatar {
  display: grid !important;
  width: 58px !important;
  height: 58px !important;
  flex: 0 0 58px;
  place-items: center;
  border: 0 !important;
  border-radius: 17px !important;
  color: #fff !important;
  background: linear-gradient(135deg, var(--ui-brand), var(--ui-brand-2)) !important;
  font-family: "Russo One", sans-serif;
  font-size: 22px !important;
  box-shadow: 0 10px 25px rgba(255, 52, 94, 0.22);
}

.reference-ui .verified-account-main > div:nth-child(2) {
  display: grid;
  min-width: 0;
}

.reference-ui .verified-account-main span {
  color: #8a8fa0;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.reference-ui .verified-account-main strong {
  overflow: hidden;
  margin: 1px 0;
  color: var(--ui-text) !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reference-ui .verified-account-main small {
  color: var(--ui-muted);
  font-size: 11px;
  font-weight: 600;
}

.reference-ui .account-badge {
  margin-left: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #0e9959;
  background: #ebfff5;
  font-size: 10px;
  white-space: nowrap;
}

.reference-ui .verified-account > a {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid var(--ui-line);
  border-radius: 10px;
  color: #6f7486;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
}

.reference-ui .catalogue-section {
  padding-top: 62px;
}

.reference-ui .catalogue-card {
  padding: 28px;
  border: 1px solid var(--ui-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--ui-shadow);
}

.reference-ui.page-topup .catalogue-tabs {
  display: flex !important;
  width: max-content !important;
  max-width: 100%;
  margin: 0 auto 34px !important;
  gap: 6px !important;
  padding: 5px !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: 14px !important;
  background: #f3f5f9 !important;
}

.reference-ui.page-topup .catalogue-tabs .tab {
  display: inline-flex !important;
  min-width: 142px !important;
  min-height: 44px !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px !important;
  border: 0 !important;
  border-radius: 10px !important;
  color: #7c8192 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 800 !important;
}

.reference-ui.page-topup .catalogue-tabs .tab svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.reference-ui.page-topup .catalogue-tabs .tab.active {
  color: #fff !important;
  background: linear-gradient(100deg, var(--ui-brand), var(--ui-brand-2)) !important;
  box-shadow: 0 8px 18px rgba(255, 59, 93, 0.2) !important;
}

.reference-ui .catalogue-title {
  display: flex;
  margin: 0 0 18px;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.reference-ui .catalogue-title.deals-title {
  margin-top: 42px;
}

.reference-ui .catalogue-title h2 {
  margin: 0;
  color: var(--ui-text);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.reference-ui .catalogue-title > small {
  color: #9297a8;
  font-size: 11px;
}

.reference-ui .offer-chip {
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff !important;
  background: linear-gradient(100deg, var(--ui-brand), var(--ui-brand-2));
  font-size: 10px !important;
  font-weight: 800;
}

.reference-ui.page-topup .package-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.reference-ui.page-topup .deal-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.reference-ui.page-topup .package-card,
.reference-ui.page-topup .deal-card,
.reference-ui.page-topup .redeem-card {
  position: relative !important;
  display: flex !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 258px !important;
  margin: 0 !important;
  padding: 20px 16px 16px !important;
  flex-direction: column;
  align-items: center !important;
  justify-content: flex-start !important;
  overflow: hidden;
  border: 1px solid var(--ui-line) !important;
  border-radius: 16px !important;
  color: var(--ui-text) !important;
  background: #fff !important;
  box-shadow: 0 6px 20px rgba(28, 35, 60, 0.045) !important;
  text-align: center !important;
  transition: 180ms ease;
}

.reference-ui.page-topup .deal-card {
  min-height: 268px !important;
}

.reference-ui.page-topup .package-card:hover,
.reference-ui.page-topup .deal-card:hover,
.reference-ui.page-topup .redeem-card:hover {
  border-color: rgba(255, 72, 83, 0.52) !important;
  box-shadow: 0 14px 30px rgba(255, 65, 88, 0.11) !important;
  transform: translateY(-4px);
}

.reference-ui.page-topup .package-card.selected,
.reference-ui.page-topup .deal-card.selected,
.reference-ui.page-topup .redeem-card.selected {
  border-color: var(--ui-brand-2) !important;
  box-shadow: 0 0 0 3px rgba(255, 35, 105, 0.09), 0 12px 26px rgba(255, 35, 105, 0.1) !important;
}

.reference-ui.page-topup .badge {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  z-index: 2;
  display: inline-flex !important;
  min-width: 44px;
  height: 24px !important;
  align-items: center;
  justify-content: center;
  padding: 0 8px !important;
  border: 2px solid #fff !important;
  border-radius: 999px !important;
  color: #fff !important;
  background: linear-gradient(100deg, var(--ui-brand), var(--ui-brand-2)) !important;
  box-shadow: 0 5px 12px rgba(255, 49, 90, 0.18) !important;
  font-size: 9px !important;
  font-weight: 800 !important;
}

.reference-ui.page-topup .diamond-art {
  display: block !important;
  width: 72px !important;
  height: 72px !important;
  margin: 3px auto 6px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 10px 9px rgba(36, 107, 255, 0.17));
}

.reference-ui.page-topup .deal-art {
  display: block !important;
  width: 94px !important;
  height: 82px !important;
  margin: 3px auto 6px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 10px 10px rgba(28, 35, 60, 0.10));
}

.reference-ui.page-topup .package-card > strong,
.reference-ui.page-topup .deal-card > strong,
.reference-ui.page-topup .redeem-card > strong {
  margin: 0 !important;
  color: var(--ui-text) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

.reference-ui.page-topup .deal-card > strong {
  min-height: 36px;
  font-size: 14px !important;
}

.reference-ui.page-topup .item-name,
.reference-ui.page-topup .redeem-card em {
  margin-top: 2px !important;
  color: #8a8fa1 !important;
  font-size: 10px !important;
  font-style: normal !important;
  font-weight: 650 !important;
}

.reference-ui.page-topup .price-stack {
  display: flex !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin-top: auto !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding-top: 12px !important;
  border-top: 1px solid #eff1f5 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.reference-ui.page-topup .price-stack span {
  position: static !important;
  color: #a4a9b7 !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-decoration: line-through !important;
  transform: none !important;
}

.reference-ui.page-topup .price-stack b {
  color: var(--ui-brand-2) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

.reference-ui.page-topup .card-buy-cta {
  display: inline-flex !important;
  width: 100% !important;
  min-height: 34px !important;
  margin-top: 10px !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  border-radius: 11px !important;
  color: #fff !important;
  background: linear-gradient(100deg, var(--ui-brand), var(--ui-brand-2)) !important;
  box-shadow: 0 10px 20px rgba(255, 54, 96, 0.2) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.02em !important;
  line-height: 1 !important;
  text-transform: uppercase !important;
}

.reference-ui.page-topup .package-card.sold-out {
  cursor: not-allowed !important;
  opacity: 0.68 !important;
  filter: grayscale(0.22);
}

.reference-ui.page-topup .package-card.sold-out:hover {
  border-color: var(--ui-line) !important;
  box-shadow: 0 6px 20px rgba(28, 35, 60, 0.045) !important;
  transform: none !important;
}

.reference-ui.page-topup .package-card.sold-out .badge {
  min-width: 64px;
  color: #fff !important;
  background: linear-gradient(100deg, #5b6272, #252b37) !important;
  box-shadow: 0 5px 12px rgba(19, 24, 36, 0.16) !important;
}

.reference-ui.page-topup .package-card.sold-out .diamond-art {
  opacity: 0.58;
  filter: grayscale(1) drop-shadow(0 8px 9px rgba(28, 35, 60, 0.12));
}

.reference-ui.page-topup .sold-out-label {
  margin-top: auto !important;
  border: 1px solid #d9dde7 !important;
  color: #7e8494 !important;
  background: #eef0f5 !important;
  box-shadow: none !important;
}

.reference-ui.page-topup .redeem-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
}

.reference-ui.page-topup .redeem-card {
  min-height: 272px !important;
}

.reference-ui.page-topup .google-play-card-img {
  display: block !important;
  width: min(138px, 100%) !important;
  height: auto !important;
  aspect-ratio: 283 / 178;
  margin: 6px auto 10px !important;
  object-fit: contain !important;
  image-rendering: auto;
}

.reference-ui .google-play-checkout-img {
  display: block !important;
  width: 50px !important;
  height: auto !important;
  aspect-ratio: 283 / 178;
  object-fit: contain !important;
}

.reference-ui .custom-redeem {
  display: grid !important;
  grid-template-columns: 1fr minmax(320px, 0.9fr);
  gap: 22px;
  margin-top: 22px !important;
  padding: 20px !important;
  align-items: center;
  border: 1px solid var(--ui-line) !important;
  border-radius: 16px !important;
  background: var(--ui-surface-soft) !important;
}

.reference-ui .custom-redeem > div:first-child {
  display: grid;
  gap: 5px;
}

.reference-ui .custom-redeem label {
  color: var(--ui-text) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}

.reference-ui .custom-redeem small {
  color: var(--ui-muted) !important;
  font-size: 11px !important;
}

.reference-ui .custom-row {
  display: grid !important;
  grid-template-columns: 34px 1fr auto;
  min-width: 0;
  align-items: center;
  overflow: hidden;
  border: 1px solid #dfe3ec;
  border-radius: 12px;
  background: #fff;
}

.reference-ui .custom-row > span {
  display: grid;
  height: 48px;
  place-items: center;
  color: #9b9faf;
  font-weight: 800;
}

.reference-ui .custom-amount-input {
  width: 100% !important;
  min-width: 0 !important;
  height: 48px !important;
  padding: 0 8px !important;
  border: 0 !important;
  outline: 0 !important;
  color: var(--ui-text) !important;
  background: #fff !important;
  box-shadow: none !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.reference-ui .custom-buy-btn {
  min-height: 40px !important;
  margin-right: 4px;
  padding: 0 18px !important;
  border-radius: 9px !important;
  font-size: 12px !important;
}

.reference-ui .modern-checkout-modal {
  position: relative;
  width: min(520px, 100%) !important;
  padding: 28px !important;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.85) !important;
  border-radius: 24px !important;
  background: #fff !important;
  box-shadow: 0 30px 90px rgba(11, 14, 25, 0.27) !important;
}

.reference-ui .checkout-heading {
  padding-right: 38px;
}

.reference-ui .checkout-heading h2 {
  margin: 0;
  color: var(--ui-text);
  font-family: "Russo One", sans-serif;
  font-size: 24px;
  font-weight: 400;
}

.reference-ui .checkout-heading p {
  margin: 7px 0 20px;
  color: var(--ui-muted);
  font-size: 12px;
}

.reference-ui .modern-checkout-modal .selected-item {
  display: grid !important;
  grid-template-columns: 58px 1fr auto;
  min-height: 78px !important;
  margin: 0 0 14px !important;
  padding: 10px 14px !important;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 85, 82, 0.18) !important;
  border-radius: 14px !important;
  background: linear-gradient(110deg, #fff7f2, #fff5f8) !important;
}

.reference-ui .modern-checkout-modal .currency-icon {
  display: grid !important;
  width: 54px !important;
  height: 54px !important;
  margin: 0 !important;
  place-items: center;
  border-radius: 12px !important;
  background: #fff !important;
}

.reference-ui .modern-checkout-modal .currency-icon img {
  width: 45px !important;
  height: 45px !important;
  object-fit: contain !important;
}

.reference-ui .modern-checkout-modal .selected-item > div:nth-child(2) {
  display: grid;
  min-width: 0;
}

.reference-ui .modern-checkout-modal .selected-item span {
  color: #8f94a5;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.reference-ui .modern-checkout-modal .selected-item strong {
  color: var(--ui-text);
  font-size: 14px;
  font-weight: 800;
}

.reference-ui .modern-checkout-modal .selected-item > b {
  color: var(--ui-brand-2);
  font-size: 18px;
}

.reference-ui .modern-checkout-modal .player-box {
  margin: 0 0 14px !important;
  padding: 16px !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: 14px !important;
  background: var(--ui-surface-soft) !important;
}

.reference-ui .modern-checkout-modal .player-box > strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ui-text);
  font-size: 12px;
}

.reference-ui .modern-checkout-modal .player-box p {
  display: flex !important;
  margin: 0 !important;
  padding: 7px 0 !important;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--ui-line);
  font-size: 11px !important;
}

.reference-ui .modern-checkout-modal .player-box p:last-child {
  border-bottom: 0;
}

.reference-ui .modern-checkout-modal .player-box span {
  color: var(--ui-muted);
}

.reference-ui .modern-checkout-modal .player-box b {
  color: var(--ui-text);
}

.reference-ui .modern-checkout-modal .secure-note {
  display: flex !important;
  margin: 0 0 14px !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #15965d !important;
  font-size: 10px !important;
  font-weight: 750 !important;
}

.reference-ui .modern-checkout-modal .secure-note svg {
  width: 14px;
  fill: currentColor;
}

.reference-ui .modern-checkout-modal > .gradient-btn {
  width: 100%;
  margin-bottom: 5px;
}

/* Payment */
.reference-ui.page-payment .payment-main {
  display: block !important;
  padding: 0 0 92px !important;
}

.reference-ui .payment-intro {
  padding-top: 58px;
}

.reference-ui .checkout-steps {
  display: grid;
  grid-template-columns: auto minmax(40px, 100px) auto minmax(40px, 100px) auto;
  width: min(650px, 100%);
  margin: 0 auto 36px;
  align-items: center;
  justify-content: center;
}

.reference-ui .checkout-steps > div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reference-ui .checkout-steps > div > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid var(--ui-line);
  border-radius: 50%;
  color: #8a8fa0;
  background: #fff;
  font-size: 11px;
  font-weight: 800;
}

.reference-ui .checkout-steps strong {
  color: #888d9e;
  font-size: 10px;
  white-space: nowrap;
}

.reference-ui .checkout-steps .done > span {
  border-color: rgba(22, 183, 109, 0.18);
  color: #11985a;
  background: #eafff4;
}

.reference-ui .checkout-steps .active > span {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--ui-brand), var(--ui-brand-2));
  box-shadow: 0 6px 15px rgba(255, 56, 93, 0.22);
}

.reference-ui .checkout-steps .active strong {
  color: var(--ui-text);
}

.reference-ui .checkout-steps > i {
  display: block;
  height: 1px;
  margin: 0 12px;
  background: var(--ui-line);
}

.reference-ui .payment-layout {
  display: grid;
  grid-template-columns: minmax(310px, 0.85fr) minmax(440px, 1.15fr);
  gap: 20px;
  align-items: start;
}

.reference-ui .payment-summary-column,
.reference-ui .payment-action-column {
  display: grid;
  gap: 20px;
}

.reference-ui.page-payment .payment-card {
  margin: 0 !important;
  padding: 24px !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.93) !important;
  box-shadow: var(--ui-shadow-soft) !important;
}

.reference-ui .card-heading {
  margin-bottom: 17px;
}

.reference-ui .card-heading h2,
.reference-ui .qr-heading h2 {
  margin: 0 !important;
  color: var(--ui-text) !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em;
}

.reference-ui.page-payment .pay-item {
  display: grid !important;
  grid-template-columns: 62px 1fr auto;
  min-height: 90px !important;
  margin: 0 0 18px !important;
  padding: 13px !important;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 82, 85, 0.17) !important;
  border-radius: 15px !important;
  background: linear-gradient(110deg, #fff7f1, #fff4f8) !important;
}

.reference-ui.page-payment .pay-diamond {
  display: grid !important;
  width: 60px !important;
  height: 60px !important;
  place-items: center;
  border-radius: 13px !important;
  background: #fff !important;
}

.reference-ui.page-payment .pay-diamond img {
  display: block !important;
  width: 50px !important;
  height: 50px !important;
  object-fit: contain !important;
}

.reference-ui.page-payment .pay-item > div:nth-child(2) {
  display: grid;
  min-width: 0;
}

.reference-ui.page-payment .pay-item span {
  color: #8d92a2 !important;
  font-size: 9px !important;
  font-weight: 700;
  text-transform: uppercase;
}

.reference-ui.page-payment .pay-item strong {
  color: var(--ui-text) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

.reference-ui.page-payment .pay-item > b {
  color: var(--ui-brand-2);
  font-size: 19px;
}

.reference-ui.page-payment .pay-info {
  margin: 0 !important;
  padding: 2px 14px !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: 14px !important;
  background: var(--ui-surface-soft) !important;
}

.reference-ui.page-payment .pay-info p {
  display: flex !important;
  min-height: 43px !important;
  margin: 0 !important;
  padding: 9px 0 !important;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--ui-line) !important;
}

.reference-ui.page-payment .pay-info p:last-child {
  border-bottom: 0 !important;
}

.reference-ui.page-payment .pay-info span {
  color: var(--ui-muted) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
}

.reference-ui.page-payment .pay-info b {
  max-width: 62%;
  overflow-wrap: anywhere;
  color: var(--ui-text) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-align: right;
}

.reference-ui .summary-note {
  display: flex;
  margin-top: 16px;
  align-items: center;
  gap: 9px;
  color: #7c8192;
  font-size: 10px;
  font-weight: 650;
}

.reference-ui .summary-note svg {
  width: 20px;
  flex: 0 0 20px;
  fill: #17ad69;
}

.reference-ui.page-payment .method-list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.reference-ui.page-payment .method-option {
  position: relative;
  display: flex !important;
  min-width: 0;
  min-height: 78px !important;
  margin: 0 !important;
  padding: 10px !important;
  align-items: center;
  gap: 9px !important;
  border: 1px solid var(--ui-line) !important;
  border-radius: 13px !important;
  color: var(--ui-text) !important;
  background: #fff !important;
  box-shadow: none !important;
  text-align: left;
}

.reference-ui.page-payment .method-option.selected {
  border-color: var(--ui-brand-2) !important;
  background: #fff8fa !important;
  box-shadow: 0 0 0 3px rgba(255, 35, 105, 0.07) !important;
}

.reference-ui.page-payment .method-logo,
.reference-ui.page-payment .method-qr {
  display: grid !important;
  width: 42px !important;
  height: 42px !important;
  flex: 0 0 42px;
  place-items: center;
  border: 1px solid var(--ui-line) !important;
  border-radius: 10px !important;
  background: #fff !important;
}

.reference-ui.page-payment .method-logo img {
  width: 31px !important;
  max-height: 27px !important;
  object-fit: contain !important;
}

.reference-ui.page-payment .method-qr {
  color: var(--ui-brand-2) !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.reference-ui.page-payment .method-option > div {
  display: grid;
  min-width: 0;
}

.reference-ui.page-payment .method-option strong {
  color: var(--ui-text) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.reference-ui.page-payment .method-option small {
  color: #9297a7 !important;
  font-size: 8px !important;
  white-space: nowrap;
}

.reference-ui.page-payment .method-dot {
  position: absolute !important;
  top: 8px;
  right: 8px;
  width: 10px !important;
  height: 10px !important;
  border: 2px solid #d7dbe5 !important;
  border-radius: 50% !important;
}

.reference-ui.page-payment .method-option.selected .method-dot {
  border: 3px solid var(--ui-brand-2) !important;
}

.reference-ui .qr-heading {
  display: flex;
  margin-bottom: 18px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.reference-ui .qr-heading > b {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--ui-brand-2);
  background: #fff0f4;
  font-size: 15px;
}

.reference-ui .qr-stage {
  position: relative;
  display: grid;
  width: 248px;
  max-width: 100%;
  aspect-ratio: 1;
  margin: 0 auto 16px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--ui-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(20, 27, 49, 0.07);
}

.reference-ui.page-payment #upiQrImage {
  display: flex !important;
  width: 218px !important;
  height: 218px !important;
  margin: 0 !important;
  padding: 9px !important;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 0 !important;
  color: #8a8fa0;
  background: #fff !important;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.reference-ui.page-payment #upiQrImage img,
.reference-ui.page-payment #upiQrImage canvas {
  display: block !important;
  width: 200px !important;
  height: 200px !important;
}

.reference-ui .qr-scan-line {
  position: absolute;
  right: 14px;
  left: 14px;
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--ui-brand-2), transparent);
  box-shadow: 0 0 12px rgba(255, 35, 105, 0.5);
  opacity: 0.7;
  animation: qr-scan 2.6s ease-in-out infinite alternate;
}

@keyframes qr-scan {
  from { top: 28px; }
  to { top: calc(100% - 28px); }
}

.reference-ui.page-payment .upi-copy {
  max-width: 480px;
  margin: 0 auto 15px !important;
  color: var(--ui-muted) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.65;
  text-align: center;
}

.reference-ui.page-payment .payment-alert {
  display: flex !important;
  margin: 0 0 15px !important;
  padding: 13px 15px !important;
  align-items: center;
  gap: 11px;
  border: 1px solid #ffdda0 !important;
  border-radius: 13px !important;
  color: #955500 !important;
  background: #fff9e9 !important;
  text-align: left !important;
}

.reference-ui .pulse-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: #ffad21;
  box-shadow: 0 0 0 5px rgba(255, 173, 33, 0.15);
  animation: pulse-dot 1.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  50% { box-shadow: 0 0 0 8px rgba(255, 173, 33, 0); }
}

.reference-ui.page-payment .payment-alert > div {
  display: grid;
  gap: 1px;
}

.reference-ui.page-payment .payment-alert strong {
  color: #a45b00 !important;
  font-size: 11px !important;
}

.reference-ui.page-payment .payment-alert span:not(.pulse-dot) {
  color: #a8732b !important;
  font-size: 9px !important;
}

.reference-ui.page-payment .already-paid-btn {
  width: 100% !important;
  margin: 0 !important;
}

.reference-ui .modern-utr-modal {
  position: relative;
  width: min(480px, 100%) !important;
  padding: 28px !important;
  border: 1px solid rgba(255, 255, 255, 0.82) !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 30px 90px rgba(11, 14, 25, 0.27) !important;
}

.reference-ui .utr-modal-head {
  display: flex !important;
  margin: 0 0 20px !important;
  padding-right: 34px;
  align-items: flex-start;
  gap: 13px;
}

.reference-ui .utr-icon {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, var(--ui-brand), var(--ui-brand-2));
  font-size: 22px;
  font-weight: 800;
}

.reference-ui .utr-modal-head h3 {
  margin: 0 !important;
  color: var(--ui-text) !important;
  font-size: 20px !important;
  font-weight: 800 !important;
}

.reference-ui .utr-modal-head p {
  margin: 4px 0 0 !important;
  color: var(--ui-muted) !important;
  font-size: 11px !important;
}

.reference-ui .utr-form {
  display: grid !important;
  gap: 9px !important;
}

.reference-ui .utr-form label {
  color: var(--ui-text) !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.reference-ui .utr-form input {
  width: 100% !important;
  height: 52px !important;
  padding: 0 14px !important;
  border: 1px solid #dfe3ec !important;
  border-radius: 11px !important;
  outline: none !important;
  color: var(--ui-text) !important;
  background: var(--ui-surface-soft) !important;
  box-shadow: none !important;
  font-size: 13px !important;
}

.reference-ui .utr-form input:focus {
  border-color: var(--ui-brand-2) !important;
  box-shadow: 0 0 0 4px rgba(255, 35, 105, 0.08) !important;
}

.reference-ui .utr-submit {
  width: 100% !important;
  margin-top: 4px !important;
}

.reference-ui .utr-error {
  min-height: 16px;
  color: #c72042 !important;
  font-size: 10px !important;
}

.reference-ui .utr-success {
  display: none;
  padding: 15px;
  border-radius: 12px;
  color: #108550;
  background: #eafff4;
  font-size: 12px;
  font-weight: 750;
  text-align: center;
}

.reference-ui .utr-success.active {
  display: block;
}

/* Toast from existing logic */
.reference-ui .toast-wrap {
  position: fixed !important;
  right: auto !important;
  bottom: 24px !important;
  left: 50% !important;
  z-index: 120;
  width: min(330px, calc(100% - 32px)) !important;
  transform: translateX(-50%) !important;
}

.reference-ui .toast {
  display: flex !important;
  min-height: 76px;
  padding: 12px !important;
  align-items: center;
  gap: 11px;
  border: 1px solid var(--ui-line);
  border-radius: 15px !important;
  color: #1d2030 !important;
  background: rgba(255, 255, 255, 0.96) !important;
  box-shadow: var(--ui-shadow);
}

.reference-ui .toast .currency-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 11px;
  background: #fff3f5;
}

.reference-ui .toast .currency-icon img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.reference-ui .toast > div:last-child {
  display: grid;
}

.reference-ui .toast b {
  color: #1d2030 !important;
  font-size: 11px !important;
}

.reference-ui .toast span {
  color: var(--ui-brand-2) !important;
  font-size: 11px !important;
  font-weight: 700;
}

.reference-ui .toast small {
  color: #999eae !important;
  font-size: 9px !important;
}

/* Completion and unavailable states */
.reference-ui.page-success,
.reference-ui.page-blocked {
  display: flex !important;
  min-height: 100vh;
  flex-direction: column;
}

.reference-ui .state-main {
  display: flex !important;
  min-height: calc(100vh - 132px);
  padding-top: 58px !important;
  padding-bottom: 58px !important;
  align-items: center;
  justify-content: center;
}

.reference-ui .state-card {
  width: min(540px, 100%);
  padding: 36px;
  border: 1px solid var(--ui-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--ui-shadow);
  text-align: center;
}

.reference-ui .state-icon {
  display: grid;
  width: 82px;
  height: 82px;
  margin: 0 auto 22px;
  place-items: center;
  border-radius: 50%;
}

.reference-ui .state-icon svg {
  width: 44px;
  height: 44px;
}

.reference-ui .success-state .state-icon {
  color: #11985a;
  background: #eafff4;
  box-shadow: 0 0 0 10px rgba(22, 183, 109, 0.07);
}

.reference-ui .success-state .state-icon svg {
  fill: currentColor;
}

.reference-ui .blocked-state .state-icon {
  color: #ef334f;
  background: #fff0f3;
  box-shadow: 0 0 0 10px rgba(239, 51, 79, 0.06);
}

.reference-ui .blocked-state .state-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.reference-ui .state-card h1 {
  margin: 0;
  color: var(--ui-text);
  font-family: "Russo One", "Inter", sans-serif;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.reference-ui .state-card > p {
  max-width: 430px;
  margin: 12px auto 22px;
  color: var(--ui-muted);
  font-size: 13px;
  line-height: 1.7;
}

.reference-ui .state-receipt {
  margin-bottom: 20px;
  padding: 3px 16px;
  border: 1px solid var(--ui-line);
  border-radius: 15px;
  background: var(--ui-surface-soft);
  text-align: left;
}

.reference-ui .state-receipt p {
  display: flex;
  min-height: 48px;
  margin: 0;
  padding: 10px 0;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--ui-line);
}

.reference-ui .state-receipt p:last-child {
  border-bottom: 0;
}

.reference-ui .state-receipt span {
  color: var(--ui-muted);
  font-size: 11px;
}

.reference-ui .state-receipt strong {
  max-width: 68%;
  overflow-wrap: anywhere;
  color: var(--ui-text);
  font-size: 12px;
  text-align: right;
}

.reference-ui .state-receipt .status-good {
  color: #11985a;
}

.reference-ui .state-cta {
  width: 100%;
}

.reference-ui .state-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--ui-muted);
  font-size: 11px;
  font-weight: 750;
}

.reference-ui .blocked-note {
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1px solid #ffd9df;
  border-radius: 13px;
  color: #9f5360;
  background: #fff7f8;
  font-size: 11px;
  line-height: 1.6;
}

.reference-ui .blocked-chip {
  margin-left: auto;
  padding: 8px 12px;
  border: 1px solid #ffd9df;
  border-radius: 999px;
  color: #d62846;
  background: #fff2f4;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.reference-ui .state-footer {
  padding: 20px;
  border-top: 1px solid var(--ui-line);
  color: #9297a8;
  background: #fff;
  font-size: 10px;
  text-align: center;
}

/* Dark theme */
body.reference-ui.theme-dark {
  --ui-bg: #11131a;
  --ui-surface: #1a1d27;
  --ui-surface-soft: #20232e;
  --ui-text: #f3f4f8;
  --ui-muted: #a6abba;
  --ui-line: #303441;
  --ui-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
  --ui-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.18);
  background: var(--ui-bg) !important;
}

.reference-ui.theme-dark .modern-header,
.reference-ui.theme-dark .modern-footer {
  background: rgba(24, 27, 36, 0.94);
}

.reference-ui.theme-dark .uid-card,
.reference-ui.theme-dark .how-grid article,
.reference-ui.theme-dark .faq-item,
.reference-ui.theme-dark .verified-account,
.reference-ui.theme-dark .catalogue-card,
.reference-ui.theme-dark.page-topup .package-card,
.reference-ui.theme-dark.page-topup .deal-card,
.reference-ui.theme-dark.page-topup .redeem-card,
.reference-ui.theme-dark.page-payment .payment-card,
.reference-ui.theme-dark .modern-checkout-modal,
.reference-ui.theme-dark .modern-verified-modal,
.reference-ui.theme-dark .modern-utr-modal,
.reference-ui.theme-dark .state-card {
  background: var(--ui-surface) !important;
}

.reference-ui.theme-dark .modern-theme,
.reference-ui.theme-dark .modern-menu,
.reference-ui.theme-dark .modern-input-row,
.reference-ui.theme-dark .custom-row,
.reference-ui.theme-dark .custom-amount-input,
.reference-ui.theme-dark .verified-account > a {
  background: var(--ui-surface-soft) !important;
}

.reference-ui.theme-dark .modern-verified-modal {
  background: #07090f !important;
}

.reference-ui.theme-dark .modern-checkout-modal .selected-item {
  border-color: rgba(255, 255, 255, 0.1) !important;
  background: linear-gradient(110deg, #20232e, #181b24) !important;
}

.reference-ui.theme-dark .modern-checkout-modal .currency-icon {
  background: #11131a !important;
}

.reference-ui.theme-dark .modern-checkout-modal .selected-item span {
  color: #a8adbd !important;
}

.reference-ui.theme-dark .modern-checkout-modal .selected-item strong {
  color: #f6f7fb !important;
}

.reference-ui.theme-dark .modern-checkout-modal .selected-item > b {
  color: var(--ui-brand-2) !important;
}

.reference-ui.theme-dark.page-topup .card-buy-cta {
  color: #fff !important;
}

.reference-ui.theme-dark.page-topup .package-card.sold-out {
  opacity: 0.62 !important;
}

.reference-ui.theme-dark.page-topup .package-card.sold-out:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18) !important;
}

.reference-ui.theme-dark.page-topup .sold-out-label {
  border-color: rgba(255, 255, 255, 0.16) !important;
  color: #9ca2b3 !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

/* Responsive */
@media (max-width: 900px) {
  .reference-ui .modern-actions {
    margin-left: auto;
  }

  .reference-ui .modern-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    width: min(270px, calc(100vw - 32px));
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    border: 1px solid var(--ui-line);
    border-radius: 14px;
    background: var(--ui-surface);
    box-shadow: var(--ui-shadow);
  }

  .reference-ui.nav-open::after {
    position: fixed;
    inset: 66px 0 0;
    z-index: 70;
    background: rgba(19, 23, 37, 0.18);
    content: "";
    pointer-events: none;
  }

  .reference-ui .modern-nav.open {
    display: flex;
    z-index: 90;
  }

  .reference-ui .modern-nav a {
    padding: 12px 13px;
    border-radius: 9px;
  }

  .reference-ui .modern-nav a:hover {
    background: var(--ui-surface-soft);
  }

  .reference-ui .modern-nav a::after {
    display: none;
  }

  .reference-ui .modern-menu {
    display: grid;
  }

  .reference-ui .payment-nav {
    display: flex;
    position: static;
    width: auto;
    margin-left: auto;
    padding: 0;
    flex-direction: row;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .reference-ui .payment-nav a {
    display: none;
  }

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

  .reference-ui .footer-grid {
    grid-template-columns: 1.5fr repeat(3, minmax(90px, 0.6fr));
    gap: 26px;
  }

  .reference-ui.page-topup .package-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .reference-ui .payment-layout {
    grid-template-columns: 1fr;
  }

  .reference-ui .payment-summary-column {
    order: 2;
  }

  .reference-ui .payment-action-column {
    order: 1;
  }
}

@media (max-width: 680px) {
  .reference-ui .ui-container {
    width: min(calc(100% - 28px), 1180px);
  }

  .reference-ui .header-inner {
    min-height: 66px;
  }

  .reference-ui .modern-brand-logo {
    width: 31px !important;
    height: 31px !important;
    flex-basis: 31px;
  }

  .reference-ui .modern-brand strong {
    font-size: 14px !important;
  }

  .reference-ui .modern-brand small {
    font-size: 10px !important;
  }

  .reference-ui .modern-theme,
  .reference-ui .modern-menu {
    width: 36px;
    height: 36px;
  }

  .reference-ui.page-home main {
    padding-top: 14px !important;
  }

  .reference-ui.page-home .hero-card {
    display: block !important;
    height: clamp(150px, 42vw, 190px) !important;
    min-height: 150px !important;
    aspect-ratio: 16 / 7.5;
    border-radius: 15px !important;
  }

  .reference-ui.page-home .hero-card .hero-img {
    object-position: center !important;
  }

  .reference-ui .game-card {
    min-height: 100px;
    margin-top: 12px;
    gap: 13px;
    padding: 14px;
    border-radius: 16px;
  }

  .reference-ui .game-card-icon {
    width: 66px;
    height: 66px;
    flex-basis: 66px;
    border-radius: 14px;
  }

  .reference-ui .game-card h1 {
    margin-bottom: 6px;
    font-size: 21px;
  }

  .reference-ui .secure-pill {
    padding: 6px 9px;
    font-size: 9px;
  }

  .reference-ui .verify-section {
    padding-top: 60px;
    padding-bottom: 64px;
  }

  .reference-ui .modern-section-head {
    margin-bottom: 25px;
  }

  .reference-ui .modern-section-head h1,
  .reference-ui .modern-section-head h2 {
    max-width: 100%;
    font-size: 32px;
    overflow-wrap: anywhere;
    white-space: normal !important;
  }

  .reference-ui .modern-section-head p {
    font-size: 13px;
    line-height: 1.65;
  }

  .reference-ui .uid-card {
    padding: 20px;
    border-radius: 17px;
  }

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

  .reference-ui .how-grid article {
    padding: 22px 13px 20px;
    border-radius: 15px;
  }

  .reference-ui .how-grid article > span {
    width: 39px;
    height: 39px;
    margin-bottom: 13px;
  }

  .reference-ui .how-grid p {
    font-size: 10px;
  }

  .reference-ui .info-section,
  .reference-ui .faq-section {
    padding-top: 54px;
    padding-bottom: 64px;
  }

  .reference-ui .footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 16px;
    padding-top: 36px;
  }

  .reference-ui .footer-intro {
    grid-column: 1 / -1;
  }

  .reference-ui .footer-grid h3 {
    font-size: 11px;
  }

  .reference-ui .footer-grid > div:not(.footer-intro) a {
    font-size: 10px;
  }

  .reference-ui .modern-verified-modal,
  .reference-ui .modern-checkout-modal,
  .reference-ui .modern-utr-modal {
    padding: 22px !important;
    border-radius: 20px !important;
  }

  .reference-ui .verified-hero {
    margin-right: -22px;
    margin-left: -22px;
  }

  .reference-ui .account-section {
    padding-top: 16px;
  }

  .reference-ui .verified-account {
    min-height: 90px;
    padding: 13px;
    border-radius: 16px;
  }

  .reference-ui .verified-account .mini-avatar {
    width: 50px !important;
    height: 50px !important;
    flex-basis: 50px;
    border-radius: 14px !important;
    font-size: 18px !important;
  }

  .reference-ui .verified-account-main {
    gap: 10px;
  }

  .reference-ui .verified-account-main strong {
    max-width: 140px;
    font-size: 14px !important;
  }

  .reference-ui .account-badge {
    display: none;
  }

  .reference-ui .verified-account > a {
    padding: 8px;
    font-size: 9px;
  }

  .reference-ui .catalogue-section {
    padding-top: 50px;
  }

  .reference-ui .catalogue-card {
    padding: 16px;
    border-radius: 19px;
  }

  .reference-ui.page-topup .catalogue-tabs {
    width: 100% !important;
    margin-bottom: 26px !important;
  }

  .reference-ui.page-topup .catalogue-tabs .tab {
    min-width: 0 !important;
    flex: 1 1 0;
  }

  .reference-ui .catalogue-title {
    align-items: center;
  }

  .reference-ui .catalogue-title h2 {
    font-size: 17px;
  }

  .reference-ui .catalogue-title > small:not(.offer-chip) {
    display: none;
  }

  .reference-ui.page-topup .package-grid,
  .reference-ui.page-topup .deal-grid,
  .reference-ui.page-topup .redeem-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .reference-ui.page-topup .package-card,
  .reference-ui.page-topup .deal-card,
  .reference-ui.page-topup .redeem-card {
    min-height: 238px !important;
    padding: 17px 10px 12px !important;
    border-radius: 14px !important;
  }

  .reference-ui.page-topup .deal-card {
    min-height: 248px !important;
  }

  .reference-ui.page-topup .diamond-art {
    width: 64px !important;
    height: 64px !important;
  }

  .reference-ui.page-topup .deal-art {
    width: 80px !important;
    height: 72px !important;
  }

  .reference-ui.page-topup .package-card > strong,
  .reference-ui.page-topup .redeem-card > strong {
    font-size: 15px !important;
  }

  .reference-ui.page-topup .google-play-card-img {
    width: min(128px, 92%) !important;
    margin-top: 10px !important;
    margin-bottom: 11px !important;
  }

  .reference-ui.page-topup .deal-card > strong {
    font-size: 12px !important;
  }

  .reference-ui.page-topup .badge {
    top: 7px !important;
    right: 7px !important;
  }

  .reference-ui .custom-redeem {
    grid-template-columns: 1fr;
    gap: 13px;
    padding: 15px !important;
  }

  .reference-ui .custom-row {
    grid-template-columns: 30px minmax(0, 1fr) auto;
  }

  .reference-ui .custom-buy-btn {
    padding: 0 12px !important;
  }

  .reference-ui .payment-intro {
    padding-top: 42px;
  }

  .reference-ui .checkout-steps {
    grid-template-columns: auto 1fr auto 1fr auto;
    margin-bottom: 26px;
  }

  .reference-ui .checkout-steps > div {
    display: grid;
    justify-items: center;
    gap: 4px;
  }

  .reference-ui .checkout-steps strong {
    font-size: 8px;
    text-align: center;
    white-space: normal;
  }

  .reference-ui.page-payment .payment-card {
    padding: 18px !important;
    border-radius: 17px !important;
  }

  .reference-ui.page-payment .method-list {
    gap: 7px !important;
  }

  .reference-ui.page-payment .method-option {
    min-height: 82px !important;
    padding: 8px 5px !important;
    flex-direction: column;
    justify-content: center;
    gap: 5px !important;
    text-align: center;
  }

  .reference-ui.page-payment .method-option > div {
    justify-items: center;
  }

  .reference-ui.page-payment .method-option small {
    display: none;
  }

  .reference-ui.page-payment .method-logo,
  .reference-ui.page-payment .method-qr {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px;
  }

  .reference-ui .qr-stage {
    width: 230px;
  }

  .reference-ui.page-payment #upiQrImage {
    width: 204px !important;
    height: 204px !important;
  }

  .reference-ui.page-payment #upiQrImage img,
  .reference-ui.page-payment #upiQrImage canvas {
    width: 186px !important;
    height: 186px !important;
  }

  .reference-ui .toast-wrap {
    right: auto !important;
    bottom: max(16px, env(safe-area-inset-bottom)) !important;
    left: 50% !important;
    width: min(300px, calc(100% - 32px)) !important;
    transform: translateX(-50%) !important;
  }

  .reference-ui .toast {
    min-height: 58px;
    padding: 9px !important;
    gap: 9px;
    border-radius: 13px !important;
  }

  .reference-ui .toast .currency-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
  }

  .reference-ui .toast .currency-icon img {
    width: 32px;
    height: 32px;
  }

  .reference-ui .state-main {
    min-height: calc(100vh - 116px);
    padding-top: 34px !important;
    padding-bottom: 34px !important;
  }

  .reference-ui .state-card {
    padding: 26px 20px;
    border-radius: 20px;
  }

  .reference-ui .state-card h1 {
    font-size: 25px;
  }

  .reference-ui .state-icon {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 380px) {
  .reference-ui .modern-theme {
    display: none;
  }

  .reference-ui .how-grid {
    grid-template-columns: 1fr;
  }

  .reference-ui.page-topup .package-card,
  .reference-ui.page-topup .deal-card,
  .reference-ui.page-topup .redeem-card {
    min-height: 228px !important;
  }

  .reference-ui.page-topup .diamond-art {
    width: 56px !important;
    height: 56px !important;
  }

  .reference-ui .checkout-secure-chip {
    padding: 8px 10px;
    font-size: 10px;
  }
}
