


@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(239, 68, 68, 0.5); }
  50% { box-shadow: 0 0 40px rgba(239, 68, 68, 0.8); }
}


.scrollbar-thin {
  scrollbar-width: thin;
}

.scrollbar-thin::-webkit-scrollbar {
  width: 6px;
}

.scrollbar-thin::-webkit-scrollbar-track {
  background: transparent;
}

.scrollbar-thin::-webkit-scrollbar-thumb {
  background-color: rgba(220, 38, 38, 0.3);
  border-radius: 6px;
  transition: background-color 0.2s;
}

.scrollbar-thin::-webkit-scrollbar-thumb:hover {
  background-color: rgba(220, 38, 38, 0.6);
}


.bg-grid {
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}


#loader { 
  position: fixed; 
  inset: 0; 
  display: grid; 
  place-items: center; 
  background: #0a0a0a; 
  z-index: 9999; 
  backdrop-filter: blur(10px);
}

#loader.hidden { 
  opacity: 0; 
  pointer-events: none; 
  transition: opacity .5s ease; 
}


.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #ef4444;
  border-radius: 50%;
  animation: float-particle 6s ease-in-out infinite;
  opacity: 0.6;
}

.particle:nth-child(1) {
  top: 20%;
  left: 20%;
  animation-delay: 0s;
  animation-duration: 8s;
}

.particle:nth-child(2) {
  top: 60%;
  left: 80%;
  animation-delay: 2s;
  animation-duration: 6s;
}

.particle:nth-child(3) {
  top: 80%;
  left: 40%;
  animation-delay: 4s;
  animation-duration: 10s;
}

.particle:nth-child(4) {
  top: 30%;
  left: 70%;
  animation-delay: 1s;
  animation-duration: 7s;
}

.particle:nth-child(5) {
  top: 70%;
  left: 10%;
  animation-delay: 3s;
  animation-duration: 9s;
}


@keyframes float-particle {
  0%, 100% { 
    transform: translateY(0px) translateX(0px); 
    opacity: 0.6;
  }
  25% { 
    transform: translateY(-20px) translateX(10px); 
    opacity: 0.8;
  }
  50% { 
    transform: translateY(-40px) translateX(-10px); 
    opacity: 1;
  }
  75% { 
    transform: translateY(-20px) translateX(5px); 
    opacity: 0.8;
  }
}

@keyframes float-gentle {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-2px); }
}

@keyframes pulse-glow {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
  }
  50% { 
    box-shadow: 0 0 40px rgba(239, 68, 68, 0.6);
  }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes typewriter {
  0% { width: 0; }
  100% { width: 100%; }
}

