/* =========================================================
   MIRA — top up / checkout
   ========================================================= */

.topupPage {
  background: #050505;
  min-height: 100vh;
}

/* ---------- nav ---------- */
.tnav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--max), calc(100% - 32px));
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 9px 10px 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(7, 7, 7, 0.6);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
}
.tnav__links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 36px);
  margin-left: auto;
  margin-right: clamp(8px, 2vw, 24px);
}
.tnav__links a {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(246, 245, 241, 0.52);
  transition: color 0.3s;
}
.tnav__links a:hover { color: var(--white); }
.tnav__right { display: flex; align-items: center; gap: 8px; flex: none; }

/* ---------- page shell ---------- */
.topup {
  position: relative;
  padding: 164px 0 clamp(80px, 11vw, 130px);
  overflow: clip;
  background:
    radial-gradient(55% 42% at 78% 4%, rgba(216, 196, 160, 0.06), transparent 70%),
    radial-gradient(45% 35% at 8% 22%, rgba(255, 255, 255, 0.035), transparent 70%),
    #050505;
}
.topup__aura {
  position: absolute;
  left: 50%;
  top: -10%;
  width: min(90vw, 1200px);
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.045);
  box-shadow: 0 0 200px rgba(255, 255, 255, 0.02) inset;
  pointer-events: none;
  opacity: 0.8;
}
.topup__ghost {
  position: absolute;
  right: -2%;
  top: 2%;
  font-family: var(--serif);
  font-size: 25vw;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.045);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.topup__beam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.07), transparent);
  pointer-events: none;
}
.topup .wrap { z-index: 1; }

.topup__crumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--grey-2);
  text-transform: uppercase;
}
.topup__crumb a { color: rgba(246, 245, 241, 0.6); }
.topup__crumb a:hover { color: var(--white); }
.topup__secure {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(246, 245, 241, 0.4);
}
.topup__secure .dot { color: var(--champagne); }

/* ---------- hero ---------- */
.topup__head {
  padding-top: clamp(38px, 6vh, 70px);
  max-width: 980px;
}
.topup__head h1 {
  font-size: clamp(58px, 8.7vw, 132px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  font-weight: 500;
  margin: 20px 0 24px;
  color: var(--white);
}
.topup__head h1 .stroke {
  color: transparent;
  -webkit-text-stroke: 1px rgba(246, 245, 241, 0.56);
  transition: color 0.7s var(--ease), -webkit-text-stroke-color 0.7s var(--ease);
}
.topup__head h1:hover .stroke { color: var(--white); }
.topup__head p {
  max-width: 490px;
  font-size: 14px;
  line-height: 1.9;
  color: rgba(246, 245, 241, 0.58);
}
.topup__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: rgba(246, 245, 241, 0.5);
  text-transform: uppercase;
}
.topup__facts span { display: flex; align-items: center; gap: 8px; }
.topup__facts span::before {
  content: "";
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--champagne);
}

/* ---------- two-column ---------- */
.topup__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: clamp(38px, 5vw, 80px);
  align-items: start;
  margin-top: clamp(34px, 5vw, 58px);
}

.blockHead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}
.blockHead h2 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--white);
}
.blockHead--pay { margin-top: 38px; }

