/*
Theme Name: x4AD
Theme URI: https://cineax.site
Author: Cineax
Description: Tema oscuro tipo grid con videos ocultos
Version: 1.0
*/

html, body {
  margin: 0;
  padding: 0;
  background: #6b0b0b;
  font-family: Arial, sans-serif;
  color: #000;
}

/* ==========================
HEADER / LOGO
========================== */
.header {
  text-align: center;
  padding: 0;
  background: #000;
}

.header img {
  display: block;
  margin: 0 auto;
  height: 40px;
}

/* ==========================
GRID DE VIDEOS
========================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 320px));
  gap: 12px;
  padding: 16px;
  justify-content: center; /* 👈 CENTRA TODO EL GRID */
}


/* ==========================
CAJA DEL VIDEO
========================== */
.video-box {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

/* ==========================
ID DEL VIDEO (HOME)
========================== */
.video-id {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(255, 0, 0, 0.9);
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 9999;
  pointer-events: none;
}

/* ==========================
ICONO PLAY
========================== */
.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  background: rgba(255, 255, 255, 0.40); /* 👈 fondo del icono */
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

.play-icon::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 16px solid #fff; /* 👈 color del triángulo  */
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 3px; /* centra visualmente */
}


/* ==========================
PAGINACIÓN
========================== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 16px 0;
}

.pagination a,
.pagination .current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eee;
  color: #000;
  text-decoration: none;
  font-weight: bold;
}

.pagination a:hover {
  background: #ff0055;
  color: #fff;
}

.pagination .current {
  background: #ff0000;
  color: #fff;
}

/* ==========================
RESPONSIVE
========================== */
@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
    justify-content: center;
  }

  .video-item {
    margin: 0 auto;
  }
}



/* CONTENEDOR DEL ITEM */
.video-item {
  position: relative;
  width: 100%;
  max-width: 320px;
}

.video-id {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(255, 0, 0, 0.95);
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
  z-index: 9999;
  pointer-events: none;
}

/* ==========================
FOOTER MINIMAL PROFESIONAL
========================== */

.site-footer {
  background: #000;
  padding: 22px 20px;   /* 👈 MÁS BAJO */
  margin-top: 25px;     /* 👈 MENOS SEPARACIÓN */
}

.footer-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;            /* 👈 MENOS ESPACIO ENTRE BLOQUES */
}

.footer-text {
  color: #777;
  font-size: 14px;
  line-height: 1.5;
}

/* LINKS AZUL CLARO SUAVE */
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links a {
  color: #7fb7ff;       /* 👈 AZUL CLARO SUAVE */
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ff0055;       /* rojo solo al hover */
}

.footer-copy {
  color: #666;
  font-size: 13px;
}

/* ==========================
RESPONSIVE
========================== */
@media (max-width: 768px) {
  .site-footer {
    padding: 18px 15px;
  }

  .footer-links {
    gap: 12px;
  }
}
