:root {
  --bg: #fbf7f1;
  --bg-soft: #f6eee3;
  --card: #ffffff;
  --ink: #3f3a34;
  --muted: #8b7f72;

  --rose: #c08a8a;
  --rose-deep: #a86f6f;
  --blush: #edd6d2;
  --gold: #bf9d5f;
  --gold-deep: #a5823f;
  --gold-soft: #e7d8b6;
  --sage: #8fa28f;

  --line: rgba(191, 157, 95, 0.35);

  --font-script: "Great Vibes", cursive;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Be Vietnam Pro", "Segoe UI", sans-serif;

  --shadow-sm: 0 8px 24px rgba(63, 58, 52, 0.08);
  --shadow-md: 0 16px 40px rgba(63, 58, 52, 0.12);
  --shadow-lg: 0 28px 70px rgba(63, 58, 52, 0.16);

  --radius: 18px;
  --maxw: 1060px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 50% -100px, rgba(237, 214, 210, 0.55), transparent 60%),
    var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.section { padding: 72px 0; position: relative; }

.kicker {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.section-title__script {
  font-family: var(--font-script);
  font-size: clamp(38px, 6vw, 56px);
  font-weight: 400;
  color: var(--rose-deep);
  line-height: 1.15;
}
.section-title__small {
  font-family: var(--font-serif);
  font-size: 17px;
  font-style: italic;
  color: var(--muted);
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 18px auto;
}
.divider__line {
  height: 1px;
  width: min(140px, 26vw);
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}
.divider__icon {
  font-size: 18px;
  color: var(--gold);
}

.icn {
  display: inline-block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  flex: none;
  vertical-align: middle;
}
.icn--lg { width: 40px; height: 40px; }
.btn .icn { width: 16px; height: 16px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #fff;
  box-shadow: 0 10px 24px rgba(191, 157, 95, 0.35);
}
.btn-gold:hover { box-shadow: 0 16px 32px rgba(191, 157, 95, 0.45); }

.btn-outline {
  background: transparent;
  color: var(--rose-deep);
  border-color: var(--rose);
}
.btn-outline:hover { background: var(--blush); }

.btn--block { width: 100%; }

.card {
  background: var(--card);
  border: 1px solid rgba(191, 157, 95, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 48px 36px;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
  perspective: 1400px;
  background:
    radial-gradient(900px 500px at 50% 20%, rgba(237, 214, 210, 0.65), transparent 60%),
    linear-gradient(180deg, #fdf9f4, #f6eee3);
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
.overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 700px at 50% 50%, rgba(255, 247, 223, 0.5), transparent 70%),
    radial-gradient(600px 400px at 20% 80%, rgba(224, 143, 143, 0.35), transparent 60%),
    radial-gradient(600px 400px at 80% 20%, rgba(191, 157, 95, 0.35), transparent 60%);
  animation: overlayGlow 9s ease-in-out infinite;
  pointer-events: none;
}
@keyframes overlayGlow {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 0.95; }
}
.overlay.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.overlay.opening .overlay-inner {
  animation: openCard 0.9s ease-out forwards;
}
.overlay.opening .overlay-guest {
  animation: none;
}
.overlay.opening::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, #fff8e6, transparent 62%);
  pointer-events: none;
  animation: openFlash 0.7s ease-out forwards;
}
@keyframes openCard {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.15); opacity: 0; }
}
@keyframes openFlash {
  0%   { opacity: 0; }
  40%  { opacity: 1; }
  100% { opacity: 0; }
}
.overlay-inner {
  position: relative;
  text-align: center;
  animation: floatUp 1.4s ease both;
  padding: 46px 42px;
  border: 1px solid rgba(191, 157, 95, 0.45);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 251, 244, 0.82));
  box-shadow: 0 24px 60px rgba(63, 58, 52, 0.14);
  will-change: transform, opacity;
}
.overlay-inner::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(191, 157, 95, 0.3);
  border-radius: 15px;
  pointer-events: none;
}
.overlay-kicker {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 6px;
  color: var(--gold);
  font-weight: 600;
}
.overlay-names {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(44px, 9vw, 88px);
  color: var(--rose-deep);
  line-height: 1.1;
  margin: 14px 0 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 14px;
}
.overlay-names .amp { color: var(--gold); font-family: var(--font-serif); font-style: italic; }
.overlay-date { font-family: var(--font-serif); font-size: 18px; color: var(--muted); margin-bottom: 16px; }
.overlay-guest-label {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-top: 4px;
}
.overlay-guest {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(32px, 6vw, 48px);
  line-height: 1.2;
  margin: 10px 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  white-space: nowrap;
  background: linear-gradient(100deg, var(--gold-deep) 40%, #fff7df 50%, var(--gold-deep) 60%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: guestShine 2.8s linear infinite;
}
.overlay-guest::before,
.overlay-guest::after {
  content: "";
  flex: 0 0 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  animation: guestLine 2.8s ease-in-out infinite;
}
.overlay-guest::after {
  background: linear-gradient(90deg, var(--gold), transparent);
  animation-delay: 0.25s;
}
@keyframes guestShine {
  0%   { background-position: 200% center; }
  100% { background-position: -200% center; }
}
@keyframes guestLine {
  0%, 100% { opacity: 0.55; transform: scaleX(0.85); }
  50%      { opacity: 1; transform: scaleX(1.12); }
}
.overlay-open-btn { font-size: 15px; }

.sparkles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.sparkle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fffdf3, var(--gold));
  opacity: 0;
  animation: twinkle 3s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.3) rotate(0deg); }
  50%      { opacity: 0.95; transform: scale(1) rotate(180deg); }
}

