/* -----------------------------------------------
   Citadel Animation Enhancements
   Optional subtle effects
   ----------------------------------------------- */
/* -----------------------------------------------
   Citadel Animation Enhancements — Matched to HTML
   ----------------------------------------------- */

/* 1. Subtle glow pulse when hovering the citadel wrapper */

h3 {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: normal;
  color: #888;
}

.citadel-image-wrapper:hover img {
  filter: drop-shadow(0 0 8px #bb88ff);
  transition: filter 0.4s ease-in-out;
}

/* 2. Title shimmer for the <h2> element */
.citadel-coming-soon h2 {
  position: relative;
  overflow: hidden;
  display: inline-block;
  color: #eae6ff;
}

.citadel-coming-soon h2::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -75%; }
  100% { left: 125%; }
}

/* 3. Glowing scribble effect around caption text */
.citadel-caption em {
  position: relative;
  display: inline-block;
  padding: 2px 4px;
  color: #d8b9ff;
  animation: scribbleGlow 4s infinite ease-in-out;
}

@keyframes scribbleGlow {
  0%, 100% {
    text-shadow: 0 0 2px #cc66ff;
    opacity: 0.8;
  }
  50% {
    text-shadow: 0 0 6px #cc66ff;
    opacity: 1;
  }
}

/* 4. Animated button effects for Future Home of The Citadel */
.nav-button {
  position: relative;
  display: inline-block;
  background: #3c104f;
  border: none;
  border-radius: 12px;
  padding: 12px 24px;
  font-size: 1.1em;
  color: #ffe8ff;
  cursor: pointer;
  box-shadow: 0 0 8px rgba(187, 136, 255, 0.4);
  transition: transform 0.3s ease, box-shadow 0.4s ease;
}

.nav-button:hover {
  transform: perspective(400px) rotateX(4deg) rotateY(-4deg);
  box-shadow:
    0 0 6px #bb88ff,
    0 0 12px #c78cff inset,
    0 0 24px rgba(255, 160, 255, 0.2);
}
