/*Pantalla celular aviso*/
#modal-movil-aviso {
    display: none;
}
@media screen and (max-width: 768px) {
    #modal-movil-aviso {
        display: flex;
    }
}

/* ==========================================
   1. RESETEO Y CONFIGURACIÓN DE TIPOGRAFÍA
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-image: url("fondo3.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #e0e0e0;
  font-family: "Courier New", Courier, monospace;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
.contenedor-sitio {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 20px;
}

/* ===========================
   2. BARRA LATERAL IZQUIERDA
   =========================== */
.barra-izq {
  background: url('baizq.png') no-repeat center;
  background-size: cover;        /* ajusta sin deformar */
  border: 10px solid #400000;
  width: 300px;                  /* ancho fijo */
  flex-shrink: 0;
  box-shadow: 0px 0px 25px rgba(139, 0, 0, 0.4);
  text-align: center;
}
.barra-izq-gif {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
  margin-bottom: 30px;
}
.barra-izq-texto {
  font-family: 'VT323', sans-serif;
  color: #004400;
  -webkit-text-stroke: 0.5px #ffffff;
  font-size: 50px;
  line-height: 1.2;
  letter-spacing: 2.5px;
  margin: 1px 0 2px 0;
}
.barra-izq-blinks {
  width: 100%;
  overflow: hidden;
  background-color: #000;
  padding: 5px 0;
  position: relative;
}
.blinks-tira {
  display: flex;
  width: max-content;
  animation: marquee-loop 35s linear infinite;
}
@keyframes marquee-loop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.barra-izq-video {
  width: 100%;
  position: relative;
  padding-bottom: 75%;
  height: 0;
  margin: 5px auto;
}
.barra-izq-video iframe {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  border: none;
}
.spacer {
  height: 300px;   
  width: 100%;
}
.barra-izq-imginf {
  display: block;
  width: 100%;
  height: 220px;                
  object-fit: cover;
  margin: 0;;
}

/* ===================
   3. CONSOLA CENTRAL
   =================== */
