/* Typography and Globals */
@font-face {
  font-family: "Assasign";
  src: url("../Media/Assassin.ttf") format("truetype");
  font-display: swap;
}

/* == GLOBAL CSS VARIABLES == */
:root {
  /* Animus Blue Theme (Primary) */
  --animus-blue: #00d2ff;
  --animus-glow: rgba(0, 210, 255, 0.6);
  --animus-dark-blue: #004d66;

  /* Red Theme (Templar/Glitch) */
  --primary-red: #ff3333;
  --bright-red: #ff0000;
  --blood-red: #8b0000;
  --templar-glow: rgba(255, 51, 51, 0.6);

  /* Removed Gold Theme entirely - Redefined secondary highlights to white/cyan */
  --gold-accent: var(--animus-blue);
  --bright-gold: #ffffff;

  /* Dark Theme (Backgrounds) */
  --bg-black: #050505; /* True deep black */
  --bg-dark: #0a0e14; /* Slight bluish slate */
  --bg-card: rgba(10, 14, 20, 0.7);
  --border-dark: rgba(0, 210, 255, 0.2);
  --footer-dark: #020305;

  /* Light Theme (Text) */
  --text-white: #ffffff;
  --text-offwhite: #e0f2fe; /* Slight blue tint */
  --text-light: #bae6fd;
  --text-gray: #9ca3af;
  --text-muted: #64748b;

  /* Typography */
  --font-primary:
    "Orbitron", "Inter", "Roboto", "Segoe UI", sans-serif; /* Futuristic geometric default */
  --font-display: "Assasign", sans-serif;

  /* UI Elements */
  --hologram-shadow: 0 0 10px var(--animus-glow), 0 0 20px var(--animus-glow);
  --templar-shadow: 0 0 10px var(--templar-glow), 0 0 20px var(--templar-glow);
  --glitch-shadow: -2px 0 var(--animus-blue), 2px 0 var(--bright-red);
}

/* Glassmorphism & High-tech Panel Utility */
.glass-panel {
  background: rgba(10, 14, 23, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 210, 255, 0.15);
  box-shadow:
    0 8px 32px 0 rgba(0, 0, 0, 0.5),
    inset 0 0 20px rgba(0, 210, 255, 0.05);
  border-radius: 4px; /* Sharper edges for UI */
  position: relative;
  overflow: hidden;
}

.glass-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--animus-blue),
    transparent
  );
  opacity: 0.5;
}

/* ---- Box-sizing reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ---- Cursor — themed for background, semantic for interactive elements ---- */
/* Apply the custom cursor to the general browsing surface */
body {
  cursor: url(../Media/Unavailable.cur), default;
}

/* Restore the standard pointer on all interactive elements —
   the "not-allowed" cursor signal is incorrect and confusing here */
a,
button,
label,
select,
[role="button"],
[tabindex]:not([tabindex="-1"]),
input[type="submit"],
input[type="button"],
input[type="reset"],
input[type="checkbox"],
input[type="radio"],
.btn-cta-animus,
.btn-text-animus,
.era-showcase-card,
.gallery-portrait,
.pillar-card,
.assassin-card,
.award-badge {
  cursor: pointer;
}

/* Text cursor on editable fields */
input[type="text"],
input[type="email"],
input[type="search"],
textarea {
  cursor: text;
}

#games-toggle,
#explore-toggle {
  display: none;
}

body {
  background-color: var(--bg-black);
  color: var(--text-white);
  font-family: var(--font-primary);
  margin: 0;
  overflow-x: hidden;
  font-size: 17px;
  line-height: 1.6;
  opacity: 0;
  transition: opacity 0.5s ease;
  position: relative;
  /* Animus Grid Line Pattern overlay across entire body */
  background-image:
    linear-gradient(rgba(0, 210, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 210, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Particles Background */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  background: radial-gradient(
    ellipse at center,
    var(--bg-dark) 0%,
    var(--bg-black) 100%
  );
}

body.loaded {
  opacity: 1;
}

h1,
h2,
h3 {
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 2px;
}

h2 {
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--text-white);
  text-shadow: 0 0 15px var(--animus-glow);
  text-align: center;
}

p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-offwhite);
  font-family: "Inter", sans-serif; /* Keep body highly readable */
  letter-spacing: 0.5px;
}

