/* Custom Styles & Animations */

/* Ethereal glow for cinematic title effect */
.ethereal-glow {
  text-shadow: 0 0 30px rgba(60, 120, 255, 0.2), 0 0 50px rgba(60, 120, 255, 0.1);
}

/* Legacy Glow Text Effect */
.glow-text {
  text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

/* Fade Up Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp 1s ease-out forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #050508;
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Added breathing animation for the mobile menu triangle */
@keyframes breathe {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

.animate-pulse-slow {
  animation: breathe 4s ease-in-out infinite;
}

/* Added mobile menu specific styles */
.mobile-menu-overlay {
  /* Enforced solid black #000000 with no transparency or gradients </CHANGE> */
  background-color: #000000 !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  opacity: 0; /* Default state controlled by JS */
  z-index: 100; /* Ensure it's on top of everything */
}

.mobile-link-enter {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.mobile-link-enter-active {
  opacity: 1;
  transform: translateY(0);
}

/* Added navbar-solid class to make navbar fully opaque when mobile menu is open */
.navbar-solid {
  background-color: #000000 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
