/* == HERO SECTIONS                      == */

/* Dark overlay for all hero banners */
.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.8) 100%),
    radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.6) 100%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255, 255, 255, 0.03) 2px,
      rgba(255, 255, 255, 0.03) 4px
    );
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
}
/* Gradient text for hero titles */
.hero-overlay h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--animus-blue);
  animation: hologram-flicker 4s infinite alternate;
  text-shadow: 0 0 20px var(--animus-glow);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 4px;
}

@keyframes hologram-flicker {
  0% {
    text-shadow: 0 0 10px var(--animus-glow);
    opacity: 1;
  }
  50% {
    text-shadow:
      0 0 25px var(--animus-blue),
      0 0 5px rgba(255, 255, 255, 0.5);
    opacity: 0.8;
  }
  55% {
    opacity: 0.2;
  }
  60% {
    opacity: 1;
    text-shadow:
      -2px 0 var(--animus-blue),
      2px 0 var(--bright-red);
  }
  65% {
    opacity: 1;
    text-shadow: 0 0 15px var(--animus-glow);
  }
  100% {
    text-shadow: 0 0 15px var(--animus-glow);
    opacity: 1;
  }
}

/* Generic hero banner for game detail pages (Mirage.html, etc.) */
.hero-game-detail {
  height: 60vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* == GAME DETAIL STYLES (MIRAGE.HTML)   == */

/* Main content container for game detail pages */
.game-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* Title for sections within a game page */
.section-title {
  text-align: center;
  color: var(--animus-blue);
  margin-top: 3rem;
  margin-bottom: 2rem;
  font-size: 2.25rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px var(--animus-glow);
}
/* Subtitle used next to the video embed */
.section-subtitle {
  color: var(--animus-blue);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

/* Responsive two-column layout (for video/text and characters) */
.two-column-layout {
  display: grid;
  grid-template-columns: 1fr; /* Single column on mobile */
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .two-column-layout {
    grid-template-columns: 1fr 1fr; /* Two columns on larger screens */
  }
}

/* Responsive container for YouTube video embeds */
.video-responsive {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  border-radius: 4px;
  border: 1px solid rgba(0, 210, 255, 0.2);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.1);
}
.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Responsive three-column layout (for features and gallery) */
.three-column-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
}

/* Container for the features section */
.features-section {
  margin: 3rem 0;
}

/* Individual feature item (icon, title, text) */
.feature-item i {
  font-size: 3rem;
  color: var(--animus-blue);
  margin-bottom: 1rem;
  text-shadow: 0 0 10px var(--animus-glow);
}
.feature-item h5 {
  font-size: 1.25rem;
  color: var(--text-white);
}

/* Individual character card */
.character-card img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(0, 210, 255, 0.2);
}
.character-card h5 {
  font-size: 1.25rem;
}

/* Individual gallery image */
.gallery-item img {
  width: 100%;
  border-radius: 4px;
  border: 1px solid rgba(0, 210, 255, 0.2);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

/* Call-to-action section at the bottom of game pages */
.cta-section {
  text-align: center;
  background-color: var(--bg-card); /* gray-800 */
  padding: 2.5rem;
  border-radius: 4px;
  margin: 4rem auto;
  border: 1px solid rgba(0, 210, 255, 0.1);
  box-shadow: inset 0 0 20px rgba(0, 210, 255, 0.05);
}
.cta-section h3 {
  font-size: 1.75rem;
  color: var(--animus-blue);
  margin-bottom: 1rem;
  text-shadow: 0 0 5px var(--animus-glow);
}
/* Button styling for the CTA */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: rgba(0, 210, 255, 0.1);
  color: var(--animus-blue);
  border: 1px solid var(--animus-blue);
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.btn:hover {
  background-color: var(--animus-blue);
  color: var(--bg-black);
  box-shadow: 0 0 15px var(--animus-glow);
}
