/* Komby Event Popup — La Villa d'Or (Slider Fêtes 24 & 31 décembre) */
.komby-ep {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
}
.komby-ep[hidden] {
  display: none !important;
}
.komby-ep__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 6, 4, 0.84);
  backdrop-filter: blur(4px);
}
.komby-ep__dialog {
  position: relative;
  z-index: 1;
  width: min(94vw, 460px);
  max-height: min(94vh, 860px);
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 14px;
  background: linear-gradient(165deg, #16120c 0%, #0d0a07 55%, #16120c 100%);
  box-shadow:
    0 0 0 1px rgba(212, 174, 94, 0.48),
    0 0 32px rgba(212, 174, 94, 0.22),
    0 24px 60px rgba(0, 0, 0, 0.65);
  animation: komby-ep-in 0.35s ease-out;
}
@keyframes komby-ep-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
.komby-ep__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(212, 174, 94, 0.55);
  border-radius: 50%;
  background: rgba(12, 9, 6, 0.78);
  color: #f6e7c1;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.komby-ep__close:hover {
  background: rgba(212, 174, 94, 0.92);
  color: #140f08;
  transform: scale(1.06);
}
.komby-ep__stage {
  position: relative;
}
.komby-ep__nav {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 9;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(212, 174, 94, 0.65);
  border-radius: 50%;
  background: rgba(12, 9, 6, 0.78);
  color: #f3d285;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.komby-ep__nav:hover {
  background: linear-gradient(135deg, #e5c271, #b89039);
  color: #140f08;
  transform: translateY(-50%) scale(1.08);
}
.komby-ep__nav--prev { left: 10px; }
.komby-ep__nav--next { right: 10px; }
.komby-ep__nav[hidden] { display: none !important; }

.komby-ep__slide {
  display: none;
}
.komby-ep__slide.is-active {
  display: block;
  animation: komby-ep-fade 0.25s ease-out;
}
@keyframes komby-ep-fade {
  from { opacity: 0.35; }
  to   { opacity: 1; }
}
.komby-ep__poster-link {
  display: block;
  line-height: 0;
  background: #0b0907;
}
.komby-ep__poster {
  display: block;
  width: 100%;
  max-height: 70vh;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  border-radius: 14px 14px 0 0;
}
.komby-ep__cta {
  padding: 0.75rem 1rem 0.9rem;
  text-align: center;
}
.komby-ep__date {
  margin: 0 0 0.6rem;
  color: #f0e6c8;
  font-size: 0.86rem;
  line-height: 1.4;
  letter-spacing: 0.015em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.komby-ep__btn {
  display: inline-block;
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #e2be6c, #b89039);
  color: #140f08 !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none !important;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 18px rgba(212, 174, 94, 0.32);
}
.komby-ep__btn:hover {
  filter: brightness(1.08);
}
.komby-ep__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 0 0.85rem;
}
.komby-ep__dots[hidden] { display: none !important; }
.komby-ep__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(212, 174, 94, 0.7);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.komby-ep__dot.is-active {
  background: #e2be6c;
  transform: scale(1.18);
}
@media (max-width: 480px) {
  .komby-ep__dialog { width: min(96vw, 440px); }
  .komby-ep__nav { width: 34px; height: 34px; font-size: 17px; }
  .komby-ep__btn { font-size: 0.86rem; padding: 0.6rem 1.05rem; }
}
