:root {
  --bg: #07071a;
  --card: #12122a;
  --gold: #ffd700;
  --pink: #ff6b9d;
  --text: #eef0ff;
  --muted: #9a9ab8;
  --ok: #4ade80;
  --err: #f87171;
  --line: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "Noto Sans JP", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  justify-content: center;
  padding: 32px 16px 48px;
}
.bg {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 107, 157, 0.15), transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 215, 0, 0.1), transparent 45%);
  pointer-events: none;
  z-index: 0;
}
.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 24px 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
header { text-align: center; margin-bottom: 24px; }
.logo { font-size: 2.5rem; }
h1 {
  margin: 8px 0 6px;
  font-size: 1.55rem;
  background: linear-gradient(90deg, var(--gold), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sub { color: var(--muted); font-size: 0.95rem; line-height: 1.45; margin: 0; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.step {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.2);
}
.step-num {
  flex: 0 0 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #c9a227);
  color: #1a1000;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-body { flex: 1; min-width: 0; }
.step-body h2 { margin: 0 0 4px; font-size: 1.05rem; }
.hint { margin: 0 0 10px; color: var(--muted); font-size: 0.85rem; }
.status-box {
  padding: 10px 12px;
  border-radius: 10px;
  background: #0a0a18;
  border: 1px solid var(--line);
  font-size: 0.88rem;
  margin-bottom: 10px;
  word-break: break-all;
  line-height: 1.4;
}
.status-box.ok { border-color: rgba(74, 222, 128, 0.4); color: #b8f0c8; }
.status-box.err { border-color: rgba(248, 113, 113, 0.45); color: #fecaca; }
.status-box.muted { color: var(--muted); }
.row { display: flex; flex-wrap: wrap; gap: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  color: #111;
  transition: opacity 0.15s, transform 0.1s;
}
.btn:hover:not(:disabled) { transform: translateY(-1px); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.btn-primary { background: linear-gradient(135deg, var(--gold), #e8b923); }
.btn-secondary { background: #2a2a48; color: var(--text); border: 1px solid var(--line); }
.btn-discord { background: #5865f2; color: #fff; }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--line); }
.btn-lg { width: 100%; padding: 14px; font-size: 1rem; }
footer {
  margin-top: 22px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
}
footer a { color: var(--gold); }
.tiny { font-size: 0.72rem; opacity: 0.8; }
.hold-line { display: flex; justify-content: space-between; gap: 8px; margin: 4px 0; }
