:root {
  --bg: #07070c;
  --text: #f3f6fb;
  --muted: #99a5ba;
  --line: rgba(255, 255, 255, .09);
  --card: rgba(255, 255, 255, .035);
  --red: #ff4d5e;
  --red-2: #ff7a45;
  --amber: #ffb020;
  --mint: #2ee6a8;
  --radius: 18px;
  --max: 1120px;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.shell {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- backdrop ---------- */
.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 520px at 82% -10%, rgba(255, 77, 94, .14), transparent 62%),
    radial-gradient(760px 540px at 4% 6%, rgba(255, 176, 32, .09), transparent 60%),
    linear-gradient(180deg, #0a0910 0%, var(--bg) 48%, #05050a 100%);
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .026) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(72% 60% at 50% 10%, #000 12%, transparent 80%);
  -webkit-mask-image: radial-gradient(72% 60% at 50% 10%, #000 12%, transparent 80%);
}

/* ---------- header ---------- */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(7, 7, 12, .74);
  border-bottom: 1px solid var(--line);
}

.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(150deg, rgba(255, 77, 94, .18), rgba(255, 176, 32, .12));
  border: 1px solid rgba(255, 77, 94, .38);
  box-shadow: 0 0 26px rgba(255, 77, 94, .16);
  flex: 0 0 auto;
}

.brand-mark svg { width: 19px; height: 19px; color: #ff8d99; }

.brand-name {
  font-weight: 750;
  letter-spacing: -.02em;
  font-size: 17px;
  line-height: 1.1;
}

.brand-sub {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
}

.lang {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang svg { width: 15px; height: 15px; color: var(--muted); flex: 0 0 auto; }

.lang select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  font: inherit;
  font-size: 13px;
  padding: 8px 30px 8px 11px;
  cursor: pointer;
  max-width: 168px;
}

.lang select:focus-visible,
.cta:focus-visible,
.verify button:focus-visible,
a:focus-visible {
  outline: 2px solid #ffb4bc;
  outline-offset: 3px;
}

.lang::after {
  content: "";
  position: absolute;
  right: 12px;
  width: 6px;
  height: 6px;
  border-right: 1.6px solid var(--muted);
  border-bottom: 1.6px solid var(--muted);
  transform: translateY(-2px) rotate(45deg);
  pointer-events: none;
}

/* ---------- urgent strip ---------- */
.strip {
  border-bottom: 1px solid rgba(255, 77, 94, .26);
  background: linear-gradient(90deg, rgba(255, 77, 94, .16), rgba(255, 77, 94, .05));
  font-size: 12.5px;
  color: #ffd0d5;
}

.strip-in {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 0;
  text-align: center;
}

.urgent-tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 5px;
  background: var(--red);
  color: #fff;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: .12em;
  flex: 0 0 auto;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  flex: 0 0 auto;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 94, .55); }
  70% { box-shadow: 0 0 0 8px rgba(255, 77, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 94, 0); }
}

/* ---------- hero ---------- */
.hero { padding: 46px 0 20px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: 52px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 16px;
  padding: 6px 13px 6px 9px;
  border: 1px solid rgba(255, 77, 94, .34);
  border-radius: 999px;
  background: rgba(255, 77, 94, .09);
  color: #ff9aa5;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.kicker .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(33px, 5.4vw, 53px);
  line-height: 1.04;
  letter-spacing: -.035em;
  font-weight: 760;
}

.lede {
  margin: 0 0 22px;
  color: #b4c0d2;
  font-size: 16.5px;
  max-width: 47ch;
}

.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 460px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 176, 32, .28);
  border-left: 3px solid var(--amber);
  border-radius: 12px;
  background: rgba(255, 176, 32, .06);
  margin-bottom: 22px;
}

.notice-icon { color: var(--amber); flex: 0 0 auto; margin-top: 2px; }
.notice-icon svg { width: 19px; height: 19px; }

.notice-title {
  margin: 0 0 6px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .01em;
  color: #ffdca6;
}

.notice ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 12.8px;
  color: #c7b79b;
}

.notice li {
  position: relative;
  padding-left: 14px;
  margin-top: 4px;
}

.notice li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
}

/* ---------- CTA ---------- */
.cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  width: 100%;
  max-width: 430px;
  padding: 15px 20px 13px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #ff6b63, #ef3654);
  color: #fff;
  text-decoration: none;
  font-weight: 750;
  font-size: 17px;
  letter-spacing: -.01em;
  box-shadow: 0 14px 38px -12px rgba(255, 60, 80, .55), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

.cta:hover { transform: translateY(-1px); filter: brightness(1.05); }
.cta:active { transform: translateY(1px) scale(.995); }

.cta-label { line-height: 1.3; text-align: center; }

.cta-meta {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}

