:root {
  --gold: #d8b26a;
  --gold-soft: #f4e5c1;
  --ivory: #fffdf8;
  --ink: #2f241b;
  --glass: rgba(255, 255, 255, 0.18);
  --shadow: 0 20px 60px rgba(26, 23, 18, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(216, 178, 106, .2), transparent 35%),
    linear-gradient(180deg, #21160d 0%, #5a4026 100%);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.page-shell {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(rgba(16, 10, 6, 0.45), rgba(16, 10, 6, 0.5)),
    url('../assets/photo1.jpg') center/cover fixed;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(rgba(30, 18, 8, .65), rgba(30, 18, 8, .72)),
    url('../assets/photo2.jpg') center/cover;
  transition: opacity 1s ease, visibility 1s ease;
}

.overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.overlay-card {
  width: min(92vw, 520px);
  padding: 0.35rem;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(244, 229, 193, 0.35), rgba(216, 178, 106, 0.12));
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 244, 211, 0.18);
  text-align: center;
  color: var(--ivory);
}

.overlay-frame {
  padding: 2.6rem 2rem 2.2rem;
  border: 1px solid rgba(255, 244, 211, 0.28);
  border-radius: 24px;
  background: rgba(22, 14, 8, 0.42);
  backdrop-filter: blur(14px);
}

.overlay-heart {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.overlay-heart svg {
  width: 34px;
  height: 34px;
  fill: var(--gold);
  filter: drop-shadow(0 0 14px rgba(216, 178, 106, 0.55));
  animation: overlay-heart-pulse 2.8s ease-in-out infinite;
}

@keyframes overlay-heart-pulse {
  0%, 100% { transform: scale(1); opacity: 0.92; }
  50% { transform: scale(1.08); opacity: 1; }
}

.overlay-names {
  font-family: "Birthstone", cursive;
  font-size: clamp(3.2rem, 10vw, 4.6rem);
  line-height: 1;
  color: var(--ivory);
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.overlay-tagline {
  margin: 0 0 1.75rem;
}

.overlay-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 280px);
  padding: 0.95rem 1.8rem;
  border: 1px solid rgba(244, 229, 193, 0.65);
  border-radius: 999px;
  background: transparent;
  color: var(--gold-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.92rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(216, 178, 106, 0.15), 0 10px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.overlay-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(243, 215, 157, 0.18), rgba(183, 133, 49, 0.22));
  color: var(--ivory);
  box-shadow: inset 0 0 0 1px rgba(244, 229, 193, 0.45), 0 16px 36px rgba(181, 130, 48, 0.28);
}

.overlay-btn-label {
  position: relative;
  top: 1px;
}

.overlay-card h1, .card-heading {
  font-family: "Palatino Linotype", Georgia, serif;
  letter-spacing: .05em;
}

.overlay-card h1 { font-size: 1.9rem; margin-bottom: 1rem; }

.primary-btn {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 0.95rem 1.6rem;
  font-size: 0.98rem;
  background: linear-gradient(135deg, #f3d79d, #b78531);
  color: #2f241b;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(181, 130, 48, 0.3);
  transition: transform .25s ease, box-shadow .25s ease;
}
.primary-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(181, 130, 48, 0.36); }

.section {
  position: relative;
  padding: 4rem 1rem;
  display: flex;
  justify-content: center;
}

.container {
  width: min(100%, 560px);
  margin: 0 auto;
}

.container--wide {
  width: min(100%, 960px);
}

.invitation-card {
  width: 100%;
  padding: 0.35rem;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(244, 229, 193, 0.35), rgba(216, 178, 106, 0.12));
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 244, 211, 0.18);
  color: var(--ivory);
}

.invitation-card--full {
  margin-top: 1.25rem;
}

.invitation-panel {
  padding: 2.5rem 2rem 2.25rem;
  border: 1px solid rgba(255, 244, 211, 0.28);
  border-radius: 24px;
  background: rgba(22, 14, 8, 0.42);
  backdrop-filter: blur(14px);
  text-align: center;
}

.card-heading {
  margin: 0 0 0.75rem;
  font-size: 1.55rem;
  color: var(--gold-soft);
  text-align: center;
}

