/* Guild Intro Video Loader Styles */
.guild-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  background: rgba(10, 20, 15, 0.85);
  color: rgba(232, 230, 200, 0.9);
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
  opacity: 1;
  transition: opacity 0.6s ease;
  z-index: 9999;
}

.guild-loader p {
  margin-top: 20px;
  animation: textPulse 1.5s infinite ease-in-out;
}

.guild-loader img.loader-crest {
  width: 120px;
  height: auto;
  margin-bottom: 20px;
  animation: crestPulse 2.2s infinite ease-in-out;
  filter: drop-shadow(0 0 12px rgba(78, 224, 166, 0.4));
}

@keyframes crestPulse {
  0%, 100% { 
    transform: scale(1); 
    opacity: 0.85; 
  }
  50% { 
    transform: scale(1.05); 
    opacity: 1; 
  }
}

@keyframes textPulse {
  0%, 100% { 
    opacity: 0.7; 
  }
  50% { 
    opacity: 1; 
  }
}

/* Ensure video is properly styled */
.intro-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.intro-video.show {
  opacity: 1;
  pointer-events: auto;
}

.intro-video.fadeout {
  opacity: 0;
  transition: opacity 0.45s ease;
}

/* Hint text for skipping */
.intro-hint {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-family: 'Fira Sans', sans-serif;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 10000;
  pointer-events: none;
}

.intro-hint.show {
  opacity: 1;
}