.sparkle-burst {
  position: fixed;
  left: 50%;
  top: 46%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  pointer-events: none;
  z-index: 1001;
  animation: burst 1s cubic-bezier(0.16, 0.84, 0.44, 1) forwards;
}
@keyframes burst {
  0%   { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
  100% { transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0.1); opacity: 0; }
}

@keyframes floatUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.petals {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}
.petal {
  position: absolute;
  top: -40px;
  width: 16px;
  height: 16px;
  background: radial-gradient(circle at 30% 30%, #f6dede, #e0a8a8);
  border-radius: 150% 0 150% 0;
  opacity: 0;
  animation: fall linear infinite;
}
@keyframes fall {
  0%   { transform: translateY(-6vh) translateX(0) rotate(0deg); opacity: 0; }
  8%   { opacity: 0.85; }
  85%  { opacity: 0.7; }
  100% { transform: translateY(106vh) translateX(48px) rotate(360deg); opacity: 0.15; }
}

.music-btn {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 50;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--gold), var(--gold-deep));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
}
.music-btn:hover { transform: scale(1.08); }
.music-btn__icon { display: flex; align-items: flex-end; gap: 2.5px; height: 20px; }
.music-bar {
  width: 3.5px;
  height: 100%;
  background: #fff;
  border-radius: 2px;
  animation: musicWave 1s ease-in-out infinite;
  transform-origin: bottom;
}
.music-bar:nth-child(1) { animation-delay: 0s; }
.music-bar:nth-child(2) { animation-delay: 0.2s; }
.music-bar:nth-child(3) { animation-delay: 0.4s; }
.music-bar:nth-child(4) { animation-delay: 0.6s; }
@keyframes musicWave {
  0%, 100% { transform: scaleY(0.35); }
  50% { transform: scaleY(1); }
}
.music-btn.playing .music-bar { animation-play-state: running; }
.music-btn:not(.playing) .music-bar { animation-play-state: paused; transform: scaleY(0.3); }

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 22px 70px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 400px at 50% 30%, rgba(237, 214, 210, 0.5), transparent 60%),
    linear-gradient(180deg, #fdfaf5, #f7f0e6);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1100px 700px at 50% 40%, rgba(255, 247, 223, 0.45), transparent 70%),
    radial-gradient(600px 400px at 18% 82%, rgba(224, 143, 143, 0.3), transparent 60%),
    radial-gradient(600px 400px at 82% 18%, rgba(191, 157, 95, 0.3), transparent 60%);
  animation: overlayGlow 10s ease-in-out infinite;
  pointer-events: none;
}
.hero__content {
  position: relative;
  width: 100%;
  max-width: 860px;
  padding: 42px 40px;
  border: 1px solid rgba(191, 157, 95, 0.4);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(255, 251, 244, 0.8));
  box-shadow: 0 24px 60px rgba(63, 58, 52, 0.12);
}
.hero__content::before {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(191, 157, 95, 0.28);
  border-radius: 15px;
  pointer-events: none;
}
.hero__kicker { margin-bottom: 18px; }
.hero__names {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(46px, 10vw, 96px);
  line-height: 1.08;
  color: var(--rose-deep);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 20px;
  row-gap: 2px;
}
.hero__amp {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.5em;
  color: var(--gold);
}
.hero__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(16px, 2.4vw, 21px);
  color: var(--muted);
  white-space: pre-line;
  max-width: 560px;
  margin: 0 auto;
}
.hero__couple {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  margin-top: 30px;
}
.hero__person { text-align: center; }
.hero__photo {
  position: relative;
  width: 160px;
  height: 200px;
  border-radius: 50% 50% 14px 14px;
  overflow: hidden;
  margin: 0 auto 14px;
  background: var(--blush);
  padding: 7px;
  box-shadow: 0 10px 30px rgba(63, 58, 52, 0.14);
}
.hero__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50% 50% 14px 14px;
  border: 2px solid var(--gold);
  pointer-events: none;
  z-index: 2;
}
.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50% 50% 10px 10px;
  display: block;
}
.hero__person-name {
  display: block;
  font-family: var(--font-script);
  font-size: 30px;
  line-height: 1.05;
  color: var(--rose-deep);
}
.hero__person-role {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 4px;
}
.hero__couple-amp {
  align-self: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 30px;
  color: var(--gold);
}
.hero__date {
  margin-top: 20px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-hint__mouse {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid var(--rose);
  border-radius: 12px;
  position: relative;
}
.scroll-hint__mouse::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--rose);
  animation: scrollDot 1.6s ease infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(12px); opacity: 0; }
}