.card-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.card-heart {
  display: flex;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.card-heart svg {
  width: 34px;
  height: 34px;
  fill: var(--gold);
  filter: drop-shadow(0 0 14px rgba(216, 178, 106, 0.55));
  animation: overlay-heart-pulse 2.8s ease-in-out infinite;
}

.card-title {
  font-family: "Birthstone", cursive;
  font-size: clamp(3rem, 10vw, 4.4rem);
  line-height: 1;
  margin-bottom: 0;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.card-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1rem 0 1.1rem;
}

.card-divider-line {
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.card-divider-gem {
  font-size: 0.85rem;
  color: var(--gold);
  line-height: 1;
}

.card-tagline {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  font-style: italic;
  color: #f8efd9;
  letter-spacing: 0.02em;
}

.card-tagline--compact {
  margin-bottom: 0;
}

.card-subtitle {
  display: block;
  margin-top: 0;
  color: var(--gold-soft);
  letter-spacing: .28em;
  font-size: .78rem;
  text-transform: uppercase;
}

.card-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
  margin-top: 1.25rem;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ivory);
  padding: 5rem 1rem 3.5rem;
  overflow: hidden;
}

.hero-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: min(70vw, 420px);
  height: min(70vw, 420px);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
  animation: hero-glow-drift 12s ease-in-out infinite;
}

.hero-glow--left {
  top: 10%;
  left: -8%;
  background: radial-gradient(circle, rgba(216, 178, 106, 0.55), transparent 70%);
}

.hero-glow--right {
  bottom: 5%;
  right: -10%;
  background: radial-gradient(circle, rgba(244, 229, 193, 0.4), transparent 70%);
  animation-delay: -6s;
}

.hero-sparkles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1px 1px at 20% 30%, rgba(255, 244, 211, 0.55), transparent),
    radial-gradient(1px 1px at 80% 20%, rgba(255, 244, 211, 0.45), transparent),
    radial-gradient(1.5px 1.5px at 65% 75%, rgba(216, 178, 106, 0.5), transparent),
    radial-gradient(1px 1px at 35% 80%, rgba(255, 244, 211, 0.4), transparent),
    radial-gradient(1px 1px at 90% 55%, rgba(216, 178, 106, 0.35), transparent);
  animation: hero-sparkle-twinkle 8s ease-in-out infinite;
}

@keyframes hero-glow-drift {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  50% { transform: translate(18px, -12px) scale(1.08); opacity: 0.42; }
}

@keyframes hero-sparkle-twinkle {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 0.9; }
}

.container--hero {
  width: min(100%, 640px);
  position: relative;
  z-index: 1;
}

.hero-card {
  position: relative;
  width: 100%;
  margin: 0 auto;
  padding: 0.45rem;
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(244, 229, 193, 0.42), rgba(216, 178, 106, 0.16));
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(255, 244, 211, 0.22),
    0 0 80px rgba(216, 178, 106, 0.12);
}

.hero-shimmer {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 244, 211, 0.14) 50%,
    transparent 65%
  );
  background-size: 220% 100%;
  animation: hero-shimmer 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes hero-shimmer {
  0%, 100% { background-position: 120% 0; opacity: 0.4; }
  50% { background-position: -20% 0; opacity: 0.75; }
}

.hero-frame {
  position: relative;
  padding: 3rem 2.25rem 2.75rem;
  border: 1px solid rgba(255, 244, 211, 0.32);
  border-radius: 28px;
  background:
    radial-gradient(ellipse at top, rgba(216, 178, 106, 0.08), transparent 55%),
    rgba(22, 14, 8, 0.48);
  backdrop-filter: blur(18px);
  text-align: center;
}

.hero-corner {
  position: absolute;
  width: 36px;
  height: 36px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.9;
}

.hero-corner-tl { top: 18px; left: 18px; border-width: 1.5px 0 0 1.5px; }
.hero-corner-tr { top: 18px; right: 18px; border-width: 1.5px 1.5px 0 0; }
.hero-corner-bl { bottom: 18px; left: 18px; border-width: 0 0 1.5px 1.5px; }
.hero-corner-br { bottom: 18px; right: 18px; border-width: 0 1.5px 1.5px 0; }

