/* ═══════════════════════════════════════════════════
   COLOR & STYLE VARIABLES
   ═══════════════════════════════════════════════════ */
:root {
  --bg: #FFF9F0;            /* warm cream base */
  --bg-alt: #F5EDE0;        /* deeper cream for sections */
  --bg-card: rgba(255,255,255,0.85);
  --text: #2C2418;          /* warm dark brown */
  --text-muted: #8A7C6E;    /* taupe */
  --text-light: #B0A090;    /* lighter taupe */
  --gold: #C9A84C;
  --gold-light: #E8D5A8;
  --rose-gold: #DCA8B0;
  --rose: #C48A94;
  --sage: #8FAF7F;
  --border: rgba(201,168,76,0.15);
  --shadow-sm: 0 2px 12px rgba(44,36,24,0.06);
  --shadow-md: 0 4px 24px rgba(44,36,24,0.08);
  --shadow-lg: 0 8px 48px rgba(44,36,24,0.1);
  --font-heading: 'Great Vibes', cursive;
  --font-body: 'Cormorant Infant', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* ════════════════════════════════════════════
   THREE.JS CANVAS — hidden on light sections
   ════════════════════════════════════════════ */
#three-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.15;
  transition: opacity 0.8s ease;
}

/* ════════════════════════════════════════════
   GLOBAL PARTICLE OVERLAY (CSS-only)
   ════════════════════════════════════════════ */
.particle-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.6;
}

.particle-dot {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  animation: particleDrift 20s linear infinite;
}

.particle-dot:nth-child(1) { left: 8%; top: 15%; width: 3px; height: 3px; background: var(--gold); animation-duration: 18s; animation-delay: 0s; }
.particle-dot:nth-child(2) { left: 20%; top: 55%; width: 5px; height: 5px; background: var(--rose-gold); animation-duration: 22s; animation-delay: 2s; }
.particle-dot:nth-child(3) { left: 35%; top: 8%; width: 3px; height: 3px; background: var(--sage); animation-duration: 16s; animation-delay: 4s; }
.particle-dot:nth-child(4) { left: 50%; top: 75%; width: 4px; height: 4px; background: var(--gold); animation-duration: 24s; animation-delay: 1s; }
.particle-dot:nth-child(5) { left: 65%; top: 25%; width: 3px; height: 3px; background: var(--gold-light); animation-duration: 19s; animation-delay: 3s; }
.particle-dot:nth-child(6) { left: 80%; top: 65%; width: 5px; height: 5px; background: var(--rose); animation-duration: 17s; animation-delay: 5s; }
.particle-dot:nth-child(7) { left: 12%; top: 88%; width: 3px; height: 3px; background: var(--rose-gold); animation-duration: 21s; animation-delay: 0.5s; }
.particle-dot:nth-child(8) { left: 45%; top: 38%; width: 4px; height: 4px; background: var(--sage); animation-duration: 15s; animation-delay: 2.5s; }
.particle-dot:nth-child(9) { left: 72%; top: 12%; width: 3px; height: 3px; background: var(--gold); animation-duration: 23s; animation-delay: 4.5s; }
.particle-dot:nth-child(10) { left: 88%; top: 48%; width: 4px; height: 4px; background: var(--gold-light); animation-duration: 20s; animation-delay: 1.5s; }
.particle-dot:nth-child(11) { left: 5%; top: 42%; width: 3px; height: 3px; background: var(--rose-gold); animation-duration: 25s; animation-delay: 3.5s; }
.particle-dot:nth-child(12) { left: 30%; top: 3%; width: 5px; height: 5px; background: var(--rose); animation-duration: 14s; animation-delay: 0.8s; }
.particle-dot:nth-child(13) { left: 60%; top: 92%; width: 3px; height: 3px; background: var(--sage); animation-duration: 18s; animation-delay: 2.2s; }
.particle-dot:nth-child(14) { left: 42%; top: 52%; width: 4px; height: 4px; background: var(--gold); animation-duration: 22s; animation-delay: 4.2s; }
.particle-dot:nth-child(15) { left: 78%; top: 82%; width: 3px; height: 3px; background: var(--gold-light); animation-duration: 16s; animation-delay: 0.3s; }
.particle-dot:nth-child(16) { left: 15%; top: 70%; width: 4px; height: 4px; background: var(--rose-gold); animation-duration: 20s; animation-delay: 1.2s; }
.particle-dot:nth-child(17) { left: 55%; top: 18%; width: 3px; height: 3px; background: var(--gold); animation-duration: 17s; animation-delay: 3.8s; }
.particle-dot:nth-child(18) { left: 92%; top: 30%; width: 5px; height: 5px; background: var(--sage); animation-duration: 23s; animation-delay: 0.7s; }
.particle-dot:nth-child(19) { left: 38%; top: 95%; width: 3px; height: 3px; background: var(--rose); animation-duration: 19s; animation-delay: 2.8s; }
.particle-dot:nth-child(20) { left: 68%; top: 45%; width: 4px; height: 4px; background: var(--gold-light); animation-duration: 21s; animation-delay: 4.8s; }

