/* GRID LAYOUT */
.grid-layout {
  display: grid;
  grid-template-columns: 725px 300px;
  column-gap: 15px;
  width: 1300px;
  height: 630px;
  justify-content: center;
}

.contenedor {
  grid-column: 1;
  background-color: var(--bg-dark-blue);
  padding: 20px;
  border-radius: 5px;
  border: 3px solid var(--neon-cyan);
  box-shadow: var(--shadow-deep);
  text-align: center;
  overflow: hidden;
  position: relative;
  justify-content: center;
}

.contenedor iframe {
  width: 715px;
  height: 462px;
  margin: -20px -25px;
  justify-content: center;
}

.playlist::before,
.contenedor::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 5px;
  background: var(--pattern-soft);
  mix-blend-mode: overlay;
  opacity: 0.18;
  z-index: 0;
  pointer-events: none;
}

.bloque-chat {
  grid-column: 2;
  grid-row: span 2;
  background-color: var(--bg-dark-blue);
  height: 467px;
  border: var(--border-cyan);
  border-radius: 5px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-top: transparent;
  box-shadow: var(--shadow-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.chat-header {
  background: var(--gradient-blue);
  border: 3px solid var(--neon-cyan);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  height: 50px;
  width: 294px;
  position: relative;
}

.chat-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--pattern-diagonal-dark);
  mix-blend-mode: overlay;
  opacity: 0.2;
  height: 50px;
}

.chat {
  color: #08e2ff;
  margin: 10px 115px;
  text-align: center;
  font-size: 25px;
  font-family: var(--font-audiowide);
}

.chatbox-crt {
  margin-top: 0 auto;
  position: relative;
  background-color: transparent;
}

.chatbox-crt::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--pattern-crt);
  pointer-events: none;
  mix-blend-mode: overlay;
  opacity: 0.7;
  border-radius: 15px;
}

.chatbox-crt iframe {
  height: 410px;
  background: transparent;
  position: relative;
  z-index: 1;
}

.playlist {
  background-color: #2e0851b0;
  gap: 5px;
  padding: 0 5px;
  border-radius: 5px;
  border: 3px solid var(--neon-magenta);
  box-shadow: var(--shadow-deep);
  display: flex;
  justify-content: center;
  margin-top: 15px;
  position: relative;
  overflow: hidden;
  width: 1025px;
  height: 140px;
}

.playlist-contenedor {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  width: 930px;
  height: 100%;
  scrollbar-width: none;
  z-index: 1;
}

.playlist-contenedor::-webkit-scrollbar {
  display: none;
}

.playlist-item {
  margin-top: 16px;
  width: 155px;
  height: 120px;
  border-radius: 10px;
}

.playlist-titulo {
  color: #ffcd3c;
  font-family: 'Press Start 2P', cursive;
  font-size: 12px;
  margin: 0 0 10px 0;
  text-align: center;
  white-space: nowrap;
  text-shadow: 0 0 10px rgba(255, 255, 0, 0.5);
}

.playlist-videos {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.video-thumbnail {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  border: 2px solid #00ffff;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-thumbnail:hover {
  background: rgba(0, 255, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.732);
}

.video-thumbnail img {
  width: 150px;
  height: auto;
  object-fit: cover;
  border-radius: 3px;
}

.carrusel-flecha {
  position: absolute;
  z-index: 20;
  width: 51px;
  height: 140px;
  background: #f700a135;
  border: transparent;
  color: var(--neon-gold);
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(255, 0, 255, 0.7);
}

#playlist-flecha-izda {
  left: 0px;
}

#playlist-flecha-dcha {
  right: 0px;
}

.carrusel-flecha:hover {
  background: #3705eb6d;
}

.carrusel-flecha:active {
  transform: scale(0.95);
}

.borde {
  border-left: solid 2px var(--neon-magenta);
  margin-left: -5px ;
  margin-right: -5px ;
}


.horizontal-section {
  margin-top: 15px;
}