/* Custom Scrollbar & Selection */
/* === CUSTOM SCROLLBAR & SELECTION STYLES === */

/* SCROLLBAR STYLING - WebKit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 8px; /* Slimmer high-tech look */
}

/* Scrollbar Track */
::-webkit-scrollbar-track {
  background: var(--bg-black);
  border-left: 1px solid rgba(0, 210, 255, 0.1);
}

/* Scrollbar Thumb */
::-webkit-scrollbar-thumb {
  background: var(--animus-blue);
  border-radius: 0; /* Square futuristic look */
  box-shadow: 0 0 8px var(--animus-blue);
}

/* Scrollbar Thumb Hover */
::-webkit-scrollbar-thumb:hover {
  background: #00e5ff;
}

/* SCROLLBAR STYLING - Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--animus-blue) var(--bg-black);
}

/* SELECTION STYLING */
::selection {
  background: var(--animus-blue);
  color: var(--bg-black);
  text-shadow: none;
}

/* Firefox Selection Styling */
::-moz-selection {
  background: var(--animus-blue);
  color: var(--bg-black);
  text-shadow: none;
}

/* Loading Screen */
/* ==================== LOADING SCREEN ==================== */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    var(--bg-dark),
    var(--bg-black)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-content {
  text-align: center;
  animation: fadeInUp 1s ease;
}

.loading-logo {
  width: 200px;
  height: auto;
  margin-bottom: 2rem;
  animation: pulse 2s ease-in-out infinite;
}

.loading-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(0, 210, 255, 0.1);
  border-top-color: var(--animus-blue);
  border-bottom-color: var(--animus-blue);
  border-radius: 50%;
  animation: animusSpin 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 15px var(--animus-glow);
}

.loading-text {
  font-size: 1.5rem;
  color: var(--animus-blue);
  font-family: monospace;
  text-transform: uppercase;
  letter-spacing: 4px;
  animation: glitch 1.5s infinite;
  margin: 0;
}

@keyframes animusSpin {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(180deg) scale(1.1);
    border-width: 2px;
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes glitch {
  0% {
    text-shadow: var(--glitch-shadow);
  }
  25% {
    text-shadow:
      -2px 0 var(--bright-red),
      2px 0 var(--animus-blue);
  }
  50% {
    text-shadow: 0 0 10px var(--animus-glow);
  }
  75% {
    text-shadow:
      2px 0 var(--animus-blue),
      -2px 0 var(--bright-red);
  }
  100% {
    text-shadow: var(--glitch-shadow);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Music Toggle */
/* ==================== MUSIC TOGGLE BUTTON ==================== */
#music-toggle {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(10, 14, 23, 0.8);
  border: 1px solid var(--animus-blue);
  color: var(--animus-blue);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

#music-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px var(--animus-glow);
  background: rgba(0, 210, 255, 0.1);
}

#music-toggle:active {
  transform: scale(0.95);
}

/* Scroll to Top */
/* ==================== SCROLL TO TOP BUTTON ==================== */
#scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 6.5rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(10, 14, 23, 0.8);
  border: 1px solid var(--animus-blue);
  color: var(--animus-blue);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 999;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100px);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

#scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scroll-top:hover {
  transform: scale(1.1) translateY(0);
  box-shadow: 0 0 25px var(--animus-glow);
  background: rgba(0, 210, 255, 0.1);
}

#scroll-top:active {
  transform: scale(0.95);
}

/* Scroll Animations */
/* ==================== SCROLL ANIMATIONS ==================== */
section {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

section.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.stat-item {
  opacity: 0;
  transform: scale(0.9);
  transition: all 0.4s ease;
}

.stat-item.animate-in {
  opacity: 1;
  transform: scale(1);
}

.stat-item:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px var(--animus-glow);
}

