/* ── Reset & base ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Page layout ── */
body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0a2e14 0%, #1a5c2a 40%, #2d8a45 70%, #1a5c2a 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  overflow: hidden;
}

/* Subtle radial glow behind the card */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(45, 138, 69, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Scene wrapper ── */
.scene {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* ── Card ── */
.card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2rem;
  padding: 3.5rem 3rem 3rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
}

/* ── Icon ring ── */
.icon-ring {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(80, 200, 80, 0.25), rgba(50, 180, 50, 0.12));
  border: 1px solid rgba(80, 200, 80, 0.35);
  margin-bottom: 1.75rem;
  color: #4ade80;
}

.icon {
  width: 28px;
  height: 28px;
}

/* ── Headline ── */
.headline {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 0.875rem;
}

/* ── Subtext ── */
.subtext {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

/* ── Red action button ── */
.btn-action {
  display: inline-block;
  cursor: pointer;
  border: none;
  outline: none;
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 60%, #b91c1c 100%);
  color: #ffffff;
  border-radius: 999px;
  padding: 0;
  box-shadow:
    0 4px 20px rgba(220, 38, 38, 0.55),
    0 1px 4px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.btn-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Hover state */
.btn-action:hover {
  transform: translateY(-2px) scale(1.02);
  background: linear-gradient(135deg, #f87171 0%, #ef4444 60%, #dc2626 100%);
  box-shadow:
    0 8px 28px rgba(220, 38, 38, 0.70),
    0 2px 8px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.14) inset;
}

/* Active / pressed state */
.btn-action:active {
  transform: translateY(0) scale(0.98);
  box-shadow:
    0 2px 10px rgba(220, 38, 38, 0.45),
    0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Focus ring for accessibility */
.btn-action:focus-visible {
  outline: 2px solid #f87171;
  outline-offset: 3px;
}
