:root {
  --gold: #d4af37;
  --gold-hi: #f4d03f;
  --ink: #fff;
  --muted: #b8b8b8;
  --panel: rgba(0, 0, 0, 0.78);
  --line: rgba(212, 175, 55, 0.35);
  --ok: #4ade80;
  --err: #f87171;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--ink);
  background: #07070c url('BG.png') center / cover fixed no-repeat;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.72) 0%, rgba(20, 20, 40, 0.82) 100%);
  z-index: -1;
}
main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}
.card {
  width: 100%;
  max-width: 460px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}
.logo { width: 120px; height: auto; margin-bottom: 12px; }
h1 { font-size: 26px; color: var(--gold); letter-spacing: 0.5px; margin-bottom: 6px; }
.sub { color: var(--muted); font-size: 15px; line-height: 1.5; margin-bottom: 22px; }
.price {
  display: inline-block;
  border: 1px solid var(--line);
  background: rgba(212, 175, 55, 0.1);
  color: var(--gold);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 14px;
  margin-bottom: 22px;
}
.step { display: none; }
.step.active { display: block; }
button, .btn {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  margin-top: 10px;
  transition: transform 0.08s ease, opacity 0.15s ease;
}
button:active { transform: scale(0.98); }
button:disabled { opacity: 0.55; cursor: wait; }
.primary { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hi) 100%); color: #000; }
.phantom { background: #ab9ff2; color: #1c1c33; }
.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.wallet {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 14px;
  word-break: break-all;
}
.quote { color: var(--muted); font-size: 14px; margin: 14px 0 4px; min-height: 20px; }
.quote b { color: var(--ink); }
.status { margin-top: 16px; font-size: 14px; min-height: 20px; line-height: 1.45; }
.status.ok { color: var(--ok); }
.status.err { color: var(--err); }
.code {
  font-family: 'Courier New', monospace;
  font-size: 30px;
  letter-spacing: 4px;
  color: var(--gold);
  background: rgba(0, 0, 0, 0.5);
  border: 1px dashed var(--line);
  border-radius: 10px;
  padding: 12px;
  margin: 8px 0 14px;
}
.fine { color: var(--muted); font-size: 12px; margin-top: 18px; line-height: 1.5; }
.fine a, .sub a { color: var(--gold); }
@media (max-width: 480px) {
  .card { padding: 26px 18px; }
  h1 { font-size: 22px; }
  .code { font-size: 24px; letter-spacing: 2px; }
}

/* How-to-install guide */
.card.wide { max-width: 720px; text-align: left; }
.card.wide .logo, .card.wide h1, .card.wide > .sub { display: block; text-align: center; margin-left: auto; margin-right: auto; }
.guide h2 { color: var(--gold); font-size: 18px; margin: 26px 0 10px; }
.guide ol, .guide ul { padding-left: 22px; line-height: 1.6; color: var(--ink); font-size: 15px; }
.guide li { margin-bottom: 8px; }
.guide li b { color: var(--gold-hi); }
.guide p { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 8px; }
.guide a { color: var(--gold); }
.guide table { width: 100%; border-collapse: collapse; font-size: 14px; }
.guide td { padding: 7px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.guide td:first-child { color: var(--muted); width: 38%; }
.guide .btn { text-align: center; }
.guide a.primary { color: #000; }
