:root {
  --bg: #f7f3ee;
  --bg-accent: #efe7de;
  --surface: rgba(255, 255, 255, 0.82);
  --text: #3d342d;
  --muted: #6f6258;
  --button: #ffffff;
  --button-border: rgba(111, 98, 88, 0.18);
  --button-shadow: 0 18px 40px rgba(84, 67, 56, 0.08);
}

* {
  box-sizing: border-box;
}

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

body {
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.95), transparent 38%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-accent) 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
}

.page {
  min-height: calc(100dvh - 52px);
  display: grid;
  place-items: center;
  padding: 20px 18px 10px;
}

.card {
  width: min(100%, 540px);
  text-align: center;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(84, 67, 56, 0.09);
  backdrop-filter: blur(10px);
  padding: 26px 20px;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0 auto;
  max-width: 5.6ch;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 9vw, 4.8rem);
  font-weight: 600;
  line-height: 0.95;
}

.subtitle {
  max-width: 30rem;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.6;
}

.gift-links {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.gift-button {
  display: block;
  padding: 16px 18px;
  border-radius: 999px;
  background: var(--button);
  border: 1px solid var(--button-border);
  box-shadow: var(--button-shadow);
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.gift-button:hover,
.gift-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(84, 67, 56, 0.12);
  border-color: rgba(111, 98, 88, 0.3);
}

.gift-button:focus-visible {
  outline: 2px solid rgba(111, 98, 88, 0.3);
  outline-offset: 4px;
}

.footer {
  padding: 0 18px 18px;
  text-align: center;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.79rem;
  letter-spacing: 0.03em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  line-height: 1.4;
}

.footer-separator {
  width: 40px;
  height: 1px;
  background: rgba(111, 98, 88, 0.45);
  border-radius: 999px;
}

@media (min-width: 700px) {
  .page {
    min-height: calc(100vh - 64px);
    padding: 48px 20px 16px;
  }

  .card {
    padding: 44px 40px;
  }

  h1 {
    max-width: none;
  }

  .gift-links {
    margin-top: 36px;
    gap: 18px;
  }

  .gift-button {
    font-size: 1.05rem;
    padding: 20px 24px;
  }

  .footer p {
    font-size: 0.9rem;
    flex-direction: row;
    gap: 12px;
    line-height: 1.5;
  }

  .footer-separator {
    width: 1px;
    height: 1.05rem;
  }
}
