@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  --cream: #faf6f0;
  --ivory: #fffdf9;
  --gold: #b8956a;
  --gold-dark: #8f7048;
  --rose: #c9a09a;
  --text: #3d3229;
  --muted: #7a6e63;
}

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

html, body {
  min-height: 100vh;
  font-family: 'Montserrat', system-ui, sans-serif;
  color: var(--text);
  background: var(--cream);
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 40px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(201, 160, 154, 0.18), transparent 70%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(184, 149, 106, 0.12), transparent 60%),
    var(--cream);
}

.invite-wrap {
  width: min(520px, 100%);
  animation: fadeUp 0.9s ease both;
}

.invite-card {
  background: var(--ivory);
  border: 1px solid rgba(184, 149, 106, 0.35);
  box-shadow:
    0 24px 60px rgba(61, 50, 41, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  padding: 48px 36px 40px;
  text-align: center;
  position: relative;
}

.invite-card::before,
.invite-card::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(184, 149, 106, 0.25);
  pointer-events: none;
}

.ornament {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  font-weight: 500;
}

.ornament-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  color: var(--gold);
  opacity: 0.7;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
}

.ornament-line span { flex: 1; max-width: 80px; height: 1px; background: currentColor; }

.names {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.6rem, 9vw, 3.4rem);
  font-weight: 500;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 8px;
}

.ampersand {
  display: block;
  font-size: 1.6rem;
  font-style: italic;
  color: var(--gold);
  margin: 6px 0 10px;
  font-weight: 400;
}

.subtitle {
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
  font-weight: 400;
}

.message {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 34ch;
  margin: 0 auto 36px;
  font-weight: 400;
}

.btn-confirm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 240px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #fff !important;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(143, 112, 72, 0.28);
}

.btn-confirm:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(143, 112, 72, 0.35);
}

.btn-confirm svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.hint {
  margin-top: 20px;
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}

.footer-note {
  margin-top: 28px;
  text-align: center;
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.footer-note a {
  color: var(--gold-dark);
  text-decoration: none;
}

.footer-note a:hover { text-decoration: underline; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
  .invite-card { padding: 40px 24px 32px; }
  .invite-card::before, .invite-card::after { inset: 10px; }
}
