    /* RESET BÁSICO */
    
    * {margin:0; padding:0; box-sizing:border-box;}
    body {font-family: Arial, sans-serif; line-height:1.5;
    background-color: #E6E6E6;
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
}

    /* NAVBAR */
    .header {
      width: 100%;
      z-index: 1000;
    }
    .navbar {
      font-family: 'Impact';
      height: 70px;          /* altura fija del nav */
    font-style: normal;
    font-weight: 400;
      display: flex;
      justify-content: space-between;
      align-items: center;
      align-content: center;
      padding: 0.5rem 1rem;
      background: #434C6B;
      color: #DDAC49;
    }
    .brand {font-size: 1.2rem; font-weight: bold; color:#DDAC49; text-decoration:none;}
    .navbar .brand img {
  height: 200px;   /* controlás la altura del logo */
  width: auto;    /* mantiene proporción */
}
    .menu-list {
      display: flex;
      list-style: none;
    }
    .menu-item {
      margin: 0 0.5rem;
    }
    .menu-link {
      display: flex;
      flex-direction: column;
      align-items: center;
      font-size: 0.8rem;
      color: #aaa;
      text-decoration: none;
      transition: color 0.3s;
    }
    .menu-link .menu-icon {
      font-size: 1.4rem;
      color: #0F0F0E;
    }
  /* cuando el link está activo o en hover, afecta al icono dentro */
.menu-link.is-active .menu-icon,
.menu-link:hover .menu-icon {
  color: #DDAC49;
  font-size: 1.7rem;
}
     .menu-link.is-active,
    .menu-link:hover {
       color: #DDAC49;
    }

    /* MAIN */
    main {
      margin-top: 60px; /* espacio para navbar en desktop */
      padding-bottom: 60px; /* espacio para navbar en mobile */
     font-family: 'Impact', sans-serif;
                                                
    }
    section {
      padding: 2rem;
      display: none;
    }
    section.active {
      display: block;
      position: relative;

    }

    /* NAVBAR MOBILE (BOTTOM) */
    @media (max-width: 768px) {
      	.header {
		background: var(--color-white);
		box-shadow: var(--shadow-medium);
		transition: all 0.35s ease-in-out;
	}
      .navbar {
        z-index: 1;
        position: fixed;
        bottom: 0;
        top: auto;
        width: 101%;
        border-top: 2px solid #434C6B;
        border-top-left-radius: 1.5rem;
	border-top-right-radius: 1.5rem;
	background: var(#003174);
	box-shadow: var(#063c865b);
      }
      main {
        margin-top: 0;
      }
      .menu-list {
        width: 100%;
        justify-content: space-around;
        
        
      }
      .brand {display:none;}
      /* burbuja animada móvil */
.menu-list {
  position: relative;
}

.bubble {
  position: absolute;
  bottom: -7px;
  width: 60px;
  height: 64px;
  background: #E6E6E6;
  border-radius: 0px 0px 49px 49px;
-webkit-border-radius: 0px 0px 49px 49px;
-moz-border-radius: 0px 0px 49px 49px;
  transition: all 0.3s ease;
  z-index: 0;
}
.menu-link {
  position: relative;
  z-index: 1;
}
   
    }

    /* NAVBAR DESKTOP (TOP) */
    @media (min-width: 769px) {
      .menu-link {
        flex-direction: row;
        gap: 0.3rem;
        font-size: 1rem;
      }
      .menu-link .menu-icon {
        display: none;
      }
    }
       @media (max-width: 500px) {
      .menu-name {
        display: none;
        color:#ffffff;
      }

    }
    ol, ul{
        padding-left: 0rem;
        margin-bottom: 0rem;
    }
    /*torneos y copas*/
 /* Browser Reset */


/* Grid Layout */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  width: 90%;
  max-width: 1200px;
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Card Styling */
.card {
  position: relative;
  background: #434C6B;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4),
    0 4px 15px rgba(255, 255, 255, 0.1) inset;
  transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.3s ease;
}

.card:hover {
  transform: translateY(-10px) scale(1.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7),
    0 0 15px rgba(255, 255, 255, 0.2) inset;
  filter: brightness(1.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

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

/* Premium Glow Effect */
.card::after {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(
    90deg,
    rgba(255, 0, 122, 0.3),
    rgba(0, 221, 255, 0.3)
  );
  border-radius: 20px;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s ease;
  filter: blur(15px);
}

.card:hover::after {
  opacity: 1;
}

/* Card Content */
.card-content {
  padding: 20px;
  text-align: center;
  z-index: 2;
}

.card-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: #DDAC49;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: background 0.3s ease, text-shadow 0.3s ease;
}


.card-description {
  font-size: 1rem;
  font-weight: 400;
  color: #8b949e;
  line-height: 1.5;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.card:hover .card-description {
  opacity: 1;
}

/* Ripple Effect */
.card:hover::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  animation: ripple 1s ease-out forwards;
}

@keyframes ripple {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    width: 300%;
    height: 300%;
    opacity: 0;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-title {
    font-size: 1.4rem;
  }

  .card-description {
    font-size: 0.95rem;
  }
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .card-title {
    font-size: 1.3rem;
  }

  .card-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
 

  .grid {
    margin-top: 50px;
    gap: 30px;
    width: 100%;
  }

  .card-title {
    font-size: 1.2rem;
  }

  .card-description {
    font-size: 0.85rem;
  }
}

/* Torneos/Copas como botones */
.torneo-card {
  min-height: 150px;          /* alto mínimo */
  border-radius: 10px;
  background: #f8f9fa;        /* gris claro, podés cambiar por color */
  transition: 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.torneo-card .card-body{
  display: flex;
  align-items: center;
}
.torneo-card .card-title {
  font-size: 1.3rem;
  font-weight: 300;
  color: #333;
  margin: 0;
  
}

.torneo-card:hover {
  background: #434C6B;        /* azul al pasar */
  color: #fff;
  transform: scale(1.05);
}

.torneo-card:hover .card-title {
  color: #fff;
}

/* Mobile */
@media(max-width: 768px){
  .torneo-card {
    min-height: 200px;
  }
  .torneo-card .card-title {
    font-size: 1.6rem;
  }
}
.titulo{
  color:#D3A553;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
   letter-spacing: 0.3px; /* Añade 2 píxeles de espacio extra entre letras */
  font-style: normal;
}
/*fin torneos y copas*/
/* GALERIA*/
/* Start Gallery CSS */
/* Fondo oscuro semitransparente */
.modal-backdrop.show {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Centrado total de la imagen */
#galleryModal .modal-body {
  min-height: 100vh; /* ocupa alto completo */
}

/* Imagen no tan pegada a los bordes */
#galleryModal img {
  max-height: 90vh;
  object-fit: contain;
}

/* Botón de cerrar fijo */
#galleryModal .btn-close {
  z-index: 1056;
  position: fixed;
  top: 20px;
  right: 20px;
  width: 2rem;
  height: 2rem;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
}

/*FIN GALERIA*/
/*torneo*/
.card-text{
  font-weight: 400;
}
/* FIN TORNEO*/
/* Ajustes extras para mobile */

/* Ajusta el contenedor para no superponerse con el nav */
#torneoTabsContent {
  z-index: -1; /* vuelve a un valor normal o superior */
  margin-top: 80px; /* ajusta según altura de tu navbar */
}
.accordion-button {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
}
@media (max-width: 576px) {
    .accordion-button img {
        max-width: 18px;
    }
    .accordion-button span {
        font-size: 13px;
        font-weight: 100;
    }
}
#titulofecha{
  color:#DDAC49;
  font-size: 40px;
}
/*custom table*/
.custom-table {
  margin-bottom: 0;
border-radius: 30px; }
  .custom-table thead tr th {
    background: #434C6B;
    color: #DDAC49;
    border: none; 
  font-weight: 200;}
  .custom-table tbody tr td {
    border: none;
    font-weight: 300;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
    .custom-table tbody tr td strong {
      font-weight: 400; }
  .custom-table tbody tr:last-child td {
    border: none; }

    /*fixture*/
    #contfixture .accordion-button {
  border-radius: 8px;
  margin-bottom: 6px;
  background-color: #212529;
  color: white;
}
#contfixture img {
  max-height: 22px;
}
#contfixture .small {
  font-size: 0.75rem;
}
/* Para evitar que los nombres de equipo se coman el espacio del marcador */
.match-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* equipos a los lados y resultado al medio */
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.team {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  min-width: 0; /* necesario para que text-overflow funcione en grid */
}

