
/* =============================================
   LOCAL FONTS — ZOO THEME
   ============================================= */

@font-face {
  font-family: 'Jungle Fresh';
  src: url('font/Jungle Fresh.woff') format('woff'),
       url('font/Jungle Fresh.ttf') format('truetype'),
       url('font/Jungle Fresh.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Wood Island';
  src: url('font/wood island-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --font-display: 'Jungle Fresh', 'Fredoka One', cursive;
  --font-accent:  'Jungle Fresh', 'Fredoka One', cursive;
  --font-body:    'Nunito', sans-serif;
  --font-label:   'Wood Island', 'Boogaloo', cursive;
  --orange:      #ff6b35;
  --orange-dark: #e85a20;
  --yellow:      #ffe033;
  --yellow-soft: #fff3a0;
  --green:       #4caf50;
  --green-dark:  #2e7d32;
  --green-deep:  #1b5e20;
  --teal:        #00897b;
  --brown:       #6d4c41;
  --sky:         #29b6f6;
  --purple:      #ab47bc;
  --white:       #fff;
  --cream:       #fffbf0;
  --text:        #2d2d2d;
  --text-mid:    #5a5a5a;
  --shadow:      0 8px 32px rgba(0,0,0,0.14);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.22);
  --radius:      20px;
  --radius-sm:   12px;
  --radius-lg:   28px;
}

/* =============================================
   BASE RESET
   ============================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

::selection {
  background: var(--orange);
  color: white;
}

/* =============================================
   CONFETTI CANVAS
   ============================================= */
#confetti-canvas {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 9999;
}

/* =============================================
   HERO — FULL VIDEO BACKGROUND
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 70px 20px 100px;
  text-align: center;
}

/* --- Video layer --- */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(1.2) brightness(0.82);
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(10,40,15,0.3) 0%, rgba(5,20,8,0.75) 100%),
    linear-gradient(180deg,
      rgba(15,50,20,0.5) 0%,
      rgba(10,35,15,0.35) 50%,
      rgba(5,20,8,0.72) 100%);
}

/* --- Hero inner wrapper --- */
.hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

/* --- Zoo tag --- */
.hero-tag-row { margin-bottom: 4px; }

.zoo-tag {
  display: inline-block;
  background: linear-gradient(90deg, #ff6b35, #ffe033, #ff9035, #ffe033, #ff6b35);
  background-size: 300% auto;
  animation: tagShimmer 3s linear infinite;
  color: #1a1a1a;
  font-family: var(--font-label);
  font-size: 0.95rem;
  padding: 7px 22px;
  border-radius: 100px;
  letter-spacing: 2px;
  box-shadow: 0 4px 20px rgba(255,107,53,0.55), 0 0 0 3px rgba(255,224,51,0.3);
}

@keyframes tagShimmer {
  from { background-position: 0% center; }
  to   { background-position: 300% center; }
}

/* --- Glassmorphism card --- */
.hero-glass-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-lg);
  padding: 30px 28px 22px;
  width: 100%;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.25),
    0 0 0 1px rgba(255,224,51,0.12);
  animation: cardFadeIn 0.9s cubic-bezier(0.34,1.56,0.64,1) both;
  position: relative;
}

/* Animated gradient border glow */
.hero-glass-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255,107,53,0.5), rgba(255,224,51,0.4), rgba(76,175,80,0.3), rgba(255,107,53,0.5));
  background-size: 300% 300%;
  animation: borderGlow 4s linear infinite;
  z-index: -1;
  filter: blur(4px);
  opacity: 0.7;
}

@keyframes borderGlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- Vertical centered layout inside card --- */
.hero-card-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 20px;
}

/* --- Text block --- */
.hero-text-block {
  width: 100%;
  text-align: center;
}

.invite-line {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.88);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.hero-name {
  font-family: var(--font-label);
  font-size: clamp(3rem, 9vw, 4.8rem);
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.0;
  text-shadow:
    2px 4px 0px rgba(0,0,0,0.4),
    0 0 30px rgba(255,224,51,0.5),
    0 0 60px rgba(255,107,53,0.3);
  margin-bottom: 12px;
  letter-spacing: 2px;
  animation: nameGlow 3s ease-in-out infinite;
}

