@layer base {
  html, body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    -webkit-text-size-adjust: 100%;
  }
  body {
    overscroll-behavior-y: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    max-width: 100%;
  }
  .pb-safe {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .pt-safe {
    padding-top: env(safe-area-inset-top, 0px);
  }
}

/* Hide scrollbar */
::-webkit-scrollbar {
  display: none;
}
* {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Infinite Marquee Animation */
@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}
.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 24s linear infinite;
}
.animate-marquee:hover {
  animation-play-state: paused;
}

/* Gentle Floating Animations */
@keyframes floating {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(1deg); }
}
.animate-float {
  animation: floating 4.5s ease-in-out infinite;
}
.animate-float-delayed {
  animation: floating 5.2s ease-in-out 1.5s infinite;
}

/* Ambient Pulse Glow */
@keyframes glow {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(1.06); }
}
.animate-glow {
  animation: glow 6s ease-in-out infinite;
}

/* Scroll Reveal Classes */
.reveal-init {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mascot blend for eliminating background box */
.mascot-blend {
  mix-blend-mode: multiply;
}

/* Responsive Touch Utilities */
.touch-card {
  -webkit-tap-highlight-color: transparent;
}