@keyframes particleDrift {
  0% { transform: translate(0, 0) scale(1); opacity: 0; }
  10% { opacity: 0.6; }
  50% { transform: translate(40px, -60px) scale(1.3); opacity: 0.5; }
  90% { opacity: 0.15; }
  100% { transform: translate(-30px, -120px) scale(0.3); opacity: 0; }
}

/* ════════════════════════════════════════════
   ENTRY OVERLAY
   ════════════════════════════════════════════ */
#entry-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: radial-gradient(ellipse at center 35%, #E8D5A8 0%, var(--bg-alt) 50%, var(--bg) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  overflow: hidden;
  transition: opacity 1.2s cubic-bezier(0.77, 0, 0.18, 1);
}

#entry-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes textShimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.letter-title {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 25%, #FFF5E0 50%, var(--gold-light) 75%, var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 4s ease-in-out infinite;
  color: var(--gold);
}

.entry-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.entry-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: ringExpand 8s ease-out infinite;
}

.entry-ring:nth-child(1) { width: 200px; height: 200px; top: 20%; left: 15%; animation-delay: 0s; }
.entry-ring:nth-child(2) { width: 300px; height: 300px; bottom: 10%; right: 10%; animation-delay: 2s; border-color: rgba(201,168,76,0.1); }
.entry-ring:nth-child(3) { width: 150px; height: 150px; top: 50%; right: 25%; animation-delay: 4s; }

@keyframes ringExpand {
  0% { transform: scale(0.5); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

.entry-letter {
  position: relative;
  width: 360px;
  height: 480px;
  perspective: 1400px;
  z-index: 2;
}

.letter-card {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 36px;
  backface-visibility: hidden;
  transition: transform 0.9s cubic-bezier(0.86, 0, 0.07, 1);
  box-shadow: var(--shadow-lg);
}

.letter-card::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 18px;
  border: 1px solid var(--border);
  pointer-events: none;
  opacity: 0.5;
}

.letter-card-front { transform: rotateX(0deg); }
.letter-card-back { transform: rotateX(180deg); background: var(--bg-alt); }

#entry-overlay.tapped .letter-card-front { transform: rotateX(-180deg); }
#entry-overlay.tapped .letter-card-back { transform: rotateX(0deg); }

.letter-seal {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 28px;
  background: radial-gradient(circle at 40% 40%, rgba(201,168,76,0.08), transparent);
  box-shadow: 0 0 30px rgba(201,168,76,0.06);
  animation: sealGlow 3s ease-in-out infinite alternate;
}

@keyframes sealGlow {
  0% { box-shadow: 0 0 20px rgba(201,168,76,0.04); border-color: var(--gold); }
  100% { box-shadow: 0 0 50px rgba(201,168,76,0.12); border-color: var(--gold-light); }
}

.letter-title {
  font-family: var(--font-heading);
  font-size: 36px;
  text-align: center;
  line-height: 1.3;
  margin-bottom: 8px;
}

.letter-sub {
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  font-weight: 400;
}

.letter-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
  margin: 18px 0;
}

.letter-inside-title {
  font-family: var(--font-heading);
  font-size: 52px;
  color: var(--gold);
  text-align: center;
  line-height: 1.2;
}