@keyframes nameGlow {
  0%, 100% { text-shadow: 2px 4px 0px rgba(0,0,0,0.4), 0 0 30px rgba(255,224,51,0.5), 0 0 60px rgba(255,107,53,0.3); }
  50%       { text-shadow: 2px 4px 0px rgba(0,0,0,0.4), 0 0 50px rgba(255,224,51,0.8), 0 0 90px rgba(255,107,53,0.5); }
}

.age-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, var(--orange), #ff9035);
  color: white;
  padding: 8px 20px;
  border-radius: 100px;
  margin: 0 0 12px;
  box-shadow: 0 6px 24px rgba(255,107,53,0.6), 0 0 0 4px rgba(255,107,53,0.15);
  animation: agePop 2s ease-in-out infinite;
}

@keyframes agePop {
  0%, 100% { transform: scale(1) rotate(-1deg); }
  50%       { transform: scale(1.06) rotate(1deg); }
}

.age-num {
  font-family: var(--font-accent);
  font-size: 2.8rem;
  line-height: 1;
}

.age-st {
  font-size: 1.2rem;
  font-weight: 800;
  align-self: flex-start;
  margin-top: 5px;
}

.age-word {
  font-family: var(--font-accent);
  font-size: 1.8rem;
}

.hero-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.88);
  font-weight: 700;
  margin-bottom: 14px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  letter-spacing: 0.5px;
}

/* --- Quick info pills --- */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.pill {
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.32);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  white-space: nowrap;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  transition: all 0.25s ease;
  letter-spacing: 0.3px;
}

.pill:hover {
  background: rgba(255,224,51,0.25);
  border-color: rgba(255,224,51,0.5);
  transform: translateY(-2px);
}

/* Media controls */
.media-controls {
  position: absolute;
  bottom: 88px;
  right: 16px;
  display: flex;
  gap: 12px;
  z-index: 4;
}

.media-control-btn {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.28);
  backdrop-filter: blur(10px);
  color: white;
  font-size: 1rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.25s ease;
}

.media-control-btn:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.12);
}

/* --- Hero bottom wave --- */
.hero-wave-bottom {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  line-height: 0;
  pointer-events: none;
}

.hero-wave-bottom svg { width: 100%; height: 60px; display: block; }

/* Floating animal decorations */
.animal-float {
  position: absolute;
  pointer-events: none;
  animation: animalFloat ease-in-out infinite;
  z-index: 1;
}

.animal-float img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(2px 4px 10px rgba(0,0,0,0.3));
}

.af-lion     { width: 90px;  top: 5%;  left: 2%;  animation-duration: 4s;   animation-delay: 0s; }
.af-elephant { width: 100px; top: 10%; right: 3%; animation-duration: 5s;   animation-delay: 1s; }
.af-giraffe  { width: 80px;  bottom: 14%; left: 2%;  animation-duration: 4.5s; animation-delay: 0.5s; }
.af-tiger    { width: 90px;  bottom: 10%; right: 3%; animation-duration: 3.5s; animation-delay: 1.5s; }
.af-panda    { width: 75px;  top: 48%;  left: 1%;  animation-duration: 6s;   animation-delay: 0.3s; }
.af-penguin  { width: 70px;  top: 42%;  right: 2%; animation-duration: 4s;   animation-delay: 2s; }

@keyframes animalFloat {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50%       { transform: translateY(-18px) rotate(4deg); }
}

/* Photo frame */
.photo-frame {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.frame-rail {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 4px dashed var(--orange);
  animation: railSpin 10s linear infinite;
  z-index: 0;
  opacity: 0.85;
}

/* Second rail ring */
.frame-rail::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 2px dashed rgba(255,224,51,0.5);
  animation: railSpin 6s linear infinite reverse;
}

