* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --page-bg: #f6828c;
  --cream: #fff4df;
  --red-accent: #d45848;
  --text-main: #7b2633;
  --text-strong: #d2524c;
}

.abril-fatface-regular {
  font-family: "Abril Fatface", serif;
  font-weight: 400;
  font-style: normal;
  font-size: larger;
}

button,
input,
select,
textarea {
  font: inherit;
}

body {
  font-family: "Abril Fatface", serif;
  background: var(--page-bg);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page {
  background: var(--cream);
  max-width: 700px;
  width: 90%;
  padding: 80px 60px;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
}

h1 {
  font-size: 4rem;
  color: var(--text-strong);
  margin-bottom: 25px;
}

.subtitle {
  font-size: 1.3rem;
  margin-bottom: 50px;
  color: var(--text-main);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-bottom: 40px;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 20px 40px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
}

.btn.primary {
  background: var(--red-accent);
  color: #fff;
  box-shadow: 0 8px 15px rgba(212, 88, 72, 0.4);
}

.btn.primary:hover:not(:disabled) {
  box-shadow: 0 10px 20px rgba(212, 88, 72, 0.5);
}

.btn.secondary {
  background: #ffe7d0;
  color: var(--text-main);
}

.btn.secondary:hover {
  background: #ffd9b8;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.status {
  font-size: 1.2rem;
  color: #874053;
}

.status.success {
  color: green;
}

.status.error {
  color: red;
}


@media (max-width: 1200px) {
  .page {
    padding: 70px 50px;
  }
}


@media (max-width: 900px) {
  .page {
    padding: 60px 40px;
  }

  h1 {
    font-size: 3.2rem;
  }

  .subtitle {
    font-size: 1.1rem;
    margin-bottom: 40px;
  }

  .btn {
    padding: 18px 32px;
    font-size: 1.05rem;
  }
}


@media (max-width: 600px) {
  body {
    padding: 20px;
    align-items: flex-start;
  }

  .page {
    width: 100%;
    padding: 40px 20px;
    border-radius: 20px;
  }

  h1 {
    font-size: 2.4rem;
  }

  .subtitle {
    font-size: 0.95rem;
    margin-bottom: 30px;
  }

  .button-row {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 1rem;
  }

  .status {
    font-size: 1rem;
  }
}
