.demo-container {
  text-align: center;
  max-width: 800px;
  margin-bottom: 40px;
}

.demo-container h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #212529 0%, rgb(194, 178, 128) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.demo-container p {
  font-size: 18px;
  opacity: 0.8;
  margin-bottom: 30px;
  line-height: 1.6;
}

.demo-button {
  background: linear-gradient(135deg, #212529 0%, rgb(194, 178, 128) 100%);
  color: white;
  border: none;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.demo-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.demo-info {
  margin-top: 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin-bottom: 16px;
  color: #f093fb;
}

.demo-info ul {
  text-align: left;
  list-style-position: inside;
  opacity: 0.9;
  line-height: 1.8;
}

/* STYLES DE LA MODAL */
@keyframes slideIn {
  from {
    transform: translateX(120%) scale(0.8);
    opacity: 0;
  }

  to {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0) scale(1);
    opacity: 1;
  }

  to {
    transform: translateX(120%) scale(0.9);
    opacity: 0;
  }
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 20px 60px rgba(255, 107, 107, 0.3),
      0 0 0 0 rgba(255, 107, 107, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }

  50% {
    box-shadow: 0 25px 70px rgba(255, 107, 107, 0.4),
      0 0 0 10px rgba(255, 107, 107, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

.modal-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
}

.modal-container.show {
  animation: slideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.modal-container.hide {
  animation: slideOut 0.3s ease-out forwards;
}

.event-modal {
  position: relative;
  width: 380px;
  background: linear-gradient(145deg, #212529 0%, rgb(194, 178, 128) 100%);
  border-radius: 24px;
  padding: 32px;
  color: white;
  animation: pulse 3s ease-in-out infinite;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.event-modal:hover {
  transform: scale(1.02);
}

.event-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.3) 50%,
      rgba(255, 255, 255, 0) 100%);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
  pointer-events: none;
}

.event-modal::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: float 4s ease-in-out infinite;
  pointer-events: none;
}

.close-button {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(10px);
}

.close-button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg) scale(1.1);
}

.event-dates {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 8px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
}

.event-months {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

.event-emoji {
  font-size: 40px;
  margin-bottom: 12px;
  display: inline-block;
  animation: float 2s ease-in-out infinite;
  position: relative;
  z-index: 1;
}

.event-title {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.event-subtitle {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.25);
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
}

.event-description {
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.95;
  margin-bottom: 6px;
  position: relative;
  z-index: 1;
}

.divider {
  width: 60px;
  height: 3px;
  background: rgba(255, 255, 255, 0.5);
  margin: 20px 0;
  border-radius: 2px;
  position: relative;
  z-index: 1;
}

@media (max-width: 480px) {
  .event-modal {
    width: calc(100vw - 48px);
    max-width: 380px;
  }

  .demo-container h1 {
    font-size: 32px;
  }

  .demo-container p {
    font-size: 16px;
  }
}