@keyframes railSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero-photo {
  width: clamp(160px, 38vw, 220px);
  height: clamp(160px, 38vw, 220px);
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 5px solid var(--yellow);
  position: relative;
  z-index: 1;
  box-shadow:
    0 0 0 4px rgba(255,107,53,0.3),
    0 12px 40px rgba(0,0,0,0.35);
  animation: photoRock 3s ease-in-out infinite;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

@keyframes photoRock {
  0%, 100% { transform: rotate(-2deg) scale(1); }
  50%       { transform: rotate(2deg) scale(1.02); }
}

.paw-deco {
  position: absolute;
  animation: pawWiggle 2.5s ease-in-out infinite;
  z-index: 2;
}

.paw-deco img {
  object-fit: contain;
  filter: drop-shadow(1px 2px 6px rgba(0,0,0,0.25));
}

.pp1 { width: 54px; top: -22px; right: 0px;   animation-delay: 0s; }
.pp2 { width: 50px; bottom: -12px; right: -20px; animation-delay: 0.8s; }
.pp3 { width: 50px; bottom: -12px; left: -20px;  animation-delay: 1.6s; }

@keyframes pawWiggle {
  0%, 100% { transform: scale(0.88) rotate(-12deg); }
  50%       { transform: scale(1.12) rotate(12deg); }
}

/* Animals row */
.hero-animals-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 8px;
  margin-top: 14px;
  padding: 10px 0 4px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-animals-row img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  filter: drop-shadow(1px 2px 6px rgba(0,0,0,0.2));
  animation: animalBounce 1.6s ease-in-out infinite;
  transition: transform 0.2s ease;
}

.hero-animals-row img:hover { transform: scale(1.3) rotate(10deg); }
.hero-animals-row img:nth-child(1) { animation-delay: 0s; }
.hero-animals-row img:nth-child(2) { animation-delay: 0.27s; }
.hero-animals-row img:nth-child(3) { animation-delay: 0.54s; }
.hero-animals-row img:nth-child(4) { animation-delay: 0.81s; }
.hero-animals-row img:nth-child(5) { animation-delay: 1.08s; }
.hero-animals-row img:nth-child(6) { animation-delay: 1.35s; }

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

/* =============================================
   SECTION LABELS & TITLES
   ============================================= */
.section-label {
  font-family: var(--font-label);
  font-size: 1rem;
  color: var(--orange);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: block;
  text-align: center;
}

.section-label.light { color: var(--yellow); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.5vw, 2.7rem);
  color: var(--green-dark);
  text-align: center;
  margin: 0 auto 28px;
  line-height: 1.15;
  position: relative;
  display: block;
  width: fit-content;
}

/* Decorative underline on section titles */
.section-title::after {
  content: '';
  display: block;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--orange), var(--yellow), var(--orange), transparent);
  margin: 8px auto 0;
  border-radius: 2px;
  animation: titleUnderline 3s ease-in-out infinite;
}

@keyframes titleUnderline {
  0%, 100% { width: 60%; opacity: 1; }
  50%       { width: 85%; opacity: 0.7; }
}

.section-title.light { color: var(--white); }
.section-title.light::after {
  background: linear-gradient(90deg, transparent, rgba(255,224,51,0.8), white, rgba(255,224,51,0.8), transparent);
}

/* =============================================
   DETAILS SECTION
   ============================================= */
.details-section {
  padding: 52px 20px 60px;
  background:
    radial-gradient(ellipse at bottom right, rgba(255,107,53,0.08) 0%, transparent 60%),
    linear-gradient(180deg, #f0faf0 0%, var(--cream) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Decorative jungle dots */
.details-section::before {
  content: '🌿 🌴 🌿 🌴 🌿 🌴 🌿 🌴 🌿 🌴 🌿';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.3rem;
  white-space: nowrap;
  opacity: 0.3;
  letter-spacing: 8px;
  pointer-events: none;
}

.details-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
}

.det-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px 16px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--orange);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
  cursor: default;
}

/* Shine effect on cards */
.det-card::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 50%; height: 200%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  pointer-events: none;
}

.det-card:hover::after { left: 120%; }

.det-card:nth-child(2) { border-top-color: var(--green); }
.det-card:nth-child(3) { border-top-color: var(--sky); }
.det-card:nth-child(4) { border-top-color: var(--purple); }

.det-card:hover {
  transform: translateY(-10px) rotate(0.5deg);
  box-shadow: 0 24px 60px rgba(0,0,0,0.18);
}

