/* ================= VARIABLES ================= */
:root {
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

body {
  background-color: #0a0a0a;
  color: #e0e0e0;
  font-family: var(--font-body);
}

/* ================= NAVBAR ================= */
.studio-navbar {
  background-color: rgba(5, 5, 5, 0.95); /* Fondo oscuro con leve transparencia */
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.studio-brand {
  font-family: var(--font-heading);
  color: #ffffff !important;
  font-size: 1.5rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.studio-navbar .nav-link {
  color: #7a7a7a !important;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-left: 1.5rem;
  transition: all 0.6s ease;
}

.studio-navbar .nav-link:hover,
.studio-navbar .nav-link.active {
  color: #ffffff !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.custom-toggler {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.custom-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28122, 122, 122, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ================= HERO SECTION ================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  background-color: #050505;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(5,5,5,0.95) 0%, rgba(5,5,5,0.8) 50%, rgba(5,5,5,0.9) 100%);
  z-index: 1;
}

.hero-title {
  font-family: var(--font-heading);
  color: #ffffff !important;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

.hero-subtitle {
  color: #c0c0c0;
  font-size: 1.15rem;
  max-width: 550px;
  line-height: 1.7;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.btn-void {
  display: inline-block;
  background-color: transparent;
  color: #ffffff !important;
  border: 1px solid #c0c0c0 !important;
  padding: 0.8rem 2.5rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  transition: all 0.5s ease;
  text-decoration: none;
}

.btn-void:hover {
  background-color: #ffffff !important;
  color: #050505 !important;
  border-color: #ffffff !important;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* ================= CATÁLOGO DE JUEGOS ================= */
.games-section {
  background-color: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.section-title {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: 2.5rem;
  letter-spacing: 2px;
}

.title-separator {
  width: 40px;
  height: 2px;
  background-color: #c0c0c0;
  margin-top: 1rem;
  opacity: 0.3;
}

.void-card {
  background-color: #0a0a0a;
  border: 1px solid #141414;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: all 0.6s ease;
}

.void-card:hover {
  border-color: #333333;
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9), 0 0 15px rgba(255, 255, 255, 0.03);
}

/* ================= IMÁGENES DE JUEGOS ================= */
.card-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
  border-bottom: 1px solid #141414;
  background-color: #050505; /* Fondo por si la imagen tarda en cargar */
}

.void-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Asegura que la imagen llene el espacio sin deformarse */
  /* El filtro apaga los colores y baja el brillo para unificar cualquier arte */
  filter: grayscale(80%) contrast(1.1) brightness(0.6);
  transition: transform 10s ease, filter 1s ease; /* Zoom perturbadoramente lento */
}

/* El degradado interior hace que la imagen se funda con el fondo de la tarjeta */
.img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10,10,10,0) 50%, #0a0a0a 100%);
  pointer-events: none;
}

/* Efecto Hover: La imagen recupera un poco de color y se acerca lentamente */
.void-card:hover .void-card-img {
  transform: scale(1.15); /* Acercamiento sutil */
  filter: grayscale(40%) contrast(1.2) brightness(0.8);
}

.card-body {
  padding: 2.5rem 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.game-title {
  font-family: var(--font-heading);
  color: #e0e0e0;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.game-desc {
  color: #7a7a7a;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.btn-void-sm {
  color: #c0c0c0;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.4s ease;
  align-self: flex-start;
  padding-bottom: 4px;
}

.btn-void-sm:hover {
  color: #ffffff;
  border-bottom: 1px solid #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

/* ================= LORE / MANIFIESTO ================= */
.lore-section {
  background-color: #030303;
  border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.lore-title {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.3;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.lore-section .title-separator {
  margin-left: 0;
  background-color: #7a7a7a;
}

.lore-content p {
  color: #a0a0a0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ================= FOOTER ================= */
.studio-footer {
  background-color: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.footer-logo {
  font-family: var(--font-heading);
  color: #333333;
  letter-spacing: 6px;
  font-size: 1.2rem;
}

.footer-links a {
  color: #7a7a7a;
  font-family: var(--font-body);
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.4s ease;
}

.footer-links a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.footer-links .separator {
  color: #222222;
  margin: 0 15px;
}

.copyright {
  color: #555555;
  font-family: var(--font-body);
  font-size: 0.75rem;
  margin-top: 3rem;
}

.copyright .whisper {
  display: block;
  margin-top: 15px;
  color: #111111;
  font-style: italic;
  transition: color 1s ease;
}

.copyright .whisper:hover {
  color: #666666;
}

/* ================= LOGOS ================= */
.nav-logo {
  max-height: 40px; /* Ajustá este valor según las proporciones de tu logo */
  width: auto;
  transition: all 0.5s ease;
  /* Aplica un brillo sutil al archivo de imagen transparente */
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.05));
}

.nav-logo:hover {
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.4));
}

.footer-logo-img {
  max-height: 60px;
  width: auto;
  opacity: 0.2; /* Lo mantiene casi fundido en la oscuridad, como el texto anterior */
  transition: opacity 0.6s ease;
  filter: grayscale(100%);
}

.footer-logo-img:hover {
  opacity: 0.7; /* Se revela al pasar el cursor */
}