/* MOBILE FIX */
/* ========================= */

@media (max-width: 768px) {



  .hero-content2 {
    max-width: 100%;
  }

  .hero-content2 h1 {
    font-size: 18px;
  }
  .hero-content2 p {
    font-size: 16px;
  }

  .hero-button2{
    display: none;
  }

  .hero-trailer2 {
    flex-direction: column;
    gap: 30px;
    padding: 40px 10px;
    text-align: center;
  }


  .hero-video2 {
    width: 100%;
    max-width: 100%;
  }

  .video-main2 {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 15px;
  }

  .video-main2 iframe {
    width: 100%;
    height: 100%;
    display: block;
  }

/* Container que agrupa a imagem e o título */
.thumb-container2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 220px; /* Ajuste para caber os 4 vídeos */
    cursor: pointer;
    transition: 0.3s ease;
}

/* Título do vídeo abaixo da thumb */
.thumb-title2 {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    text-align: center;
    transition: 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Destaque quando a thumb está ativa ou com mouse em cima */
.thumb-container2:hover .thumb-title2,
.thumb-container2.active .thumb-title2 {
    color: #00ffff;
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
}

.thumb-container2.active .thumb2 {
    border-color: #00ffff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

/* Container do card de vídeo */
.video-card2 {
    display: flex;
    flex-direction: column;
    width: 100%; /* Ocupa todo o espaço da div pai */
    min-width: 220px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Animação mais suave */
}

/* Hover no card inteiro */
.video-card2:hover {
    transform: translateY(-8px) scale(1.02); /* Sobe um pouco e aumenta levemente */
}

/* A Thumbnail */
.thumb2 {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px; /* Cantos mais arredondados */
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.08); /* Borda quase invisível */
    transition: all 0.3s ease;
}

/* O Novo Visual do Título (Legenda de "Vidro") */
.video-title-under {
    position: absolute;
    bottom: -1px; /* Cola no fundo da thumb */
    left: 0;
    width: 100%;
    
    /* Efeito de Vidro (Fundo desfocado) */
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 70%, transparent 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-align: left; /* Alinhado à esquerda como em streamings */
    padding: 25px 15px 12px; /* Mais espaço para o texto respirar */
    box-sizing: border-box;
    
    text-transform: capitalize; /* Apenas primeira letra maiúscula (mais limpo) */
    letter-spacing: 0.3px;
    
    /* Estado inicial: Escondido */
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease-out;
    z-index: 2;
}

/* Hover revela o título */
.video-card2:hover .video-title-under {
    opacity: 1;
    transform: translateY(0);
}

/* Estilo para quando o card é o selecionado (Active) */
.video-card2.active .thumb2 {
    border: 2px solid #00ffff;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.5);
}

.video-card2.active .video-title-under {
    color: #00ffff; /* Título brilha em ciano */
    opacity: 1; /* Fica visível sempre */
    transform: translateY(0);
}

.video-card2.active .thumb2 {
    border: 2px solid #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    transform: translateY(-5px);
}
.thumb-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #00ffff;
    color: #000;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 2;
    opacity: 0.9;
}

  /* setas mais confortáveis no toque */
  .thumb-nav2 {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
}


/* ========================= */
/* HERO SECTION */
/* ========================= */

.hero-trailer2 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;

  padding: 80px 40px;
  color: white;
  background: radial-gradient(circle at center, #ff0000 0%, #ff0000d7 70%);
}

/* ========================= */
/* TEXT */
/* ========================= */

.hero-content2 {
  max-width: 400px;
}

.hero-content2 h1 {
  font-size: 48px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #bdbdbd, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content2 p {
  font-size: 18px;
  opacity: 0.75;
  line-height: 1.6;
  margin-bottom: 30px;
}

/* ========================= */
/* BUTTON */
/* ========================= */

.hero-button2 {
  padding: 16px 36px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.6);

  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  letter-spacing: 1px;

  cursor: pointer;
  transition: 0.3s ease;

  box-shadow: 
    0 0 15px rgba(255, 255, 255, 0.4),
    inset 0 0 10px rgba(0, 255, 255, 0.2);
}

.hero-button2:hover {
  transform: scale(1.05);
  background: rgba(0, 255, 255, 0.25);

  box-shadow: 
    0 0 25px rgba(0, 255, 255, 0.8),
    inset 0 0 15px rgba(0, 255, 255, 0.4);
}

/* ========================= */
/* VIDEO SIDE */
/* ========================= */

.hero-video2 {
  flex: 1;
  max-width: 1200px;
}

/* mantém estilos anteriores */
.video-main2 {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;

  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,0.15);

  box-shadow:
    0 0 20px rgba(0,255,255,0.25),
    0 0 40px rgba(0,255,255,0.15);

  animation: glowPulse 3s ease-in-out infinite;
}

.video-main2 iframe {
  width: 100%;
  height: 100%;
  border: none;
}


.video-container2 {
  position: relative;
  z-index: 1;

  width: 100%;
  max-width: 1200px;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border: 1px solid rgba(255, 255, 255, 0.15);

  box-shadow: 
    0 0 20px rgba(255, 255, 255, 0.15),
    0 0 40px rgba(0, 255, 255, 0.15);

  transition: 0.3s ease;
}

/* ========================= */
/* NEON RGB FRAME */
/* ========================= */

.video-container2::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  display: block;
  padding-top: 56.25%; /* 16:9 fallback */
  background: linear-gradient(
    45deg,
    #ff0000,
    #00ff00,
    #00ffff,
    #ff00ff,
    #ff0000
  );
  background-size: 400%;
  z-index: -1;
  animation: rgbBorder 8s linear infinite;
  filter: blur(8px);
  opacity: 0.7;
}