.cta-note {
  margin: 9px 0 0;
  max-width: 430px;
  font-size: 11.5px;
  color: #8e9ab0;
  text-align: center;
}

.status {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 14px 0 0;
  font-size: 13px;
  color: var(--muted);
  max-width: 430px;
  min-height: 22px;
}

.status .spin {
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-radius: 50%;
  border: 1.6px solid var(--line);
  border-top-color: var(--red);
  flex: 0 0 auto;
  animation: spin .8s linear infinite;
}

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

.status[data-state="started"] { color: #8bf0cd; }
.status[data-state="started"] .spin {
  border-color: rgba(46, 230, 168, .3);
  background: radial-gradient(circle, var(--mint) 40%, transparent 44%);
  animation: none;
}
.status[data-state="ready"] .spin { border-top-color: var(--mint); }
.status[data-state="install"] { color: #8bf0cd; }
.status[data-state="install"] .spin {
  border-color: rgba(46, 230, 168, .3);
  background: radial-gradient(circle, var(--mint) 40%, transparent 44%);
  animation: none;
}
.status[data-state="bot"] { color: #ffd79a; }
.status[data-state="bot"] .spin { border-color: var(--amber); border-top-color: transparent; animation: none; }
.status[data-state="cooldown"] .spin { border-color: var(--muted); border-top-color: transparent; animation: none; }
.status[data-state="ios"] { color: #ffc9c9; }
.status[data-state="ios"] .spin { border-color: var(--red); border-top-color: transparent; animation: none; }

.install {
  max-width: 430px;
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(46, 230, 168, .28);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(46, 230, 168, .09), rgba(46, 230, 168, .03));
  animation: install-in .35s ease both;
}

@keyframes install-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.install-head { display: flex; gap: 11px; align-items: flex-start; }

.install-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--mint);
  background: rgba(46, 230, 168, .12);
  border: 1px solid rgba(46, 230, 168, .3);
}

.install-icon svg { width: 17px; height: 17px; }

.install-title { margin: 0; font-size: 13.5px; font-weight: 700; color: #d9fff3; line-height: 1.35; }
.install-body { margin: 3px 0 0; font-size: 12px; color: #a9c9c0; line-height: 1.5; }

.install-btn {
  display: block;
  margin-top: 12px;
  padding: 11px 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--mint), #14c48a);
  color: #04241b;
  font-size: 13.5px;
  font-weight: 750;
  text-align: center;
  text-decoration: none;
}

.install-btn:active { transform: translateY(1px); }

.install-alt {
  display: block;
  margin-top: 8px;
  font-size: 11.5px;
  color: #8fb7ab;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.verify {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding: 13px 14px;
  max-width: 430px;
  border: 1px dashed rgba(255, 176, 32, .42);
  border-radius: 13px;
  background: rgba(255, 176, 32, .07);
}

.verify p { margin: 0; font-size: 12.5px; color: #ffd79a; flex: 1 1 150px; }

.verify button {
  border: 1px solid rgba(255, 176, 32, .5);
  background: rgba(255, 176, 32, .16);
  color: #ffe3b3;
  border-radius: 9px;
  padding: 8px 13px;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
}

.verify button:hover { background: rgba(255, 176, 32, .26); }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.noscript {
  margin-top: 14px;
  font-size: 12.5px;
  color: #ffd79a;
}

/* ---------- expired card visual ---------- */
.visual { display: flex; justify-content: center; }

.card-scene {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 370px;
}

.card-scene::before {
  content: "";
  position: absolute;
  top: -40px;
  width: 330px;
  height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 77, 94, .17), transparent 65%);
  filter: blur(4px);
  z-index: -1;
}

.bank-card {
  position: relative;
  width: 100%;
  aspect-ratio: 1.586;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 22px;
  border-radius: 20px;
  background:
    radial-gradient(420px 220px at 100% 120%, rgba(255, 77, 94, .28), transparent 70%),
    linear-gradient(140deg, #232a3d 0%, #121724 48%, #2b131c 100%);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 42px 80px -36px #000, inset 0 1px 0 rgba(255, 255, 255, .16);
  overflow: hidden;
  transform: rotate(-2deg);
}

.bank-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(115deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 7px),
    radial-gradient(240px 140px at 18% -10%, rgba(255, 255, 255, .08), transparent 70%);
  pointer-events: none;
}

.bc-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.bc-brand {
  font-weight: 750;
  font-size: 15.5px;
  letter-spacing: -.02em;
  color: #f4f7fd;
}

.bc-type {
  font-size: 8.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #9fadc4;
  text-align: right;
  padding-top: 3px;
}

.bc-mid {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.bc-chip {
  position: relative;
  width: 38px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #f0d27c, #b28a2f 60%, #d8b45c);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .28), inset 0 1px 2px rgba(255, 255, 255, .5);
  z-index: 1;
  margin-top: 2px;
}

.bc-chip::after {
  content: "";
  position: absolute;
  inset: 5px 7px;
  border: 1px solid rgba(60, 40, 0, .3);
  border-radius: 2px;
}

.bc-num {
  position: relative;
  z-index: 1;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 15.5px;
  letter-spacing: .1em;
  color: #e8eefb;
  text-shadow: 0 1px 1px rgba(0, 0, 0, .5);
  white-space: nowrap;
}

.bc-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 26px;
}

.bc-field { display: flex; flex-direction: column; gap: 2px; }

.bc-cap {
  font-size: 8px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #8c9ab1;
}

.bc-exp, .bc-date {
  font-size: 11.5px;
  font-weight: 650;
  color: #d6dfed;
  letter-spacing: .04em;
}

.bc-exp s {
  color: #ff8a95;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(255, 77, 94, .8);
}

.bc-stamp {
  padding: 3px 9px;
  border: 2px solid rgba(255, 77, 94, .85);
  border-radius: 5px;
  color: #ff7180;
  font-size: clamp(10px, 2.9vw, 14px);
  font-weight: 800;
  letter-spacing: .1em;
  opacity: .95;
  text-shadow: 0 0 16px rgba(255, 77, 94, .45);
  background: rgba(20, 6, 10, .18);
  transform: rotate(-6deg);
  white-space: nowrap;
}

.blocked-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 77, 94, .38);
  background: rgba(255, 77, 94, .1);
  color: #ffaab2;
  font-size: 12.5px;
  font-weight: 600;
}