/* ==================== HERO PARALLAX EFFECT ==================== */
#hero .hero-overlay,
#hero-assassins .hero-overlay {
  transition: transform 0.1s ease-out;
}

/* ==================== GLOWING TEXT EFFECT ==================== */
h2 {
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 5px rgba(0, 210, 255, 0.5);
  }
  to {
    text-shadow:
      0 0 20px rgba(0, 210, 255, 0.8),
      0 0 30px rgba(0, 210, 255, 0.4);
  }
}

/* ==================== CARD ICON ANIMATION ==================== */
.card-icon {
  transition: transform 0.3s ease;
}

.card:hover .card-icon {
  transform: scale(1.2) rotate(5deg);
}

/* ==================== HERO SECTION ==================== */
#hero-colonial,
#hero-desmond,
#hero-european,
#hero-ancient,
#hero-modern {
  height: 28rem;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

#hero-colonial .hero-overlay,
#hero-desmond .hero-overlay,
#hero-european .hero-overlay,
#hero-ancient .hero-overlay,
#hero-modern .hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#hero-colonial .hero-content,
#hero-desmond .hero-content,
#hero-european .hero-content,
#hero-ancient .hero-content,
#hero-modern .hero-content {
  text-align: center;
  color: white;
  padding: 0 1.5rem;
  z-index: 2;
}

#hero-colonial h1,
#hero-desmond h1,
#hero-european h1,
#hero-ancient h1,
#hero-modern h1 {
  font-size: 3.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-white);
  text-shadow: 0 0 15px var(--animus-glow);
  margin: 0;
  letter-spacing: 4px;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-offwhite) !important;
  text-align: center;
  margin: 1rem 0 0 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* ==================== ABOUT SECTION ==================== */
#about {
  max-width: 960px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem;
}

#about h2 {
  margin-bottom: 2rem;
}

#about .about-content {
  text-align: left;
}

#about p {
  text-align: left;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

#about b {
  color: var(--text-white);
}

/* ==================== GAME CONTAINER ==================== */
.game-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem 5rem 1.5rem;
}

.game-container h2 {
  margin-bottom: 3rem;
  text-align: center;
}

/* == GAME PAGE ENHANCEMENTS             == */

/* Game Info Cards Section */
.game-info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 40px 0;
  padding: 0 20px;
}

.info-card {
  background: linear-gradient(
    135deg,
    rgba(0, 210, 255, 0.05),
    rgba(10, 14, 20, 0.8)
  );
  border: 1px solid var(--border-dark);
  border-radius: 4px; /* Sharper edges */
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--animus-blue),
    transparent
  );
  opacity: 0.5;
}

.info-card:hover {
  transform: translateY(-5px);
  border-color: var(--animus-blue);
  box-shadow: 0 10px 30px rgba(0, 210, 255, 0.2);
}

.info-card i {
  font-size: 2.5rem;
  color: var(--animus-blue);
  margin-bottom: 15px;
  display: block;
  text-shadow: 0 0 10px var(--animus-glow);
}

.info-card h4 {
  font-size: 1.2rem;
  margin: 10px 0;
  color: #ffffff;
  letter-spacing: 1px;
}

.info-card p {
  font-size: 1rem;
  color: var(--text-offwhite);
  margin: 0;
}

/* Story Highlights */
.story-highlights {
  margin-top: 25px;
  padding: 20px;
  background: rgba(0, 210, 255, 0.05); /* Animus blue tint */
  border-left: 4px solid var(--animus-blue);
  border-radius: 4px;
}

.story-highlights h4 {
  color: var(--animus-blue);
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.story-highlights ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.story-highlights li {
  padding: 8px 0 8px 30px;
  position: relative;
  color: #e0e0e0;
  line-height: 1.6;
}

.story-highlights li:before {
  content: "»";
  position: absolute;
  left: 0;
  color: var(--animus-blue);
  font-size: 18px;
  text-shadow: 0 0 5px var(--animus-glow);
}

/* Gameplay Mechanics Section */
.gameplay-section {
  margin: 60px 0;
  padding: 40px 20px;
  background: linear-gradient(
    180deg,
    rgba(10, 14, 20, 0.5),
    rgba(0, 210, 255, 0.05)
  );
  border-radius: 4px;
  border: 1px solid var(--border-dark);
}

.mechanic-card {
  background: rgba(10, 14, 20, 0.8);
  border: 1px solid rgba(0, 210, 255, 0.15);
  border-radius: 4px;
  padding: 30px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mechanic-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  background: linear-gradient(
    135deg,
    transparent 50%,
    rgba(0, 210, 255, 0.2) 50%
  );
}

.mechanic-card:hover {
  border-color: var(--animus-blue);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 210, 255, 0.15);
}