.letter-inside-sub {
  font-size: 18px;
  color: var(--gold);
  text-align: center;
  margin-top: 8px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.letter-inside-date {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 18px;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.entry-glow {
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(201,168,76,0.12) 0%, rgba(201,168,76,0.06) 30%, transparent 70%);
  animation: entryGlowPulse 4s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes entryGlowPulse {
  0% { transform: scale(0.85); opacity: 0.3; }
  100% { transform: scale(1.2); opacity: 0.7; }
}

.entry-bamboo-bg {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 75%;
  overflow: hidden;
  opacity: 0.2;
}

.entry-bamboo-stalk {
  position: absolute;
  bottom: -5%;
  width: 4px;
  background: linear-gradient(to top, transparent, var(--sage), var(--sage));
  border-radius: 2px;
  transform-origin: bottom center;
  opacity: 0.5;
}

.entry-bamboo-stalk:nth-child(1) { left: 7%; height: 70%; animation: bambooSway 4s ease-in-out infinite; }
.entry-bamboo-stalk:nth-child(2) { left: 18%; height: 85%; animation: bambooSway 5s ease-in-out infinite 0.5s; }
.entry-bamboo-stalk:nth-child(3) { left: 28%; height: 60%; animation: bambooSway 3.5s ease-in-out infinite 1s; }
.entry-bamboo-stalk:nth-child(4) { left: 40%; height: 90%; animation: bambooSway 4.5s ease-in-out infinite 0.3s; }
.entry-bamboo-stalk:nth-child(5) { left: 50%; height: 75%; animation: bambooSway 5.5s ease-in-out infinite 0.8s; }
.entry-bamboo-stalk:nth-child(6) { left: 60%; height: 65%; animation: bambooSway 3.8s ease-in-out infinite 0.6s; }
.entry-bamboo-stalk:nth-child(7) { left: 72%; height: 82%; animation: bambooSway 4.2s ease-in-out infinite 0.2s; }
.entry-bamboo-stalk:nth-child(8) { left: 85%; height: 70%; animation: bambooSway 5.1s ease-in-out infinite 0.9s; }

.entry-bamboo-stalk::before {
  content: '';
  position: absolute;
  left: -3px;
  width: 11px; height: 3px;
  background: var(--sage-light);
  border-radius: 2px;
  opacity: 0.4;
}

.entry-bamboo-stalk:nth-child(1)::before { top: 30%; }
.entry-bamboo-stalk:nth-child(2)::before { top: 50%; }
.entry-bamboo-stalk:nth-child(3)::before { top: 22%; }
.entry-bamboo-stalk:nth-child(4)::before { top: 55%; }
.entry-bamboo-stalk:nth-child(5)::before { top: 35%; }
.entry-bamboo-stalk:nth-child(6)::before { top: 45%; }
.entry-bamboo-stalk:nth-child(7)::before { top: 40%; }
.entry-bamboo-stalk:nth-child(8)::before { top: 25%; }

@keyframes bambooSway {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(2.2deg); }
}

.entry-petals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.entry-petal {
  position: absolute;
  border-radius: 50% 0 50% 50%;
  opacity: 0;
  animation: petalFall 10s ease-in infinite;
}

.entry-petal:nth-child(1) { left: 5%; width: 8px; height: 10px; background: var(--gold); animation-delay: 0s; animation-duration: 8s; }
.entry-petal:nth-child(2) { left: 20%; width: 10px; height: 12px; background: var(--rose-gold); animation-delay: 1.5s; animation-duration: 10s; }
.entry-petal:nth-child(3) { left: 40%; width: 7px; height: 9px; background: var(--gold-light); animation-delay: 3s; animation-duration: 7s; }
.entry-petal:nth-child(4) { left: 60%; width: 11px; height: 13px; background: var(--gold); animation-delay: 2s; animation-duration: 9s; }
.entry-petal:nth-child(5) { left: 78%; width: 9px; height: 11px; background: var(--rose-gold); animation-delay: 4s; animation-duration: 8.5s; }
.entry-petal:nth-child(6) { left: 92%; width: 8px; height: 10px; background: var(--gold-light); animation-delay: 0.8s; animation-duration: 7.5s; }

@keyframes petalFall {
  0% { transform: translateY(-20px) rotate(0deg) scale(0.5); opacity: 0; }
  10% { opacity: 0.7; }
  50% { opacity: 0.5; transform: translateY(40vh) rotate(180deg) scale(1); }
  90% { opacity: 0.3; }
  100% { transform: translateY(100vh) rotate(360deg) scale(0.5); opacity: 0; }
}

.entry-sparkles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.sparkle {
  position: absolute;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold), 0 0 16px rgba(201,168,76,0.2);
  animation: sparkleFloat 6s ease-in-out infinite;
}

