/*
Theme Name: Meu Tema Personalizado
Theme URI: http://example.com
Author: Seu Nome
Author URI: http://example.com
Description: Um tema personalizado para WordPress.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: meu-tema
*/

/* =============================
   BASE E CONTAINER CENTRALIZADO
============================= */

*, *::before, *::after {
  box-sizing: border-box;
}

/* === SCROLLBAR PERSONALIZADA (Webkit) === */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #111;
  border-radius: 8px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #00ff9c, #00cfff);
  border-radius: 10px;
  border: 2px solid #000;
  box-shadow: 0 0 5px #00ff9c;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #00e676, #00bfff);
}


body {
  margin: 0;
  padding: 0;
  background-color: #121212;
  color: #fff;
  font-family: sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
/* =============================
   BASE E CONTAINER
============================= */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: #121212;
  color: #fff;
  font-family: sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* =============================
   HEADER COMPLETO
============================= */
#site-header {
  background-color: #111;
  color: #fff;
}

/* Topo com logo, menu e busca */
.top-bar {
  background: #000;
  padding: 10px 0;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Logo */
.logo img {
  height: 40px;
}

/* Menu principal */
.main-menu {
  flex: 1;
}

.main-menu ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.main-menu ul li a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 5px;
  transition: 0.3s;
  font-size: 18px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-menu ul li a:hover,
.main-menu ul li.current-menu-item a {
  background-color: #00ff90;
  color: #000;
}

/* Ícone do menu e busca */
.search-toggle button {
  background: #00ff90;
  border: none;
  color: #000;
  font-size: 20px;
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.3s;
}

.search-toggle button:hover {
  background-color: #00e676;
}

/* Campo de busca escondido */
.search-box {
  display: none;
  background: #000;
  padding: 15px;
  border-top: 1px solid #00ff90;
}

.search-box input[type="search"] {
  padding: 6px 10px;
  border-radius: 4px;
  border: none;
  font-size: 16px;
}

/* =============================
   SEARCH OVERLAY
============================= */
.search-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
}

.search-overlay-content {
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideDown 0.4s ease;
}

@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.search-form-wrapper {
  background: #ddd;
  padding: 25px 40px;
  border-radius: 8px;
  max-width: 1200px;
  width: 100%;
  text-align: center;
}

.search-form-wrapper input[type="search"] {
  font-size: 40px;
  color: #000;
  background: transparent;
  border: none;
  outline: none;
  text-align: center;
  width: 100%;
  font-weight: bold;
}

.search-form-wrapper input[type="submit"] {
  display: none;
}

.close-search {
  background: transparent;
  border: none;
  font-size: 36px;
  color: #00ff00;
  cursor: pointer;
  transition: color 0.3s;
}

.close-search:hover {
  color: #ffffff;
}

/* =============================
   HAMBURGER (APENAS MOBILE)
============================= */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  background: #00ff90;
  border-radius: 2px;
  width: 100%;
  display: block;
}

/* =============================
   RESPONSIVO
============================= */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hamburger {
    display: flex;
  }

  .main-menu {
    display: none;
    width: 100%;
    margin-top: 10px;
  }

  .main-menu.active {
    display: block;
  }

  .main-menu ul {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .main-menu ul li a {
    width: 100%;
    display: block;
    padding: 10px 16px;
    background: #222;
    border-left: 4px solid #00ff90;
  }

  .search-toggle {
    margin-left: auto;
  }
}



/* =============================
   CATEGORY SLIDER
============================= */
.category-slider-wrapper {
  position: relative;
  margin-top: 40px; /* espaço extra */
}

