/* ============================================================
   GLOBAL.CSS — Estilos globales PZVerse
   Patricia Alonso · patriciaalonso.es
   ============================================================ */

/* ============================================================
   BODY Y BASE
   ============================================================ */
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 300;
  color: #f1ecfa;
  background: linear-gradient(180deg, #0a0714 0%, #120b22 45%, #170f2c 100%);
  min-height: 100vh;
}

/* ============================================================
   FOOTER — bloque diferenciado en 3 columnas
   ============================================================ */
.footer-pz {
  margin-top: 50px;
  padding: 32px 30px 18px;
  background: rgba(14, 8, 28, 0.85);
  border-top: 1px solid rgba(123, 95, 224, 0.4);
  box-shadow: 0 -8px 30px rgba(123, 95, 224, 0.12), inset 0 1px 0 rgba(145, 70, 255, 0.15);
  font-family: 'Poppins', sans-serif;
}

.footer-columnas {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(123, 95, 224, 0.2);
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-titulo-col {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9B82EE;
  text-shadow: 0 0 6px rgba(123, 95, 224, 0.5);
  margin: 0;
}

/* RRSS en 2 columnas alineadas: logo original + @id, sin texto plano */
.footer-rrss {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 8px 26px;
}

.footer-red {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #C9B8E8;
  text-decoration: none;
}

.footer-red i {
  width: 16px;
  font-size: 0.85rem;
  text-align: center;
  flex-shrink: 0;
}

.footer-privacidad,
.footer-credito {
  font-size: 0.75rem;
  color: #C9B8E8;
  text-decoration: underline;
  width: fit-content;
}

.footer-red:hover,
.footer-privacidad:hover,
.footer-credito:hover { color: #fff; }

.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-credito { font-weight: 600; }

.footer-copyright {
  text-align: center;
  margin: 14px auto 0;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 700px) {
  /* Las 3 columnas se mantienen lado a lado (no apiladas) para que el
     footer no se dispare de alto — solo se hacen más estrechas */
  .footer-pz { padding: 16px 10px 10px; }
  .footer-columnas {
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 8px;
    text-align: left;
    padding-bottom: 10px;
  }
  .footer-col { align-items: flex-start; gap: 4px; }
  .footer-titulo-col { font-size: 0.58rem; margin-bottom: 1px; }
  .footer-rrss { grid-template-columns: 1fr; gap: 3px; }
  .footer-red, .footer-privacidad, .footer-credito { font-size: 0.56rem; line-height: 1.3; }
  .footer-red i { font-size: 0.65rem; width: 11px; }
  .footer-copyright { margin-top: 8px; font-size: 0.58rem; }
}

/* ============================================================
   CARD GENÉRICA
   ============================================================ */
.card {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ============================================================
   FORMULARIOS
   ============================================================ */
label {
  display: block;
  margin-top: 14px;
  margin-bottom: 4px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: #ccc;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input[type="time"],
input[type="url"],
input[type="file"],
textarea,
select {
  width: 100%;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(123, 95, 224, 0.4);
  border-radius: 8px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  outline: none;
  box-sizing: border-box;
  margin-bottom: 8px;
  transition: border-color 0.2s ease;
}

input:focus, textarea:focus, select:focus {
  border-color: #7B5FE0;
  box-shadow: 0 0 6px rgba(123, 95, 224, 0.3);
}

select option { background: #1a1a2e; }

/* ============================================================
   BOTÓN NEÓN GENÉRICO
   ============================================================ */
.btn-neon {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(135deg, #7B5FE0, #9146FF);
  color: #fff;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(123, 95, 224, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-neon:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(123, 95, 224, 0.6);
}

/* ============================================================
   BOTÓN ADMIN NEÓN
   ============================================================ */
.btn-admin-neon {
  background: rgba(123, 95, 224, 0.2);
  color: #7B5FE0;
  border: 1px solid #7B5FE0;
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.8rem;
  box-shadow: 0 0 6px #7B5FE0;
  transition: background 0.2s ease;
  font-family: 'Poppins', sans-serif;
}

.btn-admin-neon:hover { background: rgba(123, 95, 224, 0.4); }

/* ============================================================
   ANIMACIONES
   ============================================================ */
@keyframes parpadeo {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

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

/* ============================================================
   BANNER — ANCHO COMPLETO
   ============================================================ */
.banner-portada {
  position: relative;
  width: 100%;
  display: block;
}

.banner-contenedor {
  width: 100%;
  position: relative;
}

.banner-contenedor img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   SEPARADOR NEÓN
   ============================================================ */
.separador-neon {
  width: 80%;
  max-width: 800px;
  height: 1px;
  background: linear-gradient(to right, transparent, #7B5FE0, #9146FF, transparent);
  margin: 0 auto 50px auto;
  opacity: 0.5;
}

/* ============================================================
   ESTADÍSTICAS
   ============================================================ */
.estadisticas-titulo {
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  color: #7B5FE0;
  margin: 40px 0 20px;
  text-shadow: 0 0 10px #7B5FE0;
}

.grafica-contenedor {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  background: rgba(20, 20, 40, 0.8);
  border: 1px solid rgba(123, 95, 224, 0.3);
  border-radius: 12px;
}

/* ============================================================
   RESPONSIVE MÓVIL
   ============================================================ */

/* ============================================================
   UTILIDADES — evitan estilos sueltos dentro del HTML
   ============================================================ */
.form-inline { display: inline; }
.grid-col-full { grid-column: 1 / -1; }