.hero-kicker {
  margin: 0 0 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.hero-heart {
  display: flex;
  justify-content: center;
  margin-bottom: 0.65rem;
}

.hero-heart svg {
  width: 38px;
  height: 38px;
  fill: var(--gold);
  filter: drop-shadow(0 0 18px rgba(216, 178, 106, 0.6));
  animation: overlay-heart-pulse 2.8s ease-in-out infinite;
}

.hero-names {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  margin-bottom: 0.15rem;
}

.hero-name {
  font-family: "Birthstone", cursive;
  font-size: clamp(3.4rem, 11vw, 5.2rem);
  line-height: 0.95;
  color: var(--ivory);
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.38);
}

.hero-ampersand {
  font-family: "Birthstone", cursive;
  font-size: clamp(2rem, 6vw, 2.8rem);
  line-height: 1;
  color: var(--gold);
  margin: 0.1rem 0;
  text-shadow: 0 0 24px rgba(216, 178, 106, 0.45);
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin: 1.15rem 0 1.2rem;
}

.hero-divider-line {
  width: 88px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.hero-divider-gem {
  font-size: 0.9rem;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 12px rgba(216, 178, 106, 0.5);
}

.hero-tagline {
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 3vw, 1.2rem);
  font-style: italic;
  color: #f8efd9;
  letter-spacing: 0.03em;
  line-height: 1.55;
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-date {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.15rem 1.75rem;
  margin-bottom: 1.15rem;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(244, 229, 193, 0.14), rgba(216, 178, 106, 0.08));
  border: 1px solid rgba(255, 244, 211, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 244, 211, 0.12), 0 12px 32px rgba(0, 0, 0, 0.15);
}

.hero-date-weekday {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-date-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
}

.hero-date-day {
  font-family: "Birthstone", cursive;
  font-size: clamp(2.8rem, 8vw, 3.6rem);
  line-height: 1;
  color: var(--ivory);
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-date-month {
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--gold-soft);
}

.hero-subtitle {
  display: block;
  margin-top: 0;
  color: var(--gold-soft);
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.hero-scroll-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-top: 2rem;
  color: var(--gold-soft);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.hero-scroll-hint:hover {
  color: var(--ivory);
  opacity: 1;
  transform: translateY(2px);
}

.hero-scroll-icon {
  display: flex;
  animation: hero-scroll-bounce 2.2s ease-in-out infinite;
}

.hero-scroll-icon svg {
  width: 1.6rem;
  height: 1.6rem;
  fill: currentColor;
}

@keyframes hero-scroll-bounce {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(6px); opacity: 1; }
}

.reveal--hero .hero-stagger {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.85s ease,
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(0.12s + (var(--i, 0) * 0.1s));
}

.reveal--hero.visible .hero-stagger {
  opacity: 1;
  transform: translateY(0);
}

.reveal--hero.visible .hero-card {
  animation: hero-card-enter 1.1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes hero-card-enter {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.detail-card, .rsvp-card, .countdown-card, .admin-card, .generator-card, .gift-registry-card {
  backdrop-filter: blur(10px);
  border-radius: 24px;
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,245,220,.25);
}

.admin-card{
  width: 900px;
  margin: 0 auto;
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
  margin-top: 1.25rem;
}

.meta-pill {
  padding: .9rem 1rem;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255, 244, 211, 0.15);
  letter-spacing: 0.06em;
}

.section-title {
  color: var(--gold-soft);
  text-align: center;
  margin-bottom: 1.2rem;
  font-size: 1.8rem;
}

.detail-grid,
.details-layout,
.stats-grid {
  display: grid;
  gap: 1.25rem;
}

.detail-card, .countdown-card, .rsvp-card, .admin-card, .generator-card, .gift-registry-card {
  padding: 1.5rem;
  color: var(--ivory);
}

.detail-card-title {
  margin: 0 0 0.5rem;
  font-family: "Palatino Linotype", Georgia, serif;
  font-size: 1.35rem;
  color: var(--gold-soft);
  letter-spacing: 0.04em;
  text-align: center;
}

.detail-card-intro {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: 0.95rem;
  font-style: italic;
  color: #f8efd9;
}