.det-animal-img {
  position: absolute;
  top: -20px; right: 8px;
  width: 68px; height: 68px;
  z-index: 2;
}

.det-animal-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(1px 2px 6px rgba(0,0,0,0.2));
  animation: detAnimalPeek 3s ease-in-out infinite;
}

@keyframes detAnimalPeek {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50%       { transform: translateY(-8px) rotate(6deg); }
}

.det-icon { font-size: 2.2rem; margin-bottom: 8px; }

.det-card h3 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #aaa;
  font-weight: 800;
  margin-bottom: 6px;
}

.det-main {
  font-family: var(--font-accent);
  font-size: 1.25rem;
  color: var(--text);
  line-height: 1.2;
  font-weight: 700;
}

.det-sub {
  font-size: 0.8rem;
  color: var(--text-mid);
  font-weight: 700;
  margin-top: 4px;
}

/* =============================================
   TRACK DIVIDER
   ============================================= */
.track-divider {
  height: 22px;
  position: relative;
  background: var(--brown);
  margin: 0;
  box-shadow: 0 3px 12px rgba(0,0,0,0.2);
}

.track-line {
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, #3a2218, #5a3825, #3a2218);
  transform: translateY(-50%);
}

.track-ties {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    #5d4037 0px,
    #5d4037 22px,
    transparent 22px,
    transparent 44px
  );
  opacity: 0.65;
}

/* =============================================
   GALLERY
   ============================================= */
.gallery-section {
  padding: 52px 20px 60px;
  background:
    radial-gradient(ellipse at top center, rgba(76,175,80,0.15) 0%, transparent 70%),
    linear-gradient(180deg, #e8f5e9 0%, #dcedc8 100%);
  text-align: center;
  position: relative;
}

/* Floating leaf accents in gallery bg */
.gallery-section::before, .gallery-section::after {
  content: '🍃';
  position: absolute;
  font-size: 6rem;
  opacity: 0.07;
  pointer-events: none;
}
.gallery-section::before { top: 20px; left: -10px; transform: rotate(-30deg); }
.gallery-section::after  { bottom: 20px; right: -10px; transform: rotate(30deg); }

/* Roaming animals above gallery */
.gallery-animals {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  max-width: 860px;
  margin: 0 auto 18px;
  padding: 0 20px;
}

.ga-animal {
  height: 75px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(2px 3px 6px rgba(0,0,0,0.2));
  animation: animalBounce 2.2s ease-in-out infinite;
}

.ga1 { animation-delay: 0s; }
.ga2 { animation-delay: 0.4s; }
.ga3 { animation-delay: 0.8s; }
.ga4 { animation-delay: 1.2s; }

.gallery-zoo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  max-width: 960px;
  margin: 0 auto;
}

@media (min-width: 650px) {
  .gallery-zoo {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

/* Polaroid-style gallery cards */
.zoo-cage {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  box-shadow:
    var(--shadow),
    0 0 0 4px rgba(255,255,255,0.8);
  height: 250px;
  background: #333;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.35s ease;
}

.zoo-cage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, transparent 60%);
  z-index: 2;
  pointer-events: none;
}

.zoo-cage:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 24px 60px rgba(0,0,0,0.25), 0 0 0 4px var(--yellow);
}

.zoo-cage img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
  display: block;
}

.zoo-cage:hover img { transform: scale(1.1); }

.cage-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(20,70,20,0.92));
  color: white;
  font-family: var(--font-label);
  font-size: 1rem;
  padding: 28px 12px 10px;
  z-index: 3;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
  letter-spacing: 0.5px;
}

.zoo-cage:hover .cage-label { transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  backdrop-filter: blur(8px);
}

.lightbox.active { display: flex; animation: lbFadeIn 0.3s ease; }

@keyframes lbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius);
  border: 5px solid var(--yellow);
  box-shadow: 0 0 60px rgba(255,224,51,0.3);
}

.lb-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  font-size: 1.3rem;
  width: 46px; height: 46px;
  border-radius: 50%; cursor: pointer;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
}
.lb-close:hover { background: rgba(255,107,53,0.6); transform: rotate(90deg); }

.lb-nav {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 2.5rem;
  width: 52px; height: 52px;
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
}
.lb-nav:hover { background: rgba(255,255,255,0.3); transform: translateY(-50%) scale(1.1); }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }

