:root {
  --red: #ed2d2f;
  --red-dark: #c4181b;
  --bg: #f3f4f6;
}

* { box-sizing: border-box; }

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

body {
  background: var(--bg);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #fff;
}

.card {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 450px;
  height: 450px;
  padding: 0 28px 32px;
  background: var(--red);
  border: 1px solid var(--red-dark);
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.logo { width: 200px; height: auto; margin-top: 32px; }

h1 { margin: 22px 0 0; font-size: 26px; line-height: 1.2; font-weight: 700; }

.text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

p { margin: 0; font-size: 16px; line-height: 1.4; text-wrap: balance; }

p a { color: #fff; text-decoration: underline; }

.btn {
  padding: 15px 34px;
  background: #fff;
  color: var(--red);
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 100px;
}

.btn:hover { background: #ffe9e9; }

@media (max-width: 600px) {
  body { background: var(--red); }

  .card {
    top: 0;
    left: 0;
    transform: none;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    border: 0;
    border-radius: 0;
    padding: 0 24px max(32px, env(safe-area-inset-bottom));
  }

  .logo { width: 220px; margin-top: 48px; }
  h1 { font-size: 28px; margin-top: auto; }
  .text { flex: none; margin: 36px 0 auto; gap: 20px; }
  p { font-size: 18px; }
  .btn { padding: 20px 42px; font-size: 18px; }
}
