/* =====================================
   RESET BÁSICO
   ====================================== */
/* Quita márgenes y padding por defecto y define box-sizing */
* {
  margin: 0;            
  padding: 0;           
  box-sizing: border-box;
}

/* Estilos base para el body */
body {
  font-family: Arial, sans-serif;
  background-color: #111;
  color: #fff;
  line-height: 1.6;
}

/* =====================================
   HEADER
   ====================================== */
header {
  position: relative;
  background-color: #000;
  padding: 20px 0;
  text-align: center;
  z-index: 10;
}

header h1 img {
  max-width: 250px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* =====================================
   NAVEGACIÓN
   ====================================== */
nav {
  margin-top: 10px;
}

nav a {
  position: relative;
  color: #fff;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #c00;
  left: 0;
  bottom: -5px;
  transition: width 0.3s ease;
}

nav a:hover {
  color: #c00;
}

nav a:hover::after {
  width: 100%;
}

/* =====================================
   HERO / INTRO
   ====================================== */
.hero {
  text-align: center;
  padding: 40px 20px;
  background: #1a1a1a;
  font-size: 1.3rem;
  color: #ccc;
}

/* =====================================
   SECCIONES
   ====================================== */
section {
  padding: 40px 20px;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

section p,
section ul {
  font-size: 1.1rem;
  color: #ccc;
}

/* =====================================
   BOTONES
   ====================================== */
.btn {
  position: relative;
  display: inline-block;
  background: #f39c12;
  color: #000;
  padding: 10px 20px;
  margin-top: 15px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s ease;
  cursor: pointer;
}

.btn::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #c00;
  left: 0;
  bottom: 5px;
  transition: width 0.3s ease;
  border-radius: 2px;
}

.btn:hover {
  background: #d35400;
  color: #000;
}

.btn:hover::after {
  width: 100%;
}

/* =====================================
   FORMULARIO
   ====================================== */
form input,
form textarea,
form button {
  width: 100%;
  max-width: 500px;
  margin: 10px auto;
  display: block;
  padding: 10px;
  border-radius: 5px;
  border: none;
  font-size: 1rem;
}

form button {
  background-color: #f39c12;
  color: #000;
  cursor: pointer;
  font-weight: bold;
}

form button:hover {
  background-color: #d35400;
}

/* =====================================
   FOOTER
   ====================================== */
footer {
  text-align: center;
  padding: 20px;
  background-color: #000;
  color: #888;
  font-size: 0.9rem;
}

/* =====================================
   ANIMACIONES
   ====================================== */
.fade-slide-zoom {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  animation: fadeSlideZoomIn 1.5s ease forwards;
  animation-delay: 0.3s;
}

@keyframes fadeSlideZoomIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* =====================================
   LOGO
   ====================================== */
.logo-container {
  position: relative;
  width: 100%;
  text-align: center;
  padding-bottom: 20px;
}

.logo-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 250px;
  background-image: url('fondo.png');
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.logo-container img {
  position: relative;
  z-index: 1;
}

/* =====================================
   PORTADA / COVER
   ====================================== */
.cover-container {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 50px 0;
  flex-wrap: wrap;
  text-align: center;
}

.cover-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 450px;
  background-image: url('fondo-portada.png');
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.cover-container img.cover-img {
  position: relative;
  z-index: 1;
  width: 75%;
  max-width: 700px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(255,0,0,0.7);
  display: block;
  margin: 0 auto;
}

/* CORRECCIÓN: logo de portada bajado un poco */
.cover-container img.cover-logo {
  position: absolute;
  top: 50%; /* <-- ajusta este valor para subir o bajar el logo */
  left: 50%;
  transform: translateX(-50%); /* solo centra horizontalmente */
  width: 250px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

/* =====================================
   PORTADA IZQUIERDA / DERECHA
   ====================================== */
.cover-left {
  position: relative;
}

.cover-left img.cover-img {
  width: 500px;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(255,0,0,0.7);
}

.cover-left img.cover-logo {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 350px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.cover-right {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cover-right .buy-btn {
  background: #f39c12;
  color: #000;
  padding: 15px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  font-size: 1.2rem;
  transition: background 0.3s ease;
}

.cover-right .buy-btn:hover {
  background: #d35400;
  color: #fff;
}

/* =====================================
   HIGHLIGHT / RESALTADO
   ====================================== */
.highlight {
  background-color: rgba(255, 0, 0, 0.2);
  color: #fff;
  padding: 15px;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* =====================================
   RESPONSIVE / MÓVILES
   ====================================== */
@media (max-width: 768px) {
  .game-logo {
    width: 80vw !important;
    top: 35%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .cover-img {
    width: 95%;
  }

  header h1 img {
    max-width: 180px;
  }

  nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
  }

  nav a {
    margin: 5px 0;
    font-size: 1.1rem;
  }

  .hero {
    padding: 30px 10px;
    font-size: 1.1rem;
  }

  section {
    padding: 30px 15px;
  }

  section h2 {
    font-size: 1.6rem;
  }

  section p,
  section ul {
    font-size: 1rem;
  }

  .btn {
    padding: 10px 18px;
    font-size: 1rem;
  }

  form input,
  form textarea,
  form button {
    font-size: 1rem;
    padding: 10px;
  }

  footer {
    font-size: 0.8rem;
  }
}
.buy-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;         /* espacio entre logo y texto */
  background: #f39c12;
  color: #000;
  padding: 15px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  font-size: 1.2rem;
  transition: background 0.3s ease;
}

.buy-btn:hover {
  background: #d35400;
  color: #fff;
}

.buy-btn img.steam-logo {
  width: 80px;     /* tamaño intermedio */
  height: auto;
  display: inline-block;
  vertical-align: middle;  /* asegura que quede centrado con el texto */
}
/* =====================================
   POSTAL / POSTCARD CORREGIDA
   ====================================== */
.game-postcard {
    text-align: center;
    margin: 50px 20px;
}

.game-postcard h2 {
    font-size: 2.5rem;
    color: #ffcc00;
    margin-bottom: 30px;
    text-shadow: 2px 2px 5px #000, 0 0 8px #f00;
    font-family: 'Impact', sans-serif;
    text-transform: uppercase;
}

.postcard {
    display: inline-block;
    background-color: #222; /* más oscuro estilo GTA */
    color: #eee;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.7);
    overflow: hidden;
    max-width: 600px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.postcard:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(255,0,0,0.6);
}

.postcard-img {
    width: 100%;
    display: block;
    border-bottom: 2px solid #ff0000;
}

.postcard-text {
    padding: 20px;
    font-size: 1.1rem;
    line-height: 1.5;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.9));
    font-family: 'Arial Black', Arial, sans-serif;
}
/* =====================================
   LUGARES / LOCATIONS (Fondo visible)
   ====================================== */
.location-card {
  position: relative;           /* necesario para el background absoluto */
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.7);
  transition: all 0.4s ease;
  background: transparent;      /* quitar gradiente sólido para que se vea el fondo */
}

.location-card:hover {
  transform: scale(1.03);
  box-shadow: 0 25px 50px rgba(255,0,0,0.5);
}

/* Fondo de la tarjeta */
.location-card-bg {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.7;               /* mucho más visible */
  filter: brightness(1);       /* sin oscurecer */
  z-index: 0;
  transition: all 0.4s ease;
}

.location-card:hover .location-card-bg {
  filter: brightness(1.05);   /* ligero aumento de brillo al pasar el mouse */
  opacity: 0.8;
}

/* Imagen del lugar */
.location-card img.location-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 15px;             /* esquinas redondeadas para destacar */
  border: 4px solid rgba(255, 204, 0, 0.8); /* marco amarillo estilo GTA/Rockstar */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.7); /* sombra para separación del fondo */
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease, filter 0.4s ease, box-shadow 0.4s ease;
}