.sparkle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 5.2s; }
.sparkle:nth-child(2) { left: 85%; top: 15%; animation-delay: 0.8s; animation-duration: 6.1s; width: 3px; height: 3px; }
.sparkle:nth-child(3) { left: 20%; top: 75%; animation-delay: 1.6s; animation-duration: 4.8s; }
.sparkle:nth-child(4) { left: 75%; top: 70%; animation-delay: 2.4s; animation-duration: 5.7s; width: 5px; height: 5px; }
.sparkle:nth-child(5) { left: 50%; top: 10%; animation-delay: 3.2s; animation-duration: 6.4s; width: 3px; height: 3px; }
.sparkle:nth-child(6) { left: 35%; top: 85%; animation-delay: 0.4s; animation-duration: 5.5s; }
.sparkle:nth-child(7) { left: 65%; top: 30%; animation-delay: 1.2s; animation-duration: 4.3s; width: 6px; height: 6px; }
.sparkle:nth-child(8) { left: 5%; top: 55%; animation-delay: 2s; animation-duration: 5.9s; width: 3px; height: 3px; }
.sparkle:nth-child(9) { left: 92%; top: 50%; animation-delay: 2.8s; animation-duration: 6.7s; }
.sparkle:nth-child(10) { left: 45%; top: 40%; animation-delay: 3.6s; animation-duration: 4.1s; width: 5px; height: 5px; }

@keyframes sparkleFloat {
  0%, 100% { transform: translateY(0) scale(0.5); opacity: 0; }
  20% { opacity: 1; }
  50% { transform: translateY(-30px) scale(1.2); opacity: 0.8; }
  80% { opacity: 0.4; }
  100% { transform: translateY(-60px) scale(0.3); opacity: 0; }
}

.entry-moon {
  position: absolute;
  top: 3%; right: 6%;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFF8E8, var(--gold-light) 30%, rgba(201,168,76,0.3) 60%, transparent 70%);
  box-shadow: 0 0 100px rgba(201,168,76,0.2), 0 0 200px rgba(201,168,76,0.1), 0 0 300px rgba(201,168,76,0.05);
  animation: moonPulse 4s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes moonPulse {
  0% { box-shadow: 0 0 80px rgba(201,168,76,0.12), 0 0 160px rgba(201,168,76,0.06), 0 0 240px rgba(201,168,76,0.03); transform: scale(1); }
  100% { box-shadow: 0 0 140px rgba(201,168,76,0.2), 0 0 220px rgba(201,168,76,0.1), 0 0 320px rgba(201,168,76,0.06); transform: scale(1.05); }
}

.entry-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 3;
  margin-top: 32px;
  animation: promptFadeIn 1.5s 1s both ease-out;
}

.entry-prompt-label {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: promptPulse 2.4s 1.5s ease-in-out infinite;
  font-weight: 500;
}

@keyframes promptPulse {
  0%, 100% { opacity: 0.35; letter-spacing: 0.26em; }
  50% { opacity: 0.85; letter-spacing: 0.32em; }
}

.entry-chevron-down {
  width: 14px; height: 14px;
  border-right: 1.5px solid var(--gold);
  border-bottom: 1.5px solid var(--gold);
  transform: rotate(45deg);
  animation: chevronBounce 2.4s 1.7s ease-in-out infinite;
}

@keyframes chevronBounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.4; }
  50% { transform: rotate(45deg) translate(4px, 4px); opacity: 1; }
}

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

#burst-canvas {
  position: fixed;
  inset: 0;
  z-index: 99998;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#burst-canvas.active { opacity: 1; }

/* ════════════════════════════════════════════
   MAIN CONTENT
   ════════════════════════════════════════════ */
