@import url('https://fonts.googleapis.com/css2?family=Merriweather&family=Open+Sans:wght@400;600&display=swap');

.festival-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.festival-modal.show {
  opacity: 1;
}

.festival-modal-content {
  background: linear-gradient(145deg, #2a0b00, #140500);
  border: 1px solid rgba(192, 144, 80, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(192, 144, 80, 0.15);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  max-width: 90%;
  width: 540px;
  position: relative;
  transform: scale(0.9);
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-family: 'Merriweather', Georgia, serif;
}

.festival-modal.show .festival-modal-content {
  transform: scale(1);
}

.festival-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: #c09050;
  font-size: 28px;
  cursor: pointer;
  opacity: 0.7;
  line-height: 1;
  padding: 0;
  transition: opacity 0.3s ease;
}

.festival-close-btn:hover {
  opacity: 1;
}

.festival-img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 12px;
  border: 2px solid rgba(192, 144, 80, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.festival-gold-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #c09050;
  opacity: 0.9;
  margin-bottom: 15px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
}

.festival-title {
  font-size: 2.2rem;
  margin: 0 0 16px;
  font-weight: 900;
  background: linear-gradient(135deg, #fff2cc, #f7e090, #c28a39, #fff2cc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: gold-shine 4s linear infinite;
}

.festival-msg {
  color: #e6c594;
  font-size: 1rem;
  line-height: 1.7;
  font-family: 'Open Sans', sans-serif;
  margin: 0 auto 28px auto;
  max-width: 440px;
}

.festival-chant {
  font-size: 1.9rem;
  color: #ffaa44;
  margin-bottom: 30px;
  letter-spacing: 3px;
  text-shadow: 0 0 15px rgba(255, 170, 68, 0.5);
  font-weight: bolder;
}

@keyframes gold-shine {
  to {
    background-position: 200% center;
  }
}

.festival-enter-btn {
  background: linear-gradient(135deg, #c09050, #8c6230);
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 30px;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(192, 144, 80, 0.3);
  transition: all 0.3s ease;
}

.festival-enter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(192, 144, 80, 0.4);
}

@keyframes gentle-float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}
