/* ============ FOUNDATION ============ */
:root {
  --blush: #f9e9ec;
  --rose: #c98a97;
  --rose-deep: #a96a78;
  --gold: #c9a24b;
  --cream: #fdfaf7;
  --ink: #3f3438;
  --ink-light: #7a6a70;
  --shadow: 0 10px 30px rgba(63, 52, 56, 0.12);
  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Great Vibes", cursive;
  --sans: "Montserrat", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  max-width: 100%;
  line-height: 1.6;
}

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

img {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--rose);
  color: #fff;
}

/* ============ SECTIONS ============ */
.section {
  padding: 100px 0;
}

.section-kicker {
  font-family: var(--script);
  font-size: 1.8rem;
  color: var(--rose);
  text-align: center;
}

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  text-align: center;
  margin: 6px 0 16px;
  letter-spacing: 1px;
}

.section-subtitle {
  text-align: center;
  color: var(--ink-light);
  max-width: 520px;
  margin: 0 auto 48px;
  font-weight: 300;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: #150d11;
  overflow: hidden;
  will-change: transform, opacity;
}

.hero-bg {
  position: absolute;
  inset: -20px;
  background: center/cover no-repeat;
  filter: blur(18px) brightness(0.6) saturate(1.15);
  transform: scale(1.08);
  z-index: 0;
  transition: opacity 1.2s ease;
  opacity: 0;
}

