@charset "utf-8";
/* CSS Document */


#disco-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#disco-popup.is-visible {
  opacity: 1;
  visibility: visible;
}

#disco-popup .popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(6px);
}

#disco-popup .popup-content {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  max-height: 92vh;
  overflow-y: auto;
  background: #101510;
  color: #fff;
  border: 1px solid #36b653;
  border-radius: 18px;
  box-shadow: 0 0 35px rgba(42, 210, 82, 0.2),
              0 24px 80px rgba(0, 0, 0, 0.65);
  text-align: center;
  transform: translateY(18px) scale(0.98);
  transition: transform 0.3s ease;
}

#disco-popup.is-visible .popup-content {
  transform: translateY(0) scale(1);
}

/* Originalformat des aktuellen Galeriebildes beibehalten */
#disco-popup .popup-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #050805;
}

#disco-popup .popup-body {
  padding: 28px 22px 32px;
  background: linear-gradient(180deg, #142016, #0c100d);
}

#disco-popup h2 {
  margin: 0 0 14px;
  font-size: clamp(27px, 5vw, 39px);
  line-height: 1.12;
  font-weight: 800;
}

#disco-popup h2 span {
  display: block;
  margin-top: 5px;
  color: #62b12f;
  text-shadow: 0 0 18px rgba(66, 212, 99, 0.2);
}

#disco-popup p {
  margin: 0 0 24px;
  color: #e0e7e0;
  font-size: 17px;
  line-height: 1.5;
}

#disco-popup .popup-button {
  display: inline-block;
  padding: 15px 28px;
  border: 1px solid #58e879;
  border-radius: 40px;
  background: #62b12f;
  color: #07100a;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

#disco-popup .popup-button:hover {
  background: #FF0808;
  transform: translateY(-2px);
}

#disco-popup .popup-close {
  position: absolute;
  z-index: 3;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #ffffff70;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

#disco-popup .popup-close:hover {
  background: #2bb94c;
  color: #07100a;
}

@media (max-width: 480px) {
  #disco-popup {
    padding: 12px;
  }

  #disco-popup .popup-content {
    width: 100%;
    max-height: 90vh;
    border-radius: 14px;
  }

  #disco-popup .popup-body {
    padding: 23px 16px 26px;
  }

  #disco-popup .popup-image {
    max-height: 42vh;
  }

  #disco-popup p {
    font-size: 15px;
  }

  #disco-popup .popup-button {
    padding: 13px 21px;
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #disco-popup,
  #disco-popup .popup-content {
    transition: none;
  }
}
