/* === Image Pop-up custom === */

.competition-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.competition-popup-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.competition-popup-content {
  position: relative;
  max-width: 550px;
  width: 100%;
  transform: scale(0.95);
  transition: transform 0.4s ease;
  padding: 20px;
}
.competition-popup-overlay.is-visible .competition-popup-content {
  transform: scale(1);
}

.competition-popup-content a.popup-main-link {
  display: block;
  line-height: 0;
}

.competition-popup-content img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

/* Close btn */
.popup-close-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  background-color: #111;
  border: 2px solid #fff;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.popup-close-btn svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
}

/* Rules href */
.popup-footer {
  text-align: center;
  margin-top: 15px;
  font-size: 1rem;
}
.popup-footer a {
  color: #fff;
  text-decoration: underline;
}