.mechanic-card i {
  font-size: 3rem;
  color: var(--animus-blue);
  margin-bottom: 20px;
  display: block;
  text-shadow: 0 0 15px var(--animus-glow);
}

.mechanic-card h4 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.mechanic-card p {
  color: var(--text-offwhite);
  line-height: 1.7;
  font-size: 1rem;
}

/* Legacy Section */
.legacy-section {
  margin: 60px 0;
  padding: 50px 20px;
  background: linear-gradient(
    135deg,
    rgba(0, 210, 255, 0.05),
    rgba(5, 5, 5, 0.9)
  );
  border-radius: 4px;
  border: 1px solid rgba(0, 210, 255, 0.3);
  position: relative;
}

.legacy-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--animus-blue),
    transparent
  );
}

.legacy-content {
  max-width: 1000px;
  margin: 0 auto;
}

.legacy-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-offwhite);
  margin-bottom: 30px;
  text-align: center;
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.award-badge {
  background: rgba(0, 210, 255, 0.05);
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: 4px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.award-badge:hover {
  background: rgba(0, 210, 255, 0.15);
  border-color: var(--animus-blue);
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
}

.award-badge i {
  font-size: 2.5rem;
  color: var(--animus-blue);
  display: block;
  margin-bottom: 15px;
  text-shadow: 0 0 10px var(--animus-glow);
}

.award-badge span {
  display: block;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Enhanced Character Cards */
.character-card {
  text-align: center;
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: visible;
}

.character-card img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 1rem;
  border: 2px solid rgba(0, 210, 255, 0.2);
  transition: all 0.4s ease;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
  filter: grayscale(20%) contrast(1.1); /* Cinematic feel */
}

.character-card:hover img {
  border-color: var(--animus-blue);
  box-shadow:
    0 12px 35px rgba(0, 0, 0, 0.8),
    0 0 30px rgba(0, 210, 255, 0.3);
  transform: translateY(-8px) scale(1.03);
  filter: grayscale(0%) contrast(1.1);
}

.character-card h5 {
  font-size: 1.4rem;
  color: #ffffff;
  margin: 0;
  padding: 10px;
  background: linear-gradient(
    135deg,
    rgba(0, 210, 255, 0.1),
    rgba(10, 14, 20, 0.8)
  );
  border-radius: 4px;
  border: 1px solid rgba(0, 210, 255, 0.3);
  transition: all 0.3s ease;
  font-weight: 600;
  letter-spacing: 1.5px;
}

.character-card:hover h5 {
  background: linear-gradient(
    135deg,
    rgba(0, 210, 255, 0.2),
    rgba(10, 14, 20, 0.9)
  );
  border-color: var(--animus-blue);
  text-shadow: 0 0 10px var(--animus-glow);
  transform: translateY(-3px);
}

.character-card::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.15), transparent);
  transform: translate(-50%, -50%);
  transition: all 0.5s ease;
  pointer-events: none;
  z-index: -1;
}

.character-card:hover::after {
  width: 120%;
  height: 120%;
}

