/* Custom CSS for WTOKENS */

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
  }
  50% {
    box-shadow: 0 0 35px rgba(139, 92, 246, 0.5);
  }
}

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

::-webkit-scrollbar-track {
  background: #06070B;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #7C3AED;
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(15, 18, 30, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-glow {
  background: rgba(15, 18, 30, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 92, 246, 0.3);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.15);
}

/* Subtle Grid Background Pattern */
.bg-grid-pattern {
  background-size: 32px 32px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* Leaderboard tab active transition */
.rank-tab {
  transition: all 0.2s ease-in-out;
}

.rank-tab.active {
  background-color: #7C3AED !important;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.4);
}

/* Custom Range Slider */
input[type=range] {
  -webkit-appearance: none;
  background: #1E2438;
  height: 6px;
  border-radius: 3px;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 18px;
  width: 18px;
  border-radius: 50%;
  background: #06B6D4;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.6);
  transition: transform 0.1s ease;
}

input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Accordion transition helper */
.faq-content {
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
}

/* Dashboard Helper Styles (BRTokens Aesthetic) */
.dash-nav-btn {
  transition: all 0.15s ease-in-out;
}

.dash-nav-btn.active {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.03);
}

.switch-toggle {
  transition: all 0.15s ease-in-out;
}

.switch-toggle.active {
  background-color: #f59e0b !important;
  color: #07080e !important;
  font-weight: 700 !important;
}

.dash-period-btn.active {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}

.dash-fin-tab.active {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
}