#main-content {
  position: relative;
  z-index: 1;
  display: none;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

#main-content.visible { display: block; }

/* ── Section Base ── */
.section {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px;
  overflow: hidden;
}

.section-inner {
  max-width: 720px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 2;
}

.section-label {
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(44px, 7vw, 68px);
  color: var(--gold);
  line-height: 1.15;
  margin-bottom: 12px;
}

.section-text {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
}

/* ── Ambient section rings ── */
.section-ambient-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  pointer-events: none;
  z-index: 0;
  animation: ambientRingFloat 12s ease-in-out infinite alternate;
}

.section-ambient-ring:nth-child(1) {
  width: 300px; height: 300px;
  top: -10%; left: -5%;
  animation-duration: 14s;
}

.section-ambient-ring:nth-child(2) {
  width: 200px; height: 200px;
  bottom: -5%; right: -3%;
  animation-duration: 10s;
  animation-delay: -4s;
  border-color: rgba(201,168,76,0.1);
}

.section-ambient-ring:nth-child(3) {
  width: 150px; height: 150px;
  top: 50%; left: 80%;
  animation-duration: 16s;
  animation-delay: -8s;
  border-color: rgba(143,175,127,0.08);
}

@keyframes ambientRingFloat {
  0% { transform: translate(0, 0) scale(1); opacity: 0.2; }
  50% { transform: translate(20px, -15px) scale(1.05); opacity: 0.5; }
  100% { transform: translate(-10px, 10px) scale(0.95); opacity: 0.2; }
}

/* ── Section decorative divider ── */
.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 40px;
  max-width: 300px;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.2;
}

.section-divider-icon {
  font-size: 22px;
  color: var(--gold);
  opacity: 0.4;
  animation: dividerFloat 3s ease-in-out infinite;
}

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

/* ── Hero ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 25%, rgba(201,168,76,0.06) 0%, transparent 60%);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  padding: 120px 24px;
}

.hero-names {
  font-family: var(--font-heading);
  font-size: clamp(42px, 10vw, 140px);
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: heroScaleIn 1.6s 0.3s both cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes heroScaleIn {
  from { opacity: 0; transform: scale(0.6) translateY(40px); filter: blur(8px); }
  to { opacity: 1; transform: scale(1) translateY(0); filter: blur(0); }
}

.hero-name {
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 20%, #FFF5E0 45%, var(--gold-light) 70%, var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
  animation: textShimmer 5s ease-in-out 2s infinite;
}

.hero-ampersand {
  font-size: clamp(48px, 8vw, 80px);
  color: var(--gold);
  margin: -8px 0;
  font-family: var(--font-heading);
  text-shadow: 0 0 40px rgba(201,168,76,0.6), 0 0 80px rgba(201,168,76,0.3);
  animation: heroReveal 1.6s 0.6s both ease-out;
  display: inline-block;
}

.hero-date {
  font-size: clamp(22px, 3vw, 30px);
  color: var(--text);
  margin-top: 14px;
  font-weight: 400;
  letter-spacing: 0.06em;
  animation: heroReveal 1.6s 0.9s both ease-out;
}

.hero-date .gold { color: var(--gold); font-weight: 500; }

.hero-badge {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sage);
  border: 1px solid rgba(143,175,127,0.3);
  padding: 10px 28px;
  border-radius: 100px;
  margin-top: 24px;
  animation: heroReveal 1.6s 1.2s both ease-out;
  position: relative;
  overflow: hidden;
}

.hero-badge::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(143,175,127,0.08), transparent);
  animation: badgeSweep 3s ease-in-out infinite;
}

@keyframes badgeSweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

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

/* ── Hero floating orbs ── */
.hero-orbs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(201,168,76,0.12), transparent 70%);
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb:nth-child(1) { width: 160px; height: 160px; left: 3%; top: 8%; animation-duration: 7s; }
.hero-orb:nth-child(2) { width: 120px; height: 120px; right: 8%; top: 45%; animation-duration: 9s; animation-delay: 1.2s; background: radial-gradient(circle at 30% 30%, rgba(201,168,76,0.08), transparent 70%); }
.hero-orb:nth-child(3) { width: 200px; height: 200px; left: 10%; bottom: 8%; animation-duration: 11s; animation-delay: 2.4s; }
.hero-orb:nth-child(4) { width: 90px; height: 90px; right: 22%; top: 12%; animation-duration: 6s; animation-delay: 0.6s; background: radial-gradient(circle at 30% 30%, rgba(143,175,127,0.08), transparent 70%); }
.hero-orb:nth-child(5) { width: 130px; height: 130px; left: 55%; top: 0%; animation-duration: 10s; animation-delay: 3s; }
.hero-orb:nth-child(6) { width: 100px; height: 100px; right: 3%; top: 3%; animation-duration: 8.5s; animation-delay: 1.8s; }
.hero-orb:nth-child(7) { width: 120px; height: 120px; left: 72%; bottom: 12%; animation-duration: 7.5s; animation-delay: 0.3s; }
.hero-orb:nth-child(8) { width: 70px; height: 70px; left: 35%; top: 78%; animation-duration: 9.5s; animation-delay: 2s; background: radial-gradient(circle at 30% 30%, rgba(201,168,76,0.08), transparent 70%); }

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.4; }
  25% { transform: translateY(-20px) scale(1.15); opacity: 0.8; }
  50% { transform: translateY(10px) scale(0.95); opacity: 0.5; }
  75% { transform: translateY(-12px) scale(1.08); opacity: 0.65; }
}