/* =============================================
   COUNTDOWN
   ============================================= */
.countdown-section {
  padding: 56px 20px 60px;
  background:
    radial-gradient(ellipse at center, #2e7d32 0%, #1b5e20 55%, #0d3b10 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Radial glow pulse behind countdown */
.countdown-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,224,51,0.08) 0%, transparent 70%);
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  animation: cdGlow 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes cdGlow {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.2); }
}

.countdown-bg-animals {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  opacity: 0.1;
  pointer-events: none;
  overflow: hidden;
}

.countdown-bg-animals img {
  height: 100px; width: auto;
  object-fit: contain;
  filter: brightness(10);
}

.countdown-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.cd-item {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
  padding: 22px 26px;
  min-width: 90px;
  border: 2px solid rgba(255,224,51,0.3);
  box-shadow: 0 0 30px rgba(255,224,51,0.08), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: transform 0.3s ease;
}

.cd-item:hover { transform: translateY(-6px) scale(1.05); }

.cd-val {
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: var(--yellow);
  line-height: 1;
  text-shadow:
    0 0 20px rgba(255,224,51,0.6),
    0 0 40px rgba(255,224,51,0.3);
  animation: numPulse 1s ease-in-out infinite;
}

@keyframes numPulse {
  0%, 100% { text-shadow: 0 0 20px rgba(255,224,51,0.6), 0 0 40px rgba(255,224,51,0.3); }
  50%       { text-shadow: 0 0 30px rgba(255,224,51,0.9), 0 0 60px rgba(255,224,51,0.5); }
}

.cd-lbl {
  color: rgba(255,255,255,0.75);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 6px;
}

.cd-dot {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--yellow);
  padding-bottom: 16px;
  align-self: flex-start;
  padding-top: 18px;
  text-shadow: 0 0 16px rgba(255,224,51,0.5);
  animation: dotBlink 1s step-end infinite;
}

@keyframes dotBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.2; }
}

/* =============================================
   MESSAGE SECTION
   ============================================= */
.message-section {
  padding: 56px 20px 60px;
  background:
    radial-gradient(ellipse at top, rgba(255,107,53,0.05) 0%, transparent 60%),
    white;
  text-align: center;
}

.msg-card {
  max-width: 640px;
  margin: 0 auto;
  background: linear-gradient(135deg, #f9fbe7 0%, #e8f5e9 60%, #f1f8e9 100%);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(76,175,80,0.2);
  position: relative;
  overflow: hidden;
}

/* Big quote mark decoration */
.msg-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-family: Georgia, serif;
  font-size: 8rem;
  color: rgba(76,175,80,0.12);
  line-height: 1;
  pointer-events: none;
}

.msg-card::after {
  content: '"';
  position: absolute;
  bottom: -40px;
  right: 20px;
  font-family: Georgia, serif;
  font-size: 8rem;
  color: rgba(76,175,80,0.12);
  line-height: 1;
  pointer-events: none;
}

.msg-animals-top,
.msg-animals-bottom {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 16px;
}

.msg-animals-bottom {
  margin-top: 16px;
  margin-bottom: 0;
}

.msg-animals-top img,
.msg-animals-bottom img {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(1px 2px 4px rgba(0,0,0,0.15));
  animation: animalBounce 2.2s ease-in-out infinite;
  transition: transform 0.2s ease;
}

.msg-animals-top img:hover,
.msg-animals-bottom img:hover { transform: scale(1.25) rotate(10deg); }

.msg-animals-top img:nth-child(2) { animation-delay: 0.4s; }
.msg-animals-top img:nth-child(3) { animation-delay: 0.8s; }
.msg-animals-bottom img:nth-child(2) { animation-delay: 0.4s; }
.msg-animals-bottom img:nth-child(3) { animation-delay: 0.8s; }

.msg-text {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-mid);
  font-weight: 600;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.msg-text strong { color: var(--orange); font-weight: 800; }

.msg-sig {
  font-family: var(--font-label);
  font-size: 1.4rem;
  color: var(--text);
  margin-top: 16px;
  padding-top: 12px;
  border-top: 2px dashed rgba(76,175,80,0.3);
}