.consola-central {
  flex: 1;
  max-width: 1000px;
  height: 1099px;
  background-color: #000;
  border: 10px solid #300000;
  box-shadow: 0px 0px 25px rgba(139, 0, 0, 0.4);
}
.con-central-bar {
  display: flex;                /* distribución horizontal */
  justify-content: space-between; /* separa extremos */
  align-items: center;          /* centra verticalmente */
  background-color: #000000;       /* fondo oscuro */
  color: #800000;               /* texto verde estilo consola */
  padding: 10px 12px;            /* espacio interno */
  border-bottom: 5px solid #400000; /* línea inferior */
  font-family: 'Courier New', monospace;
}
.online {
  font-weight: bold;
  animation: blink 6s infinite;
}
@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}
.titulo-central {
  flex: 1;
  text-align: center;
  font-size: 20px;
}
.controles-centrales img {
  width: 22px;    
  height: 22px;
  margin-left: 10px;
}
.banner {
  display: flex;
  flex-direction: column; 
  align-items: center;  
  background-color: #000000;
  border-bottom: 2px solid #400000;
}
.logo-banner {
  max-width: 100%;
  height: auto;
  margin-bottom: 7px;
  box-shadow: 0px 0px 12px rgba(0,0,0,0.6);
}
.banner-abajo {
  display: flex;
  justify-content: center;  
  gap: 200px;    
  padding: 5px 0;
}
.banner-abajo button {
  background: none;
  border: none;
  color: #8b0000;
  font-family: "Courier New", Courier, monospace;
  font-size: 1.3rem;
  font-weight: bold;
  cursor: pointer;
  padding: 5px 2px;
  text-shadow: 0px 0px 3px rgba(139, 0, 0, 0.5);
  transition: all 0.2s ease;
}
.banner-abajo button:hover {
  color: #ff0000;
  text-shadow: 0px 0px 8px #ff0000;
}
.ventana-multimedia {
  display: none;
  position: fixed;
  top: 25%;
  left: 35%;
  width: 370px;
  background-color: #0a0a0a;
  border: 2px solid #8b0000;
  box-shadow: 0px 0px 20px rgba(139, 0, 0, 0.6);
  z-index: 10000;
  font-family: "Courier New", Courier, monospace;
}
.ventana-central {
  background-color: #1a0000;
  border-bottom: 2px solid #8b0000;
  padding: 6px 10px;
  cursor: move;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ventana-titulo {
  color: #8b0000;
  font-weight: bold;
  font-size: 0.85rem;
}
.ventana-cerrar {
  color: #555;
  cursor: pointer;
  font-weight: bold;
}
.ventana-cerrar:hover {
  color: #ff0000;
  text-shadow: 0px 0px 5px #ff0000;
}
.ventana-body {
  padding: 10px;
}
.reproductor-layout {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.portada-mini {
  width: 50px;
  height: 80px;
  background-color: #000;
  border: 1px solid #333;
  display: flex;
  justify-content: center;
  align-items: center;
}
.portada-cancion {
  color: #8b0000;
  font-size: 1.2rem;
}
.cancion-detalles {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cancion-titulo {
  font-size: 1rem;
  color: #e0e0e0;
  font-weight: bold;
}
#boton-siguiente {
  background-color: #000; 
  color: #8b0000;                  
  border: 1px solid #8b0000;
  padding: 4px 10px;
  font-family: monospace;
  font-weight: bold;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
#boton-siguiente:hover {
  background-color: #8b0000;
  color: #000;
  box-shadow: 0px 0px 6px #8b0000;
  text-shadow: 0px 0px 4px #ff0000;
}
#boton-siguiente:active {
  transform: scale(0.95);
}
.lista-canciones {
  font-size: 0.95rem;
  color: #666;
}
.progreso-cancion {
  width: 100%;
  height: 9px;
  background-color: #111;
  border: 1px solid #333;
  margin-top: 5px;
  cursor: pointer;
}
.progreso-barra {
  width: 0%;
  height: 100%;
  background-color: #8b0000;
}
.seccion-volumen {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
  padding: 0 5px;
}
.vol-icon {
  font-size: 0.85rem;
  color: #666;
}
.volumen-slider-container {
  position: relative;
  width: 500px;
  height: 16px;
  cursor: pointer;
  background-color: #111;
  border: 1px solid #222;
  overflow: hidden;
}
.volumen-triangulo-bg {
  position: absolute;
  top: 0;
  left: 0;
  width:500px;
  height: 100%;
  background: linear-gradient(to top right, transparent 49%, #222 50%),
              linear-gradient(to top right, #0a0a0a 100%, transparent 0);
  z-index: 1;
}
.volumen-lleno {
  position: absolute;
  top: 0;
  left: 0;
  width: 500%; /* volumen inicial */
  height: 100%;
  background-color: #8b0000;
  z-index: 2;
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
  opacity: 0.8;
}
.ventana-controles-abajo {
  margin-top: 10px;
}
.win-accion-btn {
  width: 100%;
  background-color: #000;
  color: #8b0000;
  border: 1px solid #8b0000;
  padding: 6px;
  font-family: monospace;
  font-weight: bold;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.win-accion-btn:hover {
  background-color: #8b0000;
  color: #000;
  box-shadow: 0px 0px 8px #8b0000;
}

.contentenido-principal {
  display: flex;
  gap: 20px;
  margin: 20px;
  font-family: 'Courier New', monospace;
  color: #e0e0e0;
}

.izq-panel {
  flex: 1;
  background-color: #0a0a0a;
  border: 2px solid #8b0000;
  box-shadow: 0px 0px 12px rgba(139, 0, 0, 0.6);
  padding: 15px;
}

.caja-titulo {
  font-size: 0.9rem;
  font-weight: bold;
  color: #8b0000;
  border-bottom: 1px solid #8b0000;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

/* Input retro */
.actualizaciones-input {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.actualizaciones-input textarea {
  width: 100%;
  height: 60px;
  background-color: #111;
  border: 1px solid #8b0000;
  color: #e0e0e0;
  font-family: 'Courier New', monospace;
  padding: 6px;
  resize: none;
}

.actualizaciones-input button {
  background-color: #000;
  color: #8b0000;
  border: 1px solid #8b0000;
  padding: 6px;
  font-family: monospace;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
}

.actualizaciones-input button:hover {
  background-color: #8b0000;
  color: #000;
  box-shadow: 0px 0px 6px #8b0000;
}

/* Lista de comentarios */
.actualizaciones-lista {
  max-height: 300px;
  overflow-y: auto;
  background-color: #111;
  border: 1px solid #8b0000;
  padding: 10px;
  box-shadow: inset 0px 0px 8px rgba(0,0,0,0.6);
}

.actualizacion-item {
  margin-bottom: 12px;
  padding: 8px;
  border-bottom: 1px dashed #8b0000;
}

.actualizacion-fecha {
  font-size: 0.75rem;
  color: #ff0000;
  display: block;
  margin-bottom: 4px;
}

.actualizacion-texto {
  font-size: 0.85rem;
  color: #e0e0e0;
  line-height: 1.4;
}

/* Panel derecho */
.panel-derecho {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contenido-panel-derecho {
  background-color: #0a0a0a;
  border: 2px solid #8b0000;
  box-shadow: 0px 0px 12px rgba(139, 0, 0, 0.6);
  padding: 15px;
}

.titulo-panel-derecho {
  font-size: 0.9rem;
  font-weight: bold;
  color: #8b0000;
  border-bottom: 1px solid #8b0000;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.links-boton {
  display: flex;
  flex-direction: column;
  background-color: #111;
  border: 1px solid #8b0000;
  padding: 8px;
  text-decoration: none;
  color: #e0e0e0;
  transition: all 0.2s ease;
}

.links-boton:hover {
  background-color: #8b0000;
  color: #000;
  box-shadow: 0px 0px 8px #8b0000;
}

.num-links {
  font-size: 0.8rem;
  color: #ff0000;
}

.titulo-links {
  font-size: 0.9rem;
  font-weight: bold;
}

.descripcion-links {
  font-size: 0.75rem;
  color: #aaa;
}

/* Panel derecho abajo */
.panel-derecho-abajo {
  background-color: #0a0a0a;
  border: 2px solid #8b0000;
  box-shadow: 0px 0px 12px rgba(139, 0, 0, 0.6);
  padding: 15px;
}

.titulo-panel-derecho-abajo {
  font-size: 0.9rem;
  font-weight: bold;
  color: #8b0000;
  border-bottom: 1px solid #8b0000;
  padding-bottom: 5px;
  margin-bottom: 10px;
}

.fecha-panel-derecho-abajo {
  font-size: 0.75rem;
  color: #ff0000;
}

.texto-panel-derecho-abajo {
  font-size: 0.8rem;
  color: #aaa;
  line-height: 1.4;
}


/* =========================
   3. BARRA LATERAL DERECHA
   ========================= */
.barra-der {
  background-color: #000;
  border: 10px solid #400000;
  width: 300px;                  /* ancho fijo */
  flex-shrink: 0;
  box-shadow: 0px 0px 25px rgba(139, 0, 0, 0.4);
  text-align: center;
}