:root {
  --bg: #000000;
  --card: #12161f;
  --line: #242a36;
  --text: #eef2f8;
  --muted: #8d97ad;
  --accent: #a3e635;
  --accent-ink: #12200a;
  --ok: #a3e635;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) 20px max(28px, env(safe-area-inset-bottom));
  text-align: center;
}

.logo { border-radius: 20px; margin-top: 12px; }

h1 { font-size: 26px; margin: 14px 0 6px; }
h2 { font-size: 17px; margin: 0; }

.offer {
  border: 1px solid var(--accent);
  border-radius: 16px;
  padding: 16px 18px;
  margin: 18px 0 20px;
  background: rgba(163, 230, 53, .08);
}

.offer-title { font-size: 19px; font-weight: 700; color: var(--accent); margin-bottom: 6px; }
.offer-text { font-size: 15px; color: var(--text); }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  margin-bottom: 14px;
  text-align: left;
}

.card.ok { border-color: var(--ok); }

.step-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }

.num {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

.steps { margin: 12px 0 0; padding-left: 22px; color: var(--text); font-size: 15px; }
.steps li { margin-bottom: 9px; }
.steps b { color: var(--accent); font-weight: 600; }

.hint { color: var(--muted); font-size: 14px; margin: 0; }

.btn {
  display: block;
  width: 100%;
  padding: 15px 18px;
  border: 0;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  margin-top: 14px;
}

.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.primary:disabled { opacity: .5; }
.btn.ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.btn.play { background: #1f2937; color: var(--text); margin-top: 18px; }

.err { color: #ff6b6b; font-size: 14px; }
.footer { color: var(--muted); font-size: 12px; margin-top: 22px; }
.hidden { display: none; }
