.carousel-inner {
  height: 400px;
}

/* SOBREADO DE LAS LETRAS DEL NAVBAR */
.navbar .nav-link:hover {
  color: #beb6b6 !important;
}

/* REMARCAR BORDE INFERIOR DEL NAVBAR */
.navbar {
  border-bottom: 1px solid #c1c1c1;
}

    /* Asegura que las imágenes no se deformen y se vean bien en todos los tamaños */
    .carousel-item img {
      object-fit: cover;
      height: 400px; /* Puedes ajustar según tu preferencia */
      width: 100%;
    }

    @media (max-width: 768px) {
      .carousel-item img {
        height: 250px;
      }
    }

    .card-hover {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .card-hover:hover {
      transform: scale(1.03);
      box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
    }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    background-image: none;
    color: black;
    font-size: 2rem;
  }

   .titulo-secundario {
      font-family: sans-serif;
      color: #ffffffff;
    }

    table {
        border-collapse: separate; /* Cambiado para que border-radius funcione */
        border-collapse: collapse;
        width: 100%;
        text-align: center;
        margin-top: 10px;
        font-size: 12px;
        border-radius: 3px; /* Aquí se redondean las esquinas */
        overflow: hidden; /* Para que el borde redondeado funcione bien */
    }

    th, td {
      padding: 0px 4px;
      border-bottom: 1px solid#473392 !important;

    }

    th {
        background-color: #d73c7f;
        color: black;
        border-left: none;
        border-right: none;
    }

    td {
        background-color: white;
        border-left: none;
        border-right: none;
        color:black;
    }

.carousel-item {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto !important;
    text-align: center;

}

.carousel-item img {
    width: auto !important;
    height: auto;
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

/* Forzar que los botones se centren con respecto al .carousel-item real */
.carousel-control-prev,
.carousel-control-next {
    top: 50% !important;
    transform: translateY(-50%);
    bottom: auto !important;
}


  /* En pantallas pequeñas */
  @media (max-width: 768px) {
      .carousel-item img {
          max-width: 100vw;  /* Quepa en el ancho visible */
          max-height: 100vh; /* Quepa en el alto visible */
      }
  }
/* Títulos metálicos */
.display-two {
    font-family: 'Poppins', 'Oswald', sans-serif;
    font-size: 3rem;
    text-align: center;
    margin: 20px 0;
    background: linear-gradient(135deg, #FFD700 0%, #FFEC8B 25%, #FFA500 50%, #FFF700 75%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    animation: brillo 3s infinite alternate;
}

.display-two.plata {
    background: linear-gradient(135deg, #E6E6E6 0%, #F0F0F0 25%, #C0C0C0 50%, #F5F5F5 75%, #E6E6E6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.4);
    animation: brillo 3s infinite alternate;
}

/* Brillo */
@keyframes brillo {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
    100% { filter: brightness(1); }
}

/* Confeti */
#confetti-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 9999;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: red; /* se cambia con JS */
    opacity: 0.8;
    transform: rotate(0deg);
    animation: caer 4s linear infinite;
    border-radius: 3px;
}

@keyframes caer {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {
    .display-two {
        font-size: 2rem;
    }
}


.display-gold {
    font-family: 'Poppins', 'Oswald', sans-serif; /* tipografía moderna y gruesa */
    font-size: 3rem;
    text-align: center;
    margin: 20px 0;

    /* Gradiente dorado brillante */
    background: linear-gradient(45deg, #FFD700 0%, #FFEA00 25%, #FFC200 50%, #FFE066 75%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* Sombra para resaltar aún más */
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);

    /* Brillo animado */
    animation: brillo 3s infinite alternate;
}

.display-gold.plata {
    background: linear-gradient(45deg, #E6E6E6 0%, #F0F0F0 25%, #C0C0C0 50%, #F5F5F5 75%, #E6E6E6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.4);
    animation: brillo 3s infinite alternate;
}

/* Animación de brillo */
@keyframes brillo {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.5); }
    100% { filter: brightness(1); }
}

/* Responsivo */
@media (max-width: 768px) {
    .display-gold {
        font-size: 2rem;
    }
}

    .cintillo-dorado {
      background: linear-gradient(90deg, #FFD700, #FFA500);
      color: white;
      font-weight: bold;
    }