.party-section {
  text-align: center;
  padding: 1rem 0.5rem;
}

.party-label {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.party-name {
  font-family: "Birthstone", cursive;
  font-size: 2rem;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.party-location {
  font-size: 0.98rem;
  color: #f8efd9;
  margin-bottom: 0.75rem;
}

.party-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0.5rem 0 1rem;
}

.party-divider-line {
  width: 56px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.party-divider-gem {
  font-size: 0.75rem;
  color: var(--gold);
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(244, 229, 193, 0.45);
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-soft);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.map-link:hover {
  background: rgba(216, 178, 106, 0.18);
  border-color: rgba(244, 229, 193, 0.65);
  transform: translateY(-1px);
}

.invitation-panel--timeline {
  text-align: center;
}

.timeline-intro {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
  font-style: italic;
  color: #f8efd9;
  letter-spacing: 0.02em;
  line-height: 1.55;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.timeline {
  position: relative;
  width: 100%;
  max-width: 26rem;
  margin: 1.5rem auto 0;
  text-align: left;
}

.timeline-item {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  gap: 1rem;
  padding-bottom: 1.35rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-track {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(244, 229, 193, 0.24), rgba(216, 178, 106, 0.14));
  border: 1px solid rgba(244, 229, 193, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 0 20px rgba(216, 178, 106, 0.12);
}

.timeline-icon--celebration {
  background: linear-gradient(145deg, rgba(216, 178, 106, 0.28), rgba(244, 229, 193, 0.12));
}

.timeline-icon svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: var(--gold);
}

.timeline-connector {
  flex: 1;
  width: 2px;
  min-height: 1.5rem;
  margin-top: 0.5rem;
  background: linear-gradient(180deg, var(--gold), rgba(216, 178, 106, 0.2));
  border-radius: 999px;
}

.timeline-card {
  padding: 1.25rem 1.2rem 1.15rem;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(244, 229, 193, 0.1), rgba(216, 178, 106, 0.05));
  border: 1px solid rgba(255, 244, 211, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 244, 211, 0.08), 0 10px 28px rgba(0, 0, 0, 0.12);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.timeline-card:hover {
  border-color: rgba(244, 229, 193, 0.38);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255, 244, 211, 0.1), 0 14px 32px rgba(0, 0, 0, 0.16);
}

.timeline-step {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(216, 178, 106, 0.14);
  border: 1px solid rgba(244, 229, 193, 0.25);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.timeline-time {
  display: inline-block;
  margin-bottom: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(22, 14, 8, 0.35);
  border: 1px solid rgba(255, 244, 211, 0.18);
  font-family: "Birthstone", cursive;
  font-size: 1.65rem;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--ivory);
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.timeline-title {
  margin: 0 0 0.45rem;
  font-family: "Palatino Linotype", Georgia, serif;
  font-size: 1.2rem;
  font-weight: normal;
  color: var(--gold-soft);
  letter-spacing: 0.03em;
}

.timeline-note {
  margin: 0 0 0.85rem;
  font-size: 0.92rem;
  font-style: italic;
  line-height: 1.5;
  color: #f8efd9;
  letter-spacing: 0.01em;
}

.timeline-venue {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 0.85rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 244, 211, 0.12);
}

.timeline-venue-label {
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.timeline-location {
  font-size: 0.95rem;
  color: var(--ivory);
  line-height: 1.45;
}

.map-link--timeline {
  width: 100%;
  justify-content: center;
  font-size: 0.8rem;
}

.gift-registry-card {
  margin-top: 1.25rem;
  text-align: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(145deg, rgba(244, 229, 193, 0.14), rgba(216, 178, 106, 0.08));
  border: 1px solid rgba(255, 244, 211, 0.28);
}

.gift-registry-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.gift-registry-title {
  margin: 0 0 1rem;
  font-family: "Palatino Linotype", Georgia, serif;
  font-size: 1.5rem;
  color: var(--gold-soft);
  letter-spacing: 0.04em;
}

.gift-registry-message {
  margin: 0 auto 1.5rem;
  max-width: 38rem;
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.65;
  color: #f8efd9;
}

.gift-bank {
  display: inline-flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.5rem;
  border-radius: 16px;
  background: rgba(22, 14, 8, 0.35);
  border: 1px solid rgba(255, 244, 211, 0.2);
}

.gift-bank-label {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.gift-bank-number {
  font-size: 1rem;
  letter-spacing: 0.08em;
  color: var(--ivory);
  word-break: break-all;
}

.countdown-card {
  padding: 0.35rem;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(244, 229, 193, 0.35), rgba(216, 178, 106, 0.12));
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 244, 211, 0.18);
}

.countdown-frame {
  position: relative;
  padding: 2.4rem 1.5rem 2rem;
  border: 1px solid rgba(255, 244, 211, 0.28);
  border-radius: 24px;
  background: rgba(22, 14, 8, 0.42);
  backdrop-filter: blur(14px);
  text-align: center;
}

.countdown-corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.85;
}

.countdown-corner-tl { top: 14px; left: 14px; border-width: 1px 0 0 1px; }
.countdown-corner-tr { top: 14px; right: 14px; border-width: 1px 1px 0 0; }
.countdown-corner-bl { bottom: 14px; left: 14px; border-width: 0 0 1px 1px; }
.countdown-corner-br { bottom: 14px; right: 14px; border-width: 0 1px 1px 0; }

.countdown-kicker {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.countdown-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
}

.countdown-divider--bottom {
  margin: 1.5rem 0 0;
}

.countdown-divider-line {
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.countdown-divider-gem {
  font-size: 0.85rem;
  color: var(--gold);
  line-height: 1;
}

.countdown-date {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  font-style: italic;
  color: #f8efd9;
  letter-spacing: 0.04em;
}

.countdown-line {
  margin: 0;
  font-family: "Birthstone", cursive;
  font-size: clamp(1.6rem, 5vw, 2.5rem);
  line-height: 1.2;
  color: var(--ivory);
  white-space: nowrap;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.countdown-line--complete {
  white-space: normal;
}

.countdown-complete {
  font-family: "Birthstone", cursive;
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  line-height: 1.15;
  color: var(--ivory);
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.countdown-part {
  display: inline;
}

.countdown-part:not(:last-child)::after {
  content: ", ";
}

.countdown-num,
.countdown-unit {
  color: inherit;
}

.countdown-unit-short {
  display: none;
}

.section-title--rsvp {
  margin-bottom: 0.35rem;
}

.invitation-panel--rsvp {
  padding-bottom: 2.5rem;
}

.guest-welcome {
  margin: 0.5rem 0 1.75rem;
  padding: 1.5rem 1.25rem;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(244, 229, 193, 0.12), rgba(216, 178, 106, 0.06));
  border: 1px solid rgba(255, 244, 211, 0.22);
}

.guest-greeting-kicker {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.guest-greeting {
  margin: 0 0 1rem;
  line-height: 1.3;
}

.guest-dear {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 1rem;
  font-style: italic;
  color: #f8efd9;
  letter-spacing: 0.04em;
}

.guest-name {
  display: block;
  font-family: "Birthstone", cursive;
  font-size: clamp(2.6rem, 8vw, 3.6rem);
  line-height: 1.05;
  color: var(--ivory);
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.32);
}

.guest-seat-badge {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 244, 211, 0.2);
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--gold-soft);
}

.rsvp-form {
  margin-top: 0.25rem;
}

.rsvp-prompt {
  margin: 0 0 1.35rem;
  font-size: 1.05rem;
  font-style: italic;
  color: #f8efd9;
  letter-spacing: 0.02em;
}

.rsvp-field {
  max-width: 22rem;
  margin: 0 auto 1.35rem;
  text-align: left;
}

.rsvp-field label {
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  line-height: 1.45;
}

.rsvp-message {
  margin-top: 1.25rem;
  padding: 1.1rem 1.25rem;
  border-radius: 18px;
  font-size: 0.98rem;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.rsvp-message--success {
  background: rgba(216, 178, 106, 0.16);
  border: 1px solid rgba(244, 229, 193, 0.35);
  color: var(--ivory);
}

.rsvp-message--neutral {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 244, 211, 0.22);
  color: #f8efd9;
}

.rsvp-message--info {
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 244, 211, 0.2);
  color: #f8efd9;
  font-style: italic;
}