/* Setas de navegação — topo à direita, dentro do container */
.category-slider-controls {
  position: absolute;
  top: -35px;
  right: 15px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.cat-slider-btn {
  background: #1a1a1a; /* fundo escuro */
  color: #fff;
  border: 1px solid #444;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cat-slider-btn:hover {
  background: #00ff90; /* destaque hover */
  color: #000;
  border-color: #00ff90;
}

/* Slider de categorias com rolagem horizontal */
.category-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 10px;
  padding: 10px 0;
  white-space: nowrap;
  background: linear-gradient(to right, #111, #1a1a1a, #222); /* fundo escuro degradê */
  border-radius: 8px;
  border: 1px solid #333;
}

/* Ocultar scrollbar padrão */
.category-slider::-webkit-scrollbar {
  display: none;
}

/* Botões das categorias */
.category-slider a button {
  background: #1a1a1a; /* fundo escuro */
  color: #fff;
  border: 1px solid #444;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s ease;
  font-size: 16px;
}

.category-slider a button:hover {
  background: #00ff90;
  color: #000;
  border-color: #00ff90;
}




/* =============================
   SEÇÕES: DESTAQUES / ÚLTIMOS
============================= */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #111, #1a1a1a, #222); /* degradê escuro */
  padding: 10px 20px;
  border-radius: 8px;
  margin: 20px 0 10px 0;
  border: 1px solid #333; /* borda cinza escura */
}

.section-header h2 {
  font-size: 1.5rem;
  color: #fff; /* texto branco */
}

.section-header .ver-mais {
  background: #1a1a1a; /* fundo escuro sólido */
  color: #fff;
  padding: 6px 16px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  border: 1px solid #333; /* borda discreta e escura */
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.4); /* sombra leve para destacar */
}

.section-header .ver-mais:hover {
  background: #00ff90; /* verde neon no hover */
  color: #000;
  border-color: #00ff90;
  box-shadow: 0 0 6px rgba(0, 255, 144, 0.4); /* glow leve no hover */
}



/* =============================
   SLIDERS / GRIDS
============================= */
.slider,
.grid-cards {
  display: flex;
  overflow-x: auto;
  gap: 15px;
  padding: 20px 0;
  flex-wrap: nowrap;
  scroll-behavior: smooth;
}

.grid-cards {
  flex-wrap: wrap;
  justify-content: flex-start;
}


/* =============================
   DESTAQUE SLIDER (2 CARDS NO MOBILE)
============================= */
.destaque-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 20px;
  padding: 20px 0;
  position: relative;
}

.destaque-slider::-webkit-scrollbar {
  display: none;
}

/* CARD DESTAQUE (Mobile: 2 por linha) */
.destaque-card {
  flex: 0 0 calc(50% - 10px);
  max-width: calc(50% - 10px);
}

/* SETAS */
.destaque-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: #00ff90;
  color: #000;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.destaque-slider-btn.left {
  left: 0;
}

.destaque-slider-btn.right {
  right: 0;
}

.destaque-slider-btn:hover {
  background: #00e676;
}

/* Desktop - tamanho fixo dos cards */
@media (min-width: 769px) {
  .destaque-card {
    flex: 0 0 234px;
    max-width: 234px;
  }
}


/* =============================
   CONTAINER DE SEÇÃO RESPONSIVO
============================= */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Cabeçalho da seção */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.section-header .ver-mais {
  background: #1a1a1a; /* fundo escuro sólido */
  color: #fff; /* texto branco */
  padding: 6px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  border: 1px solid #333; /* borda discreta */
  transition: all 0.3s ease;
}

.section-header .ver-mais:hover {
  background: #00ff90; /* verde neon no hover */
  color: #000; /* texto escuro no hover */
  border-color: #00ff90;
}


/* GRADE DE CARDS (AGORA EM GRID MESMO) */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 colunas no mobile */
  gap: 20px;
}

/* DESKTOP: 234px fixo, flexível horizontalmente */
@media (min-width: 769px) {
  .grid-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
  }

  .card {
    flex: 0 0 234px;
    max-width: 234px;
  }
}

