/* =========================================================
   Meta Injector Pro — Top-up form (verify / payment / success)
   Sob class `tp-` prefix-e, kono global rule nei,
   tai Tailwind-based package card-er design-e kono effect porbe na.
   ========================================================= */

.tpf {
  --panel: #0e0c1b; --panel-2: #131127; --field: #0a0916;
  --line: rgba(255, 255, 255, .08); --line-2: rgba(255, 255, 255, .16);
  --muted: #a39fbd; --dim: #6f6b8a;
  --p: #A073EE; --p-2: #6E25ED; --ok: #34d399; --warn: #fbbf24; --err: #f87171;
  --grad: linear-gradient(115deg, #8b5cf6 0%, #6E25ED 40%, #2760dc 100%);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #f5f3ff; font-size: 15.5px; line-height: 1.6;
}
.tpf *, .tpf *::before, .tpf *::after { box-sizing: border-box; }
.tpf :focus-visible { outline: 2px solid var(--p); outline-offset: 3px; border-radius: 8px; }
:where(.tpf) :is(h2, h3, p) { margin: 0; }
:where(.tpf) ul { margin: 0; padding: 0; list-style: none; }
:where(.tpf) button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:where(.tpf) svg { display: block; }

.tp-hide { display: none !important; }
.tp-wrap { width: 100%; max-width: 620px; margin: 0 auto; padding: 0 16px; }
.tp-wrap.step-hidden { display: none !important; }
@keyframes tpUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes tpPop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.tp-anim { animation: tpUp .6s var(--ease) both; }
.tp-pop { animation: tpPop .5s var(--ease) both; }

/* ---------- Stepper ---------- */
.tp-stepper { max-width: 620px; margin: 0 auto 22px; padding: 0 16px; display: flex; align-items: center; gap: 10px; animation: tpUp .5s var(--ease) both; }
.tp-st { display: flex; align-items: center; gap: 9px; color: var(--dim); font-size: 13.5px; font-weight: 600; white-space: nowrap; transition: color .3s; }
.tp-st i { font-style: normal; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 12.5px; font-weight: 700; border: 1.5px solid var(--line-2); background: var(--field); transition: all .4s var(--ease); }
.tp-st.on { color: #fff; } .tp-st.on i { border-color: var(--p); background: rgba(160, 115, 238, .18); color: #d9ccff; box-shadow: 0 0 0 4px rgba(160, 115, 238, .14); }
.tp-st.done { color: var(--muted); } .tp-st.done i { border-color: var(--p-2); background: var(--p-2); color: transparent; position: relative; }
.tp-st.done i::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7.5'/></svg>") center / 14px no-repeat; }
.tp-stepper b { flex: 1; height: 2px; border-radius: 2px; background: var(--line-2); position: relative; overflow: hidden; }
.tp-stepper b::after { content: ''; position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.tp-stepper b.fill::after { transform: scaleX(1); }

/* ---------- Panel ---------- */
.tp-panel { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 30px; }
.tp-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--muted); font-size: 14px; font-weight: 500; padding: 7px 10px 7px 6px; border-radius: 10px; transition: color .25s, background .25s; }
.tp-back:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.tp-back svg { width: 16px; height: 16px; transition: transform .3s var(--ease); } .tp-back:hover svg { transform: translateX(-3px); }
.tp-title { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.tp-sub { margin-top: 6px; color: var(--muted); font-size: 14.5px; }

/* selected package card */
.tp-pkg { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; padding: 16px 18px; border-radius: 16px; background: linear-gradient(150deg, rgba(110, 37, 237, .2), rgba(39, 96, 220, .08)); border: 1px solid rgba(160, 115, 238, .28); }
.tp-pkg-ico { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-2); color: #d9ccff; }
.tp-pkg-ico svg { width: 22px; height: 22px; }
.tp-pkg small { display: block; color: var(--muted); font-size: 11.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.tp-pkg h3 { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.tp-pkg .tp-price { margin-left: auto; text-align: right; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; background: linear-gradient(120deg, #fff, #cdb8ff 60%, #8fd8e4); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Fields ---------- */
.tp-field { margin-top: 22px; }
.tp-field label { display: block; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; color: #d6d2ee; }
.tp-input-wrap { position: relative; }
.tp-input-wrap > svg { position: absolute; left: 15px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--dim); pointer-events: none; transition: color .25s; }
.tp-input { width: 100%; padding: 14px 16px 14px 44px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--field); color: #fff; font: inherit; font-size: 15.5px; outline: none; transition: border-color .25s, box-shadow .25s, background .25s; }
.tp-input::placeholder { color: #54506d; }
.tp-input:hover:not(:disabled) { border-color: rgba(255, 255, 255, .26); }
.tp-input:focus { border-color: var(--p); box-shadow: 0 0 0 4px rgba(160, 115, 238, .16); background: #0c0a1b; }
.tp-input:disabled { opacity: .55; cursor: not-allowed; }
.tp-input-wrap:focus-within > svg { color: var(--p); }
.tp-input.mono { font-family: var(--mono); letter-spacing: .1em; }
.tp-input.up { text-transform: uppercase; letter-spacing: .12em; }
.tp-input.err { border-color: var(--err) !important; box-shadow: 0 0 0 4px rgba(248, 113, 113, .12) !important; }
.tp-warn { display: none; margin-top: 7px; color: var(--err); font-size: 13px; font-weight: 500; animation: tpPop .3s var(--ease); }

/* messages */
.tp-msg { min-height: 20px; margin-top: 14px; font-size: 14px; font-weight: 500; }
.tp-msg .m { display: flex; gap: 9px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; text-align: left; animation: tpPop .4s var(--ease); }
.tp-msg .m svg { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.tp-msg .bad { color: #fecaca; background: rgba(248, 113, 113, .08); border: 1px solid rgba(248, 113, 113, .32); }
.tp-msg .warn { color: #fde9a6; background: rgba(251, 191, 36, .07); border: 1px solid rgba(251, 191, 36, .3); }
.tp-msg .ok { color: #a7f3d0; background: rgba(52, 211, 153, .08); border: 1px solid rgba(52, 211, 153, .3); }
.tp-msg .m b { display: block; font-weight: 700; color: #fff; margin-bottom: 1px; }
.tp-msg .m span { font-size: 13px; opacity: .9; font-weight: 400; }

/* ---------- Buttons ---------- */
.tp-btn { position: relative; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 22px; border-radius: 14px; font-weight: 700; font-size: 16px; color: #fff; overflow: hidden; isolation: isolate; background: var(--grad); background-size: 140% 100%; box-shadow: 0 14px 36px -10px rgba(110, 37, 237, .75), inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .35s var(--ease), box-shadow .35s, background-position .5s, opacity .25s; }
.tp-btn::after { content: ''; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; z-index: -1; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .4), transparent); transform: skewX(-20deg); }
.tp-btn:hover:not(:disabled)::after { left: 140%; transition: left .8s var(--ease); }
.tp-btn:hover:not(:disabled) { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 18px 44px -10px rgba(39, 96, 220, .7), inset 0 1px 0 rgba(255, 255, 255, .3); }
.tp-btn:active:not(:disabled) { transform: scale(.98); }
.tp-btn:disabled { opacity: .55; cursor: not-allowed; }
.tp-btn.loading::before, .tp-btn.lock::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: tpSpin .7s linear infinite; }
.tp-btn.lock::before { display: none; }
@keyframes tpSpin { to { transform: rotate(360deg); } }
.tp-btn-ghost { display: inline-flex; align-items: center; justify-content: center; padding: 16px 22px; border-radius: 14px; font-weight: 600; font-size: 15px; color: var(--muted); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); transition: background .25s, color .25s, transform .3s var(--ease); }
.tp-btn-ghost:hover { background: rgba(255, 255, 255, .09); color: #fff; transform: translateY(-1px); }
.tp-link { display: block; margin: 18px auto 0; color: var(--dim); font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; transition: color .2s; } .tp-link:hover { color: #fff; }

/* ---------- Account selector ---------- */
.tp-accounts { max-height: 340px; overflow-y: auto; margin: 22px -4px 0; padding: 0 4px; display: flex; flex-direction: column; gap: 10px; scrollbar-width: thin; scrollbar-color: #6E25ED transparent; }
.tp-acc { position: relative; text-align: left; width: 100%; padding: 16px 18px; border-radius: 16px; background: var(--field); border: 1px solid var(--line-2); transition: border-color .25s, transform .35s var(--ease), box-shadow .3s, background .25s; }
.tp-acc:hover { border-color: rgba(160, 115, 238, .6); transform: translateY(-2px); background: rgba(160, 115, 238, .06); box-shadow: 0 12px 30px -12px rgba(110, 37, 237, .5); }
.tp-acc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.tp-acc-top strong { font-size: 16.5px; font-weight: 700; word-break: break-word; }
.tp-tag { flex: none; padding: 3px 10px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #d9ccff; background: rgba(160, 115, 238, .16); border: 1px solid rgba(160, 115, 238, .35); }
.tp-acc-row { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12.5px; margin-top: 3px; word-break: break-all; }
.tp-acc-row svg { flex: none; width: 14px; height: 14px; color: var(--p); }
.tp-acc-row .mono { font-family: var(--mono); color: #d6d2ee; }

/* ---------- Payment step ---------- */
.tp-verified { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.tp-verified .ck { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--ok); background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .35); }
.tp-verified .ck svg { width: 22px; height: 22px; }
.tp-holder { padding: 18px 20px; border-radius: 16px; background: var(--field); border: 1px solid var(--line); margin-bottom: 20px; }
.tp-holder small { display: block; color: var(--dim); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.tp-holder h3 { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 1.35rem; font-weight: 700; margin: 4px 0 12px; word-break: break-word; }
.tp-holder .r { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.tp-holder .r span:first-child { display: inline-flex; align-items: center; gap: 9px; flex: none; color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.tp-holder .r span:first-child svg { width: 15px; height: 15px; color: var(--p); }
.tp-holder .r span:last-child { color: #e6e3f7; text-align: right; word-break: break-all; }
.tp-holder .r .mono { font-family: var(--mono); }

.tp-sum { padding: 6px 20px 0; border-radius: 16px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); margin-bottom: 26px; }
.tp-sum .r { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; font-size: 14.5px; }
.tp-sum .r + .r { border-top: 1px solid var(--line); }
.tp-sum .r span:first-child { color: var(--muted); } .tp-sum .r span:last-child, .tp-sum .r strong { font-weight: 600; }
.tp-sum .reg span:last-child { color: var(--dim); text-decoration: line-through; text-decoration-color: rgba(248, 113, 113, .6); font-weight: 500; }
.tp-sum .save span { color: var(--ok) !important; }
.tp-sum .save em { font-style: normal; margin-left: 8px; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .3); }
.tp-sum .tot { margin: 0 -20px; padding: 18px 20px; border-top: 1px dashed var(--line-2) !important; background: rgba(160, 115, 238, .06); border-radius: 0 0 16px 16px; }
.tp-sum .tot span:first-child { color: #e6e3f7; font-weight: 600; }
.tp-sum .tot strong { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 2.1rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; background: linear-gradient(120deg, #fff, #cdb8ff 60%, #8fd8e4); -webkit-background-clip: text; background-clip: text; color: transparent; }

.tp-label { display: block; margin-bottom: 12px; color: #d6d2ee; font-size: 13.5px; font-weight: 600; }
.tp-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tp-pm { position: relative; height: 80px; display: grid; place-items: center; padding: 12px; border-radius: 14px; background: var(--field); border: 1.5px solid var(--line-2); transition: border-color .25s, background .25s, box-shadow .25s, transform .35s var(--ease); }
.tp-pm img { height: 32px; width: auto; max-width: 100%; object-fit: contain; }
.tp-pm:hover { border-color: rgba(160, 115, 238, .55); transform: translateY(-2px); }
.tp-pm.on { border-color: var(--p); background: rgba(160, 115, 238, .09); box-shadow: 0 0 0 4px rgba(160, 115, 238, .14); }
.tp-pm::after { content: ''; position: absolute; top: 7px; right: 7px; width: 19px; height: 19px; border-radius: 50%; opacity: 0; transform: scale(.5); background: var(--p) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7.5'/></svg>") center / 11px no-repeat; transition: opacity .25s, transform .4s var(--ease); }
.tp-pm.on::after { opacity: 1; transform: none; }

.tp-pay { margin-top: 20px; border-radius: 16px; border: 1px solid rgba(160, 115, 238, .3); background: linear-gradient(160deg, rgba(110, 37, 237, .12), rgba(255, 255, 255, .02)); overflow: hidden; }
.tp-pay-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.tp-cap { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tp-amt { margin-top: 3px; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 1.8rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.tp-chip { padding: 5px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: #d9ccff; background: rgba(160, 115, 238, .14); border: 1px solid rgba(160, 115, 238, .35); }
.tp-pay-body { display: flex; gap: 20px; align-items: center; padding: 20px; }
.tp-qr { flex: none; padding: 8px; border-radius: 14px; background: #fff; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); transition: opacity .45s ease, transform .5s var(--ease); }
.tp-qr img { display: block; width: 118px; height: 118px; object-fit: contain; transition: opacity .4s; }
.tp-qr.off { opacity: 0; transform: scale(.94); }
.tp-info { flex: 1; min-width: 0; }
.tp-num { display: flex; align-items: center; gap: 10px; margin-top: 5px; flex-wrap: wrap; }
#pay-number { font-family: var(--mono); font-size: clamp(1.25rem, 3.6vw, 1.7rem); font-weight: 700; letter-spacing: .06em; }
.tp-copy { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 10px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .07); border: 1px solid var(--line-2); transition: background .25s, transform .3s var(--ease), border-color .25s, color .25s; }
.tp-copy:hover { background: rgba(255, 255, 255, .12); transform: translateY(-1px); }
.tp-copy svg { width: 15px; height: 15px; }
.tp-copy.done { color: var(--ok); border-color: rgba(52, 211, 153, .5); }
.tp-steps { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; counter-reset: s; }
.tp-steps li { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.tp-steps li::before { counter-increment: s; content: counter(s); flex: none; display: grid; place-items: center; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; font-size: 11px; font-weight: 700; color: #d9ccff; background: rgba(160, 115, 238, .18); }
.tp-steps b { color: #fff; font-weight: 600; }
.tp-slide { animation: tpUp .35s var(--ease); }

.tp-check { display: flex; align-items: flex-start; gap: 12px; margin-top: 22px; cursor: pointer; user-select: none; color: var(--muted); font-size: 14px; line-height: 1.5; }
.tp-check input { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 20px; height: 20px; margin: 1px 0 0; border-radius: 6px; border: 1.5px solid var(--line-2); background: var(--field); cursor: pointer; transition: background .2s, border-color .2s; }
.tp-check input:hover { border-color: rgba(160, 115, 238, .6); }
.tp-check input:checked { background: var(--p-2); border-color: var(--p); }
.tp-check input:checked::after { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12.5l4.5 4.5L19 7.5'/></svg>") center / 13px no-repeat; }
.tp-check a { color: #b79bff; text-decoration: underline; text-underline-offset: 3px; font-weight: 500; } .tp-check a:hover { color: #d9ccff; }
.tp-actions { display: flex; gap: 12px; margin-top: 24px; }
.tp-actions .tp-btn-ghost { flex: 0 0 32%; } .tp-actions .tp-btn { flex: 1; }

/* ---------- Success ---------- */
.tp-success { position: relative; overflow: hidden; padding: 44px 30px 30px; border-radius: 26px; background: var(--panel); border: 1px solid rgba(160, 115, 238, .3); box-shadow: 0 40px 100px -30px rgba(110, 37, 237, .5); text-align: center; animation: tpPop .7s var(--ease); }
.tp-success::before { content: ''; position: absolute; top: -60px; left: 50%; translate: -50% 0; width: 260px; height: 160px; background: radial-gradient(closest-side, rgba(52, 211, 153, .3), transparent); filter: blur(10px); }
.tp-tick { position: relative; width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; color: var(--ok); background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .35); }
.tp-tick::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--ok); animation: tpRing 1.8s ease-out infinite; }
@keyframes tpRing { from { transform: scale(1); opacity: .7; } to { transform: scale(1.5); opacity: 0; } }
.tp-tick svg { width: 40px; height: 40px; } .tp-tick path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: tpDraw .7s .3s var(--ease) forwards; }
@keyframes tpDraw { to { stroke-dashoffset: 0; } }
.tp-success h2 { position: relative; font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 2rem; font-weight: 800; letter-spacing: -.03em; }
.tp-success > p { position: relative; margin-top: 8px; color: var(--muted); }
.tp-recap { position: relative; margin: 26px 0 16px; padding: 6px 20px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); text-align: left; }
.tp-recap .r { display: flex; justify-content: space-between; padding: 12px 0; font-size: 14.5px; } .tp-recap .r + .r { border-top: 1px solid var(--line); }
.tp-recap .r span:first-child { color: var(--muted); } .tp-recap .r strong { font-weight: 700; } .tp-recap .r .acc { color: #c3a2ff; } .tp-recap .r .add { color: var(--ok); }
.tp-sync { position: relative; display: flex; gap: 14px; align-items: flex-start; margin-bottom: 24px; padding: 18px; text-align: left; border-radius: 16px; background: rgba(39, 96, 220, .1); border: 1px solid rgba(88, 130, 255, .28); }
.tp-sync .ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #7ea6ff; background: rgba(88, 130, 255, .16); } .tp-sync .ic svg { width: 22px; height: 22px; }
.tp-sync h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 3px; } .tp-sync p { color: #c3c9e6; font-size: 13.5px; } .tp-sync b { color: #9fbcff; font-weight: 600; }
.tp-home { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 15px; border-radius: 14px; font-weight: 600; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); transition: background .25s, transform .3s var(--ease); color: inherit; text-decoration: none; }
.tp-home:hover { background: rgba(255, 255, 255, .11); transform: translateY(-2px); }
.tp-home svg { width: 18px; height: 18px; transition: transform .3s var(--ease); } .tp-home:hover svg { transform: translateX(-4px); }

/* ---------- Expiry popup ---------- */
.tp-overlay { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(4, 3, 10, .78); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.tp-overlay.open { opacity: 1; visibility: visible; }
.tp-modal { width: 100%; max-width: 440px; padding: 34px 28px 26px; text-align: center; border-radius: 24px; background: var(--panel); border: 1px solid rgba(248, 113, 113, .4); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .8), 0 0 60px -20px rgba(239, 68, 68, .35); transform: translateY(24px) scale(.95); transition: transform .5s var(--ease); }
.tp-overlay.open .tp-modal { transform: none; }
.tp-modal .ic { width: 58px; height: 58px; margin: 0 auto 16px; border-radius: 18px; display: grid; place-items: center; color: var(--err); background: rgba(248, 113, 113, .12); border: 1px solid rgba(248, 113, 113, .3); } .tp-modal .ic svg { width: 28px; height: 28px; }
.tp-modal h2 { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; font-size: 1.45rem; font-weight: 800; margin-bottom: 10px; }
.tp-modal > p { color: var(--muted); font-size: 14.5px; } .tp-modal > p b { color: #fff; font-weight: 600; padding: 1px 7px; border-radius: 6px; background: rgba(248, 113, 113, .15); border: 1px solid rgba(248, 113, 113, .28); white-space: nowrap; }
.tp-modal .gap { height: 12px; }
.tp-expiry { margin: 20px 0; padding: 14px; border-radius: 14px; background: rgba(248, 113, 113, .07); border: 1px solid rgba(248, 113, 113, .22); }
.tp-expiry small { display: block; color: var(--dim); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.tp-expiry div { margin-top: 2px; font-family: var(--mono); font-size: 1.1rem; font-weight: 700; color: #fca5a5; }
.tp-btn-red { display: block; width: 100%; padding: 14px; border-radius: 14px; font-weight: 700; color: #fff; background: linear-gradient(115deg, #ef4444, #dc2626); box-shadow: 0 12px 30px -10px rgba(239, 68, 68, .6); transition: transform .3s var(--ease), box-shadow .3s; }
.tp-btn-red:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(239, 68, 68, .75); }

@media (max-width: 640px) {
  .tp-panel { padding: 24px 18px; }
  .tp-stepper { gap: 8px; } .tp-st span { display: none; } .tp-st.on span { display: inline; }
  .tp-methods { gap: 8px; } .tp-pm { height: 72px; padding: 10px; } .tp-pm img { height: 26px; }
  .tp-pay-body { flex-direction: column; align-items: stretch; text-align: center; padding: 18px 14px; }
  .tp-qr { align-self: center; } .tp-num { justify-content: center; } .tp-steps { text-align: left; }
  .tp-pkg { padding: 14px; } .tp-pkg .tp-price { font-size: 1.4rem; }
  .tp-actions { flex-direction: column-reverse; } .tp-actions .tp-btn-ghost { flex: none; }
  .tp-success { padding: 36px 18px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .tpf *, .tpf *::before, .tpf *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