.team-left {
  justify-content: flex-end;
}

.team-right {
  justify-content: flex-start;
}

.team-logo {
  max-width: 22px;
  max-height: 22px;
}

.team-name {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 90px;
}

.score-value {
  font-size: 1.1rem;
  font-weight: bold;
}

.vs {
  font-size: 0.9rem;
  color: #888;
}

@media (min-width: 768px) {
  .team-name {
    max-width: 150px;
    font-size: 1rem;
  }
  .score-value {
    font-size: 1.3rem;
  }
}
.nav-link{
  color:#DDAC49;
}
.nav-tabs .nav-link.active{
  color: #434C6B;
}
/*imagenes*/
.img-crop {
  width: 100%;    /* ancho fijo (ajustalo a tu diseño) */
  height: 350px;   /* alto fijo */
  overflow: hidden; /* recorta lo que sobra */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: -50px;
}
.img-crop img {
  width: 50%;
  object-fit: cover; /* recorta para llenar el espacio */
}
.img-logo {
  margin-top: -50px;
  width: 100%;    /* ancho fijo (ajustalo a tu diseño) */
  height: 40%;   /* alto fijo */
  overflow: hidden; /* recorta lo que sobra */
  display: flex;
  justify-content: center;
  align-items: center;
}
.img-logo img{
  
  width: 500px;
  height: 500px;
}
@media (max-width: 1520px) {
.img-crop {
  width: 100%;    /* ancho fijo (ajustalo a tu diseño) */
  height: 270px;   /* alto fijo */
  overflow: hidden; /* recorta lo que sobra */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0px;
}
.img-crop img {
  width: 50%;
  object-fit: cover; /* recorta para llenar el espacio */
}
.img-logo {
  width: 100%;    /* ancho fijo (ajustalo a tu diseño) */
  height: 40%;   /* alto fijo */
  overflow: hidden; /* recorta lo que sobra */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0px;
}
.img-logo img{
  width: 500px;
  height: 500px;
}
}
@media (max-width: 1380px) {
.img-crop {
  width: 100%;    /* ancho fijo (ajustalo a tu diseño) */
  height: 300px;   /* alto fijo */
  overflow: hidden; /* recorta lo que sobra */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0px;
}
.img-crop img {
  width: 50%;
  object-fit: cover; /* recorta para llenar el espacio */
}
.img-logo {
  width: 100%;    /* ancho fijo (ajustalo a tu diseño) */
  height: 40%;   /* alto fijo */
  overflow: hidden; /* recorta lo que sobra */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0px;
}
.img-logo img{
  width: 500px;
  height: 500px;
}
}
@media (max-width: 600px) {
.img-crop {
  width: 100%;    /* ancho fijo (ajustalo a tu diseño) */
  height: 150px;   /* alto fijo */
  overflow: hidden; /* recorta lo que sobra */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0px;
}

.img-crop img {
  width: 100%;
  object-fit: cover; /* recorta para llenar el espacio */
}
.img-logo {
  width: 100%;    /* ancho fijo (ajustalo a tu diseño) */
  height: 40%;   /* alto fijo */
  overflow: hidden; /* recorta lo que sobra */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0px;
}
.img-logo img{
  width: 500px;
  height: 500px;
}
}
@media (max-width: 420px) {
.img-crop {
  width: 100%;    /* ancho fijo (ajustalo a tu diseño) */
  height: 120px;   /* alto fijo */
  overflow: hidden; /* recorta lo que sobra */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0px;
}

.img-crop img {
  width: 100%;
  object-fit: cover; /* recorta para llenar el espacio */
}
.img-logo {
  width: 100%;    /* ancho fijo (ajustalo a tu diseño) */
  height: 40%;   /* alto fijo */
  overflow: hidden; /* recorta lo que sobra */
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0px;
}
.img-logo img{
  width: 400px;
  height: 400px;
}
}

.map-responsive{
    overflow:hidden;
    padding-bottom:30%;
    position:relative;
    height: 400px;
}
@media (max-width: 994px) {
  .map-responsive{
    height: 200px;
}

}
.map-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}

.noticias-container {
    padding: 2rem;
}

.noticias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.noticia-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.noticia-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.noticia-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.noticia-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.noticia-body {
    padding: 1.25rem;
}

.noticia-titulo {
    font-size: 1.1rem;
    font-weight: 600;
    color: #434C6B;
    margin-bottom: 0.75rem;
}

.noticia-contenido {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.noticia-card.expanded .noticia-contenido,
.noticia-card:hover .noticia-contenido {
    -webkit-line-clamp: unset;
    max-height: 500px;
}

.noticia-fecha {
    color: #999;
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .noticias-grid {
        grid-template-columns: 1fr;
    }
    .noticias-container {
        padding: 1rem;
        padding-bottom: 80px;
    }
    .noticia-card {
        cursor: pointer;
    }
}