/* CARD */
.card {
  background: none;
  border: none;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Thumbnail */
.card .thumbnail {
  position: relative;
  border: 2px solid #333; /* cinza escuro */
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 2/3;
}


.card .thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Info */
.card .info {
  background: linear-gradient(to right, #111, #1a1a1a, #222); /* degradê escuro */
  border-radius: 0 0 10px 10px;
  border: 2px solid #333; /* borda cinza escuro */
  border-top: none;
  padding: 8px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.6rem;
  flex-grow: 1;
}



/* Título */
.card .info h3 {
  font-size: 1rem;
  margin: 0;
  color: #fff; /* agora é branco */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3rem;
  max-height: 2.6rem;
}


.card .info h3 a {
  color: #fff; /* branco sempre */
  text-decoration: none;
  transition: color 0.3s;
}

.card .info h3 a:hover {
  color: #00ff90; /* verde neon no hover (ou outra cor de destaque) */
}


/* Selo idioma */
.thumbnail .idioma {
  position: absolute;
  top: 2px;
  right: 2px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: bold;
  font-family: 'Arial Black', sans-serif;
  text-transform: uppercase;
  color: #fff; /* texto branco */
  background: rgba(0, 0, 0, 0.5); /* fundo escuro e translúcido */
  border-top-left-radius: 6px;
  border-bottom-right-radius: 6px;
  border-left: 3px solid #00ff73;
  border-right: 3px solid #00ff73;
  pointer-events: none;
  z-index: 10;
  backdrop-filter: blur(4px);
  box-shadow: 0 0 4px rgba(0, 255, 115, 0.4);
}


/* Nota IMDb */
.thumbnail .imdb-nota {
  position: absolute;
  bottom: 4px;
  left: 4px;
  padding: 4px 10px;
  font-size: 15px;
  font-weight: bold;
  color: #000;
  background: #ffeb3b;
  border-radius: 4px;
  box-shadow: 0 0 4px rgba(0,0,0,0.3);
  pointer-events: none;
  z-index: 10;
  line-height: 1.2;
}




/* =============================
   PAGINAÇÃO
============================= */
.pagination {
  text-align: center;
  padding: 20px 0;
}

.pagination .page-numbers {
  color: white;
  margin: 0 5px;
  text-decoration: none;
}

.pagination .current {
  font-weight: bold;
  color: #00ff90;
}

/* =============================
   RESPONSIVIDADE
============================= */
@media (max-width: 768px) {
  .main-menu ul {
    flex-direction: column;
    align-items: center;
  }

  .grid-cards {
    flex-direction: column;
    align-items: center;
  }

  .slider {
    flex-wrap: nowrap;
    overflow-x: auto;
  }
}

/* === SINGLE PAGE (single.php) === */

.section-title .post-title {
  font-size: 22px;
  margin: 0;
  color: #fff;
  text-transform: uppercase;
}

.data-postagem {
  position: absolute;
  top: -35px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: #fff;
  background: #111;
  padding: 4px 20px;
  border-top: 2px solid #333;
  border-left: 2px solid #333;
  border-right: 2px solid #333;
  border-radius: 8px 8px 0 0;
  z-index: 1;
  text-align: center;
  white-space: nowrap;
}

.data-postagem i {
  margin-right: 6px;
  color: #aaa;
}

.single-content-wrapper {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 32px;
  padding: 24px 12px;
  flex-wrap: wrap;
}

/* Conteúdo principal */
.single-main {
  width: 100%;
  max-width: 785px;
  flex-grow: 1;
}

/* Título do post */
.post-title {
  font-size: 24px;
  color: #00ff90; /* novo verde usado como destaque */
  margin-bottom: 16px;
  text-transform: uppercase;
}

/* Capa + Informações */
.post-header {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 24px;
}

/* Capa */
.post-capa {
  flex: 0 0 320px;
  background-color: #111;
  padding: 8px;
  border-style: solid;
  border-width: 4px 2px;
  border-color: #333;
  border-radius: 10px;
}

.post-capa img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}

/* Informações */
.post-info {
  flex: 1;
  padding: 15px;
  border-style: solid;
  border-width: 4px 2px;
  border-color: #333;
  border-radius: 10px; /* deixei com cantos arredondados */
  background-color: #1a1a1a;
  margin-top: -20px;
  position: relative;
  color: #ddd;
}

.post-info p {
  margin: 6px 0;
  font-size: 15px;
  color: #fff; /* branco fixo */
}



.post-info strong {
  font-size: 17px;
  color: #ccc;
}


.post-info a {
  color: #00ff90;
  text-decoration: none;
  transition: color 0.3s;
}

.post-info a:hover {
  color: #fff;
}

.post-info .post-msg-extra a {
  color: inherit;
}





/* Botões */
.btn-wrapper {
  margin-top: 20px;
}

.btn-wrapper .section-title {
  background: linear-gradient(to right, #00ff9c, #00cfff);
  color: #000;
  font-size: 18px;
  padding: 10px 16px;
  border-radius: 6px 6px 0 0;
  margin-bottom: 10px;
  text-align: center;
  text-transform: uppercase;
}





.btn-box {
  margin-top: -12px;
  border: 2px solid #00ff9c;
  border-radius: 0 0 10px 10px;
  padding: 14px 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 0 12px #00ff9c;
  background: #000;
}

.btn-principal {
  background: #000;
  color: #00ff9c;
  border: 2px solid #00ff9c;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  min-width: 160px;
  text-align: center;
}

.btn-principal:hover {
  background: #00cfff;
  color: #000;
  border-color: #00cfff;
}

/* Responsivo para mobile */
@media (max-width: 768px) {
  .btn-box {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }

  .btn-principal {
    width: 100%;
  }
}





/* === OVERLAY DE DOWNLOADS === */
#overlay-downloads {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#overlay-downloads.ativo {
  display: flex;
  opacity: 1;
}

.overlay-conteudo {
  background: #000;
  border: 3px solid #00ff9c;
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 0 20px #00ff9c;
  position: relative;
  padding: 24px;
  animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0.92);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.fechar-overlay-container {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
}

.fechar-overlay {
  background: red;
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.fechar-overlay:hover {
  background: #ff4d4d;
}

.fechar-overlay i.fa {
  pointer-events: none;
}


#overlay-online {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#overlay-online.ativo {
  display: flex;
  opacity: 1;
}

#overlay-online .overlay-conteudo {
  background: #000;
  border: 3px solid #00ff9c;
  border-radius: 12px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 0 20px #00ff9c;
  position: relative;
  padding: 24px;
  animation: scaleIn 0.3s ease;
}


