/* =========================================================
   Meta Injector Pro — Checkout (clean / professional)
   Standalone. Tailwind lagbe na.
   ========================================================= */

:root {
  --bg: #07060f;
  --panel: #0e0c1b;
  --panel-2: #131127;
  --field: #0a0916;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .16);
  --text: #f5f3ff;
  --muted: #a39fbd;
  --dim: #6f6b8a;

  --p: #A073EE;
  --p-2: #6E25ED;
  --b: #2760dc;
  --c: #58c0cf;
  --ok: #34d399;
  --warn: #fbbf24;
  --err: #f87171;

  --grad: linear-gradient(115deg, #8b5cf6 0%, #6E25ED 40%, #2760dc 100%);
  --r: 18px;
  --r-sm: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15.5px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55vw 40vh at 8% -8%, rgba(110, 37, 237, .26), transparent 60%),
    radial-gradient(45vw 35vh at 100% 0%, rgba(39, 96, 220, .2), transparent 60%),
    var(--bg);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: rgba(160, 115, 238, .5); }
:focus-visible { outline: 2px solid var(--p); outline-offset: 3px; border-radius: 8px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Top bar ---------- */
.top { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(7, 6, 15, .75); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }
.top-in { max-width: 1120px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.top .logo img { height: 34px; width: auto; transition: opacity .25s; }
.top .logo:hover img { opacity: .8; }
.secure { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; font-weight: 500; }
.secure svg { width: 16px; height: 16px; color: var(--ok); }
.back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 500; padding: 8px 12px; border-radius: 10px; transition: color .25s, background .25s; }
.back:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.back svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.back:hover svg { transform: translateX(-3px); }

/* ---------- Layout ---------- */
.page { flex: 1; width: 100%; max-width: 1120px; margin: 0 auto; padding: 44px 24px 72px; }
.page-head { margin-bottom: 28px; }
.page-head h1 { font-family: var(--display); font-weight: 800; font-size: clamp(1.9rem, 3.4vw, 2.5rem); letter-spacing: -.03em; line-height: 1.1; }
.page-head p { margin-top: 8px; color: var(--muted); }
.grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.col-main { display: flex; flex-direction: column; gap: 18px; counter-reset: step; }

@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.col-main > *, .summary { animation: up .7s var(--ease) both; }
.col-main > *:nth-child(2) { animation-delay: .08s; } .col-main > *:nth-child(3) { animation-delay: .16s; } .summary { animation-delay: .1s; }

/* ---------- Panels ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.panel-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.panel-head h2 { font-family: var(--display); font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
.panel-head p { color: var(--dim); font-size: 13.5px; margin-top: 2px; }
.panel.step-panel > .panel-head::before {
  counter-increment: step; content: counter(step);
  flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px;
  font-family: var(--display); font-weight: 800; font-size: 14px; color: #d9ccff;
  background: rgba(160, 115, 238, .14); border: 1px solid rgba(160, 115, 238, .32);
}

/* ---------- Fields ---------- */
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; } .field:last-child, .row2 .field { margin-bottom: 0; } .row2 { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; color: #d6d2ee; }
.input-wrap { position: relative; }
.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; }
.input {
  width: 100%; padding: 14px 16px 14px 44px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--field);
  color: #fff; font: inherit; font-size: 15px; outline: none; transition: border-color .25s, box-shadow .25s, background .25s;
}
.input::placeholder { color: #54506d; }
.input:hover { border-color: rgba(255, 255, 255, .26); }
.input:focus { border-color: var(--p); box-shadow: 0 0 0 4px rgba(160, 115, 238, .16); background: #0c0a1b; }
.input-wrap:focus-within > svg { color: var(--p); }
.input.trx { text-transform: uppercase; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .12em; }
.input.err { border-color: var(--err) !important; box-shadow: 0 0 0 4px rgba(248, 113, 113, .12) !important; }
.warning-message { display: none; margin-top: 7px; color: var(--err); font-size: 13px; font-weight: 500; animation: up .3s var(--ease); }
.hint { margin-top: 7px; color: var(--dim); font-size: 12.5px; }

/* ---------- Payment methods ---------- */
.methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.method { position: relative; cursor: pointer; display: block; }
.method input { position: absolute; opacity: 0; pointer-events: none; }
.pm-card {
  position: relative; height: 88px; display: grid; place-items: center; padding: 14px; 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);
}
.pm-card img { height: 34px; width: auto; object-fit: contain; }
.method:hover .pm-card { border-color: rgba(160, 115, 238, .55); transform: translateY(-2px); }
.method input:focus-visible + .pm-card { outline: 2px solid var(--p); outline-offset: 3px; }
.method input:checked + .pm-card { border-color: var(--p); background: rgba(160, 115, 238, .09); box-shadow: 0 0 0 4px rgba(160, 115, 238, .14); }
.pm-card::after {
  content: ''; position: absolute; top: 8px; right: 8px; width: 20px; height: 20px; 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 / 12px no-repeat;
  transition: opacity .25s, transform .4s var(--ease);
}
.method input:checked + .pm-card::after { opacity: 1; transform: none; }
.method-err { margin-top: 10px; }

/* Payment instructions */
#paymentInstruction { margin-top: 20px; }
.pay-box { 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; }
.pay-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.pay-label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pay-amount { margin-top: 4px; font-family: var(--display); font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.pay-body { display: flex; gap: 22px; align-items: center; padding: 22px; }
.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); }
.qr img { width: 124px; height: 124px; object-fit: contain; transition: opacity .4s; }
.qr.off { opacity: 0; transform: scale(.94); }
.pay-info { flex: 1; min-width: 0; }
.numrow { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
#payNumber { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: clamp(1.35rem, 3.4vw, 1.8rem); font-weight: 700; letter-spacing: .06em; }
.copy { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; 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; }
.copy:hover { background: rgba(255, 255, 255, .12); transform: translateY(-1px); }
.copy svg { width: 16px; height: 16px; }
.copy.done { color: var(--ok); border-color: rgba(52, 211, 153, .5); }
.steps { margin-top: 18px; display: flex; flex-direction: column; gap: 9px; counter-reset: s; }
.steps li { display: flex; gap: 11px; align-items: flex-start; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.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); }
.steps b { color: #fff; font-weight: 600; }
#trxGroup { margin-top: 20px; }
.pop { animation: pop .5s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.slide { animation: slideNum .35s var(--ease); }
@keyframes slideNum { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Terms + submit ---------- */
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; user-select: none; color: var(--muted); font-size: 14px; line-height: 1.5; }
.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, box-shadow .2s; }
.check input:hover { border-color: rgba(160, 115, 238, .6); }
.check input:checked { background: var(--p-2); border-color: var(--p); }
.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; }
.check input:focus-visible { outline: 2px solid var(--p); outline-offset: 3px; }
.check a { color: #b79bff; text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }
.check a:hover { color: #d9ccff; }

.btn-pay {
  position: relative; width: 100%; margin-top: 22px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 24px; border-radius: 14px; font-weight: 700; font-size: 16.5px; 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;
}
.btn-pay::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); }
.btn-pay:hover:not(:disabled)::after { left: 140%; transition: left .8s var(--ease); }
.btn-pay: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); }
.btn-pay:active:not(:disabled) { transform: scale(.98); }
.btn-pay:disabled { opacity: .55; cursor: not-allowed; }
.btn-pay svg { width: 18px; height: 18px; }
.btn-pay.free { background: linear-gradient(115deg, #10b981, #059669); box-shadow: 0 14px 36px -10px rgba(16, 185, 129, .6), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-pay.loading::before { content: ''; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.assure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; color: var(--dim); font-size: 12.5px; }
.assure svg { width: 14px; height: 14px; }

/* ---------- Summary ---------- */
.summary { position: sticky; top: 92px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.sum-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 22px 24px 18px; }
.sum-head h2 { font-family: var(--display); font-size: 1.05rem; font-weight: 700; }
.badge-off { padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; color: #7cf0b0; background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .3); }
.plan-card { margin: 0 24px; padding: 18px; border-radius: 14px; background: linear-gradient(150deg, rgba(110, 37, 237, .2), rgba(39, 96, 220, .08)); border: 1px solid rgba(160, 115, 238, .28); display: flex; align-items: center; gap: 14px; }
.plan-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); }
.plan-ico svg { width: 22px; height: 22px; color: #d9ccff; }
.plan-card small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
#pkgName { font-family: var(--display); font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.sum-rows { padding: 20px 24px 6px; display: flex; flex-direction: column; gap: 14px; }
.sum-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 14.5px; }
.sum-row span:first-child { color: var(--muted); }
.sum-row span:last-child { font-weight: 600; }
.sum-row.reg span:last-child { color: var(--dim); text-decoration: line-through; text-decoration-color: rgba(248, 113, 113, .6); font-weight: 500; }
.sum-row.disc span { color: var(--ok) !important; }
.sum-total { margin: 14px 24px 0; padding: 20px 0 22px; border-top: 1px dashed var(--line-2); display: flex; justify-content: space-between; align-items: flex-end; }
.sum-total span:first-child { font-weight: 600; color: #d6d2ee; }
#totalPrice { font-family: var(--display); font-size: 2.2rem; 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; }
#totalPrice.free { background: none; color: var(--ok); -webkit-text-fill-color: var(--ok); }
.free-badge { margin: 0 24px 6px; padding: 14px 16px; border-radius: 14px; background: rgba(52, 211, 153, .08); border: 1px solid rgba(52, 211, 153, .25); display: flex; gap: 12px; align-items: flex-start; }
.free-badge svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--ok); }
.free-badge b { display: block; color: var(--ok); font-size: 15px; } .free-badge p { color: #b7e8d3; font-size: 13px; opacity: .85; }
.sum-foot { padding: 18px 24px 22px; background: rgba(255, 255, 255, .025); border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.sum-foot li { display: flex; gap: 11px; align-items: flex-start; color: var(--muted); font-size: 13px; line-height: 1.45; }
.sum-foot svg { flex: none; width: 16px; height: 16px; margin-top: 1px; color: var(--p); }
#refundNote { color: var(--dim); font-size: 12.5px; }
#refundNote b { color: #fca5a5; font-weight: 600; } #refundNote i { color: #fff; font-style: normal; }

/* ---------- Status cards ---------- */
#statusMsg { display: none; margin-top: 18px; }
.status { position: relative; overflow: hidden; padding: 30px 26px; border-radius: 18px; text-align: center; background: var(--panel-2); border: 1px solid var(--line-2); animation: pop .5s var(--ease); }
.status.warn { border-color: rgba(251, 191, 36, .4); } .status.bad { border-color: rgba(248, 113, 113, .4); } .status.info { border-color: rgba(160, 115, 238, .45); }
.status .ic { width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; }
.status.warn .ic { background: rgba(251, 191, 36, .12); color: var(--warn); } .status.bad .ic { background: rgba(248, 113, 113, .12); color: var(--err); } .status.info .ic { background: rgba(160, 115, 238, .15); color: var(--p); }
.status .ic svg { width: 28px; height: 28px; }
.status h3 { font-family: var(--display); font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.status p { color: var(--muted); font-size: 14.5px; max-width: 420px; margin: 0 auto; }
.status p b { color: #fff; }
.status .btn-link { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 12px; font-weight: 600; color: #fff; background: var(--grad); box-shadow: 0 10px 28px -8px rgba(110, 37, 237, .7); transition: transform .3s var(--ease), box-shadow .3s; }
.status .btn-link:hover { transform: translateY(-2px); }
.status .btn-link svg { width: 16px; height: 16px; }
.status small { display: block; margin-top: 14px; color: var(--warn); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.alert { padding: 14px 16px; border-radius: 12px; text-align: left; font-size: 14px; color: #fecaca; background: rgba(248, 113, 113, .08); border: 1px solid rgba(248, 113, 113, .35); animation: pop .4s var(--ease); }

/* ---------- OTP modal ---------- */
#otp-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(4, 3, 10, .75); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
#otp-modal.open { opacity: 1; visibility: visible; }
.modal { width: 100%; max-width: 410px; padding: 34px 28px 26px; text-align: center; border-radius: 24px; background: var(--panel); border: 1px solid rgba(160, 115, 238, .4); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .8), 0 0 60px -20px rgba(110, 37, 237, .5); transform: translateY(24px) scale(.95); transition: transform .5s var(--ease); }
#otp-modal.open .modal { transform: none; }
.modal .ic { width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 16px; display: grid; place-items: center; color: var(--p); background: rgba(160, 115, 238, .14); border: 1px solid rgba(160, 115, 238, .3); }
.modal .ic svg { width: 26px; height: 26px; }
.modal h3 { font-family: var(--display); font-size: 1.45rem; font-weight: 800; margin-bottom: 6px; }
.modal > p { color: var(--muted); font-size: 14px; }
#otp-email-display { color: #d9ccff; font-weight: 600; word-break: break-all; }
.tip { margin: 18px 0 22px; padding: 11px 14px; border-radius: 12px; display: flex; gap: 10px; text-align: left; align-items: flex-start; font-size: 12.5px; line-height: 1.5; color: #fde9a6; background: rgba(251, 191, 36, .07); border: 1px solid rgba(251, 191, 36, .22); }
.tip svg { flex: none; width: 17px; height: 17px; margin-top: 1px; color: var(--warn); } .tip b { color: var(--warn); }
.otp-group { display: flex; justify-content: center; gap: 9px; }
.otp-input { width: 46px; height: 56px; text-align: center; font: 700 1.5rem var(--display); color: #fff; border-radius: 12px; background: var(--field); border: 1.5px solid var(--line-2); outline: none; transition: border-color .2s, box-shadow .2s, transform .25s var(--ease); }
.otp-input:focus { border-color: var(--p); box-shadow: 0 0 0 4px rgba(160, 115, 238, .18); transform: translateY(-2px); }
.otp-input:not(:placeholder-shown) { border-color: rgba(160, 115, 238, .6); }
#warnOtp { margin-top: 12px; }
.timer { margin-top: 16px; color: var(--muted); font-size: 13.5px; }
#otp-timer { font-family: ui-monospace, Menlo, monospace; font-weight: 700; color: var(--p); }
.modal .btn-pay { margin-top: 20px; padding: 15px; font-size: 15.5px; }
.link-cancel { margin-top: 14px; color: var(--dim); font-size: 13.5px; transition: color .2s; } .link-cancel:hover { color: #fff; }

/* ---------- Success ---------- */
#success-view { max-width: 520px; margin: 40px auto 0; text-align: center; }
.success { position: relative; overflow: hidden; padding: 44px 32px 32px; 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); animation: pop .7s var(--ease); }
.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); }
.tick { position: relative; width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%; display: grid; place-items: center; background: rgba(52, 211, 153, .1); border: 1px solid rgba(52, 211, 153, .35); }
.tick::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 2px solid var(--ok); animation: ring 1.8s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .7; } to { transform: scale(1.5); opacity: 0; } }
.tick svg { width: 40px; height: 40px; color: var(--ok); }
.tick path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .7s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h2 { position: relative; font-family: var(--display); font-size: 2rem; font-weight: 800; letter-spacing: -.03em; }
.success > p { position: relative; margin-top: 8px; color: var(--muted); }
.mail-box { position: relative; margin: 28px 0; padding: 24px; border-radius: 18px; background: rgba(160, 115, 238, .07); border: 1px solid rgba(160, 115, 238, .22); }
.mail-ico { position: relative; width: 52px; margin: 0 auto 12px; color: var(--p); } .mail-ico svg { width: 52px; height: 52px; }
.mail-ico i { position: absolute; top: 0; right: -2px; width: 13px; height: 13px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 0 0 rgba(239, 68, 68, .7); animation: ping 1.8s infinite; }
@keyframes ping { to { box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); } }
.mail-box h3 { font-family: var(--display); font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.mail-box p { color: var(--muted); font-size: 14px; } .mail-box p b { color: #d9ccff; font-weight: 600; }
.spam { margin-top: 14px; display: flex; gap: 8px; justify-content: center; align-items: center; padding: 9px; border-radius: 10px; font-size: 12.5px; color: var(--dim); background: rgba(0, 0, 0, .25); }
.spam svg { width: 15px; height: 15px; color: var(--warn); flex: none; } .spam b { color: var(--muted); }
.btn-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); }
.btn-home:hover { background: rgba(255, 255, 255, .11); transform: translateY(-2px); }
.btn-home svg { width: 18px; height: 18px; transition: transform .3s var(--ease); } .btn-home:hover svg { transform: translateX(-4px); }

/* ---------- Footer ---------- */
footer { padding: 26px 24px; border-top: 1px solid var(--line); text-align: center; color: var(--dim); font-size: 13.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
  .secure span { display: none; }
}
@media (max-width: 640px) {
  .top-in, .page { padding-left: 16px; padding-right: 16px; }
  .page { padding-top: 28px; }
  .panel { padding: 22px 18px; }
  .row2 { grid-template-columns: 1fr; gap: 18px; }
  .methods { gap: 8px; } .pm-card { height: 76px; padding: 10px; } .pm-card img { height: 28px; }
  .pay-body { flex-direction: column; align-items: stretch; text-align: center; padding: 20px 16px; }
  .qr { align-self: center; } .numrow { justify-content: center; flex-wrap: wrap; } .steps { text-align: left; }
  .pay-top { padding: 18px 16px; }
  .otp-input { width: 42px; height: 52px; } .otp-group { gap: 7px; }
  .success { padding: 36px 20px 24px; }
  .back span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