/* ── Floating hearts ── */
.floating-hearts {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.floating-heart {
  position: absolute;
  font-size: 18px;
  opacity: 0;
  animation: heartFloat 14s linear infinite;
  color: var(--gold);
}

.floating-heart:nth-child(1) { left: 5%; animation-delay: 0s; font-size: 14px; }
.floating-heart:nth-child(2) { left: 20%; animation-delay: 3s; font-size: 10px; }
.floating-heart:nth-child(3) { left: 40%; animation-delay: 6s; font-size: 20px; }
.floating-heart:nth-child(4) { left: 60%; animation-delay: 2s; font-size: 12px; }
.floating-heart:nth-child(5) { left: 80%; animation-delay: 5s; font-size: 16px; }
.floating-heart:nth-child(6) { left: 92%; animation-delay: 7s; font-size: 11px; }

@keyframes heartFloat {
  0% { transform: translateY(100vh) rotate(0deg) scale(0.5); opacity: 0; }
  10% { opacity: 0.5; }
  50% { opacity: 0.3; transform: translateY(50vh) rotate(180deg) scale(1); }
  90% { opacity: 0.1; }
  100% { transform: translateY(-10vh) rotate(360deg) scale(0.3); opacity: 0; }
}

/* ── Countdown ── */
#countdown {
  background: var(--bg-alt);
}

.countdown-grid {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 90px;
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.countdown-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.countdown-number {
  font-family: var(--font-heading);
  font-size: clamp(48px, 8vw, 72px);
  color: var(--gold);
  line-height: 1;
}

.countdown-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
}

.countdown-sep {
  font-family: var(--font-heading);
  font-size: clamp(36px, 5vw, 52px);
  color: var(--gold);
  opacity: 0.15;
  align-self: center;
  padding-top: 0;
}

/* ── Schedule ── */
#schedule {
  background: var(--bg);
}

.timeline {
  position: relative;
  margin: 40px auto 0;
  max-width: 540px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--gold), var(--gold-light), var(--sage), transparent);
  opacity: 0.2;
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  position: relative;
  padding: 24px 0;
  transition: transform 0.3s ease;
}

.timeline-item:hover {
  transform: scale(1.02);
}

.timeline-time {
  flex: 1;
  text-align: right;
  font-size: 16px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.04em;
  padding-top: 4px;
}

.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-item:nth-child(even) .timeline-time { text-align: left; }

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--bg);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  margin-top: 4px;
  box-shadow: 0 0 20px rgba(201,168,76,0.2);
  animation: dotPulse 3s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 12px rgba(201,168,76,0.1); }
  50% { box-shadow: 0 0 28px rgba(201,168,76,0.25); }
}

.timeline-event {
  flex: 1;
  text-align: left;
  font-size: 17px;
  color: var(--text);
  font-weight: 400;
}

