* { box-sizing: border-box; }

@keyframes drift {
  0%   { transform: translate(-10%, -10%) scale(1); }
  50%  { transform: translate(10%, 5%) scale(1.15); }
  100% { transform: translate(-10%, -10%) scale(1); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.96); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.55); }
  70%      { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}

body {
  margin: 0;
  font-family: -apple-system, system-ui, sans-serif;
  background: #0b0d10;
  color: #e6e8eb;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  top: -20%;
  left: -20%;
  width: 140%;
  height: 60%;
  background: radial-gradient(circle at 30% 30%, rgba(34,197,94,0.16), transparent 60%),
              radial-gradient(circle at 70% 60%, rgba(56,189,248,0.12), transparent 55%);
  filter: blur(40px);
  animation: drift 18s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.wrap {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 32px 20px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.logo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulseDot 2.2s infinite;
}

h1 { font-size: 1.6rem; margin: 0; }
p { color: #9aa3ad; line-height: 1.5; }

.fade-in { animation: fadeUp 0.6s ease both; }
.delay-1 { animation-delay: 0.08s; }
.delay-2 { animation-delay: 0.16s; }
.delay-3 { animation-delay: 0.24s; }
.pop-in { animation: popIn 0.25s ease both; }

.btn {
  display: inline-block;
  background: #22c55e;
  color: #06110a;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  margin-top: 16px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover, .btn:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(34,197,94,0.35);
}
.btn.secondary {
  background: transparent;
  color: #e6e8eb;
  border: 1px solid #2a2f36;
  box-shadow: none;
}
.btn.danger {
  background: transparent;
  color: #f87171;
  border: 1px solid #4c2626;
  padding: 6px 12px;
  font-size: 0.85rem;
  box-shadow: none;
}

.note { font-size: 0.85rem; color: #6b7280; margin-top: 24px; }

.card {
  background: #14171c;
  border: 1px solid #22262d;
  border-radius: 14px;
  padding: 18px;
  margin-top: 16px;
  transition: border-color 0.2s ease;
}
.card:hover { border-color: #2c3440; }

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #1e2228;
  transition: background 0.15s ease;
}
.row:last-child { border-bottom: none; }
.row:hover { background: rgba(255,255,255,0.02); }

code {
  background: #1c2026;
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 0.85rem;
}

input {
  background: #1c2026;
  border: 1px solid #2a2f36;
  color: #e6e8eb;
  padding: 10px 12px;
  border-radius: 8px;
  width: 100%;
  font-size: 1rem;
  margin-top: 8px;
  transition: border-color 0.15s ease;
}
input:focus { outline: none; border-color: #22c55e; }

.newkey {
  background: #16211a;
  border: 1px solid #234030;
  border-radius: 10px;
  padding: 12px;
  margin-top: 10px;
  word-break: break-all;
  font-size: 0.85rem;
}

.tag {
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: #1c2026;
  color: #9aa3ad;
}

.steps { display: flex; flex-direction: column; gap: 10px; }
.step { display: flex; align-items: center; gap: 10px; color: #c7ccd1; font-size: 0.9rem; }
.num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1c2026;
  border: 1px solid #2a2f36;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #22c55e;
  flex-shrink: 0;
}