.rsvp-deadline {
  text-align: center;
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  font-style: italic;
  letter-spacing: 0.06em;
  color: #f8efd9;
}

.rsvp-card {
  padding: 0.35rem;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(244, 229, 193, 0.35), rgba(216, 178, 106, 0.12));
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 244, 211, 0.18);
}

.rsvp-frame {
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(255, 244, 211, 0.28);
  border-radius: 24px;
  background: rgba(22, 14, 8, 0.42);
  backdrop-filter: blur(14px);
}

.rsvp-spacer {
  height: 1.25rem;
}

.primary-btn--outline {
  background: transparent;
  color: var(--gold-soft);
  border: 1px solid rgba(244, 229, 193, 0.65);
  box-shadow: inset 0 0 0 1px rgba(216, 178, 106, 0.15), 0 10px 30px rgba(0, 0, 0, 0.18);
}

.primary-btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ivory);
  box-shadow: inset 0 0 0 1px rgba(244, 229, 193, 0.45), 0 16px 36px rgba(0, 0, 0, 0.22);
}

.rsvp-card form, .generator-card form {
  display: grid;
  gap: .9rem;
}

.rsvp-button-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .85rem;
  margin-top: 0.25rem;
}

.rsvp-button-row .primary-btn {
  flex: 1 1 160px;
  max-width: 240px;
  letter-spacing: 0.04em;
}

