/* Custom CSS for Obsidian Nebula */

/* Glassmorphism card */
.glass-card {
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.75), rgba(15, 15, 15, 0.85)) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.15), 0 8px 32px 0 rgba(0, 0, 0, 0.37) !important;
}

.glass-panel {
  background: linear-gradient(135deg, rgba(20, 20, 19, 0.85), rgba(10, 10, 9, 0.95)) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1), 0 8px 32px 0 rgba(0, 0, 0, 0.5) !important;
}

/* Ambient glow orbs */
.ambient-orb {
  position: absolute !important;
  width: 40vw !important;
  height: 40vw !important;
  max-width: 600px !important;
  max-height: 600px !important;
  border-radius: 50% !important;
  filter: blur(120px) !important;
  opacity: 0.15 !important;
  pointer-events: none !important;
  z-index: -10 !important;
  animation: floatOrb 20s infinite alternate ease-in-out !important;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(10%, 10%) scale(1.1);
  }
}

/* Float animation */
.animate-float {
  animation: float 6s ease-in-out infinite !important;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* Neon text & borders */
.neon-border {
  border-color: rgba(209, 43, 129, 0.4) !important;
  box-shadow: 0 0 15px rgba(209, 43, 129, 0.2) !important;
}

.neon-glow {
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3) !important;
}

.neon-text-glow {
  text-shadow: 0 0 10px rgba(209, 43, 129, 0.5) !important;
}

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

/* Navigation blur */
.nav-blur {
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
}

/* Sidebar Responsive Transition Classes */
aside {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s ease !important;
}
main {
  transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.sidebar-hidden {
  transform: translateX(-100%);
}
.main-expanded {
  margin-left: 0 !important;
}

/* Floating Emoji Reactions Overlay Animation */
.floating-emoji {
  position: absolute;
  bottom: 20px;
  font-size: 2rem;
  pointer-events: none;
  z-index: 40;
  opacity: 0;
  animation: floatUpEmoji 2.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes floatUpEmoji {
  0% {
    transform: translateY(0) scale(0.5) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
    transform: translateY(-20px) scale(1.2);
  }
  100% {
    transform: translateY(-400px) scale(0.8) rotate(var(--random-rotation, 15deg));
    opacity: 0;
  }
}
