/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* ===== BACKGROUND ===== */
body {
  background-image: url('assets/villain-bg.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ===== DARK OVERLAY (vignette) ===== */
.overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* ===== NAV BLACKOUT BAR ===== */
.nav-blackout {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* Adjust height to fully cover the nav words in your image */
  height: 70px;
  background: #000000;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid rgba(160, 60, 220, 0.6);
}

/* ===== BANNER TEXT ===== */
.banner-text {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(0.85rem, 2.5vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow:
    0 0 10px rgba(180, 79, 255, 0.9),
    0 0 25px rgba(180, 79, 255, 0.5);
  animation: flicker 4s infinite;
}

/* Subtle flicker to give it a neon/graffiti feel */
@keyframes flicker {
  0%, 95%, 100% { opacity: 1; }
  96%            { opacity: 0.6; }
  97%            { opacity: 1; }
  98%            { opacity: 0.4; }
  99%            { opacity: 1; }
}

/* ===== HERO CENTER ===== */
.hero {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== ENTER BUTTON ===== */
.enter-btn {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: clamp(0.9rem, 2.5vw, 1.2rem);
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #ffffff;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.85);
  padding: 1.1rem 3rem;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  box-shadow:
    0 0 12px rgba(160, 60, 220, 0.4),
    0 0 30px rgba(160, 60, 220, 0.15);
}

.enter-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(130, 30, 200, 0.55);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
  z-index: -1;
}

.enter-btn:hover::before {
  transform: scaleX(1);
}

.enter-btn:hover {
  border-color: #b44fff;
  color: #ffffff;
  box-shadow:
    0 0 20px rgba(180, 79, 255, 0.7),
    0 0 50px rgba(180, 79, 255, 0.3);
}

.enter-btn:active {
  transform: scale(0.97);
}

/* ===== FLASH / TRANSITION OUT ===== */
body.flash-out {
  animation: flashOut 0.6s ease forwards;
}

@keyframes flashOut {
  0%   { filter: brightness(1); }
  50%  { filter: brightness(2.5); }
  100% { filter: brightness(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
  .enter-btn {
    padding: 0.9rem 2rem;
    letter-spacing: 0.2em;
  }
  .banner-text {
    letter-spacing: 0.15em;
  }
}