.atlp-reviews {
  position: relative;
  padding: 20px 110px;
}

/** ATLP Card Styles */
.atlp_card {
  background-color: #fff;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1),
    rgba(149, 157, 165, 0.2) 0px 8px 24px;
  overflow: hidden;
}

.atlp_card_content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
  gap: 10px;
}

.atlp_card_image {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.atlp_card_image a {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.atlp_card_image img {
  border-radius: 4px;
  /* object-fit: cover; */
}

.atlp_card_details {
  width: 100%;
}

.atlp_card_details h2 {
  margin: 10px 0;
  font-size: 26px;
  font-weight: bold;
}

.atlp_bonus {
  margin: 5px 0;
  font-size: 18px;
  color: #0400ff;
}

.atlp_features {
  padding: 0;
  margin: 0;
  width: 270px;
}

.atlp_features li {
  list-style: none;
  font-size: 16px;
  color: #333;
  margin: 5px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.atlp_features li svg {
  rotate: 180deg;
}

.atlp_play_button {
  width: 165px;
  color: white !important;
  padding: 15px 10px;
  font-size: 16px;
  text-align: center;
  text-decoration: none !important;
  border-radius: 4px;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s;
  box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.1),
    inset 2px 2px 5px rgba(255, 255, 255, 0.2);
}
.atlp_play_button:hover {
  color: white;
}

.atlp_progress_bar {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
}

.atlp_progress_bar span {
  text-align: center;
  font-family: Arial;
  font-size: 24px;
  font-weight: 900;
  line-height: 120%;
  margin: 0;
}
.atlp_progress_bar {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.atlp_progress_bar span {
  text-align: center;
  font-family: Arial;
  font-size: 24px;
  font-weight: 900;
  line-height: 120%;
  margin: 0;
}
.atlp_ribbon {
  position: absolute;
  top: 7px;
  left: -36px;
  width: 100px;
  height: 80px;
  background: transparent;
}
.atlp_ribbon span {
  text-transform: uppercase;
  position: absolute;
  display: block;
  width: 120px;
  padding: 1px 0;
  border: 1px solid #fff;
  color: white;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  transform: rotate(-35deg);
  -webkit-transform: rotate(-35deg);
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
}
@media screen and (max-width: 768px) {
  .atlp-reviews {
    padding-left: 10px;
    padding-right: 10px;
  }
  .atlp_ribbon {
    top: 7px;
    left: -37px;
  }
  .atlp_ribbon span {
    font-size: 12px;
  }
}
/** list Card */
.list .atlp_card {
  margin-bottom: 20px;
}

.list .atlp_card_image img {
  width: 180px;
  height: 120px;
  object-fit: cover;
}

.list .atlp_card_details {
  width: 280px;
}

/** grid Card */
.atlp-reviews.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.grid .atlp_card {
  max-width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 5px;
}

.grid .atlp_card_content {
  flex-direction: column;
  height: 100%;
  padding: 10px;
}
.grid .atlp_card_image {
  width: 100%;
  justify-content: space-between;
}
.grid .atlp_card_image img {
  width: 160px;
  height: 100px;
  object-fit: cover;
}

.grid .atlp_features {
  width: 100%;
}

.grid .atlp_play_button {
  width: 100%;
  padding: 15px 0;
}
.grid .terms_and_conditions_label,
.list .terms_and_conditions_label {
  display: none;
}
/** Media Queries */
@media screen and (max-width: 981px) {
  .list .atlp_card_content {
    flex-wrap: wrap;
    padding: 10px;
    justify-content: unset;
    column-gap: 40px;
  }

  .list .atlp_features,
  .grid .atlp_features {
    width: 100%;
  }

  .list .atlp_play_button,
  .grid .atlp_play_button {
    width: 100%;
  }

  .atlp-reviews.grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .atlp_play_button {
    font-size: 14px;
  }
}

@media screen and (max-width: 768px) {
  .list .atlp_card_image {
    width: 100%;
    justify-content: space-between;
  }

  .list .atlp_card_details,
  .grid .atlp_card_details {
    width: 100%;
  }

  .list .atlp_card_image img {
    width: 160px;
    height: 90px;
  }

  .list .atlp_card {
    max-width: 430px;
    margin: 0 auto;
    margin-bottom: 20px;
  }

  .atlp-reviews.grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.loading-spinner {
  border: 4px solid #f3f3f3; /* Light grey */
  border-top: 4px solid #3498db; /* Blue */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 0 auto;
  position: absolute;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
}

/* Animation to make it spin */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/** terms and Condition */
.terms_and_conditions {
  background: rgba(17, 52, 84, 0.05);
  padding: 5px 10px;
}
.terms_and_conditions p {
  color: #5f5f5f;
  width: 100%;
  margin: 0;
  font-size: 12px;
}

/** Simplified Card */
.atlp-reviews.simplified {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 5px;
  border-radius: 12px;
  row-gap: 10px;
}
.simplified .atlp_progress_bar,
.simplified .atlp_card_details h2,
.simplified .atlp_features {
  display: none;
}
.simplified .atlp_card {
  max-width: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 0 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease-in-out;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 3px;
}
.simplified .atlp_card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.simplified .atlp_card_content {
  flex-direction: column;
  height: 100%;
  padding: 5px;
  gap: 5px;
}
.simplified .atlp_card_image {
  width: 100%;
  justify-content: space-between;
}
.simplified .atlp_card_image a {
  width: 100%;
  max-height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 20px;
}

.simplified .atlp_card_image a img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  height: auto;
}
.simplified .atlp_card_image a img.scaled-image {
  border: none !important;
}

.simplified .atlp_bonus {
  font-size: 15px;
  color: #333;
  font-weight: 600;
  margin-bottom: 5px;
  line-height: 1.5;
  letter-spacing: 0.5px;
}
.simplified .atlp_features {
  width: 100%;
}

.simplified .atlp_play_button {
  width: 75%;
  padding: 10px 0;
}
.simplified .terms_and_conditions_simplified {
  font-size: 12px;
  color: #888;
  text-align: center;
  margin: 0;
  display: inline-block;
  cursor: pointer;
}

.simplified .terms_and_conditions_simplified:hover::after {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 10px;
  border-radius: 5px;
  width: calc(100% - 30px);
  max-width: 200px;
  font-size: 13px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  z-index: 10;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.3s ease-in-out;
  line-height: 16px;
}
.simplified .atlp_card_footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 7px;
}

/** Media Queries */
@media screen and (max-width: 981px) {
  .simplified .atlp_features {
    width: 100%;
  }

  .simplified .atlp_play_button {
    font-size: 14px;
  }

  .atlp-reviews.simplified {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
  }
}

@media screen and (max-width: 768px) {
  .simplified .atlp_card_details {
    width: 100%;
  }
  .atlp-reviews.simplified {
    grid-template-columns: repeat(2, 1fr);
  }
  .simplified .terms_and_conditions_simplified:hover::after {
    font-size: 12px;
    top: 35px;
  }
}
