/* Custom styles complementing Tailwind CSS */

:root {
  color-scheme: dark;
}

/* Custom sleek dark scrollbar */
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: #262626;
  border-radius: 9999px;
  border: 2px solid #0a0a0a;
}

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

/* Tabular numbers for standings and statistics */
.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* Active navigation link */
.nav-link.active {
  color: #ffffff;
  background-color: rgba(220, 38, 38, 0.18);
  box-shadow: inset 0 -2px 0 0 #dc2626;
}

.mobile-nav-link.active {
  color: #ffffff;
  background-color: rgba(220, 38, 38, 0.25);
  border-left: 3px solid #dc2626;
}

/* Sporty card hover elevation */
.sport-card {
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.28s ease,
              box-shadow 0.28s ease;
}

.sport-card:hover {
  transform: translateY(-4px);
  border-color: rgba(220, 38, 38, 0.55);
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.75), 0 0 24px -6px rgba(220, 38, 38, 0.22);
}

/* Highlighted club row in standings */
.our-team-row {
  background: linear-gradient(90deg, rgba(220, 38, 38, 0.2) 0%, rgba(212, 175, 55, 0.08) 55%, rgba(20, 20, 20, 0.6) 100%);
  box-shadow: inset 4px 0 0 0 #dc2626, inset 0 1px 0 0 rgba(212, 175, 55, 0.45), inset 0 -1px 0 0 rgba(212, 175, 55, 0.45);
}

/* Subtle diagonal stripe pattern for image fallbacks */
.fallback-pattern {
  background-color: #161616;
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(220, 38, 38, 0.09),
    rgba(220, 38, 38, 0.09) 10px,
    transparent 10px,
    transparent 20px
  );
}

/* Smooth fade-in for filtered cards */
@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-card-in {
  animation: cardFadeIn 0.32s ease-out both;
}