.blocked-pill svg { width: 14px; height: 14px; flex: 0 0 auto; }

/* ---------- trust ---------- */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 11px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--card);
  font-size: 11.5px;
  color: #a9b5c8;
}

.chip svg { width: 13px; height: 13px; color: var(--mint); }

.hash {
  margin-top: 10px;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 10.5px;
  color: #6f7d92;
  overflow-wrap: anywhere;
}

/* ---------- sections ---------- */
.block {
  margin-top: 60px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
}

h2 {
  margin: 0 0 24px;
  font-size: clamp(20px, 3vw, 26px);
  letter-spacing: -.025em;
  font-weight: 720;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  counter-reset: s;
}

.step {
  position: relative;
  padding: 20px 18px 18px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(6, 8, 14, .45);
}

.step::before {
  counter-increment: s;
  content: counter(s);
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  margin-bottom: 13px;
  border-radius: 8px;
  background: rgba(255, 77, 94, .11);
  border: 1px solid rgba(255, 77, 94, .32);
  color: #ff9aa5;
  font-size: 12px;
  font-weight: 700;
}

.step h3 { margin: 0 0 6px; font-size: 14.5px; letter-spacing: -.01em; }
.step p { margin: 0; font-size: 13px; color: var(--muted); }

.faq { border-top: 1px solid var(--line); margin-top: 24px; }

details { border-bottom: 1px solid var(--line); }

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  cursor: pointer;
  font-size: 14.5px;
  font-weight: 600;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: "+";
  color: #ff9aa5;
  font-size: 19px;
  font-weight: 400;
  line-height: 1;
  transition: transform .2s ease;
}

details[open] summary::after { transform: rotate(45deg); }

details p {
  margin: 0 0 18px;
  font-size: 13.5px;
  color: var(--muted);
  max-width: 74ch;
}

/* ---------- footer ---------- */
footer {
  margin-top: 66px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #6f7d92;
}

.foot-in { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }

.foot-build { font-family: ui-monospace, Consolas, monospace; }

/* ---------- debug ---------- */
#debug {
  display: none;
  margin: 18px 0 0;
  padding: 14px;
  border-radius: 10px;
  border: 1px dashed var(--line);
  background: #05060b;
  color: #9fb0c6;
  font-size: 11px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

#debug.on { display: block; }

#debug .dbg-btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

#debug button {
  border: 1px solid var(--line);
  background: #101624;
  color: #cfe0f4;
  border-radius: 6px;
  padding: 5px 9px;
  font: inherit;
  font-size: 10.5px;
  cursor: pointer;
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { padding-top: 28px; }
  .hero-grid { grid-template-columns: 1fr; gap: 34px; }
  .lede { font-size: 15.5px; }
  .cta, .cta-note, .status, .verify, .install, .notice { max-width: none; }
  .visual { margin-top: 6px; }
  .block { padding: 24px 20px; margin-top: 42px; }
  .steps { grid-template-columns: 1fr; gap: 12px; }
  .trust { margin-top: 30px; }
  .top-in { height: 58px; }
  .lang select { max-width: 128px; }
  .bc-num { font-size: 14.5px; }
}

@media (max-width: 420px) {
  .brand-sub { display: none; }
  .strip { font-size: 11.5px; }
  .bank-card { padding: 17px 18px; }
  .bc-bottom { gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