.hero-bg.ready {
  opacity: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(ellipse at center, transparent 25%, rgba(10, 5, 8, 0.55) 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
  animation: fadeUp 1.4s ease forwards;
}

.hero-ornament {
  font-size: 1.6rem;
  color: var(--gold);
  letter-spacing: 12px;
}

.hero-date {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 6px;
  font-size: 0.85rem;
  color: #ecd9de;
  margin-top: 18px;
}

.hero-names {
  font-family: var(--script);
  font-size: clamp(3.2rem, 10vw, 6.5rem);
  font-weight: 400;
  margin: 14px 0;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.hero-subtitle {
  font-weight: 300;
  max-width: 560px;
  margin: 0 auto 34px;
  color: #f3e4e8;
  font-size: 1.05rem;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.35s ease;
  cursor: pointer;
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.7);
  color: #fff;
  background: transparent;
}

.btn-outline:hover {
  background: #fff;
  color: var(--rose-deep);
  border-color: #fff;
}

.btn-solid {
  background: var(--rose);
  color: #fff;
  border: 1px solid var(--rose);
  margin-top: 18px;
}

.btn-solid:hover {
  background: var(--rose-deep);
  border-color: var(--rose-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ============ HERO SCROLL ============ */
.hero-scroll {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll span {
  display: block;
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 20px;
  position: relative;
}

.hero-scroll span::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: #fff;
  border-radius: 4px;
  animation: scrollDot 1.8s infinite;
}

@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ============ COUPLE ============ */
.couple-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.couple-card {
  text-align: center;
}

.couple-photo {
  width: 220px;
  height: 220px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background-color: var(--rose);
  background-size: cover;
  background-position: center;
  border: 8px solid #fff;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}

.couple-photo.monogram {
  font-family: var(--script);
  font-size: 2.6rem;
  color: #fff;
  background: linear-gradient(160deg, var(--rose), var(--rose-deep));
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.couple-card h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
}

.couple-card p {
  color: var(--ink-light);
  font-size: 0.9rem;
  font-weight: 300;
}

.couple-symbol .ampersand {
  font-family: var(--script);
  font-size: 4rem;
  color: var(--gold);
}

/* ============ COUNTDOWN ============ */
.countdown {
  background: linear-gradient(160deg, #4a2f38, #6d4550);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.countdown .section-kicker { color: #eec8d0; }
.countdown .section-title { color: #fff; }

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 720px;
  margin: 40px auto 0;
}

.count-item {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 26px 10px;
  text-align: center;
  backdrop-filter: blur(4px);
}

.count-number {
  display: block;
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  color: var(--gold);
}

.count-label {
  display: block;
  margin-top: 8px;
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ead9de;
}

/* ============ GALLERY ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 18px 40px rgba(63, 52, 56, 0.25);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(63, 52, 56, 0.55), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item .gallery-tag {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 2;
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 1px;
  font-weight: 400;
  transform: translateY(10px);
  opacity: 0;
  transition: all 0.4s ease;
}

.gallery-item:hover .gallery-tag {
  transform: translateY(0);
  opacity: 1;
}

/* ============ DETAILS ============ */
.details {
  background: var(--blush);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 44px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.detail-card {
  background: #fff;
  border-radius: 14px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease;
}

.detail-card:hover {
  transform: translateY(-6px);
}

.detail-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--blush);
  display: grid;
  place-items: center;
  color: var(--rose-deep);
}

.detail-icon svg {
  width: 30px;
  height: 30px;
}

.detail-card h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.detail-card p {
  color: var(--ink-light);
  font-size: 0.95rem;
  font-weight: 300;
}

/* ============ TELEGRAM ============ */
.telegram {
  text-align: center;
}

.telegram-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #229ed9;
  border: 1px solid #229ed9;
  color: #fff;
  margin-top: 8px;
}

.telegram-btn:hover {
  background: #1d89bb;
  border-color: #1d89bb;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(34, 158, 217, 0.35);
}

.telegram-btn svg {
  width: 22px;
  height: 22px;
}

.telegram-note {
  margin-top: 18px;
  color: var(--ink-light);
  font-size: 0.9rem;
  font-weight: 300;
}

/* ============ FOOTER ============ */
.footer {
  background: #2b1d22;
  color: #e8d9dd;
  text-align: center;
  padding: 56px 20px;
  font-family: var(--serif);
  font-size: 1.1rem;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 14px;
}

.footer-logo {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.footer-ornament {
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.footer-made {
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 0.8rem;
  color: #9d8a90;
}

.footer-coder {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-family: var(--sans);
  font-size: 0.82rem;
  color: #b3a2a8;
  letter-spacing: 0.5px;
}

.footer-coder strong {
  color: var(--gold);
  letter-spacing: 1px;
}

.footer-coder a {
  color: #e8d9dd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-coder a:hover {
  color: var(--gold);
}

.heart {
  color: var(--rose);
}

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(20, 12, 15, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: min(88vw, 920px);
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  transform: scale(0.92);
  transition: transform 0.35s ease;
}

.lightbox.open .lightbox-img {
  transform: scale(1);
}

.lightbox-caption {
  position: absolute;
  bottom: 26px;
  left: 0;
  right: 0;
  text-align: center;
  color: #f0e2e6;
  font-family: var(--serif);
  font-size: 1.2rem;
  letter-spacing: 1px;
}

.lightbox button {
  position: absolute;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  cursor: pointer;
  transition: color 0.25s ease, transform 0.25s ease;
  z-index: 2;
}

.lightbox button:hover {
  color: var(--gold);
}

.lightbox-close {
  top: 26px;
  right: 30px;
}

.lightbox-close:hover {
  transform: rotate(90deg);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

.lightbox-prev:hover { transform: translateX(-4px); }
.lightbox-next:hover { transform: translateX(4px); }

/* ============ SCROLL REVEAL ============ */
.reveal-init {
  opacity: 0;
  transform: translateY(24px);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .details-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
  }
  .couple-grid {
    grid-template-columns: 1fr;
  }
  .couple-symbol .ampersand {
    font-size: 3rem;
  }
}

@media (max-width: 560px) {
  .section { padding: 70px 0; }
  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .lightbox-prev { left: 14px; }
  .lightbox-next { right: 14px; }
}

/* ============ NAVIGATION ============ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  padding: 22px 0;
  transition: padding 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  padding: 12px 0;
  background: rgba(43, 29, 34, 0.85);
  backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
}

.nav-inner {
  width: min(1200px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  line-height: 1;
  text-decoration: none;
}

.nav-logo-img {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.nav-brand {
  font-family: var(--script);
  font-size: 1.9rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: 1px;
  white-space: nowrap;
}

.nav-brand span {
  color: var(--gold);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}

.nav-link {
  position: relative;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  padding: 4px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.35s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  cursor: pointer;
  padding: 9px;
  border-radius: 12px;
  position: relative;
  z-index: 82;
  transition: background 0.3s ease, transform 0.3s ease;
}

.nav-toggle:hover {
  background: rgba(201, 162, 75, 0.35);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  margin: 4.5px auto;
  transition: transform 0.35s ease, opacity 0.25s ease, width 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: translateX(-8px);
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ----- dim overlay behind the menu ----- */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 79;
  background: rgba(18, 10, 14, 0.55);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.nav-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 82vw);
    flex-direction: column;
    gap: 0;
    z-index: 81;
    background: linear-gradient(180deg, #2b1d22, #442b38 55%, #551f33);
    box-shadow: -18px 0 50px rgba(0, 0, 0, 0.45);
    padding: 0;
    list-style: none;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
    border-left: 1px solid rgba(201, 162, 75, 0.25);
  }
  .nav-links.open { transform: translateX(0); }

  .nav-menu-head {
    padding: 26px 22px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 10px;
  }

  .nav-menu-title {
    font-family: var(--script);
    font-size: 1.6rem;
    color: var(--gold);
  }

  .nav-links li {
    margin: 0;
  }

  .nav-links .nav-link {
    display: block;
    padding: 15px 26px;
    font-size: 0.95rem;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: background 0.3s ease, color 0.3s ease, padding-left 0.3s ease;
  }

  .nav-links .nav-link::after {
    display: none;
  }

  .nav-links .nav-link:hover,
  .nav-links .nav-link.active {
    color: var(--gold);
    background: rgba(201, 162, 75, 0.12);
    padding-left: 34px;
  }
}

/* ============ RISING GOLDEN LIGHT-MOTES ============ */
.petals {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 5;
  overflow: hidden;
}

.spark {
  position: absolute;
  bottom: -20px;
  border-radius: 50%;
  opacity: 0;
  animation: sparkRise linear infinite;
  will-change: transform, opacity;
}

.spark.s-gold {
  background: radial-gradient(circle,
    rgba(255, 247, 218, 0.95) 0%,
    rgba(230, 205, 140, 0.6) 38%,
    rgba(201, 162, 75, 0) 72%);
}

.spark.s-rose {
  background: radial-gradient(circle,
    rgba(255, 236, 241, 0.95) 0%,
    rgba(220, 166, 182, 0.6) 38%,
    rgba(201, 138, 151, 0) 72%);
}

.spark.s-white {
  background: radial-gradient(circle,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(240, 228, 232, 0.55) 38%,
    rgba(240, 228, 232, 0) 72%);
}

@keyframes sparkRise {
  0% {
    transform: translateY(0) translateX(0) scale(0.3);
    opacity: 0;
  }
  12% { opacity: var(--o, 0.8); }
  40% { transform: translateY(-42vh) translateX(30px) scale(1); }
  65% { transform: translateY(-68vh) translateX(-22px) scale(0.85); }
  88% { opacity: var(--o, 0.8); }
  100% {
    transform: translateY(-112vh) translateX(12px) scale(0.55);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .petals { display: none; }
}

/* ============ SECTION TITLE ORNAMENT ============ */
.section-title {
  position: relative;
  padding-bottom: 26px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: goldDraw 1.4s ease forwards;
  transform-origin: center;
}

@keyframes goldDraw {
  from { width: 0; opacity: 0; }
  to { width: 72px; opacity: 1; }
}

/* ============ HERO ENHANCEMENTS ============ */
.hero-names {
  animation: shimmerText 5s ease-in-out infinite;
}

@keyframes shimmerText {
  0%, 100% { text-shadow: 0 4px 30px rgba(0,0,0,0.4); }
  50% { text-shadow: 0 4px 50px rgba(201, 162, 75, 0.55); }
}

.hero-ornament {
  animation: twinkle 2.6s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.25); }
}

.hero-scroll span::after {
  animation-duration: 1.8s;
}

/* ============ BUTTON SHINE ============ */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.45), transparent);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 140%;
}