@keyframes rgbBorder {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ========================= */
/* GLOW PULSANDO */
/* ========================= */

.video-container2 {
  animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
  0% {
    box-shadow: 
      0 0 15px rgba(0, 255, 255, 0.2),
      0 0 30px rgba(0, 255, 255, 0.15);
  }
  50% {
    box-shadow: 
      0 0 25px rgba(0, 255, 255, 0.45),
      0 0 50px rgba(0, 255, 255, 0.25);
  }
  100% {
    box-shadow: 
      0 0 15px rgba(0, 255, 255, 0.2),
      0 0 30px rgba(0, 255, 255, 0.15);
  }
}

/* ========================= */
/* SWIPE EFFECT */
/* ========================= */

.video-main2::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 20%,
    rgba(0, 255, 255, 0.25),
    transparent 80%
  );
  transform: translateX(-100%);
  opacity: 0;
}

.video-main2.swipe::after {
  animation: swipeFx 0.6s ease;
  opacity: 1;
}

@keyframes swipeFx {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* ========================= */
/* LOADER FAKE NETFLIX */
/* ========================= */

.video-loader2 {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;

  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
}

.video-loader2.active {
  opacity: 1;
}

/* Barra loader */
.loader-bar2 {
  width: 180px;
  height: 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
  position: relative;
}

.loader-bar2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent,
    #ffffff,
    transparent
  );
  animation: loadingBar 1.2s linear infinite;
}

@keyframes loadingBar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* GALERIA */
.video-gallery2 {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
}

/* PLAYER PRINCIPAL */
.video-main2 {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 15px;
  overflow: hidden;
  margin-bottom: 25px;

  overflow: hidden;

  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(255,255,255,0.15);

  box-shadow:
    0 0 20px rgba(0,255,255,0.25),
    0 0 40px rgba(0,255,255,0.15);

  animation: glowPulse 3s ease-in-out infinite;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
/* Fade OUT */
.video-main2.fade-out {
  opacity: 0;
  transform: scale(0.98);
}

/* Fade IN */
.video-main2.fade-in {
  opacity: 1;
  transform: scale(1);
}
.video-main2 iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ========================= */
/* THUMBS WRAPPER */
/* ========================= */

.video-thumbs-wrapper2 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ========================= */
/* THUMBS SLIDER */
/* ========================= */

.video-thumbs2 {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 5px;

  scroll-snap-type: x mandatory;
}

.video-thumbs2::-webkit-scrollbar {
  display: none;
}

/* ========================= */
/* THUMB CLEAN */
/* ========================= */

.thumb2 {
  position: relative;
  min-width: 240px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;

  opacity: 0.5;
  transform: scale(0.95);
  transition: all 0.35s ease;

  scroll-snap-align: center;

  background: #111;
}

/* imagem */
.thumb2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.35s ease;
}

/* hover clean */
.thumb2:hover {
  opacity: 0.85;
  transform: scale(0.98);
}

/* thumb ativa (foco premium) */
.thumb2.active {
  opacity: 1;
  transform: scale(1);
}

/* leve destaque elegante */
.thumb2.active img {
  transform: scale(1.04);
}

/* ========================= */
/* PLAY ICON CLEAN */
/* ========================= */

.thumb-play2 {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 26px;
  color: white;

  background: rgba(0, 0, 0, 0.35);
  opacity: 0.8;

  transition: 0.3s ease;
}

.thumb2:hover .thumb-play2 {
  background: rgba(0, 0, 0, 0.2);
}

/* ========================= */
/* NAV BUTTONS CLEAN */
/* ========================= */

.thumb-nav2 {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 52px;
  height: 52px;
  min-width: 52px; /* impede deformar */

  border-radius: 50%;
  cursor: pointer;

  font-size: 22px;
  line-height: 1;

  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.85);

  transition: all 0.25s ease;
}

/* Hover elegante */
.thumb-nav2:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  transform: scale(1.08);
}



/* Thumb ativa */
.thumb2.active {
  opacity: 1;
  box-shadow: 0 0 5px rgba(0,255,255,0.6);
}

/* Ícone play */
.thumb-play2 {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #ffffff;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(4px);
}

/* BOTÕES */


.thumb-nav2:hover {
  background: rgba(0, 255, 255, 0.2);
  transform: scale(1.1);
}

/* ========================= */
/* IFRAME */
/* ========================= */

.video-container2 iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ========================= */
/* OVERLAY */
/* ========================= */

.video-overlay2 {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;

  opacity: 1;
  transition: 0.3s ease;
}

.video-container2:hover .video-overlay2 {
  background: rgba(0, 0, 0, 0.35);
}

/* ========================= */
/* PLAY BUTTON */
/* ========================= */

.play-button2 {
  padding: 18px 40px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.6);

  background: rgba(0, 255, 255, 0.1);
  color: #ffffff;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 2px;

  backdrop-filter: blur(6px);

  cursor: pointer;
  transition: 0.3s ease;

  box-shadow: 
    0 0 10px rgba(255, 255, 255, 0.4),
    inset 0 0 10px rgba(0, 255, 255, 0.2);
}

.play-button2:hover {
  transform: scale(1.08);
  background: rgba(0, 255, 255, 0.25);

  box-shadow: 
    0 0 20px rgba(0, 255, 255, 0.8),
    inset 0 0 15px rgba(0, 255, 255, 0.4);
}