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

:root {
  --bg: #0a0a0c;
  --bg-card: #111116;
  --bg-card2: #16161c;
  --gold: #d4a855;
  --gold-light: #f0cc7a;
  --gold-dim: #a07830;
  --gold-glow: rgba(212, 168, 85, 0.18);
  --gold-glow2: rgba(212, 168, 85, 0.06);
  --text: #f0ede8;
  --text-muted: #7a756e;
  --text-soft: #b0aa9f;
  --border: rgba(212, 168, 85, 0.15);
}

html {
  font-size: 18px;
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', system-ui, sans-serif;
}

@media (min-width: 600px) {
  html {
    font-size: 16px;
  }
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.75rem 1.5rem;
  position: relative;
  overflow-x: hidden;
}

@media (min-width: 600px) {
  body {
    padding: 2rem 1.25rem 3rem;
  }

  .card {
    padding: 2.5rem 2rem 2rem;
  }
}

/* ── Decorative background rings ── */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

body::before {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -200px;
  background: radial-gradient(circle, rgba(212, 168, 85, 0.07) 0%, transparent 70%);
}

body::after {
  width: 500px;
  height: 500px;
  bottom: -180px;
  left: -180px;
  background: radial-gradient(circle, rgba(212, 168, 85, 0.05) 0%, transparent 70%);
}

.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.5rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 32px 64px rgba(0, 0, 0, 0.5),
    0 0 80px var(--gold-glow2);
  animation: fadeUp 0.7s ease both;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Top badge ── */
.badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
  background: var(--gold-glow);
  border: 1px solid var(--border);
  padding: 0.35em 1em;
  border-radius: 100px;
  margin-bottom: 2rem;
}

/* ── Big "40" ── */
.number-wrap {
  position: relative;
  margin-bottom: 0.5rem;
}

.number {
  font-size: clamp(7rem, 28vw, 9rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold-dim) 0%, var(--gold-light) 45%, var(--gold) 70%, var(--gold-dim) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
  filter: drop-shadow(0 0 32px rgba(212, 168, 85, 0.35));
  animation: shimmer 4s ease-in-out infinite;
  background-size: 200% 200%;
}

@keyframes shimmer {

  0%,
  100% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }
}

/* ── Divider ── */
.divider {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border));
}

.divider::after {
  background: linear-gradient(to left, transparent, var(--border));
}

.divider-icon {
  font-size: 0.9rem;
  color: var(--gold);
  opacity: 0.7;
}

/* ── Headline text ── */
.headline {
  text-align: center;
  margin-bottom: 1.75rem;
}

.headline .eyebrow {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.headline h1 {
  font-size: clamp(1.5rem, 6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

.headline h1 em {
  font-style: normal;
  color: var(--gold-light);
}

/* ── Info items ── */
.info-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--bg-card2);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.info-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.05em;
  opacity: 0.85;
}

.info-content {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.info-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.info-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.info-value.placeholder {
  color: var(--gold);
  font-weight: 400;
  font-style: italic;
}

/* ── Note ── */
.note {
  width: 100%;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 1.75rem;
}

.note strong {
  color: var(--text);
  font-weight: 600;
}

/* ── No gifts warning ── */
.no-gifts {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: rgba(220, 60, 60, 0.08);
  border: 1px solid rgba(220, 60, 60, 0.25);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  margin-bottom: 1.75rem;
}

.no-gifts-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 0.1em;
}

.no-gifts-text {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #e08080;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.no-gifts-text strong {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #c05050;
}

/* ── RSVP ── */
.rsvp-block {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  background: var(--gold-glow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.rsvp-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.rsvp-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-light);
}

.rsvp-value.placeholder {
  font-style: italic;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--gold);
}

.rsvp-deadline {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ── Footer ── */
.footer-note {
  margin-top: 2rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  opacity: 0.6;
  letter-spacing: 0.04em;
}
