:root {
  --bg: #fff4f7;
  --paper: rgba(255, 255, 255, 0.88);
  --ink: #351623;
  --muted: #7d5c68;
  --rose: #e64275;
  --rose-dark: #a41443;
  --cream: #fffaf2;
  --line: rgba(164, 20, 67, 0.18);
  font-family: Inter, "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 16% 18%, rgba(230, 66, 117, 0.2), transparent 28rem),
    radial-gradient(circle at 82% 12%, rgba(255, 196, 87, 0.24), transparent 22rem),
    linear-gradient(135deg, #fff4f7 0%, #fffaf2 55%, #f7ecff 100%);
  color: var(--ink);
}

.screen {
  display: grid;
  width: min(980px, calc(100% - 28px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 36px 0;
  place-items: center;
}

.gate-card,
.love-card,
.sorry-card {
  width: min(760px, 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(24px, 5vw, 58px);
  background: var(--paper);
  box-shadow: 0 24px 80px rgba(164, 20, 67, 0.16);
}

.love-card,
.sorry-card {
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--rose-dark);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--rose-dark);
  font-size: clamp(2.5rem, 8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

p {
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.7;
}

.form-grid {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}

.date-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0 16px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1.05rem;
  outline: none;
}

select {
  appearance: none;
}

input:focus,
select:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(230, 66, 117, 0.14);
}

button,
.sorry-card a {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  background: var(--rose-dark);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(164, 20, 67, 0.22);
}

button:hover,
.sorry-card a:hover {
  background: #811039;
}

.is-hidden {
  display: none;
}

@media (max-width: 700px) {
  .date-grid {
    grid-template-columns: 1fr;
  }
}