.timeline-item:nth-child(even) .timeline-event { text-align: right; }

/* ── Location ── */
#location {
  background: var(--bg-alt);
}

.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 48px 36px;
  margin-top: 32px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.location-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
  opacity: 0.3;
}

.location-icon {
  font-size: 48px;
  margin-bottom: 12px;
  display: block;
  opacity: 0.6;
}

.location-name {
  font-family: var(--font-heading);
  font-size: clamp(30px, 5vw, 44px);
  color: var(--gold);
  margin-bottom: 4px;
}

.location-address {
  font-size: 17px;
  color: var(--text-muted);
  font-weight: 300;
  line-height: 1.6;
}

.map-container {
  margin-top: 28px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 16/9;
  background: var(--bg-alt);
  box-shadow: var(--shadow-sm);
}

.map-container iframe { width: 100%; height: 100%; border: 0; }

.calendar-section { margin-top: 32px; }

.calendar-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 16px;
}

.calendar-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.calendar-btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.calendar-btn:hover {
  background: rgba(201,168,76,0.06);
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.calendar-btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-color: var(--gold);
  color: #2C2418;
}

.calendar-btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 6px 24px rgba(201,168,76,0.15);
}

/* ── RSVP ── */
#rsvp {
  background: var(--bg);
}

.rsvp-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--bg-card);
  cursor: pointer;
  margin: 24px 0 12px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.rsvp-seal::before {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1.5px dashed var(--border);
  animation: sealSpin 20s linear infinite;
}

@keyframes sealSpin {
  to { transform: rotate(360deg); }
}

.rsvp-seal::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent, var(--gold), transparent, var(--gold-light), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.rsvp-seal:hover::after {
  opacity: 0.15;
  animation: sealSpin 2s linear infinite;
}

.rsvp-seal:hover {
  transform: scale(1.08);
  border-color: var(--gold-light);
  box-shadow: var(--shadow-lg);
}

.rsvp-seal-inner {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--gold);
  z-index: 1;
}

.rsvp-arrow-svg {
  width: 22px; height: 22px;
  animation: rsvpBounce 2s ease-in-out infinite;
}

.rsvp-arrow-svg path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes rsvpBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ── Panda Photo ── */
#panda-photo {
  background: var(--bg-alt);
}

.panda-frame {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  position: relative;
}

.panda-frame::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 440px; height: 440px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, rgba(201,168,76,0.03) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pandaGlow 4s ease-in-out infinite alternate;
}

@keyframes pandaGlow {
  from { opacity: 0.2; transform: translate(-50%, -50%) scale(0.9); }
  to { opacity: 0.5; transform: translate(-50%, -50%) scale(1.1); }
}

.panda-polaroid {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 14px 24px;
  box-shadow: var(--shadow-md);
  max-width: 400px;
  width: 100%;
  transition: transform 0.6s ease, box-shadow 0.6s ease;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.panda-polaroid:hover {
  transform: scale(1.02) rotate(0.8deg);
  box-shadow: var(--shadow-lg);
}

.panda-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 922 / 1152;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-secondary);
}

.panda-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}

.panda-polaroid:hover .panda-image { transform: scale(1.05); }

.panda-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--gold);
}

.panda-caption-heart {
  color: var(--gold);
  font-size: 18px;
  animation: heartBeat 1.8s ease-in-out infinite;
  display: inline-block;
}

@keyframes heartBeat {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
}

/* ── Footer ── */
#footer {
  background: var(--bg);
  padding: 80px 24px;
  border-top: 1px solid var(--border);
}

.footer-names {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 60px);
  color: var(--gold);
  line-height: 1.2;
}

.footer-details {
  margin-top: 12px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 400;
}

.footer-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 20px auto;
  opacity: 0.3;
}

/* ════════════════════════════════════════════
   RSVP POPUP
   ════════════════════════════════════════════ */
#rsvp-popup {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(44, 36, 24, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 24px;
}

#rsvp-popup.open { opacity: 1; pointer-events: all; }

.rsvp-popup-content {
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 40px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s ease;
}

#rsvp-popup.open .rsvp-popup-content {
  transform: scale(1) translateY(0);
}

