/* Estilos exclusivos para la página de deportes */

/* Mejoras para las tarjetas de deportes */
.deporte-card {
  position: relative;
  overflow: hidden;
}

.deporte-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--acento-principal), var(--acento-secundario));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.deporte-card:hover::before {
  opacity: 1;
}

/* Responsive para la página de deportes */
@media screen and (max-width: 1024px) {
  .grid-deportes {
    gap: 20px;
  }
}

@media screen and (max-width: 768px) {
  .grid-deportes {
    gap: 16px;
  }
  
  .deporte-card {
    padding: 20px 16px;
  }
}

@media screen and (max-width: 640px) {
  .grid-deportes {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 480px) {
  .deporte-card h4 {
    font-size: 18px;
  }
  
  .deporte-card p {
    font-size: 14px;
  }
}

@media screen and (max-width: 360px) {
  .deporte-card {
    padding: 16px 12px;
  }
}

/* Media queries para escritorios grandes */
@media screen and (min-width: 1440px) {
  .deporte-card {
    padding: 32px;
  }
}

@media screen and (min-width: 1920px) {
  .deporte-card {
    padding: 36px;
  }
}

/* Soporte para modo de alto contraste */
@media (prefers-contrast: high) {
  .deporte-card {
    border-width: 2px;
  }
}

/* Soporte para reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
  .deporte-card {
    transition: none;
  }
  
  .deporte-card::before {
    transition: none;
  }
}

/* Mejoras de accesibilidad */
.deporte-card:focus-within {
  border-color: var(--acento-principal);
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}
