/* Agrega esto al principio de tu styles.css para el scroll suave */
html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 50px;
  background-color: #111;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
}

.logo img {
  width: 60px;
  height: auto;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
  position: relative;
}

nav a:hover {
  color: #09e562;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 3px;
  background-color: #09e562;
  border-radius: 5px;
  transition: width 0.3s ease-out;
}

nav a:hover::after {
  width: 100%;
}

.btn {
  background-color: #09e562;
  color: black;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.btn:hover {
  background-color: #07c750;
  transform: translateY(-2px);
}

.container {
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.text h2 {
  color: #09e562;
  margin-bottom: 10px;
  font-size: 1.2rem;
  font-family: 'TSPPUMAPORTUGAL2025', sans-serif; /* Usar la fuente personalizada */
  letter-spacing: 3px; /* <-- Aquí controlas el interletrado */
}

.text h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  font-family: 'TSPPUMAPORTUGAL2025', sans-serif; /* Usar la fuente personalizada */
  letter-spacing: 1px; /* <-- Aquí controlas el interletrado */

  background: linear-gradient(
    to right,
    #09e562 0%,         /* Verde inicial */
    #c7ffda 25%,        /* Azul principal */
    #00ff73 50%,        /* Tono claro (casi blanco verdoso) para el brillo */
    #c7ffde 75%,        /* Regreso al azul principal */
    #09e562 100%        /* Regreso al verde inicial para un ciclo suave */
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;

  background-size: 400% auto;
  animation: shine-color-sweep 8s linear infinite;
}

@keyframes shine-color-sweep {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: -200% center;
  }
}

/* --- Flecha de Desplazamiento --- */
.scroll-down-arrow {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

.scroll-down-arrow a {
  font-size: 2.5rem;
  color: #09e562;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
  animation: bounce 2s infinite;
}

.scroll-down-arrow a:hover {
  color: #07c750;
  transform: translateY(5px);
  animation: none;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

/* --- Sección de Tarjetas de Jugadores --- */
.player-cards-section {
  padding: 60px 40px;
  background-color: #111;
  text-align: center;
}

.player-cards-section .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  position: relative; /* Esencial para el posicionamiento absoluto de la tarjeta expandida */
  min-height: 280px; /* Altura mínima para el contenedor de tarjetas, ajusta si el contenido inicial es más alto */
  align-items: flex-start; /* Alinea los ítems al inicio para que el "absolute" funcione mejor */
  transition: all 0.5s ease-out; /* Transición para cuando se expande una tarjeta */
}

/* Ocultar las tarjetas que no están expandidas cuando una sí lo está */
.player-cards-section.has-expanded-card .player-card:not(.is-expanded) {
  opacity: 0;
  pointer-events: none; /* Las hace inaccesibles al ratón */
  transform: translateY(20px) scale(0.9); /* Pequeña animación al desaparecer */
  transition: all 0.4s ease-out;
}

.player-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 30px;
  width: 300px;
  min-height: 200px; /* Más altura inicial para las tarjetas */
  display: flex; /* Flexbox para controlar el contenido interno */
  flex-direction: column;
  justify-content: space-between; /* Para empujar el botón de cerrar hacia abajo */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  /* Transiciones para todos los cambios de estilo */
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, 
              width 0.5s ease, min-height 0.5s ease, padding 0.5s ease, opacity 0.5s ease, z-index 0s;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative; /* Necesario para el z-index y para la expansión */
  z-index: 1; /* Valor por defecto */
}

.player-card h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #09e562;
}

.player-card p {
  font-size: 1rem;
  color: #ccc;
}

/* Contenido resumido de la tarjeta */
.player-card .card-summary {
    transition: opacity 0.3s ease, height 0.3s ease;
    height: auto; /* Altura automática por defecto */
    overflow: hidden;
    pointer-events: auto;
}

/* Contenido detallado de la tarjeta (inicialmente oculto) */
.player-card .card-details {
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, height 0.5s ease;
    pointer-events: none; /* No clickeable cuando está oculto */
}