.countdown { text-align: center; }
.countdown__label {
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 30px;
}
.countdown__grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}
.countdown__item {
  min-width: 96px;
  padding: 22px 10px;
  background: var(--card);
  border: 1px solid rgba(191, 157, 95, 0.2);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.countdown__num {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 600;
  color: var(--rose-deep);
  line-height: 1;
}
.countdown__unit {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.invitation__card { text-align: center; }
.invitation__text {
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: italic;
  color: var(--muted);
}
.invitation__guest {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(44px, 8vw, 74px);
  color: var(--gold-deep);
  margin: 10px 0 4px;
  line-height: 1.1;
  word-break: normal;
  overflow-wrap: break-word;
}
.invitation__sub {
  font-family: var(--font-serif);
  font-size: 17px;
  font-style: italic;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto;
}

.couple__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 28px;
  margin-top: 12px;
}
.person { text-align: center; }
.person__photo {
  width: min(240px, 72vw);
  aspect-ratio: 4 / 5;
  margin: 0 auto 22px;
  border-radius: 50% 50% 12px 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 5px solid #fff;
  background: var(--blush);
}
.person__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.person__name {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 42px);
  color: var(--rose-deep);
  line-height: 1.1;
}
.person__role {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin: 6px 0 18px;
}
.person__parents {
  border-top: 1px dashed var(--line);
  padding-top: 16px;
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--muted);
}
.person__parents-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 8px;
}
.person__parent { line-height: 1.9; }
.person__parent span { color: var(--ink); }

.couple__amp {
  align-self: center;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 46px;
  color: var(--gold);
  padding-top: 40px;
}

.events__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  justify-items: center;
}
.events__list .event:only-child {
  max-width: 420px;
  width: 100%;
}
.event {
  background: var(--card);
  border: 1px solid rgba(191, 157, 95, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px 26px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.event:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.event__ribbon {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--rose), var(--gold), var(--rose));
}
.event__icon { font-size: 30px; margin-bottom: 8px; }
.event__title {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 34px;
  color: var(--rose-deep);
}
.event__date-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 16px 0;
}
.event__day {
  font-family: var(--font-serif);
  font-size: 44px;
  font-weight: 600;
  color: var(--gold-deep);
  line-height: 1;
}
.event__month-year {
  text-align: left;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.event__weekday {
  font-family: var(--font-serif);
  font-size: 15px;
  color: var(--ink);
  letter-spacing: 0.5px;
}
.event__meta {
  border-top: 1px dashed var(--line);
  padding-top: 16px;
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.event__time { color: var(--ink); font-weight: 600; }
.event__lunar { font-size: 14px; font-style: italic; }
.event__address { font-style: italic; }
.event__map {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1.5px solid var(--rose);
  color: var(--rose-deep);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease;
}
.event__map:hover { background: var(--blush); }

.album__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
}
.album__item {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 5;
  background: var(--blush);
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.album__item:hover { transform: scale(1.03); box-shadow: var(--shadow-md); }
.album__item img { width: 100%; height: 100%; object-fit: cover; }

.gift__card { text-align: center; }
.gift__body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.gift__qr {
  width: 220px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.gift__qr img { width: 100%; height: 100%; object-fit: contain; }
.gift__info {
  text-align: left;
  min-width: 260px;
  max-width: 380px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gift__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 8px;
  font-size: 14px;
}
.gift__label { color: var(--muted); white-space: nowrap; }
.gift__value { color: var(--ink); font-weight: 600; text-align: right; }
.gift__value--account { letter-spacing: 1px; font-size: 16px; color: var(--rose-deep); }

.footer {
  text-align: center;
  padding: 70px 22px 60px;
  background: linear-gradient(180deg, var(--bg), var(--bg-soft));
}
.footer__thanks {
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  color: var(--ink);
}
.footer__thankyou {
  font-family: var(--font-script);
  font-size: 44px;
  color: var(--rose-deep);
  margin: 6px 0;
}
.footer__credit {
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--muted);
}

.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #3f3a34;
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-family: var(--font-sans);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 1100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 950;
  background: rgba(30, 26, 22, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}
.lightbox__close {
  position: absolute;
  top: 20px;
  right: 26px;
  font-size: 40px;
  color: #fff;
  background: none;
  border: none;
  line-height: 1;
}

@media (max-width: 720px) {
  .section { padding: 54px 0; }
  .card { padding: 36px 22px; }

  .hero__couple { gap: 14px; }
  .hero__photo { width: 128px; height: 160px; padding: 6px; }
  .hero__person-name { font-size: 24px; }

  .couple__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .couple__amp { display: none; }

  .gift__body { flex-direction: column; }
  .gift__info { min-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