@keyframes fade-in-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scale-in {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slide-in-left {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-right {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounce-in {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rotate-in {
  0% {
    opacity: 0;
    transform: rotate(-180deg);
  }
  100% {
    opacity: 1;
    transform: rotate(0deg);
  }
}


.animate-float-gentle {
  animation: float-gentle 3s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.animate-shimmer {
  animation: shimmer 2s linear infinite;
  background-size: 200% 100%;
}

.animate-fade-in-up {
  animation: fade-in-up 0.6s ease-out forwards;
}

.animate-scale-in {
  animation: scale-in 0.5s ease-out forwards;
}

.animate-slide-in-left {
  animation: slide-in-left 0.6s ease-out forwards;
}

.animate-slide-in-right {
  animation: slide-in-right 0.6s ease-out forwards;
}

.animate-bounce-in {
  animation: bounce-in 0.8s ease-out forwards;
}

.animate-rotate-in {
  animation: rotate-in 0.6s ease-out forwards;
}


.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hover-glow {
  transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 30px rgba(239, 68, 68, 0.5);
}

.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}


.btn-primary {
  @apply inline-flex items-center justify-center gap-2 rounded-md bg-riot-700 hover:bg-riot-600 px-5 py-3 font-medium transition-all duration-200 shadow-glow hover:scale-105;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.btn-secondary {
  @apply inline-flex items-center justify-center gap-2 rounded-md bg-white/5 hover:bg-white/10 px-5 py-3 font-medium transition-all duration-200 hover:scale-105;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}


.card {
  @apply rounded-xl border border-white/10 bg-white/5 p-6 transition-all duration-300;
  backdrop-filter: blur(10px);
}

.card:hover {
  @apply bg-white/10 shadow-xl;
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-glow {
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.1);
}

.card-glow:hover {
  box-shadow: 0 0 40px rgba(239, 68, 68, 0.2);
}


.music-player-container {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 50;
  width: 24rem;
  background: linear-gradient(to bottom right, rgba(23, 23, 23, 0.98), rgba(38, 38, 38, 0.95), rgba(23, 23, 23, 0.98));
  backdrop-filter: blur(12px);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: all 0.5s ease;
}

.music-player-container:hover {
  box-shadow: 0 25px 50px -12px rgba(239, 68, 68, 0.2);
  border-color: rgba(248, 113, 113, 0.3);
  transform: translateY(-2px);
}


.progress-bar {
  position: relative;
  width: 100%;
  height: 0.5rem;
  background-color: rgba(38, 38, 38, 0.6);
  border-radius: 9999px;
  cursor: pointer;
  overflow: hidden;
}

.progress-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(220, 38, 38, 0.2), rgba(248, 113, 113, 0.2));
  border-radius: 9999px;
}

.progress-fill {
  position: relative;
  background: linear-gradient(to right, #ef4444, #f87171);
  height: 0.5rem;
  border-radius: 9999px;
  transition: all 0.2s ease;
  box-shadow: 0 10px 15px -3px rgba(239, 68, 68, 0.5);
}

.progress-knob {
  position: absolute;
  right: 0;
  top: 50%;
  width: 0.75rem;
  height: 0.75rem;
  background-color: white;
  border-radius: 50%;
  transform: translate(50%, -50%);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.2s ease;
}


.nav-link {
  @apply hover:text-white text-neutral-300 transition-colors duration-200 hover:scale-105;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #ef4444, #f87171);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}


.hero-title {
  background: linear-gradient(135deg, #ffffff, #f3f4f6, #ef4444);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}


.stat-card {
  @apply rounded-xl border border-white/10 bg-white/5 p-6 text-center transition-all duration-300;
  backdrop-filter: blur(10px);
}

.stat-card:hover {
  @apply bg-white/10 shadow-xl;
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(239, 68, 68, 0.1);
}

.stat-number {
  @apply text-4xl font-extrabold text-riot-400;
  background: linear-gradient(135deg, #ef4444, #f87171);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.faq-item {
  @apply group rounded-lg border border-white/10 bg-white/5 p-5 transition-all duration-300;
  backdrop-filter: blur(10px);
}

.faq-item:hover {
  @apply bg-white/10;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.faq-item[open] {
  @apply bg-white/10;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.1);
}


.team-card {
  @apply rounded-xl border border-white/10 bg-white/5 p-6 transition-all duration-300;
  backdrop-filter: blur(10px);
}

.team-card:hover {
  @apply bg-white/10 shadow-xl;
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.team-avatar {
  @apply h-14 w-14 rounded-lg object-cover;
  border: 2px solid rgba(239, 68, 68, 0.3);
  transition: border-color 0.3s ease;
}

.team-card:hover .team-avatar {
  border-color: rgba(239, 68, 68, 0.6);
}


@media (max-width: 768px) {
  .music-player-container {
    width: calc(100vw - 3rem);
    left: 1.5rem;
    right: 1.5rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .particle {
    display: none;
  }
}


@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .particle {
    display: none;
  }
}


.focus-ring {
  @apply focus:outline-none focus:ring-2 focus:ring-riot-500 focus:ring-offset-2 focus:ring-offset-neutral-950;
}


::selection {
  background: rgba(239, 68, 68, 0.3);
  color: white;
}

::-moz-selection {
  background: rgba(239, 68, 68, 0.3);
  color: white;
}


.loading-skeleton {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.1) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}


.error-shake {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}


.success-bounce {
  animation: bounce-in 0.6s ease-out;
}


@media (prefers-color-scheme: dark) {
  .auto-dark {
    background-color: #0a0a0a;
    color: #f3f4f6;
  }
}


@media print {
  .no-print {
    display: none !important;
  }
  
  .print-friendly {
    background: white !important;
    color: black !important;
  }
}


.card-enhanced {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.card-enhanced:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}


.scroll-indicator {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(239, 68, 68, 0.2);
  z-index: 9999;
}

.scroll-progress {
  height: 100%;
  background: linear-gradient(90deg, #ef4444, #dc2626);
  width: 0%;
  transition: width 0.1s ease;
}