.msg-sig span { color: var(--orange); }

/* =============================================
   RSVP
   ============================================= */
.rsvp-section {
  padding: 56px 20px 60px;
  background:
    radial-gradient(ellipse at top center, #243060 0%, #1a1a2e 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Star particles background */
.rsvp-section::before {
  content: '✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦ ✧ ✦';
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1rem;
  white-space: nowrap;
  opacity: 0.15;
  color: var(--yellow);
  letter-spacing: 10px;
  pointer-events: none;
}

.rsvp-deadline {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.rsvp-card {
  max-width: 520px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  border-top: 6px solid var(--orange);
  position: relative;
  overflow: hidden;
}

/* Top shine on RSVP card */
.rsvp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--yellow), var(--green), var(--orange));
  background-size: 200% auto;
  animation: rsvpBar 3s linear infinite;
}

@keyframes rsvpBar {
  from { background-position: 0% center; }
  to   { background-position: 200% center; }
}

.rsvp-animals-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 20px;
}

.rsvp-animals-row img {
  height: 54px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(1px 2px 4px rgba(0,0,0,0.15));
  animation: animalBounce 2s ease-in-out infinite;
}

.rsvp-animals-row img:nth-child(1) { animation-delay: 0s; }
.rsvp-animals-row img:nth-child(2) { animation-delay: 0.3s; }
.rsvp-animals-row img:nth-child(3) { animation-delay: 0.6s; }
.rsvp-animals-row img:nth-child(4) { animation-delay: 0.9s; }
.rsvp-animals-row img:nth-child(5) { animation-delay: 1.2s; }

.rsvp-form { display: flex; flex-direction: column; gap: 15px; }

.fg { display: flex; flex-direction: column; gap: 6px; text-align: left; }

.fg label {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--text);
}

.fg input,
.fg select,
.fg textarea {
  padding: 12px 15px;
  border: 2px solid #e0e8e0;
  border-radius: var(--radius-sm);
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  outline: none;
  transition: all 0.25s ease;
  background: #f8fff6;
}

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(76,175,80,0.12);
  background: white;
}

.fg textarea { resize: vertical; min-height: 75px; }

.radio-row { display: flex; gap: 10px; flex-wrap: wrap; }

.rc { flex: 1; min-width: 140px; cursor: pointer; }
.rc input[type="radio"] { display: none; }

.rc span {
  display: block;
  padding: 12px;
  border: 2px solid #e0e8e0;
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 700;
  font-size: 0.88rem;
  transition: all 0.25s ease;
  background: #f8fff6;
  color: var(--text-mid);
}