/* Efecto hover para las tarjetas (solo si no están expandidas) */
.player-card:not(.is-expanded):hover {
  background-color: #09e562;
  color: #000;
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(9, 229, 98, 0.5);
}

.player-card:not(.is-expanded):hover h3,
.player-card:not(.is-expanded):hover p {
  color: #000;
}

/* --- Estilos de la tarjeta expandida --- */
.player-card.is-expanded {
  position: absolute; /* Se posiciona de forma absoluta dentro de su contenedor */
  top: 0;
  left: 50%; /* Centrar horizontalmente */
  transform: translateX(-50%) scale(1); /* Desplaza para centrar y asegura escala 1 */
  width: 90%; /* Toma un gran ancho del contenedor */
  max-width: 800px; /* Limita el ancho máximo en pantallas grandes */
  min-height: 400px; /* Altura mínima mayor al expandir */
  height: auto; /* Permite que la altura se ajuste al contenido si es más largo */
  z-index: 20; /* Se coloca por encima de todo lo demás */
  background-color: #222; /* Fondo ligeramente más oscuro */
  padding: 40px; /* Más padding para el contenido expandido */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7); /* Sombra fuerte */
  display: flex; /* Mantiene el flexbox */
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start; /* Alinea el contenido a la izquierda */
  overflow-y: auto; /* Permite desplazamiento si el contenido es muy largo */
  transition: transform 0.5s ease, background-color 0.5s ease, width 0.5s ease, min-height 0.5s ease, padding 0.5s ease, z-index 0s 0.5s; /* z-index cambia al final */
}

/* Ocultar el resumen y mostrar los detalles cuando la tarjeta está expandida */
.player-card.is-expanded .card-summary {
    opacity: 0;
    height: 0;
    pointer-events: none;
}

.player-card.is-expanded .card-details {
    opacity: 1;
    height: auto; /* Revela el contenido detallado */
    pointer-events: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.player-card.is-expanded h3 {
    color: #09e562;
    font-size: 2rem; /* Título más grande */
    width: 100%;
    text-align: left;
    margin-bottom: 15px;
}
.player-card.is-expanded h4 {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 10px;
    text-align: left;
}
.player-card.is-expanded p {
    color: #eee;
    line-height: 1.8;
    text-align: left;
}

/* Botón de cerrar dentro de la tarjeta expandida */
.close-card-btn {
  background-color: #09e562;
  color: black;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  align-self: flex-end; /* Empuja el botón a la parte inferior derecha */
  margin-top: 20px;
}

.close-card-btn:hover {
  background-color: #07c750;
  transform: translateY(-2px);
}

/* Ajustes para el contenedor de las tarjetas cuando una está expandida */
.player-cards-section.has-expanded-card .container {
    justify-content: center; /* Centra la tarjeta expandida */
    min-height: 400px; /* Mantén la altura para evitar colapsos */
    align-items: center; /* Centra verticalmente si hay espacio */
}


/* Media queries para responsividad */
@media (max-width: 768px) {
  /* ... tus estilos de media query existentes ... */

  .player-cards-section .container {
    flex-direction: column;
    align-items: center;
  }

  .player-card {
    width: 90%;
    max-width: 350px;
  }

  .player-card.is-expanded {
      width: 95%; /* Toma casi todo el ancho en móviles */
      min-height: 70vh; /* Altura basada en el viewport height */
      padding: 20px;
  }

  .player-card.is-expanded h3 {
      font-size: 1.8rem;
  }
  .player-card.is-expanded h4 {
      font-size: 1.3rem;
  }
}

/* Estilos de tabla (sin cambios significativos) */
.table-container {
  margin-top: 40px;
  width: 100%;
  overflow-x: auto;
}

.table-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: bold;
  color: #09e562;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background-color: #111;
  border-radius: 10px;
  overflow: hidden;
}

thead {
  background-color: #1a1a1a;
}

th {
  padding: 15px 10px;
  text-align: center;
  font-weight: bold;
  border-bottom: 2px solid #09e562;
  color: #09e562;
  transition: all 0.2s;
}

