.container__cards {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 50px 30px 10px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.container__cards .card {
  border-radius: 25px;
  border: solid 2px #039df4;
  padding: 40px;
  color: #fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  transition: all 0.5s ease-in-out;
  opacity: 1;
  width: 335px;
  height: auto;
}

/* .container__cards .card:nth-child(1) {
  background-image: url(https://aprodmovistarcomsa.z13.web.core.windows.net/persons/oferta-gamer/eventos/assets/img_EA.webp);
} */

.container__cards .card:nth-child(1) {
  background-image: url(https://aprodmovistarcomsa.z13.web.core.windows.net/persons/oferta-gamer/eventos/assets/TORNEO-EFOT.webp);
}



.container__cards .card .fecha {
  background-color: #d3ff33;
  font-size: 18px;
  line-height: normal;
  font-weight: 700;
  padding: 2px 15px;
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%
  );
  color: #000;
}

.container__cards .card .title {
  font-size: 24px;
  font-weight: 700;
  line-height: normal;
  color: #fff;
}

.container__cards .card .subtitle {
  font-size: 15px;
  font-weight: 400;
  line-height: normal;
  color: #fff;
}

.container__cards .card .content-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.btn-card-eventos {
  width: 100%;
  max-width: 147px;
  background-color: #039df4;
  border-radius: 50px;
  min-height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  margin-top: 15px;
}

.hidden {
  display: none !important;
  opacity: 0 !important;
}

.btn-toggle {
  display: block;
  width: 313px;
  margin: 0 auto 60px;
  padding: 16px 20px;
  background-color: #039df4;
  color: white;
  font-size: 20px;
  border: none;
  font-weight: bold;
  border-radius: 36px;
  cursor: pointer;
  text-align: center;
}

.btn-toggle.icn-after-chevron-down-regular::after {
  opacity: 0;
  display: none;
}

.popup-torneo {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.70);
  justify-content: center;
  align-items: center;
}

.popup-content {
  position: relative;
  margin: auto;
  width: 90%;
  background-image: url('https://aprodmovistarcomsa.z13.web.core.windows.net/persons/oferta-gamer/eventos/assets/Torneo-fifa.webp');
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  border-radius: 8px;
  height: auto;
  padding-bottom: 140%;
}

.btn-inscribete {
  position: absolute;
  width: 168px;
  height: 39px;
  top: 72%;
  left: 49%;
  text-align: center;
  transform: translateX(-50%);
  background-color: #ffffff;
  color: #019DF4;
  padding: 7px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  display: inline-block;
}

.btn-inscribete:hover {
  transform: translateX(-50%) scale(1.05);
}

.close-popup {
  position: absolute;
  top: 36%;
  right: 0%;
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

@media (min-width: 768px) {
  .container__cards {
    /* display: grid; */
    grid-template-columns: 31% 31% 31%;
    align-items: stretch;
  }

  .btn-toggle {
    background-color: transparent;
    margin-left: auto;
    margin-right: 15px;
    width: auto;
  }

  .btn-toggle.icn-after-chevron-down-regular::after {
    color: var(--blue);
    transition: transform 0.3s ease;
    display: -webkit-inline-box;
    opacity: 1;
    font-size: 1rem;
    margin-left: 6px;
  }

  .btn-toggle.icn-after-chevron-down-regular.rotated::after {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
  }

  .popup-content {
    padding-bottom: 50%;
  }

  .btn-inscribete {
    top: 66.5%;
    left: 22.5%;
  }

  .close-popup {
    top: 19% !important;
    right: 1%;
  }
}

@media (min-width: 1470px) {
  .btn-inscribete {
    top: 65.5%;
  }
}