.rc input:checked + span {
  border-color: var(--green);
  background: linear-gradient(135deg, #e8f5e9, #f1f8e9);
  color: var(--green-dark);
  box-shadow: 0 4px 14px rgba(76,175,80,0.2);
}

/* RSVP button with shimmer */
.rsvp-btn {
  background: linear-gradient(135deg, var(--orange), #ff9035, var(--orange));
  background-size: 200% auto;
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 16px;
  font-family: var(--font-label);
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(255,107,53,0.45);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  letter-spacing: 1px;
  animation: btnShimmer 3s linear infinite;
}

@keyframes btnShimmer {
  from { background-position: 0% center; }
  to   { background-position: 200% center; }
}

.rsvp-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 36px rgba(255,107,53,0.55);
}

.rsvp-success { text-align: center; padding: 32px 16px; }

.success-anim {
  font-size: 4.5rem;
  animation: successPop 0.6s cubic-bezier(0.34,1.56,0.64,1);
  margin-bottom: 14px;
  display: block;
}

@keyframes successPop {
  0%   { transform: scale(0) rotate(-30deg); }
  70%  { transform: scale(1.3) rotate(10deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.rsvp-success h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.rsvp-success p {
  font-size: 1rem;
  color: var(--text-mid);
  font-weight: 700;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: linear-gradient(180deg, #111827 0%, #0d1117 100%);
  padding: 28px 20px 140px; /* extra bottom padding for car ride */
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--yellow), var(--green), var(--sky), var(--purple), var(--orange));
}

.footer-track { margin-bottom: 14px; }

.footer-track svg { width: 100%; height: 30px; }

.footer-animal-strip {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-animal-strip img {
  height: 54px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(1px 2px 4px rgba(255,255,255,0.12));
  animation: animalBounce 2.2s ease-in-out infinite;
  transition: transform 0.2s ease;
}

.footer-animal-strip img:hover { transform: scale(1.3) rotate(10deg); }

.footer-animal-strip img:nth-child(1) { animation-delay: 0s; }
.footer-animal-strip img:nth-child(2) { animation-delay: 0.2s; }
.footer-animal-strip img:nth-child(3) { animation-delay: 0.4s; }
.footer-animal-strip img:nth-child(4) { animation-delay: 0.6s; }
.footer-animal-strip img:nth-child(5) { animation-delay: 0.8s; }
.footer-animal-strip img:nth-child(6) { animation-delay: 1.0s; }
.footer-animal-strip img:nth-child(7) { animation-delay: 1.2s; }
.footer-animal-strip img:nth-child(8) { animation-delay: 1.4s; }

.footer-main {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: rgba(255,255,255,0.9);
}

.footer-contact {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  margin-bottom: 14px;
}

.footer-paws {
  font-size: 1.5rem;
  cursor: pointer;
  animation: pawsWave 2s ease-in-out infinite;
  display: inline-block;
}

@keyframes pawsWave {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.15) rotate(5deg); }
}

/* =============================================
   CAR RIDE — GROUND + RIGHT TO LEFT
   ============================================= */
.car-ride-wrap {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 130px;
  pointer-events: none;
  z-index: 9990;
  overflow: hidden;
}

/* Road strip */
.car-ride-wrap::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 28px;
  background: linear-gradient(180deg, #444 0%, #2a2a2a 100%);
}

/* Road dashes */
.car-ride-wrap::after {
  content: '';
  position: absolute;
  bottom: 10px; left: 0; right: 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    transparent 0, transparent 30px,
    rgba(255,224,51,0.6) 30px, rgba(255,224,51,0.6) 60px
  );
  animation: roadMove 0.6s linear infinite;
}

@keyframes roadMove {
  from { background-position: 0 0; }
  to   { background-position: 60px 0; }
}

.car-ride-img {
  position: absolute;
  bottom: 26px;
  right: -250px;
  height: 100px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(3px 5px 12px rgba(0,0,0,0.4));
  animation: carRide 12s linear infinite;
}

@keyframes carRide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-100vw - 500px)); }
}

@media (max-width: 480px) {
  .car-ride-img { height: 75px; }
  .car-ride-wrap { height: 100px; }
  .car-ride-wrap::before { height: 22px; }
}

/* =============================================
   SCROLL REVEAL ANIMATION
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.34,1.56,0.64,1);
}

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

/* =============================================
   FLOATING MUSIC BUTTON
   ============================================= */
.global-music-wrap {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 10000;
  animation: floatMusicBtn 3s ease-in-out infinite;
}

.global-music-btn {
  background: linear-gradient(135deg, var(--orange), #ff9035);
  border: 4px solid white;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  font-size: 2.2rem;
  color: white;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(255,107,53,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
  outline: none;
}

.global-music-btn:hover {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 15px 35px rgba(255,107,53,0.7);
}

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

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 480px) {
  .hero { padding: 24px 14px 28px; }

  .gallery-zoo { grid-template-columns: 1fr 1fr; }
  .zoo-cage { height: 180px; }

  .countdown-grid { gap: 8px; }
  .cd-item { padding: 16px 18px; min-width: 76px; }
  .cd-val { font-size: 2.4rem; }
  .cd-dot { font-size: 2rem; padding-top: 14px; }

  .msg-card { padding: 24px 18px; }
  .rsvp-card { padding: 20px 16px; }

  .det-card { padding: 18px 10px; }
  .details-cards { grid-template-columns: 1fr 1fr; }

  .hero-name { font-size: clamp(2.4rem, 10vw, 3.5rem); }

  .global-music-wrap { bottom: 20px; right: 20px; }
  .global-music-btn { width: 60px; height: 60px; font-size: 1.8rem; border-width: 3px; }
}
