/* ===== Fondo general ===== */
body {
  margin: 0;
  background: #000;
  font-family: "Poppins", sans-serif;
  color: #fff;
}

/* ===== Etiqueta roja simple ===== */
.red-label {
  background: #ff0000;
  color: #fff;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
  display: inline-block;
}

/* Botón regresar */
.back-btn {
  position: fixed;
  top: 25px;
  left: 25px;
  text-decoration: none;
  z-index: 1000;
}

.back-btn:hover {
  background: #d40000;
}

.visualizers-container {
  min-height: 100vh;
  padding: 60px 5% 60px;   /* menos espacio arriba y abajo */
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;  /* centra todo verticalmente */
}



/* ===== Wrapper de pantalla + flechas ===== */
.visualizer-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  width: 100%;
  max-width: 1100px;
}

/* Flechas */
.nav-arrow {
  background: transparent;
  border: 1.5px solid #ff0000;
  color: #ff0000;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  cursor: pointer;

  /* centrado perfecto */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 0;       /* ← evita que la flecha baje */
  padding-bottom: 1px;  /* ← micro ajuste para centrar */
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}


.nav-arrow:hover {
  background: #ff0000;
  color: #000;
  transform: translateY(-2px);
}

/* ===== Pantalla central tipo TV ===== */
.visualizer-screen {
  position: relative;
  width: 55%;          /* más pequeña que antes */
  max-width: 720px;    /* tamaño máximo */
  aspect-ratio: 16 / 9;
  background: #050505;
  border-radius: 28px;
  padding: 16px 18px 26px;      /* borde grueso como marco */
  box-shadow:
    0 0 35px rgba(0, 0, 0, 0.9),
    0 0 0 2px #111;             /* línea externa sutil */
}

/* “Cristal” de la pantalla */
.visualizer-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid #222;       /* borde interior */
  background: #000;
}

.visualizer-inner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Capa oscura ligera */
.visualizer-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 20%, rgba(255,255,255,0.08), transparent 55%),
              linear-gradient(to top, rgba(0,0,0,0.45), rgba(0,0,0,0.05));
  pointer-events: none;
}

/* Info del video (abajo centrado) */
.visualizer-info {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.visualizer-info p {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .visualizer-wrapper {
    gap: 16px;
  }

  .visualizer-screen {
    width: 75%;
    max-width: 600px;
  }

  .nav-arrow {
    font-size: 1.8rem;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 600px) {
  .visualizers-title {
    font-size: 2.2rem;
  }

  .visualizer-screen {
    width: 95%;
    max-width: 480px;
  }
}
