@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

/* Custom styles */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.mesh-gradient {
  background-color: #ffffff;
  background-image: radial-gradient(at 80% 0%, hsla(19,100%,91%,1) 0px, transparent 50%),
    radial-gradient(at 0% 50%, hsla(218,36%,95%,1) 0px, transparent 50%);
}

/* Marquee animations */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-marquee {
  animation: marquee 40s linear infinite;
}

@keyframes marquee-rtl {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-ltr {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .animate-\[marquee-rtl_50s_linear_infinite\],
  .animate-\[marquee-ltr_50s_linear_infinite\] {
    animation: none !important;
  }
}
.hover\:pause:hover {
  animation-play-state: paused;
}

/* Video modal */
.video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.video-modal.is-open {
  display: flex;
  opacity: 1;
}
.video-modal__inner {
  position: relative;
  width: 90vw;
  max-width: 960px;
  aspect-ratio: 16 / 9;
}
.video-modal__close {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  padding: 4px 8px;
}
.video-modal__close:hover {
  color: #f06422;
}
.video-modal iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 12px;
}