/* ---------- plans ---------- */
.planGrid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}
.plan {
  position: relative;
  min-width: 0;
  min-height: 164px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 15px 14px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
  color: var(--white);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.plan:hover {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}
.plan.is-active {
  border-color: rgba(216, 196, 160, 0.72);
  background:
    radial-gradient(120% 100% at 14% 0%, rgba(216, 196, 160, 0.13), transparent 58%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.plan__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  width: 100%;
  padding-right: 30px;
  font-size: 7px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  color: rgba(246, 245, 241, 0.35);
  text-transform: uppercase;
}
.plan__meta span:last-child {
  color: rgba(246, 245, 241, 0.5);
  letter-spacing: 0.06em;
}
.plan__price {
  margin-top: 19px;
  font-family: var(--serif);
  font-size: clamp(36px, 2.7vw, 48px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
  transition: color 0.3s;
}
.plan__price em {
  font-style: normal;
  font-size: 13px;
  margin-right: 2px;
  color: rgba(246, 245, 241, 0.5);
  vertical-align: 0.35em;
}
.plan.is-active .plan__price { color: var(--champagne-2); }
.plan__credits {
  margin-top: auto;
  padding-top: 10px;
  font-size: 9px;
  letter-spacing: 0.04em;
  color: rgba(246, 245, 241, 0.42);
}
.plan__credits b {
  font-weight: 500;
  font-size: 12px;
  color: rgba(246, 245, 241, 0.82);
}
.plan__tick {
  position: absolute;
  top: 11px;
  right: 10px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--champagne-2);
  color: #0a0a0a;
  font-size: 9px;
  line-height: 16px;
  text-align: center;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.3s, transform 0.35s var(--ease);
}
.plan.is-active .plan__tick { opacity: 1; transform: scale(1); }
.plan__badge {
  position: absolute;
  top: -8px;
  right: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--champagne-2);
  color: #0a0a0a;
  font-size: 7px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  z-index: 1;
}

/* ---------- payment methods ---------- */
.methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.method {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 14px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(246, 245, 241, 0.62);
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.method:hover { border-color: rgba(255, 255, 255, 0.24); color: var(--white); }
.method.is-active {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}
.method__mark {
  width: 23px;
  height: 23px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  flex: none;
}
.method__mark--alipay { background: #1677ff; }
.method__mark--wechat { background: #07c160; }
.method__name { font-size: 12px; letter-spacing: 0.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.method__dot {
  margin-left: auto;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
  flex: none;
  transition: background 0.3s, box-shadow 0.3s;
}
.method.is-active .method__dot {
  background: var(--champagne-2);
  box-shadow: 0 0 0 3px rgba(216, 196, 160, 0.12);
}

/* ---------- vip tease ---------- */
.vipTease {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 26px;
  padding: 16px 18px;
  border: 1px solid rgba(216, 196, 160, 0.26);
  border-radius: 11px;
  background: linear-gradient(90deg, rgba(216, 196, 160, 0.075), rgba(216, 196, 160, 0.015));
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease), transform 0.4s var(--ease);
}
.vipTease:hover {
  border-color: rgba(216, 196, 160, 0.55);
  background: linear-gradient(90deg, rgba(216, 196, 160, 0.12), rgba(216, 196, 160, 0.025));
  transform: translateY(-1px);
}
.vipTease__cap {
  font-family: var(--serif);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--champagne);
  white-space: nowrap;
}
.vipTease__title {
  font-size: 10px;
  line-height: 1.6;
  color: rgba(246, 245, 241, 0.48);
}
.vipTease__title em { font-style: normal; color: rgba(216, 196, 160, 0.85); }
.vipTease__arrow { margin-left: auto; color: var(--champagne); font-size: 12px; flex: none; }

/* ---------- checkout ---------- */
.checkout {
  position: sticky;
  top: 100px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(100% 80% at 100% 0%, rgba(255, 255, 255, 0.08), transparent 60%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012));
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 40px 100px rgba(0, 0, 0, 0.5);
}
.checkout__chrome {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 38px;
  padding: 0 15px;
  background: rgba(255, 255, 255, 0.025);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.checkout__name {
  margin-inline: auto;
  transform: translateX(-10px);
  font-size: 8px;
  letter-spacing: 0.2em;
  color: rgba(246, 245, 241, 0.42);
}
.checkout__lock {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 7px;
  letter-spacing: 0.16em;
  color: rgba(246, 245, 241, 0.32);
}
.checkout__lock svg { width: 11px; height: 11px; }
.checkout__body { padding: clamp(20px, 2.3vw, 28px); }

.checkout__amount {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.checkout__amountTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9px;
  letter-spacing: 0.16em;
  color: rgba(246, 245, 241, 0.42);
}
.checkout__amount strong {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(50px, 4.2vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 400;
  color: var(--white);
}
.checkout__amount strong em {
  font-style: normal;
  font-size: 19px;
  color: var(--champagne);
  letter-spacing: 0;
}
.checkout__amount p {
  margin-top: 4px;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(246, 245, 241, 0.42);
}
.checkout__amount p b { color: var(--champagne-2); font-weight: 500; }

.qrBox {
  width: min(286px, 100%);
  margin: 20px auto 0;
  text-align: center;
}
.qrBox__frame {
  position: relative;
  aspect-ratio: 1;
  padding: 11px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
}
.qrBox__code {
  position: absolute;
  inset: 11px;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
}
.qrBox__code img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.qrBox__code img.is-active { opacity: 1; }
.qrBox__corner {
  position: absolute;
  width: 15px;
  height: 15px;
  border: 0 solid var(--champagne);
  opacity: 0.7;
  z-index: 2;
  pointer-events: none;
}
.qrBox__corner--tl { top: -6px; left: -6px; border-top-width: 1px; border-left-width: 1px; }
.qrBox__corner--tr { top: -6px; right: -6px; border-top-width: 1px; border-right-width: 1px; }
.qrBox__corner--bl { bottom: -6px; left: -6px; border-bottom-width: 1px; border-left-width: 1px; }
.qrBox__corner--br { bottom: -6px; right: -6px; border-bottom-width: 1px; border-right-width: 1px; }
.qrBox__hint {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.03em;
  color: rgba(246, 245, 241, 0.56);
}
.qrBox__hint b { color: var(--white); font-weight: 500; }
.qrBox__sub {
  margin-top: 4px;
  font-size: 9px;
  letter-spacing: 0.04em;
  color: rgba(246, 245, 241, 0.32);
}
.qrBox__sub b { color: rgba(216, 196, 160, 0.9); font-weight: 500; }

.order {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  margin-top: 16px;
  padding: 11px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 8px;
  letter-spacing: 0.12em;
  color: rgba(246, 245, 241, 0.35);
}
.order code {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  color: rgba(246, 245, 241, 0.66);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.order__copy {
  font-size: 8px;
  letter-spacing: 0.08em;
  color: rgba(246, 245, 241, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  padding: 4px 9px;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.order__copy:hover {
  color: var(--ink);
  background: var(--white);
  border-color: var(--white);
}
.checkout__btn {
  width: 100%;
  justify-content: center;
  margin-top: 16px;
  height: 50px;
  font-size: 12px;
}
.checkout__note {
  margin-top: 10px;
  text-align: center;
  font-size: 8px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  color: rgba(246, 245, 241, 0.3);
}

/* ---------- notes ---------- */
.topupNotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 60px);
  margin-top: clamp(60px, 9vw, 110px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.topupNotes article { position: relative; padding-right: 20px; }
.topupNotes__no {
  font-family: var(--serif);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--champagne);
}
.topupNotes h3 {
  margin-top: 12px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.topupNotes p {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.9;
  color: rgba(246, 245, 241, 0.44);
  max-width: 340px;
}

/* ---------- footer ---------- */
.topupFoot {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  background: #020202;
}
.topupFoot .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 8px;
  letter-spacing: 0.18em;
  color: var(--grey-2);
  text-transform: uppercase;
}
.topupFoot a { color: rgba(246, 245, 241, 0.55); }
.topupFoot a:hover { color: var(--white); }

/* ---------- payment modal ---------- */
.payModal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}
.payModal.is-open { opacity: 1; visibility: visible; }
.payModal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 2, 2, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.payModal__panel {
  position: relative;
  width: min(460px, 92vw);
  min-height: 390px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    radial-gradient(100% 80% at 50% 0%, rgba(216, 196, 160, 0.08), transparent 60%),
    #0a0a0a;
  box-shadow: 0 60px 140px rgba(0, 0, 0, 0.7);
  padding: 40px 32px;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.45s var(--ease);
  z-index: 1;
}
.payModal.is-open .payModal__panel { transform: none; }
.payModal__close {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: background 0.3s, transform 0.3s;
}
.payModal__close:hover { background: rgba(255, 255, 255, 0.08); transform: rotate(90deg); }
.payModal__close span {
  position: absolute;
  width: 13px;
  height: 1px;
  background: #fff;
}
.payModal__close span:first-child { transform: rotate(45deg); }
.payModal__close span:last-child { transform: rotate(-45deg); }
.payModal__stage {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 310px;
  justify-content: center;
}
.payModal__stage.is-active { display: flex; animation: stageIn 0.5s var(--ease) both; }
@keyframes stageIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.payModal__stage h3 {
  margin-top: 16px;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.payModal__stage p {
  margin-top: 10px;
  max-width: 320px;
  font-size: 12px;
  line-height: 1.8;
  color: rgba(246, 245, 241, 0.5);
}
.payModal__stage p code {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(246, 245, 241, 0.7);
}
.paySpinner {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
}
.paySpinner i {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-top-color: var(--champagne);
  animation: spin 1.1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.payModal__bar {
  width: 210px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 26px;
  overflow: hidden;
}
.payModal__bar i {
  display: block;
  width: 40%;
  height: 100%;
  background: var(--champagne);
  animation: barScan 1.4s var(--ease-soft) infinite;
}
@keyframes barScan {
  from { transform: translateX(-100%); }
  to { transform: translateX(350%); }
}
.payDone {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 1px solid rgba(216, 196, 160, 0.5);
  color: var(--champagne);
  display: grid;
  place-items: center;
  background: rgba(216, 196, 160, 0.06);
  animation: donePop 0.6s var(--ease) both;
}
.payDone svg { width: 34px; height: 34px; }
@keyframes donePop {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}
.payModal__summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  width: 100%;
  margin: 24px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.payModal__summary > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 0;
  text-align: left;
}
.payModal__summary > div + div { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, 0.1); }
.payModal__summary span {
  font-size: 8px;
  letter-spacing: 0.16em;
  color: rgba(246, 245, 241, 0.35);
}
.payModal__summary strong {
  font-size: 15px;
  font-weight: 500;
  color: var(--champagne-2);
}

/* ---------- page enter ---------- */
.topup__crumb { animation: fadeUp 0.7s var(--ease) 0.02s both; }
.topup__head { animation: fadeUp 0.9s var(--ease) 0.08s both; }
.plans { animation: fadeUp 0.9s var(--ease) 0.18s both; }
.checkout { animation: fadeUp 0.9s var(--ease) 0.26s both; }
.topupNotes { animation: fadeUp 0.9s var(--ease) 0.32s both; }

/* =========================================================
   responsive
   ========================================================= */
@media (max-width: 1280px) {
  .planGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .plan { min-height: 156px; }
  .plan__meta span:first-child { letter-spacing: 0.06em; }
}

@media (max-width: 1080px) {
  .tnav__links { display: none; }
  .topup__grid { grid-template-columns: 1fr; gap: 42px; }
  .checkout { position: relative; top: 0; max-width: 560px; width: 100%; margin-inline: auto; }
  .planGrid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .topup__head h1 { font-size: clamp(56px, 9.6vw, 110px); }
  .topup__ghost { font-size: 30vw; }
}

@media (max-width: 860px) {
  .topup { padding-top: 132px; }
  .topup__head h1 { font-size: clamp(52px, 10.8vw, 86px); }
  .topup__ghost { display: none; }
  .planGrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .topup__grid { margin-top: 36px; }
  .topupNotes { grid-template-columns: 1fr; gap: 26px; }
  .topupNotes article { padding-right: 0; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
  .topupNotes article:last-child { border-bottom: 0; padding-bottom: 0; }
}

@media (max-width: 620px) {
  .tnav { top: 12px; width: calc(100% - 20px); padding: 7px 8px 7px 14px; }
  .tnav__right .btn--ghost { display: none; }
  .tnav__right .btn--light { height: 38px; padding: 0 14px; font-size: 10px; }
  .topup { padding-top: 110px; }
  .topup__crumb { font-size: 7px; gap: 7px; }
  .topup__secure { display: none; }
  .topup__head { padding-top: 30px; }
  .topup__head h1 { font-size: clamp(46px, 13.4vw, 64px); margin: 16px 0 18px; }
  .topup__head p { font-size: 13px; }
  .topup__facts { gap: 8px 16px; font-size: 8px; margin-top: 24px; }
  .planGrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .plan { min-height: 140px; padding: 13px 12px; }
  .plan__price { margin-top: 16px; font-size: 36px; }
  .plan:last-child:nth-child(odd) {
    grid-column: span 2;
    min-height: 118px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr;
    column-gap: 16px;
  }
  .plan:last-child:nth-child(odd) .plan__meta { grid-column: 1 / -1; }
  .plan:last-child:nth-child(odd) .plan__price { grid-column: 1; grid-row: 2; margin-top: 6px; }
  .plan:last-child:nth-child(odd) .plan__credits {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
    padding: 0;
    align-self: end;
    text-align: right;
  }
  .methods { gap: 8px; }
  .method { padding: 12px; gap: 9px; }
  .method__name { font-size: 11px; }
  .vipTease { align-items: flex-start; flex-wrap: wrap; gap: 6px 10px; padding: 14px; }
  .vipTease__title { width: calc(100% - 80px); }
  .vipTease__arrow { margin-left: auto; }
  .checkout__body { padding: 18px; }
  .checkout__name { transform: none; }
  .qrBox { width: min(250px, 100%); }
  .checkout__amount strong { font-size: 52px; }
  .topupNotes { margin-top: 60px; }
  .topupFoot .wrap { flex-direction: column; align-items: flex-start; gap: 8px; }
  .payModal__panel { padding: 34px 22px; min-height: 360px; }
  .payModal__stage h3 { font-size: 22px; }
}