/* ============ COUNTDOWN GLOW ============ */
.count-item {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  animation: floatCard 6s ease-in-out infinite;
}

.count-item:nth-child(2) { animation-delay: 0.8s; }
.count-item:nth-child(3) { animation-delay: 1.6s; }
.count-item:nth-child(4) { animation-delay: 2.4s; }

.count-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
  animation-play-state: paused;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.count-number {
  text-shadow: 0 0 22px rgba(201, 162, 75, 0.35);
}

/* ============ GALLERY STAGGER ============ */
.gallery-item {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-item img {
  transition: transform 0.6s ease, filter 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.1) rotate(0.6deg);
  filter: brightness(1.06);
}

/* ============ LIGHTBOX ZOOM ============ */
.lightbox.open .lightbox-img {
  animation: lightboxZoom 0.5s ease forwards;
}

@keyframes lightboxZoom {
  from { transform: scale(0.82) translateY(14px); opacity: 0.6; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

.lightbox-prev,
.lightbox-next {
  background: rgba(255,255,255,0.06) !important;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.4rem !important;
  transition: background 0.3s ease, transform 0.3s ease;
  backdrop-filter: blur(4px);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(201, 162, 75, 0.35) !important;
}

/* ============ FOOTER HEART PULSE ============ */
.heart {
  display: inline-block;
  animation: heartBeat 1.6s ease-in-out infinite;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.35); }
  30% { transform: scale(1); }
  45% { transform: scale(1.25); }
}