td {
  padding: 12px 10px;
  text-align: center;
  border-bottom: 1px solid #333;
  transition: all 0.2s;
}

tr {
  transition: all 0.2s;
}

tr:hover {
  background-color: #09e562;
  color: #000;
  font-weight: bold;
  transform: scale(1.01);
}

tr:hover td {
  color: #000;
}

thead:hover th {
  color: #000;
}

/* --- Logo de fondo apagado --- */
.text {
  position: relative; /* Asegura que los elementos posicionados absolutamente dentro se comporten correctamente */
  /* ... tus estilos existentes para .text ... */
}

.background-logo {
  position: absolute; /* Posicionamiento absoluto respecto a .text */
  right: 0; /* Alineado a la derecha */
  top: 14%; /* Centrado verticalmente respecto a .text */
  transform: translateY(-50%); /* Ajuste fino para centrado vertical */
  opacity: 0.05; /* Muy tenue, casi transparente */
  z-index: 0; /* Asegura que esté detrás del texto y otros elementos */
  pointer-events: none; /* Importante: hace que el logo no sea clickeable ni interfiera con el ratón */
}

.background-logo img {
  width: 250px; /* Tamaño del logo, ajusta según necesites */
  height: auto;
  /* Puedes añadir un filtro de color si quieres que sea monocromático, por ejemplo: */
  /* filter: grayscale(100%) brightness(50%); */
}

/* --- Media query para ajustar el logo en móviles --- */
@media (max-width: 768px) {
  .background-logo {
    display: none; /* Oculta el logo en pantallas muy pequeñas si estorba */
    /* O si prefieres mostrarlo más pequeño y menos centrado: */
    /* right: 10px; */
    /* top: 100px; */
    /* transform: none; */
  }
  /* ... tus estilos de media query existentes ... */
}

/* Agrega estos estilos al final de tu archivo styles.css */

/* --- Estilos específicos para la página de camisetas --- */
.ecommerce-container .text h1 {
    /* Puedes darle un color diferente al título principal en la página de camisetas si quieres */
    /* background: linear-gradient(to right, #f06, #f90); */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    /* animation: none; /* Desactiva la animación de brillo si no la quieres aquí */
}

.ecommerce-container .intro-paragraph {
    font-size: 1.1rem;
    color: #eee;
    max-width: 700px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

/* Reutilizamos los estilos de player-card para jersey-card */
.jersey-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 30px;
  width: 300px;
  min-height: 280px; /* Un poco más de altura para las camisetas con imagen y precio */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, 
              width 0.5s ease, min-height 0.5s ease, padding 0.5s ease, opacity 0.5s ease, z-index 0s;
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  z-index: 1;
  text-align: center; /* Centrar contenido de la tarjeta */
}

/* Efecto hover (similar a player-card) */
.jersey-card:not(.is-expanded):hover {
  background-color: #09e562; /* Verde */
  color: #000; /* Texto oscuro */
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(9, 229, 98, 0.5);
}

.jersey-card:not(.is-expanded):hover h3,
.jersey-card:not(.is-expanded):hover p,
.jersey-card:not(.is-expanded):hover .price,
.jersey-card:not(.is-expanded):hover .availability {
  color: #000;
}


.jersey-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #09e562;
}

.jersey-img {
  max-width: 100%;
  height: 120px; /* Altura fija para las imágenes resumidas */
  object-fit: contain; /* Ajusta la imagen sin recortarla */
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.jersey-card:not(.is-expanded):hover .jersey-img {
    transform: scale(1.1); /* Ligeramente más grande en hover */
}

.price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 5px;
}

.availability {
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 5px;
}

/* --- Estilos para la tarjeta de camiseta expandida --- */
.jersey-card.is-expanded {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scale(1);
  width: 90%;
  max-width: 800px;
  min-height: 500px; /* Más altura para el contenido expandido de la camiseta */
  height: auto;
  z-index: 20;
  background-color: #222;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center; /* Centra el contenido en la tarjeta expandida */
  overflow-y: auto;
  transition: transform 0.5s ease, background-color 0.5s ease, width 0.5s ease, min-height 0.5s ease, padding 0.5s ease, z-index 0s 0.5s;
  text-align: left; /* Alinea el texto a la izquierda en la tarjeta expandida */
}

