/* Custom Style Rules for RGF Uniformes */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --color-dark-bg: #0a0a0a;
  --color-card-bg: #121212;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-primary: #dc2626; /* Crimson Red */
  --color-primary-glow: rgba(220, 38, 38, 0.4);
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-dark-bg);
  color: #ffffff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-outfit {
  font-family: 'Outfit', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0d0d0d;
}
::-webkit-scrollbar-thumb {
  background: #262626;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

/* Glowing text and borders */
.glow-red {
  text-shadow: 0 0 5px var(--color-primary-glow);
}

.border-glow-red:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 10px var(--color-primary-glow);
}

/* Glassmorphism Classes */
.glass-panel {
  background: rgba(18, 18, 18, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-border);
}

.glass-nav {
  background: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
}

/* Simulator Vector Styling */
.jersey-svg path, 
.jersey-svg polygon, 
.jersey-svg rect {
  transition: fill 0.3s ease;
}

.jersey-svg .shadow-overlay {
  mix-blend-mode: multiply;
  opacity: 0.45;
  pointer-events: none;
}

.jersey-svg .texture-overlay {
  mix-blend-mode: overlay;
  opacity: 0.15;
  pointer-events: none;
}

/* Animation utilities */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

@keyframes pulse-slow {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

.animate-pulse-slow {
  animation: pulse-slow 3s ease-in-out infinite;
}

/* Custom horizontal scroll hiding */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Custom styling for active links */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-primary);
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}
