/* HowDoo Splash Screen - Mobile Optimized */

/* Splash Screen Root Container */
.splash-root {
  position: fixed !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #3b82f6, #10b981) !important;
  z-index: 9999 !important;
  overflow: hidden !important;
  animation: fadeOut 0.8s ease-out 3.5s forwards !important;
}

.splash-content {
  text-align: center !important;
  color: white !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Owl Animation Wrapper */
.owl-wrapper {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  animation: owl-fly-down 1.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards !important;
}

/* Owl Image - Explicit Visibility */
.owl-image {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  width: 180px !important;
  height: auto !important;
  object-fit: contain !important;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3)) !important;
}

/* HowDoo Title - Explicit Visibility */
.splash-title {
  margin-top: 1.5rem !important;
  font-size: 3rem !important;
  font-weight: 900 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  color: white !important;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
  letter-spacing: 0.05em !important;
}

/* Tagline - Explicit Visibility */
.splash-tagline {
  margin-top: 0.75rem !important;
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: block !important;
  color: rgba(255, 255, 255, 0.95) !important;
}

/* Keyframe: Owl Flying Down Animation */
@keyframes owl-fly-down {
  0% {
    transform: translateY(-150px);
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Fade Out Animation for Splash Screen */
@keyframes fadeOut {
  0% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* Main App Fade In */
#main-app {
  opacity: 0;
  animation: fadeIn 0.8s ease-in-out 3.5s forwards;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Allow JavaScript to override */
body.splash-complete #main-app {
  opacity: 1 !important;
  animation: none !important;
}

/* Mobile Responsive - Tablet */
@media (max-width: 768px) {
  .owl-image {
    width: 140px !important;
  }
  .splash-title {
    font-size: 2.25rem !important;
  }
  .splash-tagline {
    font-size: 1rem !important;
  }
}

/* Mobile Responsive - Phone */
@media (max-width: 480px) {
  .owl-image {
    width: 120px !important;
  }
  .splash-title {
    font-size: 1.875rem !important;
  }
  .splash-tagline {
    font-size: 0.875rem !important;
  }
}

/* Override any Tailwind defaults */
.splash-root * {
  visibility: visible !important;
}