.jersey-card.is-expanded .card-summary {
    opacity: 0;
    height: 0;
    pointer-events: none;
}

.jersey-card.is-expanded .card-details {
    opacity: 1;
    height: auto;
    pointer-events: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Asegura alineación a la izquierda */
}

.jersey-card.is-expanded h4 {
    font-size: 1.8rem;
    color: #09e562;
    margin-bottom: 15px;
    width: 100%;
    text-align: center; /* Centrar el título dentro de la tarjeta expandida */
}

.jersey-img-large {
  max-width: 80%; /* Más grande en expansión */
  height: auto;
  object-fit: contain;
  margin: 0 auto 20px auto; /* Centrar imagen grande */
  display: block; /* Asegura que la imagen se centre correctamente */
}

.jersey-card.is-expanded p {
    color: #eee;
    line-height: 1.7;
    margin-bottom: 10px;
}

.jersey-card.is-expanded .price-expanded {
    font-size: 1.5rem;
    font-weight: bold;
    color: #09e562;
    margin-top: 15px;
    margin-bottom: 20px;
    text-align: center; /* Centrar el precio expandido */
    width: 100%;
}

.features-list {
  list-style: none; /* Quitar viñetas */
  padding-left: 0;
  margin-bottom: 20px;
  color: #ccc;
  width: 100%;
}

.features-list li {
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.features-list li::before {
  content: '✔'; /* Icono de check */
  color: #09e562;
  position: absolute;
  left: 0;
}


.add-to-cart-btn {
  background-color: #00aaff; /* Color azul para el botón de carrito */
  color: white;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  align-self: center; /* Centrar botón en la tarjeta expandida */
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.add-to-cart-btn:hover {
  background-color: #0088cc; /* Azul más oscuro al pasar el cursor */
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 170, 255, 0.4);
}


/* Reutilizamos los estilos del contenedor de tarjetas expandidas de la sección de jugadores */
.player-cards-section.has-expanded-card .container {
    justify-content: center;
    min-height: 500px; /* Ajusta la altura mínima para las camisetas expandidas */
    align-items: center;
}

/* Media Queries para ajustar las tarjetas de camisetas en móviles */
@media (max-width: 768px) {
  .jersey-card {
    width: 95%; /* Las tarjetas ocupan más ancho en móviles */
    max-width: 350px;
  }

  .jersey-card.is-expanded {
    min-height: 70vh; /* Altura basada en el viewport height */
    padding: 20px;
  }
  .jersey-card.is-expanded h4 {
    font-size: 1.5rem;
  }
  .jersey-img-large {
    max-width: 90%;
  }
}

/* Estilos de la fila expandible */
.expandable-row {
  background-color: #222; /* Fondo para la fila expandida */
  /* TRANSITION REMOVED HERE because display: none cannot be animated */
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5); /* Sombra interior para destacar */
}

/* Estado oculto de la fila expandible */
.expandable-row.hidden {
  display: none; /* This will completely remove the row from the layout */
}

.expandable-content {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 10px;
  justify-content: center; /* Centrar el contenido dentro de la fila expandida */
  color: #fff; /* Asegurar que el texto sea visible */
  font-weight: bold;
}

.expandable-content p { /* Estilo para el párrafo que contiene la información */
  margin: 0;
  padding: 0;
}

.expandable-content .fa-trophy { /* Estilo para el icono del trofeo */
  color: #ffd700; /* Color dorado para el trofeo */
  margin-right: 5px;
}

.expandable-content .new-gen-team-text { /* Estilo específico para "5 New Generation Team" */
  color: #fffb00; /* Color verde para el texto "New Generation Team" */
}

/* Add to the end of styles.css or create a new camisetas.css for these styles */

/* Store Main Section */
.store-main {
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    color: #fff;
}