.legenda-box .btn-baixar-agora.legenda {
  display: inline-block;
  background-color: #ffd700; /* amarelo ouro */
  color: #000;               /* texto preto */
  font-weight: bold;
  font-size: 15px;
  padding: 12px 24px;
  text-align: center;
  text-transform: uppercase;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 6px rgba(255, 215, 0, 0.4);
  transition: background 0.3s, color 0.3s;
}

.legenda-box .btn-baixar-agora.legenda:hover {
  background-color: #ffe135; /* amarelo mais claro no hover */
  color: #000;
}



/* HEADER DO OVERLAY */
.overlay-header {
  background: linear-gradient(to right, #00ff9c, #00cfff);
  padding: 14px 20px;
  border-radius: 8px 8px 0 0;
  text-align: center;
  border-bottom: 2px solid #00ff9c;
}

.overlay-header h2 {
  margin: 0;
  color: #151515;
  font-size: 24px;
  font-family: 'Bebas Neue', Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* CONTEÚDO */
.grupo-wrapper {
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 4px;
  margin-top: 20px;
}

/* GRUPOS */
.grupo-download-box {
  margin-bottom: 20px;
  border: 2px solid #00ff9c;
  border-radius: 10px;
  padding: 16px;
  background: #111;
  box-shadow: 0 0 10px rgba(0, 255, 156, 0.2);
}

.grupo-download-box a {
  color: #00ff9c;
  text-decoration: none;
  font-weight: bold;
}

.grupo-download-box a:hover {
  text-decoration: underline;
  color: #00ffaa; /* opcional: tom mais claro no hover */
}


.grupo-download-titulo {
  background: linear-gradient(to right, #00ff9c, #00cfff);
  color: #000;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 12px;
  text-align: center;
  text-transform: uppercase;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* mais limpa e profissional */
}

.grupo-wrapper::-webkit-scrollbar {
  width: 8px;
}

.grupo-wrapper::-webkit-scrollbar-track {
  background: #111; /* fundo escuro do track */
}

.grupo-wrapper::-webkit-scrollbar-thumb {
  background: #00ff9c; /* cor neon do scroll */
  border-radius: 10px;
}

.grupo-wrapper::-webkit-scrollbar-thumb:hover {
  background: #00cfff; /* cor no hover */
}




/* ITENS INDIVIDUAIS */
.item-download {
  margin-bottom: 14px;
  text-align: center;
}

.titulo-download {
  font-size: 14px;
  font-weight: bold;
  color: #00ff9c;
  margin-bottom: 8px;
}

/* BOTÃO DE DOWNLOAD */
.btn-baixar-agora {
  background: #000;
  color: #00ff9c;
  border: 2px solid #00ff9c;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: Arial, sans-serif;
}

.btn-baixar-agora:hover {
  background: #111;
  color: #000;
  border-color: #00cfff;
}

.btn-baixar-agora .fa {
  font-size: 16px;
}





/* Seções */
.section-title {
  background: linear-gradient(to right, #111, #1a1a1a, #222);
  color: #fff;
  font-size: 18px;
  padding: 10px 16px;
  border-radius: 6px;
  margin: 24px auto 12px;
  width: 100%;
  max-width: 1280px;
  box-sizing: border-box;
  border: 1px solid #333;
}

/* Sinopse */
.section-title.sinopse-title {
  border-radius: 10px 10px 0 0;
  margin-bottom: 0;
}

.sinopse-box {
  background-color: #111;
  border-left: 2px solid #333;
  border-right: 2px solid #333;
  border-bottom: 2px solid #333;
  border-radius: 0 0 10px 10px;
  padding: 16px;
  color: #ccc;
  font-size: 15px;
  line-height: 1.6;
  position: relative;
  top: -4px;
  margin-bottom: 24px;
}

/* Post Info */
.post-info {
  width: 100%;
  margin-top: 0;
  border-radius: 10px;
  padding: 14px;
  background-color: #1a1a1a;
  border: 1px solid #333;
  color: #ddd;
}

.single-content-wrapper {
  padding: 16px 10px;
}

.post-title {
  font-size: 20px;
  text-align: center;
  color: #00ff90;
  text-transform: uppercase;
}

.btn-box {
  flex-direction: column;
  gap: 10px;
}

/* Elenco */
.elenco-wrapper {
  margin-top: 20px;
}

.elenco-title-with-arrows {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to right, #111, #1a1a1a, #222);
  color: #fff;
  font-size: 18px;
  padding: 10px 16px;
  border-radius: 6px;
  margin-bottom: 12px;
  border: 1px solid #333;
}

.elenco-nav {
  display: flex;
  gap: 8px;
}

.elenco-btn {
  background: #1a1a1a;
  color: #fff;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 4px 8px;
  cursor: pointer;
  transition: all 0.3s;
}

.elenco-btn:hover {
  background: #00ff90;
  color: #000;
  border-color: #00ff90;
}

.elenco-slider-wrapper {
  overflow: hidden;
  position: relative;
}

.elenco-slider {
  display: flex;
  gap: 16px;
  transition: transform 0.4s ease;
  scroll-behavior: smooth;
  overflow: hidden;
  padding-bottom: 5px;
}

.elenco-card {
  background: #1a1a1a;
  border-radius: 8px;
  text-align: center;
  flex: 0 0 130px;
  padding: 6px;
  border: 1px solid #333;
}

.elenco-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
}

/* NOME e PERSONAGEM — ambos em verde */
.elenco-card p {
  font-size: 12.5px;
  color: #00ff90;
  margin-top: 6px;
  line-height: 1.2em;
}

/* Atualização */
.data-atualizacao {
  font-size: 12px;
  color: #999;
  margin-top: 12px;
}

/* Wrapper para post info e extra */
.post-info-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* CTA extra */
.post-msg-extra {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px 20px 16px;
  margin-top: -8px;
  background: linear-gradient(to right, #111, #1a1a1a, #222);
  border-style: solid;
  border-width: 0 2px 4px 2px;
  border-color: #333;
  border-radius: 0 0 10px 10px;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  height: 48px;
  box-sizing: border-box;
  line-height: 1;
  transform: translateY(3px);
}

.post-msg-extra:hover {
  background: #00ff90;
  color: #000;
}

.post-msg-extra .post-msg-text {
  transform: translateY(3px);
  display: inline-block;
}







@media (max-width: 768px) {

  .single-content-wrapper {
    flex-direction: column;
    padding: 16px 12px;
  }

  .post-header {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .post-capa {
    width: 100%;
    max-width: 240px;
    margin: 0 auto 12px;
    padding: 4px;
  }

  .post-capa img {
    width: 100%;
    height: auto !important;
    object-fit: contain !important;
    display: block;
    border-radius: 4px;
  }


  .post-info {
    width: 100%;
    margin-top: 0;
    border-radius: 10px;
    padding: 14px;
  }

  .btn-box {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }

  .btn-principal {
    width: 100%;
    text-align: center;
  }


  .data-postagem {
    top: -25px;
    font-size: 12px;
    padding: 4px 12px;
  }

}


.trailer-link-msg {
  display: block;
  width: 100%;
  margin-top: -35px; /* 👈 sobe pra colar na .sinopse-box */
  background: linear-gradient(to right, #00bfff, #00e6ff);
  border-style: solid;
  border-width: 0 2px 4px 2px;
  border-color: #00ff9c;
  border-radius: 0 0 10px 10px;
  color: #000;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  padding: 14px 16px;
  box-sizing: border-box;
  transition: background 0.3s ease;
}



.trailer-link-msg:hover {
  background: linear-gradient(to right, #00e6ff, #00bfff);
}




.trailer-link-msg:hover {
  background-color: #b11d22;
}

.trailer-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  display: none; /* hidden by default */
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  box-sizing: border-box;
}

.trailer-popup {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  background-color: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.trailer-popup iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.close-trailer {
  position: absolute;
  top: 10px;
  right: 16px;
  font-size: 28px;
  color: #00ff9c;
  cursor: pointer;
  z-index: 10000;
}


/* === SIDEBAR === */
.single-sidebar {
  width: 100%;
  max-width: 435px;
  padding: 12px;
  background: #111;
  border-radius: 8px;
  border: 1px solid #333;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
  overflow: hidden;
}

.single-sidebar *,
.single-sidebar *::before,
.single-sidebar *::after {
  box-sizing: border-box;
}

/* Título da sidebar */
.single-sidebar .sidebar-title {
  width: 100%;
  background: linear-gradient(to right, #111, #1a1a1a, #222); /* degradê escuro */
  color: #fff;
  font-size: 18px;
  padding: 10px 16px;
  border-radius: 6px;
  margin-bottom: 12px;
  text-align: center;
  border: 1px solid #333;
}

/* === GRID COM 2 CARDS LADO A LADO (RESPONSIVO) === */
.single-sidebar .mais-acessados-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

/* CARD */
.single-sidebar .card {
  background: #1a1a1a;
  border-radius: 6px;
  padding: 6px;
  text-align: center;
  overflow: hidden;
  width: 100%;
  border: 1px solid #222;
}

/* IMAGEM */
.single-sidebar .card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  border: 1px solid #333;
}

/* INFO */
.single-sidebar .card .info {
  padding-top: 4px;
}

.single-sidebar .card .info h3 {
  font-size: 13.5px;
  color: #fff;
  line-height: 1.3em;
  font-weight: 600;
  word-break: break-word;
  margin: 4px 0 0;
}

/* IMDb NOTA */
.single-sidebar .imdb-nota {
  background: #ffeb3b; /* amarelo moderno */
  color: #000;
  font-size: 13px;
  font-weight: bold;
  padding: 2px 6px;
  display: inline-block;
  margin-top: 4px;
  border-radius: 2px;
  border: 1px solid #aaa;
}

/* SELINHO IDIOMA */
.single-sidebar .idioma {
  display: inline-block;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: bold;
  font-family: 'Arial Black', sans-serif;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  border-top-left-radius: 6px;
  border-bottom-right-radius: 6px;
  border-left: 3px solid #00ff73;
  border-right: 3px solid #00ff73;
  backdrop-filter: blur(4px);
  box-shadow: 0 0 4px rgba(0, 255, 115, 0.4);
  margin-top: 4px;
}





/* Container principal */
.comentarios-wrapper {
  margin-top: 4rem;
  padding: 2rem;
  background-color: #111; /* fundo escuro */
  border-radius: 16px;
  border: 1px solid #00ff90;
}

/* Título da seção */
.comentarios-wrapper .section-title {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: #00ff90;
  font-weight: 600;
}

/* Lista de comentários */
.comment-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.comment-list li {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #222;
}

.comment-author {
  font-weight: bold;
  color: #00ff90;
}

.comment-meta {
  font-size: 0.875rem;
  color: #aaa;
  margin-bottom: 0.5rem;
}

.comment-content,
.comment-list li p {
  font-size: 1rem;
  color: #eee;
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* Paginação dos comentários */
.comment-navigation {
  display: flex;
  justify-content: space-between;
  margin: 2rem 0;
}

.comment-navigation a {
  color: #00ff90;
  text-decoration: none;
  border-bottom: 1px dashed #00ff90;
}

.comment-navigation a:hover {
  text-decoration: underline;
}

/* Formulário */
.comentarios-box {
  margin-top: 3rem;
}

.comentarios-box .form-group {
  margin-bottom: 1.5rem;
}

.comentarios-box label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #00ff90;
}

.comentarios-box input[type="text"],
.comentarios-box input[type="email"],
.comentarios-box textarea {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
  background-color: #000;
  color: #fff;
  border: 1px solid #00ff90;
  border-radius: 8px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.comentarios-box input:focus,
.comentarios-box textarea:focus {
  outline: none;
  border-color: #00ff90;
  box-shadow: 0 0 5px #00ff90;
}

/* Botão de envio */
.btn-enviar {
  background-color: #00ff90;
  color: #000;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-enviar:hover {
  background-color: #00cc73;
}

/* Comentários fechados / nenhum comentário */
.sem-comentarios,
.comentarios-fechados {
  font-style: italic;
  color: #888;
  margin-top: 1rem;
}



/* Filtros dentro da .section-header */
.filtro-form select {
  background: #111;
  color: #00ff9c;
  border: 2px solid #00ff9c;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: bold;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filtro-form select:focus {
  outline: none;
  border-color: #00cfff;
  background: #000;
}

/* Estiliza o botão Filtrar */
.filtro-form .btn-principal {
  background: linear-gradient(to right, #00ff9c, #00cfff);
  color: #000;
  border: 2px solid #00ff9c;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filtro-form .btn-principal:hover {
  background: linear-gradient(to right, #00cfff, #00ff9c);
  color: #000;
  border-color: #00cfff;
}

/* Responsivo: filtros empilham no mobile */
@media (max-width: 768px) {
  .filtro-form {
    flex-direction: column;
    align-items: stretch;
  }

  .filtro-form select,
  .filtro-form .btn-principal {
    width: 100%;
  }
}

/* ==== FOOTER ==== */
#footer {
  background: #000;
  border-top: 4px solid #00ff9c;
  padding: 20px 0;
  margin-top: 40px;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 15px;
  text-align: center;
  font-size: 15px;
  color: #fff;
}

.footer-container p {
  margin: 0;
  display: inline-block;
}

.footer-site {
  color: #00ff9c;
  text-decoration: none;
  font-weight: bold;
}

.footer-sitemap {
  color: #00cfff;
  text-decoration: none;
}

.footer-site:hover,
.footer-sitemap:hover {
  text-decoration: underline;
}
/* ==== PAGINAÇÃO ==== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 30px auto;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  padding: 8px 14px;
  font-size: 14px;
  border: 2px solid #00ff9c;
  border-radius: 6px;
  color: #00ff9c;
  background-color: #000;
  text-decoration: none;
  transition: all 0.3s ease;
}

.pagination a:hover {
  background-color: #00ff9c;
  color: #000;
  border-color: #00ff9c;
}

.pagination .current {
  background-color: #00ff9c;
  color: #000;
  font-weight: bold;
  border-color: #00ff9c;
  cursor: default;
}
