:root {
  --bg-base: #080c11;
  --bg-gradient: radial-gradient(circle at 20% 20%, #1f2b3d 0%, #080c11 55%);
  --card-bg: rgba(16, 21, 32, 0.88);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-shadow: 0 25px 80px rgba(0, 0, 0, 0.55);
  --text-primary: #f6f8fb;
  --text-muted: #9fb2d0;
  --accent: #50d7c2;
  --warning: #f3a64c;
  --error: #ff7b8a;
  --info: #7ab8ff;
  --success: #66e0a3;
  --divider: rgba(255, 255, 255, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  background: var(--bg-gradient), var(--bg-base);
  color: var(--text-primary);
  min-height: 100vh;
}

.wormhole-body {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px 40px;
}

.wormhole-stage {
  width: min(560px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.wormhole-brand__logo svg {
  max-width: 200px;
  width: 60vw;
  height: auto;
}

.wormhole-brand__tagline {
  margin: 12px 0 0;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.wormhole-card {
  width: 100%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  padding: 32px 32px 28px;
  text-align: left;
}

.wormhole-card__body > :first-child {
  margin-top: 0;
}

.wormhole-card__body > :last-child {
  margin-bottom: 0;
}

.wormhole-card__actions {
  border-top: 1px solid var(--divider);
  margin-top: 28px;
  padding-top: 20px;
  text-align: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.12);
  margin-bottom: 16px;
}

.status-pill--error {
  color: var(--error);
  background: rgba(255, 123, 138, 0.15);
}

.status-pill--warning {
  color: var(--warning);
  background: rgba(243, 166, 76, 0.15);
}

.status-pill--info {
  color: var(--info);
  background: rgba(122, 184, 255, 0.15);
}

.status-pill--success {
  color: var(--success);
  background: rgba(102, 224, 163, 0.15);
}

h1 {
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  margin-bottom: 0.4em;
}

p {
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 1.1em;
}

.info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--divider);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 18px 0;
  color: var(--text-muted);
}

.info-card strong {
  color: var(--text-primary);
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.next-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}

.next-steps li {
  padding-left: 28px;
  position: relative;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.next-steps li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  position: absolute;
  left: 6px;
  top: 8px;
  box-shadow: 0 0 12px rgba(80, 215, 194, 0.7);
}

.lead {
  font-size: 1.05rem;
  color: var(--text-primary);
  margin: 0 0 1.1em;
  line-height: 1.6;
}

.detail-grid {
  display: grid;
  gap: 14px;
  margin: 18px 0 10px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.context-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--divider);
  border-radius: 14px;
  padding: 16px 18px;
  height: 100%;
}

.context-card--accent {
  border-color: rgba(80, 215, 194, 0.35);
  background: linear-gradient(
      120deg,
      rgba(80, 215, 194, 0.08),
      rgba(122, 184, 255, 0.04)
    ),
    rgba(255, 255, 255, 0.02);
}

.context-card__title {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 10px;
  color: var(--text-primary);
  line-height: 1.5;
}

.checklist li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  position: absolute;
  left: 0;
  top: 6px;
  box-shadow: 0 0 0 4px rgba(80, 215, 194, 0.14);
  background: rgba(80, 215, 194, 0.18);
}

.subtle-note {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 8px 0 0;
}

.metric-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 14px;
  border: 1px solid var(--divider);
  padding: 18px;
  background: rgba(255, 255, 255, 0.03);
  margin: 12px 0 0;
}

.metric-card span {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.metric-card strong {
  font-size: 1.6rem;
  margin-top: 6px;
}

.wormhole-button {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(120deg, var(--accent), #4b8bff);
  color: #04121f;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease;
  box-shadow: 0 12px 25px rgba(80, 215, 194, 0.35);
}

.wormhole-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.6);
  outline-offset: 3px;
}

.wormhole-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(75, 139, 255, 0.35);
}

.retry-hint {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.wormhole-support {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.wormhole-support a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.muted {
  color: var(--text-muted);
}

@media (max-width: 520px) {
  .wormhole-card {
    padding: 24px 20px;
  }

  .wormhole-card__actions {
    padding-top: 14px;
  }
}

