/* Custom Styles for Tsuki's Odyssey Landing Page */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Prompt:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --color-primary: #3A6351;
  --color-primary-light: #4E8752;
  --color-accent: #E07A5F;
  --color-bg-cream: #FDFBF7;
  --color-bg-sage: #F0F4F1;
  --color-wood: #8B5A2B;
  --color-wood-light: #D4A373;
  --font-heading: 'Fredoka', 'Prompt', sans-serif;
  --font-body: 'Prompt', sans-serif;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-cream);
  color: #2D3748;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: var(--font-heading);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #F0F4F1;
}
::-webkit-scrollbar-thumb {
  background: #A3B18A;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #588157;
}

/* Floating animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

@keyframes float-reverse {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(10px) rotate(-1.5deg);
  }
}

@keyframes pulse-subtle {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.92;
  }
}

@keyframes leaf-drift {
  0% {
    transform: translateY(-10px) translateX(0) rotate(0deg);
    opacity: 0;
  }
  20% {
    opacity: 0.8;
  }
  80% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(100vh) translateX(50px) rotate(360deg);
    opacity: 0;
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-float-slow {
  animation: float-reverse 8s ease-in-out infinite;
}

.animate-pulse-subtle {
  animation: pulse-subtle 3s ease-in-out infinite;
}

/* Custom Glassmorphism Card */
.glass-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(230, 235, 228, 0.8);
  box-shadow: 0 10px 30px -5px rgba(58, 99, 81, 0.08);
}

.glass-nav {
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(220, 228, 218, 0.6);
}

/* Cozy Wood Textures & Accents */
.wood-badge {
  background: linear-gradient(135deg, #8B5A2B 0%, #6E4520 100%);
  color: #FFF;
  box-shadow: 0 4px 12px rgba(139, 90, 43, 0.25);
}

.wood-button {
  background: linear-gradient(135deg, #4E8752 0%, #3A6351 100%);
  color: #FFF;
  box-shadow: 0 4px 14px rgba(58, 99, 81, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wood-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(58, 99, 81, 0.4);
  background: linear-gradient(135deg, #58965C 0%, #42705C 100%);
}

.wood-button-accent {
  background: linear-gradient(135deg, #E07A5F 0%, #D15F41 100%);
  color: #FFF;
  box-shadow: 0 4px 14px rgba(224, 122, 95, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.wood-button-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(224, 122, 95, 0.45);
  background: linear-gradient(135deg, #E5876E 0%, #D86B4D 100%);
}

/* Gallery Grid Image Zoom Effect */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(58, 99, 81, 0.18);
}

.gallery-item img {
  transition: transform 0.5s ease;
}

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

/* Play Overlay Badge */
.play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  background: rgba(224, 122, 95, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}

.gallery-item:hover .play-badge {
  transform: translate(-50%, -50%) scale(1.15);
  background: rgba(224, 122, 95, 1);
}

/* Lightbox Modal Animation */
#lightboxModal {
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#lightboxModal.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#lightboxModal:not(.hidden) {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lightbox-content {
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#lightboxModal:not(.hidden) .lightbox-content {
  transform: scale(1);
}

/* Mobile Menu Animation */
#mobileMenu {
  transition: max-height 0.35s ease-in-out, opacity 0.3s ease;
}

#mobileMenu.hidden {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
}

#mobileMenu:not(.hidden) {
  max-height: 400px;
  opacity: 1;
}
