/* Custom Discord & Fanta Styling */
@layer utilities {
  .animate-in {
    animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Active Nav Tab Glow */
.active-tab {
  background: linear-gradient(90deg, rgba(255, 106, 0, 0.18), rgba(255, 140, 0, 0.05)) !important;
  color: #ffffff !important;
  border-right: 3px solid #FF6A00;
  box-shadow: inset 0 0 12px rgba(255, 106, 0, 0.08);
}

/* Equalizer Bars Animation */
@keyframes eqBounce {
  0%, 100% { height: 6px; }
  50% { height: 22px; }
}

.eq-bar {
  animation: eqBounce 0.9s ease-in-out infinite alternate;
}
.eq-bar:nth-child(2) { animation-delay: 0.2s; animation-duration: 0.7s; }
.eq-bar:nth-child(3) { animation-delay: 0.4s; animation-duration: 1.1s; }
.eq-bar:nth-child(4) { animation-delay: 0.1s; animation-duration: 0.8s; }
.eq-bar:nth-child(5) { animation-delay: 0.5s; animation-duration: 1.0s; }
.eq-bar:nth-child(6) { animation-delay: 0.3s; animation-duration: 0.6s; }

/* Custom Scrollbar for sleek Discord look */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #111214;
}
::-webkit-scrollbar-thumb {
  background: #2B2D31;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #FF6A00;
}

/* Interactive Element Focus State */
input:focus, textarea:focus, select:focus {
  box-shadow: 0 0 0 2px rgba(255, 106, 0, 0.3);
}

/* Prevent unwanted selection on interactive control buttons */
button, .nav-tab, .server-item {
  user-select: none;
  -webkit-user-select: none;
}