.store-hero {
    text-align: center;
    margin-bottom: 50px;
}

.store-hero h1 {
    font-size: 2.8rem;
    color: #09e562;
    margin-bottom: 15px;
}

.store-hero p {
    font-size: 1.1rem;
    color: #ccc;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    background-color: #2a2a2a;
}

.card-image-container {
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.product-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.card-info h2 {
    font-size: 1.6rem;
    color: #09e562;
    margin-bottom: 10px;
}

.product-description {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 15px;
    min-height: 50px; /* Ensure consistent height for description */
}

.product-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
}

/* Add to Cart Button for products */
.add-to-cart-btn {
    background-color: #00aaff; /* Blue color */
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.add-to-cart-btn:hover {
    background-color: #0088cc;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 170, 255, 0.4);
}

/* Cart Section */
.cart-section {
    background-color: #1a1a1a;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    margin-bottom: 50px;
}

.cart-section h2 {
    font-size: 2rem;
    color: #09e562;
    margin-bottom: 25px;
    text-align: center;
}

#cart-items {
    min-height: 100px;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 1.1rem;
    color: #ccc;
    border-top: 1px solid #333;
}

.cart-item:first-child {
    border-top: none;
}

.remove-from-cart-btn {
    background: none;
    border: none;
    color: #ff4d4d; /* Red color for remove button */
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.3s;
}

.remove-from-cart-btn:hover {
    color: #ff0000;
    transform: scale(1.1);
}

.cart-total {
    text-align: right;
    margin-top: 20px;
}

.cart-total h3 {
    font-size: 1.8rem;
    color: #fff;
}

.checkout-btn {
    display: block;
    width: fit-content;
    margin: 30px auto 0 auto;
    background-color: #09e562; /* Green for checkout */
    color: black;
    font-size: 1.1rem;
    padding: 12px 30px;
}

.checkout-btn:hover {
    background-color: #07c750;
    box-shadow: 0 5px 15px rgba(9, 229, 98, 0.4);
}

/* Modal for Purchase Success */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #1a1a1a;
    margin: auto;
    padding: 40px;
    border-radius: 10px;
    width: 80%;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    position: relative;
    text-align: center;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-content h2 {
    color: #09e562;
    margin-bottom: 20px;
    font-size: 2.2rem;
}

.modal-content p {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.close-button {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

.close-button:hover,
.close-button:focus {
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr; /* Stack products on smaller screens */
    }

    .store-hero h1 {
        font-size: 2rem;
    }
}

@font-face {
  font-family: 'TSPPUMAPORTUGAL2025';
  src: url('TSPPUMAPORTUGAL2025.otf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

.font-tsp {
  font-family: 'TSPPUMAPORTUGAL2025', sans-serif;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* Estadísticas Page Styles */
.stats-filters {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 20px;
  margin: 30px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.filter-group label {
  color: #09e562;
  font-weight: bold;
}

.filter-group select {
  background-color: #333;
  color: white;
  border: 1px solid #09e562;
  border-radius: 5px;
  padding: 8px 12px;
  font-family: 'Montserrat', sans-serif;
}

#apply-filters {
  margin-left: auto;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.player-stats-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.player-stats-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(9, 229, 98, 0.3);
}

.player-name {
  color: #09e562;
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-align: center;
}

.stats-chart-container {
  height: 200px;
  width: 100%;
  margin-bottom: 15px;
}

.stats-summary {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 15px;
}

.stat-item {
  background-color: #222;
  padding: 10px;
  border-radius: 5px;
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 5px;
}

.stat-value {
  font-weight: bold;
  color: white;
}

.stat-value.positive {
  color: #09e562;
}

.stat-value.negative {
  color: #ff4d4d;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .stats-filters {
    flex-direction: column;
    align-items: stretch;
  }
  
  #apply-filters {
    margin-left: 0;
    width: 100%;
  }
  
  .stats-container {
    grid-template-columns: 1fr;
  }
}

/* Sección de Crecimiento Numérico */
.growth-section {
  margin-top: 60px;
  background-color: #111;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.section-title {
  color: #09e562;
  font-size: 1.8rem;
  margin-bottom: 10px;
  text-align: center;
  font-family: 'TSPPUMAPORTUGAL2025', sans-serif;
  letter-spacing: 2px;
}

.section-subtitle {
  color: #ccc;
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.growth-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.growth-tab {
  background-color: #333;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
}

.growth-tab:hover {
  background-color: #444;
}

.growth-tab.active {
  background-color: #09e562;
  color: black;
}

.growth-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
}

.growth-card {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.growth-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(9, 229, 98, 0.2);
}

.growth-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.player-rank img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.growth-card h4 {
  color: #09e562;
  font-size: 1.4rem;
  margin: 0;
}

.growth-card-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 15px;
}

.growth-stat {
  background-color: #222;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
}

.growth-label {
  display: block;
  font-size: 0.8rem;
  color: #aaa;
  margin-bottom: 5px;
}

.growth-value {
  font-weight: bold;
  font-size: 1.1rem;
}

.growth-value.positive {
  color: #09e562;
}

.growth-value.negative {
  color: #ff4d4d;
}

.btn-details {
  background-color: #333;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  font-weight: bold;
}

.btn-details:hover {
  background-color: #09e562;
  color: black;
}

/* Modal de crecimiento */
.growth-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.growth-modal-content {
  background-color: #1a1a1a;
  border-radius: 10px;
  padding: 30px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 30px;
  color: #aaa;
  cursor: pointer;
  transition: color 0.3s;
}

.close-modal:hover {
  color: white;
}

#modal-player-name {
  color: #09e562;
  font-size: 1.8rem;
  margin-bottom: 20px;
  text-align: center;
}

