/* ===========================
   RESET GENERAL
=========================== */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #0e0e0e;
  color: #ffffff;
}

/* ===========================
        HEADER LOGO
    ============================ */
    header {
      text-align: center;
      padding: 20px 0;
      background: #0e0e0e;
      color: #ffb400;
      font-size: 32px;
      font-weight: 600;
      border-bottom: 3px solid #ffb400;
    }

/* ===========================
   BANNER ANIMADO CON VIDEO
=========================== */
.banner {
  background: url('banner.jpg') center/cover no-repeat;
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  animation: movimientoFondo 25s infinite alternate ease-in-out;
  padding: 0 5%;
}

@keyframes movimientoFondo {
  0% { background-position: center; }
  100% { background-position: top right; }
}

.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

/* Contenedor interno con video + texto */
.banner-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

/* VIDEO GRANDE */
.banner-video video {
  width: 600px;
  height: 340px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(0,0,0,0.8);
  border: 2px solid #ffb400;
}

/* TEXTO */
.banner-content {
  max-width: 550px;
  color: #fff;
  text-shadow: 0 0 10px rgba(0,0,0,0.9);
}

.banner-content h1 {
  font-size: 3.5em;
  color: #e4b84a;
  margin-bottom: 15px;
  animation: fadeIn 2s ease-in-out;
}

.banner-content p {
  font-size: 1.3em;
  animation: fadeIn 3s ease-in-out;
}

/* Fade */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===========================
   BOTÓN
=========================== */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: #e4b84a;
  color: #121217;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background 0.3s, transform 0.2s;
}

.btn:hover {
  background: #f5d26a;
  transform: scale(1.05);
}

/* ===========================
   MENÚ PRINCIPAL
=========================== */
.menu-principal {
  background: #1a1a1a;
  border-top: 3px solid #ffb400;
  border-bottom: 3px solid #ffb400;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 20;
}

.menu-principal ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  justify-content: center;
}

.menu-principal li {
  border-right: 2px solid #ffb400;
}

.menu-principal li:last-child {
  border-right: none;
}

.menu-principal a {
  display: block;
  padding: 15px 40px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

.menu-principal a:hover {
  background: #ffb400;
  color: #000;
}

/* ≡ Botón hamburguesa */
.hamburguesa {
  display: none;
  cursor: pointer;
  color: #ffb400;
  font-size: 30px;
  padding: 10px 20px;
}

/* Modo Móvil */
@media (max-width: 900px) {
  .hamburguesa { display: block; }

  .menu-principal ul {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .menu-principal ul.activo {
    display: flex;
  }

  .menu-principal a {
    padding: 14px;
  }

  .banner-overlay {
    flex-direction: column;
    text-align: center;
  }

  .banner-video video {
    width: 100%;
    height: auto;
  }
}

/* ===========================
   SECCIONES
=========================== */
.seccion {
  padding: 60px 10%;
  text-align: center;
}

h2 {
  color: #ffb400;
  margin-bottom: 20px;
}

/* ===========================
   GALERÍA DE CARTAS
=========================== */
.galeria {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.carta {
  background: #1a1a1a;
  padding: 10px;
  border-radius: 10px;
  transition: 0.3s;
  cursor: pointer;
  width: 250px;
}

.carta:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px #ffb400;
}

.zoom-img {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s;
}

.zoom-img:hover {
  transform: scale(1.05);
}

/* ===========================
   ZOOM PERFECTO — SOLO CARTAS
=========================== */

#zoom-overlay {
  display: none;
  position: fixed;
  top:0;
  left:0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  flex-direction: column;
}

#zoom-overlay img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
  box-shadow: 0 0 20px #ffb400;
}

#zoom-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 3em;
  color: #ffb400;
  cursor: pointer;
  font-weight: bold;
  transition: transform 0.2s;
}

#zoom-close:hover {
  transform: scale(1.2);
}

/* ===========================
   UNIVERSO
=========================== */
.universo-page {
    padding: 60px 10%;
    text-align: center;
    background: linear-gradient(180deg, #0e0e0e 0%, #111 100%);
}

.universo-page h2 {
    font-size: 3em;
    color: #ffb400;
    text-shadow: 0 0 5px #ffd966, 0 0 0px #ffb400;
    margin-bottom: 30px;
}

.texto-universo {
    font-size: 1.4em;
    max-width: 900px;
    margin: auto;
    line-height: 1.6;
    text-align: justify;
    text-shadow: 0 0 5px #000;
    color: #e6e6e6;
}

/* VIDEO + CARTAS */
.universo-media {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 40px 0;
}

.media-video video {
  width: 600px;
  height: 340px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 0 20px rgba(0,0,0,0.8);
  border: 2px solid #ffb400;
}

.media-cartas {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.media-cartas img {
    width: 250px;
    border-radius: 10px;
    transition: transform 0.3s;
    cursor: pointer;
}

.media-cartas img:hover {
    transform: scale(1.05);
}

/* RESPONSIVO */
@media (max-width: 768px) {
    .universo-media {
        flex-direction: column;
    }

    .media-cartas {
        justify-content: center;
    }
}

/* ===========================
   FOOTER
=========================== */
footer {
    border-top: 3px solid #ffb400;
}

footer::before {
    content: "";
    display: block;
    width: 100vw;
    height: 3px;
    background: #ffb400;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    top: -3px;
}

/* ===========================
   REDES SOCIALES FOOTER
=========================== */
.redes-footer {
  margin-top: 15px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.redes-footer img {
  width: 35px;
  height: 35px;
  filter: brightness(1); /* SIEMPRE visibles */
  transition: transform 0.2s;
}

/* Efecto suave solo al hacer hover (opcional) */
.redes-footer img:hover {
  transform: scale(1.15);
}
