/* == 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(--text-white);
  }
  65% {
    opacity: 1;
    text-shadow: 0 0 15px var(--animus-glow);
  }
  100% {
    text-shadow: 0 0 15px var(--animus-glow);
    opacity: 1;
  }
}

/* Hero banner for the main landing page (era.html) */
#hero-modern,
#hero-dynamic {
  height: 60vh;
  min-height: 400px;
  background-image: url("../Media/ModernBanner.webp"); /* Overridden by JS for Dynamic */
  background-size: cover;
  background-position: center;
  position: relative;
}

/* == GAME CARD STYLES (era.html)       == */

/* Container for the game cards section */
#master-assassins,
.game-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

#master-assassins h2,
.game-container h2 {
  margin-bottom: 3rem;
}

/* Responsive grid for the game cards */
.assassin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  position: relative;
}

@media (min-width: 768px) {
  .assassin-grid::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -15px;
    width: 2px;
    background: linear-gradient(
      to bottom,
      transparent,
      rgba(0, 210, 255, 0.5) 10%,
      rgba(0, 210, 255, 0.5) 90%,
      transparent
    );
    z-index: 0;
  }
}

/* Individual game card styling */
a.assassin-card {
  display: block;
  background: linear-gradient(135deg, rgba(5, 8, 15, 0.9), rgba(0, 0, 0, 0.9));
  border-radius: 4px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  text-align: left;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 210, 255, 0.2);
  padding: 0;
  position: relative;
  text-decoration: none;
}

a.assassin-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: border-color 0.3s ease;
  pointer-events: none;
}

a.assassin-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 12px 35px rgba(0, 210, 255, 0.2),
    0 0 30px rgba(0, 210, 255, 0.1);
  border-color: var(--animus-blue);
}

a.assassin-card:hover::after {
  border-color: rgba(0, 210, 255, 0.4);
}

.assassin-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 4px 4px 0 0;
  border-bottom: 2px solid rgba(0, 210, 255, 0.4);
}

.assassin-info {
  padding: 1.5rem;
}

.assassin-card h3 {
  font-size: 1.4rem;
  color: var(--text-white);
  margin: 0 0 0.5rem 0;
  font-weight: 700;
}

.assassin-card p.assassin-era {
  color: var(--animus-blue);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  margin-top: 0;
}

.assassin-card p.assassin-desc {
  padding: 0;
  margin-top: 0.5rem;
  color: var(--text-gray);
  line-height: 1.6;
}

/* Glassmorphism About Content added via JS */
.about-content {
  background: rgba(5, 8, 15, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 210, 255, 0.1);
  border-left: 4px solid var(--animus-blue);
  border-radius: 4px;
  padding: 3rem;
  box-shadow:
    inset 0 0 20px rgba(0, 210, 255, 0.05),
    0 15px 35px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

.about-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--animus-blue),
    transparent
  );
  z-index: 10;
}

.about-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  letter-spacing: 0.3px;
}
.about-content p:first-of-type::first-letter {
  font-size: 3.5rem;
  float: left;
  margin-right: 0.5rem;
  line-height: 1;
  color: var(--animus-blue);
  font-family: var(--font-primary);
  text-shadow: 0 0 10px var(--animus-glow);
}