.modal-rank-container {
  text-align: center;
  margin-bottom: 20px;
}

.modal-rank-container img {
  width: 100px;
  height: auto;
}

.modal-stats-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

@media (max-width: 768px) {
  .modal-stats-container {
    grid-template-columns: 1fr;
  }
}

.modal-stat h4 {
  color: #09e562;
  font-size: 1.3rem;
  margin-bottom: 15px;
  text-align: center;
}

.modal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.modal-table th {
  background-color: #222;
  color: #09e562;
  padding: 10px;
  text-align: center;
}

.modal-table td {
  padding: 10px;
  text-align: center;
  border-bottom: 1px solid #333;
}

.modal-table tr:nth-child(even) {
  background-color: #222;
}

.modal-table .positive {
  color: #09e562;
  font-weight: bold;
}

.modal-table .negative {
  color: #ff4d4d;
  font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .growth-cards-container {
    grid-template-columns: 1fr;
  }
  
  .growth-tabs {
    flex-direction: column;
  }
  
  .growth-tab {
    width: 100%;
    justify-content: center;
  }
  
  .growth-modal-content {
    width: 95%;
    padding: 20px;
  }
}

/* ===== LOADING SCREEN ===== */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loading-content {
  text-align: center;
}

.loading-logo {
  width: 100px;
  margin-bottom: 30px;
  animation: pulse 1.5s infinite;
}

.loading-bar {
  width: 200px;
  height: 4px;
  background: #333;
  border-radius: 4px;
  overflow: hidden;
  margin: 0 auto 15px;
}

.loading-progress {
  height: 100%;
  width: 0%;
  background: #09e562;
  animation: loading 2s ease-in-out forwards;
}

@keyframes loading {
  0% { width: 0%; }
  100% { width: 100%; }
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.7; }
  50% { transform: scale(1); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.7; }
}

/* ===== HEADER STICKY ===== */
#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 50px;
  transition: all 0.3s ease;
}

#main-header.scrolled {
  padding: 10px 50px;
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.mobile-menu-btn {
  display: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero-section {
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.video-background video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.7) 100%);
  z-index: -1;
}

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 50px;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-text {
  max-width: 600px;
}

