/* Gate Darkness */
.gate-body {
  background: #000;
  margin: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cinzel", serif;
  overflow: hidden;
}

/* Center Container */
.center {
  text-align: center;
}

/* Vault Title - Commanding and Centered */
.vault-title {
  font-size: 3.5rem;
  color: #c2964a;
  font-weight: 900;
  letter-spacing: 8px;
  margin: 0 0 40px 0;
  text-shadow: 0 0 20px rgba(194, 150, 74, 0.3);
  font-family: "Cinzel", serif;
  opacity: 0.95;
  text-transform: uppercase;
}

/* Sigil Pulse */
.sigil {
  font-size: 4rem;
  color: #c2964a;
  opacity: 0.9;
  cursor: pointer;
  transition: transform 1.4s ease, opacity 1.4s ease;
  animation: pulse 4s infinite;
}

.sigil:hover {
  opacity: 1;
  transform: scale(1.08);
}

/* Entry text (hidden by default) */
.entry {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #c2964a;
  opacity: 0;
  text-decoration: none;
  letter-spacing: 1px;
  transition: opacity 1s ease;
  display: block;
}

/* Reveal text on hover */
.sigil:hover + .entry {
  opacity: 1;
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.04);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
}
.gate-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #d4af37;
  transition: opacity 0.4s ease, filter 0.4s ease;
  position: relative;
}

.gate-link:hover {
  filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.7));
}

.gate-text {
  font-size: 4rem;
  letter-spacing: 0.2rem;
}

.gate-sigil {
  margin-top: 1.5rem;
  font-size: 3rem;
  opacity: 0.8;
}

/* Hover Whisper */
.gate-whisper {
  font-size: 0.9rem;
  opacity: 0;
  color: rgba(212, 175, 55, 0.75);
  margin-top: 2rem;
  transition: opacity 0.8s ease;
  text-align: center;
  line-height: 1.4;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.center:hover .gate-whisper {
  opacity: 1;
}
.ember-fade {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at center,
    rgba(255, 130, 20, 0.8) 0%,
    rgba(120, 40, 10, 0.7) 40%,
    rgba(0, 0, 0, 1) 100%
  );
  animation: emberAscend 0.8s ease forwards;
  z-index: 9999;
}

@keyframes emberAscend {
  0% {
    opacity: 0;
    transform: scale(1);
    filter: blur(0px);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: scale(1.2);
    filter: blur(2px);
  }
}

