:root {
  --ink: #f5f1e8;
  --muted: #a7b5ad;
  --panel: rgba(16, 16, 22, 0.9);
  --line: rgba(245, 241, 232, 0.18);
  --accent-strong: #ffde59;
  --good: #5df2a6;
  --bad: #ff6b5f;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

* { box-sizing: border-box; }

html { min-height: 100%; background: #0f1714; }

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Aptos", "Segoe UI", sans-serif;
  background: #0f1714;
}

body.page-verify {
  background: linear-gradient(135deg,
    #833ab4 0%,
    #c13584 28%,
    #e1306c 44%,
    #fd1d1d 58%,
    #f77737 78%,
    #fcb045 100%);
  background-attachment: fixed;
}

.shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 18px;
}

.verify-panel {
  width: min(100%, 380px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: var(--shadow);
  text-align: center;
}

.lede {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.45;
}

.verify-button {
  border: 0;
  border-radius: 8px;
  padding: 16px;
  cursor: pointer;
  color: #0f1714;
  background: var(--accent-strong);
  font-weight: 800;
  font-size: 1.12rem;
}

.verify-button:active {
  transform: translateY(1px);
}

.status-card {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(245, 241, 232, 0.06);
  text-align: left;
}

.status-card.success { border-color: rgba(93, 242, 166, 0.44); }
.status-card.error { border-color: rgba(255, 107, 95, 0.5); }
.status-card.retry { border-color: rgba(255, 222, 89, 0.5); }

.status-title { margin: 0; font-weight: 800; }
.status-copy {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid rgba(245, 241, 232, 0.16);
  border-top-color: var(--accent-strong);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.status-card.success .spinner {
  border-color: rgba(93, 242, 166, 0.36);
  background: var(--good);
  animation: none;
}
.status-card.error .spinner {
  border-color: rgba(255, 107, 95, 0.4);
  background: var(--bad);
  animation: none;
}
.status-card.retry .spinner {
  border-color: rgba(255, 222, 89, 0.3);
  border-top-color: var(--accent-strong);
}

.is-hidden { display: none !important; }

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