.hero-text h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.btn-primary {
  background: #09e562;
  color: #000;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}

.btn-primary:hover {
  background: #07c750;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(9, 229, 98, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #09e562;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: #09e562;
  color: #000;
  transform: translateY(-3px);
}

.hero-player {
  flex: 1;
  display: flex;
  justify-content: center;
}

.floating-player {
  max-width: 500px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
}

.scroll-line {
  width: 2px;
  height: 50px;
  background: #09e562;
  margin-bottom: 10px;
  animation: scroll-line 2s infinite;
}

@keyframes scroll-line {
  0% { height: 50px; }
  50% { height: 30px; }
  100% { height: 50px; }
}

.scroll-indicator i {
  animation: bounce 2s infinite;
}

/* ===== NEWS SECTION ===== */
.news-section {
  padding: 100px 0;
  background: #0a0a0a;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  color: #fff;
}

.section-title span {
  color: #09e562;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.news-card {
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(9, 229, 98, 0.1);
}

.news-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.news-card:hover .news-image img {
  transform: scale(1.1);
}

.news-date {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #09e562;
  color: #000;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: bold;
}

.news-content {
  padding: 20px;
}

.news-content h3 {
  color: #fff;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.news-content p {
  color: #ccc;
  margin-bottom: 15px;
  line-height: 1.6;
}

.news-link {
  color: #09e562;
  text-decoration: none;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.3s;
}

.news-link:hover {
  gap: 10px;
}

/* ===== COUNTDOWN SECTION ===== */
.countdown-section {
  padding: 100px 0;
  background: #111;
}

.countdown-content {
  background: #1a1a1a;
  border-radius: 15px;
  padding: 40px;
  text-align: center;
}

.teams {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 30px;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.team img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.team span {
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}

.vs {
  font-size: 2rem;
  font-weight: bold;
  color: #09e562;
}

.match-info {
  margin-bottom: 40px;
}

.match-info p {
  color: #ccc;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.countdown-container h3 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.countdown-item {
  background: #09e562;
  color: #000;
  padding: 20px;
  border-radius: 10px;
  min-width: 80px;
}

.countdown-item span {
  font-size: 2rem;
  font-weight: bold;
  display: block;
}

.countdown-item p {
  margin: 5px 0 0;
  font-size: 0.9rem;
  font-weight: bold;
}

/* ===== TABLE SECTION ===== */
.table-section {
  padding: 100px 0;
  background: #0a0a0a;
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  padding: 100px 0;
  background: #111;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  height: 250px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h3 {
  color: #fff;
  margin-bottom: 5px;
}

.gallery-overlay p {
  color: #ccc;
  margin-bottom: 15px;
}

.gallery-link {
  color: #09e562;
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.gallery-link:hover {
  transform: scale(1.2);
}

/* ===== SPONSORS SECTION ===== */
.sponsors-section {
  padding: 80px 0;
  background: #0a0a0a;
}

.sponsors-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
}

.sponsor-item {
  opacity: 0.6;
  transition: opacity 0.3s;
  filter: grayscale(100%);
}

.sponsor-item:hover {
  opacity: 1;
  filter: grayscale(0%);
}

.sponsor-item img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

/* ===== FOOTER ===== */
.main-footer {
  background: #0a0a0a;
  padding: 80px 0 20px;
  border-top: 1px solid #222;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-section h3 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
}

.footer-logo img {
  width: 40px;
}

.footer-section p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #1a1a1a;
  color: #09e562;
  border-radius: 50%;
  transition: all 0.3s;
}

.social-links a:hover {
  background: #09e562;
  color: #000;
  transform: translateY(-3px);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #09e562;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.newsletter-form input {
  flex: 1;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 5px;
  padding: 10px 15px;
  color: #fff;
}

.newsletter-form button {
  background: #09e562;
  color: #000;
  border: none;
  border-radius: 5px;
  padding: 10px 15px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.newsletter-form button:hover {
  background: #07c750;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #222;
  color: #666;
}

/* ===== MODAL ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #1a1a1a;
  border-radius: 15px;
  padding: 40px;
  max-width: 500px;
  width: 90%;
  position: relative;
  transform: translateY(50px);
  transition: transform 0.5s;
}

.modal.active .modal-content {
  transform: translateY(0);
}

.close-button {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  color: #ccc;
  cursor: pointer;
  transition: color 0.3s;
}

.close-button:hover {
  color: #09e562;
}

.modal-body h2 {
  color: #fff;
  margin-bottom: 15px;
  text-align: center;
}

.modal-body p {
  color: #ccc;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.6;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 15px;
}

.modal-form input {
  background: #0a0a0a;
  border: 1px solid #333;
  border-radius: 5px;
  padding: 12px 15px;
  color: #fff;
}

.modal-form button {
  background: #09e562;
  color: #000;
  border: none;
  border-radius: 5px;
  padding: 12px 15px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

.modal-form button:hover {
  background: #07c750;
}

.modal-note {
  font-size: 0.8rem;
  color: #666 !important;
}

/* ===== ANIMATIONS ===== */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
  40% {transform: translateY(-10px);}
  60% {transform: translateY(-5px);}
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
  }
  
  .hero-text {
    margin-bottom: 50px;
  }
  
  .hero-text h1 {
    font-size: 2.5rem;
  }
  
  .floating-player {
    max-width: 300px;
  }
  
  .teams {
    flex-direction: column;
    gap: 20px;
  }
  
  .countdown {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  #main-header {
    padding: 15px 20px;
  }
  
  nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
}
/* --- TABLA DE JUGADORES: Separación de filas, sin divisiones internas visibles, hover verde --- */
.table-container table {
  border-collapse: separate;
  border-spacing: 0 10px; /* Separación vertical ligera entre filas */
  background: none;
}

