/* Popup Overlay */
.xmas-popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(2px);
  transition: opacity 0.4s ease;
}

/* Popup Content */
.xmas-popup-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
  transform-origin: bottom center;
  transition: transform 0.3s ease;
}

.xmas-popup-content:hover {
  transform: scale(1.01);
}

/* Image */
.xmas-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 28px;
}

/* Button */
.cta-button {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 36px;
  background: #FFD700;
  color: #000;
  text-decoration: none;
  border-radius: 35px;
  font-weight: bold;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  font-family: inherit;
  z-index: 10;
}

.cta-button:hover {
  background: #FFC107;
  transform: translateX(-50%) translateY(-3px) scale(1.03);
  box-shadow: 0 8px 20px rgba(255, 215, 0, 0.5);
}

/* Close Button */
.popup-close {
  position: absolute;
  top: 25px;
  right: 25px;
  font-size: 36px;
  color: white;
  background: rgba(0,0,0,0.5);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.2s ease;
  border: 2px solid rgba(255,255,255,0.2);
}

.popup-close:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.1);
  border-color: rgba(255,255,255,0.4);
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes fadeOutDown {
  from { opacity: 1; transform: translateY(0) scale(1); }
  to { opacity: 0; transform: translateY(40px) scale(0.95); }
}

/* Close Animation Trigger */
.xmas-popup-content.close-animation {
  animation: fadeOutDown 0.6s ease-in;
}

@media (max-width: 768px) {
  .xmas-popup-content {
    width: 95%;
    border-radius: 20px;
  }
  .cta-button {
    padding: 12px 24px;
    font-size: 0.95em;
    bottom: 20px;
  }
  .popup-close {
    top: 20px;
    right: 20px;
    font-size: 30px;
    width: 40px;
    height: 40px;
  }
}