/* Cecil Arenas — 3D Intro Overlay */
#arena-intro-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  z-index: 99999;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 1.2s ease;
}

#arena-intro-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

#arena-intro-canvas {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

#arena-enter-btn {
  position: absolute;
  bottom: 12%;
  z-index: 10;
  font-family: 'Times New Roman', serif;
  font-size: 1.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #d4a017;
  background: rgba(0, 0, 0, 0.6);
  border: 2px solid #d4a017;
  padding: 14px 48px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease, background 0.3s ease, box-shadow 0.3s ease;
  pointer-events: none;
}

#arena-enter-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#arena-enter-btn:hover {
  background: rgba(212, 160, 23, 0.2);
  box-shadow: 0 0 30px rgba(212, 160, 23, 0.4), inset 0 0 15px rgba(212, 160, 23, 0.1);
}

#arena-intro-title {
  position: absolute;
  top: 8%;
  z-index: 10;
  font-family: 'Times New Roman', serif;
  font-size: 3rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #d4a017;
  text-shadow: 0 0 20px rgba(212, 160, 23, 0.5), 0 0 60px rgba(212, 160, 23, 0.2);
  opacity: 0;
  transition: opacity 2s ease;
}

#arena-intro-title.visible {
  opacity: 1;
}

#arena-intro-overlay .loading-text {
  color: #666;
  font-family: 'Times New Roman', serif;
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  z-index: 10;
}

@media (max-width: 768px) {
  #arena-intro-title { font-size: 1.8rem; top: 10%; }
  #arena-enter-btn { font-size: 1.2rem; padding: 12px 32px; bottom: 15%; }
}