.field-row label {
  display: block;
  margin-bottom: .35rem;
  color: var(--gold-soft);
}

.field-row input,
.field-row select,
.field-row textarea {
  width: 100%;
  padding: .82rem .95rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.18);
  color: #fffdf8;
}

.field-row select option {
  color: #2f241b;
  background: #fffdf8;
}

.helper-text { color: #fbf3dc; font-size: .95rem; }

.notice {
  padding: .8rem 1rem;
  border-radius: 14px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.16);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--ivory);
}

.admin-table th,
.admin-table td {
  padding: .85rem;
  border-bottom: 1px solid rgba(255,255,255,.15);
  text-align: left;
}

.filter-links a {
  display: inline-block;
  padding: .4rem .7rem;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  margin-right: .4rem;
}

.filter-links a.active {
  background: linear-gradient(135deg, #f4d69b, #b88430);
  color: #2b1e11;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  .hero-frame { padding: 3.4rem 2.75rem 3rem; }
  .hero-meta { grid-template-columns: 1fr; }
  .detail-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(5, 1fr); }
  .countdown-frame { padding: 2.25rem 2rem 2rem; }
  .gift-registry-card { padding: 2.5rem 2rem; }
}

@media (max-width: 520px) {
  .hero {
    padding: 4.5rem 0.85rem 2.75rem;
  }

  .hero-frame {
    padding: 2.5rem 1.35rem 2.25rem;
  }

  .hero-corner {
    width: 28px;
    height: 28px;
  }

  .hero-corner-tl,
  .hero-corner-tr { top: 14px; }
  .hero-corner-bl,
  .hero-corner-br { bottom: 14px; }
  .hero-corner-tl,
  .hero-corner-bl { left: 14px; }
  .hero-corner-tr,
  .hero-corner-br { right: 14px; }

  .hero-date {
    padding: 1rem 1.25rem;
    width: 100%;
    max-width: 18rem;
  }

  .hero-scroll-text {
    font-size: 0.68rem;
    letter-spacing: 0.18em;
  }

  .countdown-line {
    font-size: clamp(1.25rem, 4.2vw, 1.65rem);
  }

  .countdown-unit-long {
    display: none;
  }

  .countdown-unit-short {
    display: inline;
  }

  .timeline {
    max-width: 100%;
    margin-top: 1.25rem;
  }

  .timeline-item {
    grid-template-columns: 2.85rem 1fr;
    gap: 0.75rem;
  }

  .timeline-icon {
    width: 2.75rem;
    height: 2.75rem;
  }

  .timeline-icon svg {
    width: 1.2rem;
    height: 1.2rem;
  }

  .timeline-card {
    padding: 1.05rem 1rem;
  }

  .timeline-time {
    font-size: 1.45rem;
  }
}
