@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700;800&display=swap');

/* Page Transition Slide Animation */
@keyframes pageSlideIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-slide-in {
  animation: pageSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  width: 100%;
}

/* Smooth Left Slide Animation */
@keyframes slideLeft {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-slide-left {
  animation: slideLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Left & Right Slides */
.reveal-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Delay classes */
.reveal-delay-100 { transition-delay: 100ms; }
.reveal-delay-200 { transition-delay: 200ms; }
.reveal-delay-300 { transition-delay: 300ms; }
.reveal-delay-400 { transition-delay: 400ms; }
.reveal-delay-500 { transition-delay: 500ms; }

/* VR Auto Panning CSS animation keyframes */
@keyframes pan-bg {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

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

/* ===== TOP ANNOUNCEMENT BAR STYLES & VISIBILITY ===== */
@keyframes topBarSlideDown {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes goldTextShimmer {
  0%, 100% {
    color: #f1b61e;
    text-shadow: 0 0 2px rgba(241, 182, 30, 0.3);
  }
  50% {
    color: #ffe699;
    text-shadow: 0 0 10px rgba(241, 182, 30, 0.7);
  }
}

.top-announcement-bar {
  background-color: #18160e !important;
  background-image: linear-gradient(90deg, #18160e 0%, #2A2418 50%, #18160e 100%) !important;
  border-bottom: 1px solid rgba(241, 182, 30, 0.25) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
  width: 100% !important;
  position: relative !important;
  z-index: 60 !important;
  animation: topBarSlideDown 0.5s ease-out forwards;
}

.top-announcement-container {
  max-width: 1440px !important;
  margin: 0 auto !important;
  min-height: 44px !important;
  height: 44px !important;
  padding: 0 32px !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  box-sizing: border-box !important;
}

.top-announcement-offer,
.top-announcement-call {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 8px !important;
  color: #FFFFFF !important;
  font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.2px !important;
  white-space: nowrap !important;
}

.top-bar-icon {
  width: 18px !important;
  height: 18px !important;
  color: #f1b61e !important;
  stroke: #f1b61e !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
}

.top-bar-text {
  color: #FFFFFF !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.gold-highlight {
  color: #f1b61e !important;
  font-weight: 700 !important;
  animation: goldTextShimmer 3s ease-in-out infinite;
}

.top-bar-phone {
  color: #f1b61e !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: color 0.25s ease, text-shadow 0.25s ease, transform 0.25s ease;
  display: inline-flex !important;
  align-items: center !important;
}

.top-bar-phone:hover {
  color: #FFFFFF !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* Mobile Responsive Layout */
@media (max-width: 639px) {
  .top-announcement-container {
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    height: auto !important;
    min-height: auto !important;
    padding: 8px 16px !important;
    gap: 4px !important;
  }
  .top-announcement-offer,
  .top-announcement-call {
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
  }
}