.table-container th,
.table-container td {
  border: 2px solid transparent; /* Sin divisiones internas visibles */
  background-color: #111;
}

.table-container th {
  border-bottom: 2px solid #09e562;
  border-top: 2px solid transparent;
}

.table-container tbody tr {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(9,229,98,0.07);
  transition: background 0.2s, box-shadow 0.2s;
}

/* Al hacer hover, toda la fila se resalta en verde y el borde es verde */
.table-container tbody tr:hover td {
  background-color: #09e562 !important;
  color: #000 !important;
  border-color: #09e562 !important;
}

/* Bordes verdes sólo en el contorno de la fila (no entre columnas) */
.table-container tbody tr td:first-child {
  border-left: 2px solid #09e562;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
.table-container tbody tr td:last-child {
  border-right: 2px solid #09e562;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}
.table-container tbody tr td {
  border-top: 2px solid #09e562;
  border-bottom: 2px solid #09e562;
}

/* Quitar bordes internos entre columnas */
.table-container tbody tr td:not(:first-child):not(:last-child) {
  border-left: none;
  border-right: none;
  border-radius: 0;
}

/* Ajuste para la fila expandible */
.expandable-row td {
  border: none !important;
  background: #222 !important;
  box-shadow: none !important;
}

.table-container tbody tr td,
.table-container th {
  border-radius: 0 !important;
}

@font-face {
  font-family: 'Formula1-Bold';
  src: url('Formula1-Bold_web.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

/* Aplica la fuente Formula 1 Bold a los títulos principales */
.text h1,
.text h2,
.section-title,
.table-title,
.store-hero h1,
.stats-filters label,
.player-name,
.footer-section h3 {
  font-family: 'Formula1-Bold', 'Montserrat', Arial, sans-serif !important;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Aplica la fuente Formula1-Bold a los textos de la tabla y ajusta el tamaño */
.table-container th,
.table-container td {
  font-family: 'Formula1-Bold', 'Montserrat', Arial, sans-serif !important;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.80rem;
}

/* Aplica la fuente Formula1-Bold también al título principal */
.text h1,
.text h2,
.section-title,
.table-title,
.store-hero h1,
.stats-filters label,
.player-name,
.footer-section h3,
.hero-text h1 {
  font-family: 'Formula1-Bold', 'Montserrat', Arial, sans-serif !important;
  letter-spacing: 2px;
  text-transform: uppercase;
}
