:root {
  --bg-dark: #1b0905;
  --bg-mid: #2c120c;
  --btn-red: #ff2a12;
  --btn-orange: #ff8f1f;
  --btn-shadow: rgba(180, 20, 0, 0.55);
  --text: rgba(255, 245, 235, 0.94);
  --muted: rgba(255, 221, 200, 0.78);
  --panel: rgba(255, 255, 255, 0.06);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 107, 61, 0.22), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(255, 72, 0, 0.16), transparent 40%),
    linear-gradient(130deg, var(--bg-dark), var(--bg-mid));
  color: var(--text);
}

.wrap {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 22px 14px;
}

.modal {
  width: min(560px, 100%);
  border-radius: 18px;
  border: 1px solid rgba(255, 208, 166, 0.32);
  background: linear-gradient(180deg, rgba(14, 4, 2, 0.62), rgba(0, 0, 0, 0.18));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  padding: 18px 16px;
  text-align: center;
}

.title {
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: clamp(18px, 4.6vw, 26px);
  line-height: 1.15;
}

.subtitle {
  margin: 0 0 16px;
  color: var(--muted);
  font-weight: 600;
  font-size: clamp(13px, 3.2vw, 16px);
  line-height: 1.35;
}

.actions {
  display: grid;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 220, 175, 0.35);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.btn-primary {
  background: linear-gradient(92deg, var(--btn-orange) 0%, var(--btn-red) 60%, #c30d00 100%);
  color: rgba(255, 255, 255, 0.97);
  border-color: rgba(255, 220, 175, 0.55);
  box-shadow:
    0 14px 35px var(--btn-shadow),
    0 0 0 3px rgba(255, 77, 25, 0.18),
    inset 0 1px 0 rgba(255, 242, 220, 0.55);
  animation: pulseGlow 1.8s ease-in-out infinite;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.01);
  filter: saturate(1.1) brightness(1.04);
}

.btn-primary:active {
  transform: translateY(1px) scale(0.995);
}

.btn-link {
  background: transparent;
  color: rgba(255, 243, 235, 0.9);
  border: none;
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: unset;
  padding: 8px 0;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
}

.fineprint {
  margin: 14px 0 0;
  color: rgba(255, 221, 200, 0.62);
  font-size: 12px;
  line-height: 1.35;
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow:
      0 14px 35px var(--btn-shadow),
      0 0 0 3px rgba(255, 77, 25, 0.18),
      inset 0 1px 0 rgba(255, 242, 220, 0.55);
  }
  50% {
    box-shadow:
      0 18px 40px rgba(180, 20, 0, 0.68),
      0 0 0 5px rgba(255, 77, 25, 0.28),
      inset 0 1px 0 rgba(255, 242, 220, 0.6);
  }
}