/* Enhanced Gallery Items */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.gallery-item::after {
  content: "🔍";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 3rem;
  color: white;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.gallery-item:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

.gallery-item img {
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Enhanced Feature Items */
.feature-item i {
  transition: all 0.3s ease;
}

.feature-item:hover i {
  transform: scale(1.2) rotate(10deg);
  color: #ffffff;
}

/* == NOTABLE CHARACTERS ENHANCEMENTS    == */

/* Character section wrapper */
section:has(.character-card) {
  padding: 60px 20px;
  background: linear-gradient(
    135deg,
    rgba(220, 38, 38, 0.05),
    rgba(0, 0, 0, 0.3)
  );
  border-radius: 16px;
  margin: 40px 0;
  border: 1px solid rgba(201, 169, 97, 0.2);
}

/* Character card name badge effect */
.character-card h5::before {
  content: "»";
  margin-right: 8px;
  color: var(--animus-blue);
  font-size: 1.2rem;
  text-shadow: 0 0 5px var(--animus-glow);
}

/* Add role/description to character cards */
.character-card::before {
  content: attr(data-role);
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(5, 5, 5, 0.9);
  color: var(--animus-blue);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.9rem;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
  border: 1px solid rgba(0, 210, 255, 0.5);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
  z-index: 10;
}

.character-card:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Three column grid enhancement for characters */
.three-column-grid {
  gap: 30px;
}

/* Character image frame effect */
.character-card img {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(0, 210, 255, 0.1),
    rgba(10, 14, 20, 0.5)
  );
  padding: 5px;
}

/* Assassin symbol decoration */
.section-title::before,
.section-title::after {
  content: "»";
  color: var(--animus-blue);
  margin: 0 15px;
  font-size: 0.8em;
  opacity: 0.8;
  text-shadow: 0 0 5px var(--animus-glow);
}

/* Character card stagger animation */
.character-card:nth-child(1) {
  animation-delay: 0.1s;
}

.character-card:nth-child(2) {
  animation-delay: 0.2s;
}

.character-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* Glow effect on hover */
.character-card:hover {
  filter: brightness(1.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .game-info-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .info-card {
    padding: 20px;
  }

  .info-card i {
    font-size: 2rem;
  }

  .awards-grid {
    grid-template-columns: 1fr;
  }

  .story-highlights {
    padding: 15px;
  }

  .mechanic-card {
    padding: 20px;
  }

  .legacy-section {
    padding: 30px 15px;
  }

  section:has(.character-card) {
    padding: 40px 15px;
  }

  .character-card h5 {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .game-info-cards {
    grid-template-columns: 1fr;
  }

  .info-card h4 {
    font-size: 1rem;
  }

  .info-card p {
    font-size: 0.9rem;
  }
}

/* Loading Animation for Enhanced Elements */
@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.game-container > section {
  animation: fadeInUp 0.8s ease forwards;
}

/* Smooth Transitions */
* {
  scroll-behavior: smooth;
}

/* == BASE GAME DETAIL STYLES == */

/* Responsive two-column layout */
.two-column-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .two-column-layout {
    grid-template-columns: 1fr 1fr;
  }
}

/* Responsive container for YouTube video embeds */
.video-responsive {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
  border-radius: 0.5rem;
}
.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Responsive three-column layout */
.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 */
.feature-item i {
  font-size: 3rem;
  color: var(--bright-red);
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}
.feature-item h5 {
  font-size: 1.25rem;
  color: var(--text-white);
}

/* Individual character card */
.character-card img {
  width: 100%;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
}
.character-card h5 {
  font-size: 1.25rem;
}

/* Individual gallery image */
.gallery-item img {
  width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}

/* Call-to-action section */
.cta-section {
  text-align: center;
  background-color: var(--bg-card);
  padding: 2.5rem;
  border-radius: 0.75rem;
  margin: 4rem auto;
}
.cta-section h3 {
  font-size: 1.75rem;
  color: var(--bright-red);
  margin-bottom: 1rem;
}
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary-red);
  color: var(--text-white);
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out;
  font-size: 1.1rem;
  border: none;
}
.btn:hover {
  background-color: var(--primary-red-hover);
  color: var(--text-white);
}

/* Glowing Text */
/* ==================== GLOWING TEXT EFFECT ==================== */
h2 {
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 5px rgba(220, 53, 69, 0.5);
  }
  to {
    text-shadow:
      0 0 20px rgba(220, 53, 69, 0.8),
      0 0 30px rgba(220, 53, 69, 0.4);
  }
}
