/* Section */
#eris_singers {
  position: relative;
  min-height: 516px;
  overflow: hidden;
  color: #fff;
}

/* Background video */
.eris_singers-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  z-index: auto;
  pointer-events: none;
}

.eris_singers-bg iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Overlay */
.eris_singers-bg .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(64, 0, 64, 0.6); /* dark purple overlay */
  z-index: 1;
}

/* Container */
.eris_singers-container {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  padding: 20px;
  gap: 20px;
  flex-wrap: wrap;
}

/* Left - Spotify Slideshow */
.eris_singers-left {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  position: relative;
}

.eris_singers-left .featured-title {
  color: #b69a63;
  margin-bottom: 15px;
  font-size: 22px;
  letter-spacing: 4px;
  font-weight: 600;
  text-align: center;
  display: block;
  width: 100%;
}

.spotify-slider {
  position: relative;
  overflow: hidden;
}

.spotify-slide {
  display: none;
}

.spotify-slide.active {
  display: block;
}

/* Arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  user-select: none;
  z-index: 3;
  background: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.arrow.left {
  left: -20px;
}

.arrow.right {
  right: -20px;
}

/* Right - Image with Video Popup */
.eris_singers-right {
  flex: 1;
  min-width: 280px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* FIND MORE AT + Button */
.eris-link-wrapper {
  display: flex;
  align-items: center;
  font-family: 'BPGMrgvlovaniCaps2010';
  gap: 10px;
  margin-bottom: 15px;
}

.eris-text {
  font-size: 14px;
  color: #fff;
  letter-spacing: 1px;
}

.eris-link {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid #b69a63;
  color: #b69a63;
  text-decoration: none;
  font-size: 15px;
  font-weight:500;
  transition: all 0.3s ease;
}

.eris-link:hover {
  background: #b69a63;
  color: #000;
}

/* Image with play button */
.image-container {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.image-container img {
  max-width: 100%;
  height: auto;
  display: block;
}

.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  line-height: 69px;
  font-size: 20px;
  color: #fff;
  background: linear-gradient(45deg, #d9b97b, #231800);
  border-radius: 50%;
  text-align: center;
  animation: pulse 2s infinite;
  text-decoration: none;
  z-index: 5;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(217,185,123, 0.7); }
  70% { box-shadow: 0 0 0 25px rgba(217,185,123, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217,185,123, 0); }
}

/* Popup */
.video-popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.video-popup-content {
  position: relative;
  width: 80%;
  max-width: 800px;
  aspect-ratio: 16/9;
}

.video-popup-content iframe {
  width: 100%; height: 100%;
}

.video-popup .close {
  position: absolute;
  top: -40px; right: -10px;
  font-size: 32px;
  color: #fff;
  cursor: pointer;
  z-index: 1001;
  background: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Desktop layout */
@media (min-width: 992px) {
  .eris_singers-left {
    margin-left: 200px;
  }
}

/* Mobile layout */
@media (max-width: 991px) {
  #eris_singers {
    min-height: auto;
    padding: 20px 0;
  }
  
  .eris_singers-container {
    flex-direction: column;
    align-items: center;
    padding: 15px;
    gap: 30px;
  }

  .eris_singers-left,
  .eris_singers-right {
    margin-left: 0;
    width: 100%;
    max-width: 500px;
  }
  
  .eris_singers-left {
    order: -1;
    margin-bottom: 20px;
  }

  .image-container {
    max-width: 80%;
    margin: 0 auto;
  }
  
  .play-btn {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 18px;
  }
  
  .arrow {
    width: 35px;
    height: 35px;
    font-size: 20px;
  }
  
  .arrow.left {
    left: -15px;
  }
  
  .arrow.right {
    right: -15px;
  }
  
  .video-popup-content {
    width: 95%;
  }
  
  .video-popup .close {
    top: -35px;
    right: 0;
    font-size: 28px;
    width: 35px;
    height: 35px;
  }

  /* Stack FIND MORE AT vertically */
  .eris-link-wrapper {
    flex-direction: column;
    gap: 5px;
  }
}

/* Very small mobile devices */
@media (max-width: 480px) {
  .eris_singers-left,
  .eris_singers-right {
    max-width: 100%;
  }
  
  .image-container {
    max-width: 90%;
  }
  
  .play-btn {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 16px;
  }
  
  .featured-title {
    font-size: 18px;
  }
}
