:root {
  color: #6b1736;
  background: #dff3df;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
}

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

.card {
  width: min(100%, 680px);
  padding: clamp(32px, 7vw, 64px);
  text-align: center;
  background: rgb(255 255 255 / 62%);
  border: 2px solid rgb(107 23 54 / 15%);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgb(68 104 68 / 15%);
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.25rem);
  line-height: 1.1;
}

.redirect-message {
  margin: 20px 0 32px;
  font-size: 1.05rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.action-button {
  display: inline-flex;
  min-width: 210px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  color: #fff;
  background: #6b1736;
  border: 2px solid #6b1736;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease, transform 150ms ease;
}

.action-button:hover,
.action-button:focus-visible {
  color: #6b1736;
  background: transparent;
}

.action-button:focus-visible {
  outline: 3px solid #6b1736;
  outline-offset: 3px;
}

.action-button:hover {
  transform: translateY(-2px);
}

.action-button img {
  flex: 0 0 auto;
  object-fit: contain;
}

@media (max-width: 520px) {
  .action-button {
    width: 100%;
  }
}