.location-card:hover img.location-img {
  transform: scale(1.05);
  filter: brightness(1.1) saturate(1.2);
  box-shadow: 0 12px 30px rgba(255, 0, 0, 0.6); /* sombra más intensa al hacer hover */
}


/* Título */
.location-card h3 {
  position: relative;
  z-index: 2;
  font-size: 2rem;
  margin: 15px 0 10px;
  color: #ffcc00;
  text-shadow: 2px 2px 5px #000, 0 0 4px #ff0000;
  font-family: 'Impact', sans-serif;
  text-transform: uppercase;
}

/* Texto / descripción */
.location-card p {
  position: relative;
  z-index: 2;
  padding: 0 20px 20px;
  text-align: center;
  color: #fff;               /* más contraste */
  font-size: 1.1rem;
  line-height: 1.6;
  font-family: 'Arial Black', sans-serif;
  background: rgba(0,0,0,0.25); /* cuadro semi-transparente para legibilidad */
  border-radius: 15px;
}
/* Contenedor de las tarjetas */
.locations-container {
  display: flex;
  flex-direction: column;
  gap: 50px;          /* antes estaba más pequeño, ahora más espacio entre tarjetas */
  margin: 100px auto;
  padding: 0 5vw;
  max-width: 1200px;
}

/* Cada bloque de lugar */
.location-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.7);
  transition: all 0.4s ease;
  background: transparent;
  padding: 20px;      /* un poco de espacio interno para que respire */
}