/* ============ BACK TO TOP ============ */
.back-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 70;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(43, 29, 34, 0.85);
  color: var(--gold);
  cursor: pointer;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: all 0.4s ease;
  backdrop-filter: blur(6px);
}

.back-top svg {
  width: 20px;
  height: 20px;
}

.back-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--rose-deep);
  color: #fff;
}

/* ============ COUPLE PHOTO FLOAT ============ */
.couple-photo {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  animation: gentleFloat 8s ease-in-out infinite;
}

.couple-card:nth-of-type(3) .couple-photo {
  animation-delay: 1s;
}

.couple-photo:hover {
  transform: scale(1.04) rotate(1.5deg);
  animation-play-state: paused;
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ============ DETAIL CARD ICON BOUNCE ============ */
.detail-card:hover .detail-icon {
  animation: iconBounce 0.6s ease;
}

@keyframes iconBounce {
  0% { transform: scale(1); }
  35% { transform: scale(1.18) rotate(-6deg); }
  70% { transform: scale(0.95); }
  100% { transform: scale(1); }
}

/* ============ CURVY WAVE DIVIDERS ============ */
.section {
  position: relative;
  z-index: 1;
}

.wave {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 70px;
  line-height: 0;
  z-index: 2;
  pointer-events: none;
}

.wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ============ AURORA BACKGROUND ============ */
body::before {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(38% 38% at 12% 18%, rgba(201, 138, 151, 0.13), transparent 62%),
    radial-gradient(42% 42% at 88% 72%, rgba(201, 162, 75, 0.13), transparent 62%),
    radial-gradient(34% 34% at 72% 12%, rgba(169, 106, 120, 0.12), transparent 62%),
    radial-gradient(40% 40% at 28% 90%, rgba(169, 106, 120, 0.1), transparent 62%);
  animation: aurora 26s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes aurora {
  0%   { transform: translate3d(-1.5%, -1%, 0) scale(1); filter: hue-rotate(0deg); }
  50%  { transform: translate3d(1%, 1.5%, 0) scale(1.1); filter: hue-rotate(14deg); }
  100% { transform: translate3d(-1%, 1%, 0) scale(1.05); filter: hue-rotate(6deg); }
}

.footer {
  position: relative;
  z-index: 1;
}

/* ============ HERO ORNAMENT FLOURISH ============ */
.hero-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 16px 0 24px;
}

.hero-sep-line {
  display: block;
  width: 70px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  animation: sepLine 2.4s ease-in-out infinite alternate;
}

.hero-sep-line:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-sep-diamond {
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  border: 1px solid var(--gold);
  animation: spinDiamond 7s linear infinite;
}

@keyframes sepLine {
  from { width: 34px; opacity: 0.4; }
  to { width: 84px; opacity: 1; }
}

@keyframes spinDiamond {
  to { transform: rotate(405deg); }
}

/* ============ GALLERY 3D REVEAL + TILT ============ */
.gallery-grid {
  perspective: 1200px;
}

.reveal-3d {
  opacity: 0;
  transform: perspective(800px) rotateX(42deg) translateY(30px);
  transition: opacity 0.95s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.95s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.45s ease;
}

.reveal-3d.visible {
  opacity: 1;
  transform: perspective(800px) rotateX(0deg) translateY(0);
}

.gallery-item.tilt {
  transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.gallery-item:hover {
  box-shadow: 0 20px 44px rgba(63, 52, 56, 0.3),
    0 0 0 2px rgba(201, 162, 75, 0.8),
    0 0 26px rgba(201, 162, 75, 0.5);
}

/* ============ LIGHTBOX SLIDE ============ */
.lightbox-img.slide-left {
  animation: slideLeft 0.38s ease;
}

.lightbox-img.slide-right {
  animation: slideRight 0.38s ease;
}

@keyframes slideLeft {
  from { transform: translateX(-70px) scale(0.94); opacity: 0.4; }
  to { transform: translateX(0) scale(1); opacity: 1; }
}

@keyframes slideRight {
  from { transform: translateX(70px) scale(0.94); opacity: 0.4; }
  to { transform: translateX(0) scale(1); opacity: 1; }
}

/* ============ GOLD EDGE GLOW ============ */
.detail-card:hover {
  box-shadow: 0 20px 44px rgba(63, 52, 56, 0.22),
    0 0 0 2px rgba(201, 162, 75, 0.7),
    0 0 22px rgba(201, 162, 75, 0.4);
}

.couple-photo:hover {
  box-shadow: 0 0 0 6px #fff,
    0 0 0 8px rgba(201, 162, 75, 0.75),
    0 22px 44px rgba(63, 52, 56, 0.3);
}

/* ============ INTRO SCREEN ============ */
.intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: linear-gradient(160deg, #24151b, #3a2330 55%, #171016);
  overflow: hidden;
  transition: opacity 0.9s ease;
}

.intro::before {
  content: "";
  position: absolute;
  inset: -30%;
  background:
    radial-gradient(circle at 30% 30%, rgba(201, 162, 75, 0.16), transparent 45%),
    radial-gradient(circle at 75% 70%, rgba(201, 138, 151, 0.16), transparent 45%);
  animation: introGlow 3.5s ease-in-out infinite alternate;
}

@keyframes introGlow {
  from { transform: scale(0.9); opacity: 0.6; }
  to { transform: scale(1.12); opacity: 1; }
}

.intro.closing {
  opacity: 0;
  pointer-events: none;
}

.intro-inner {
  position: relative;
  text-align: center;
  color: #fff;
}

.intro-logo-link {
  display: block;
  width: clamp(72px, 18vw, 96px);
  height: clamp(72px, 18vw, 96px);
  margin: 0 auto 16px;
  animation: introFade 1.2s ease 0.1s both;
}

.intro-logo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.intro-kicker {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: #e6c9cf;
  animation: introFade 1.2s ease 0.2s both;
}

.intro-initials {
  display: block;
  font-family: var(--script);
  font-size: clamp(4rem, 14vw, 7rem);
  color: var(--gold);
  text-shadow: 0 6px 40px rgba(201, 162, 75, 0.4);
  animation: introPop 1.1s cubic-bezier(0.22, 0.61, 0.36, 1) 0.45s both;
}

.intro-names {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 3.4vw, 1.6rem);
  color: #f3e6ea;
  margin-top: 6px;
  animation: introFade 1.2s ease 0.85s both;
}

.intro-line {
  display: block;
  height: 2px;
  width: 0;
  margin: 30px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: introLine 1.1s ease 1s both;
}

.intro-hint {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #e8dcc0;
  opacity: 0;
  animation: introFade 1.2s ease 1.9s both, hintPulse 2.4s ease-in-out 2.9s infinite;
}

.intro:not(.closing):hover,
.intro:not(.closing):focus-visible {
  cursor: pointer;
  outline: none;
}

@keyframes hintPulse {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}

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

@keyframes introPop {
  0% { opacity: 0; transform: scale(0.6); filter: blur(8px); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}

@keyframes introLine {
  from { width: 0; opacity: 0; }
  to { width: 160px; opacity: 1; }
}

/* ============ HERO NAME LETTER-BY-LETTER ============ */
.hero-names .ch {
  display: inline-block;
  white-space: normal;
  opacity: 0;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
  animation: charUp 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) forwards,
    shimmerText 5s 1.8s ease-in-out infinite;
  animation-play-state: paused, paused;
  will-change: transform, opacity;
}

body.intro-done .hero-names .ch {
  animation-play-state: running, running;
}

@keyframes charUp {
  from { opacity: 0; transform: translateY(26px) rotate(4deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

/* ============ SECTION KICKER GLOW ============ */
.section-kicker {
  animation: kickerGlow 4s ease-in-out infinite alternate;
}

@keyframes kickerGlow {
  from { letter-spacing: 4px; opacity: 0.75; }
  to { letter-spacing: 9px; opacity: 1; }
}

/* ============ EMBEDDED MAP ============ */
.map-wrap {
  margin: 56px auto 0;
  max-width: 920px;
  text-align: center;
}

.map-heading {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.map-frame {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: 16px;
  box-shadow: var(--shadow);
  filter: saturate(0.9);
  transition: filter 0.5s ease;
  background: #eee3e6;
}

.map-frame:hover {
  filter: saturate(1.05);
}

/* ============ MUSIC TOGGLE ============ */
.music-btn {
  position: fixed;
  left: 26px;
  bottom: 26px;
  z-index: 70;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(43, 29, 34, 0.85);
  color: var(--gold);
  cursor: pointer;
  display: grid;
  place-items: center;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: all 0.35s ease, transform 0.45s ease;
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}

.music-btn:hover {
  background: var(--rose-deep);
  color: #fff;
}

.music-btn.playing {
  animation: musicPulse 2.4s ease-in-out infinite;
}

@keyframes musicPulse {
  0%, 100% { box-shadow: 0 8px 22px rgba(0,0,0,0.25); }
  50% { box-shadow: 0 8px 30px rgba(201, 162, 75, 0.45); }
}

.music-note {
  font-size: 1.3rem;
  line-height: 1;
  position: absolute;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.music-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 18px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.music-bars i {
  width: 4px;
  border-radius: 2px;
  background: currentColor;
  height: 6px;
  animation: eq 1s ease-in-out infinite;
}

.music-bars i:nth-child(2) { animation-delay: 0.25s; }
.music-bars i:nth-child(3) { animation-delay: 0.5s; }

.music-btn.playing .music-note { opacity: 0; transform: scale(0.6); }
.music-btn.playing .music-bars { opacity: 1; }

@keyframes eq {
  0%, 100% { height: 5px; }
  50% { height: 18px; }
}

/* ============ SHARE ROW ============ */
.share-row {
  margin-top: 26px;
}

.share-label {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #9d8a90;
  margin-bottom: 12px;
}

.share-btns {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.share-btn {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.22);
  color: #e8d9dd;
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.share-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #2b1d22;
}

@media (max-width: 820px) {
  .map-frame {
    height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  .hero-names .ch { animation-play-state: running, paused; opacity: 1; transform: none; }
}