.rsvp-close {
  position: absolute;
  top: 16px; right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.rsvp-close:hover { color: var(--gold); background: rgba(201,168,76,0.08); }

.rsvp-popup-title {
  font-family: var(--font-heading);
  font-size: 38px;
  color: var(--gold);
  margin-bottom: 2px;
}

.rsvp-popup-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-label .required { color: var(--gold); margin-left: 2px; }

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.5);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201,168,76,0.08);
}

.form-input::placeholder { color: var(--text-light); opacity: 0.6; }

.form-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-radio {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.form-radio:hover { background: rgba(201,168,76,0.04); }

.form-radio input[type="radio"] {
  appearance: none;
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-radius: 50%;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s ease;
}

.form-radio input[type="radio"]:checked { border-color: var(--gold); }

.form-radio input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  inset: 4px;
  background: var(--gold);
  border-radius: 50%;
}

.form-radio-label { font-size: 15px; color: var(--text); font-weight: 400; }

.form-submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none;
  border-radius: 14px;
  color: #2C2418;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.04em;
  margin-top: 8px;
  box-shadow: 0 4px 16px rgba(201,168,76,0.15);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,168,76,0.2);
}

.form-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.form-error {
  color: var(--rose);
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.form-input.error { border-color: var(--rose); }

/* ════════════════════════════════════════════
   SCROLL REVEAL
   ════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-scale {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.9s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }
.reveal-d5 { transition-delay: 0.5s; }
.reveal-d6 { transition-delay: 0.6s; }
.reveal-d7 { transition-delay: 0.7s; }

/* ── Audio Button ── */
#audio-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  color: var(--gold);
  box-shadow: var(--shadow-sm);
}

#audio-btn.visible { opacity: 1; visibility: visible; }

#audio-btn:hover {
  border-color: var(--gold);
  box-shadow: 0 4px 24px rgba(201,168,76,0.12);
  transform: scale(1.08);
}

#audio-btn svg { width: 20px; height: 20px; }

/* ════════════════════════════════════════════
   RESPONSIVE
   ════════════════════════════════════════════ */
@media (max-width: 768px) {
  .section { padding: 60px 20px; }

  .entry-letter { width: 300px; height: 400px; }
  .entry-moon { width: 90px; height: 90px; top: 3%; right: 4%; }
  .entry-glow { width: 300px; height: 300px; }
  .entry-ring { display: none; }
  .letter-inside-title { font-size: 38px; }
  .letter-title { font-size: 28px; }
  .letter-card { padding: 32px 24px; }

  .countdown-grid { gap: 14px; }
  .countdown-item { min-width: 70px; padding: 16px 12px; }
  .countdown-sep { display: none; }

  .timeline::before { left: 12px; }
  .timeline-item,
  .timeline-item:nth-child(even) {
    flex-direction: row;
    padding-left: 36px;
  }
  .timeline-time,
  .timeline-item:nth-child(even) .timeline-time { text-align: left; font-size: 14px; flex: 0 0 auto; }
  .timeline-dot { position: absolute; left: 6px; width: 12px; height: 12px; margin-top: 6px; }
  .timeline-event,
  .timeline-item:nth-child(even) .timeline-event { text-align: left; font-size: 15px; }

  .calendar-buttons { flex-direction: column; align-items: center; }
  .rsvp-popup-content { padding: 32px 24px; }

  .panda-polaroid { max-width: 320px; }
  .panda-caption { font-size: 16px; gap: 8px; }
}

@media (max-width: 480px) {
  .entry-letter { width: 260px; height: 360px; }
  .letter-card { padding: 24px 18px; }
  .entry-moon { width: 60px; height: 60px; top: 2%; right: 4%; }
  .entry-glow { width: 300px; height: 300px; }
  .letter-inside-title { font-size: 34px; }
  .letter-title { font-size: 24px; }

  .countdown-grid { gap: 10px; }
  .countdown-item { min-width: 60px; padding: 12px 8px; }
  .countdown-number { font-size: 34px; }

  .rsvp-popup-content { padding: 24px 18px; }

  .panda-polaroid { max-width: 280px; }
  .panda-caption { font-size: 14px; flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal, .reveal-scale, .reveal-left, .reveal-right { opacity: 1; transform: none; }
}
