/*
Theme Name: The Pirate Filmes HD - Netflix Style
Description: Tema desenvolvido por Alan Patrick para o site The Pirate Filmes HD. Sua venda ou cópia para terceiros é totalmente proibida. Dúvidas e informações: alan.patrick@live.com
Theme URI: https://www.alanpatrickk.net/
Author: Alan Patrick
Author URI: https://www.alanpatrickk.net/
Version: 2.0 - Netflix Style
*/

/* ============================================
   RESET E CONFIGURAÇÕES BASE
   ============================================ */
* {
	margin: 0;
	padding: 0;
	font-family: 'Netflix Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

body {
	width: 100%;
	background: #141414;
	color: #fff;
	font-size: 16px;
	line-height: 1.5;
	overflow-x: hidden;
}

input, textarea, select, option, div, button, a, img, h2, span, ul {
	-webkit-transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
	-moz-transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
	-ms-transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
	transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
	border: 0;
}

.container {
	width: 100%;
	max-width: 1400px;
	position: relative;
	margin: 0 auto;
	padding: 0 60px;
}

/* ============================================
   SCROLLBAR CUSTOMIZADA
   ============================================ */
html {
  --scrollbarBG: #0a0a0a;
  --thumbBG: #e50914;
}

body::-webkit-scrollbar {
  width: 10px;
}

body {
  scrollbar-width: thin;
  scrollbar-color: var(--thumbBG) var(--scrollbarBG);
}

body::-webkit-scrollbar-track {
  background: var(--scrollbarBG);
}

body::-webkit-scrollbar-thumb {
  background-color: var(--thumbBG);
  border-radius: 10px;
  border: 2px solid var(--scrollbarBG);
}

body::-webkit-scrollbar-thumb:hover {
  background-color: #f40612;
}

/* ============================================
   HEADER NETFLIX STYLE
   ============================================ */
header {
  background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(20,20,20,0) 100%);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 0;
  margin: 0;
  transition: background 0.3s ease;
}

header.scrolled {
  background: #141414;
  box-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 60px;
  height: 70px;
}

/* Logo */
header .logo {
  margin: 0;
  z-index: 10;
  transition: transform 0.3s ease;
}

header .logo img {
  height: 45px;
  width: auto;
}

header .logo:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* Menu de Navegação */
header nav#menu {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70px;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin: 0 40px;
}

header nav#menu #menuanchor {
  display: none;
}

header nav#menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
}

header nav#menu ul li {
  margin: 0;
  position: relative;
}

header nav#menu ul li a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: #e5e5e5;
  padding: 10px 15px;
  display: inline-block;
  line-height: 1.5;
  text-shadow: none;
  letter-spacing: 0.5px;
  position: relative;
}

header nav#menu ul li a:hover {
  color: #b3b3b3;
}

header nav#menu ul li.current-menu-item a,
header nav#menu ul li.current_page_item a {
  color: #fff;
  font-weight: 700;
}

header nav#menu ul li.current-menu-item a::after,
header nav#menu ul li.current_page_item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 3px;
  background: #e50914;
}

/* Dropdown Menu */
header nav#menu ul li.menu-item-has-children > a:after {
  content: '▼';
  font-family: Arial;
  margin-left: 6px;
  font-size: 10px;
  transition: transform 0.3s ease;
}

header nav#menu ul li.menu-item-has-children:hover > a:after {
  transform: rotate(180deg);
}

header nav#menu ul li > ul {
  visibility: hidden;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  margin: 10px 0 0 0;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.7);
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

header nav#menu ul li:hover > ul {
  visibility: visible;
  opacity: 1;
  max-height: 500px;
}

header nav#menu ul li > ul li {
  width: 100%;
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

header nav#menu ul li > ul li:last-child {
  border-bottom: none;
}

header nav#menu ul li > ul li a {
  width: 100%;
  line-height: 1.5;
  padding: 12px 20px;
  text-align: left;
  font-size: 14px;
}

header nav#menu ul li > ul li a:hover {
  background: rgba(229,9,20,0.1);
  color: #fff;
  padding-left: 25px;
}

/* Search Bar Netflix Style */
header .search {
  display: flex;
  align-items: center;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  border-radius: 0;
  margin: 0;
}

header .search form {
  display: flex;
  align-items: center;
  position: relative;
}

header .search input {
  width: 0;
  height: 34px;
  background: rgba(0,0,0,0.75);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: 2px;
  padding: 0;
  font-size: 14px;
  color: #fff;
  outline: none;
  transition: all 0.3s ease;
  opacity: 0;
}

header .search input:focus,
header .search form:hover input {
  width: 250px;
  padding: 0 35px 0 15px;
  opacity: 1;
}

header .search button {
  position: absolute;
  right: 0;
  width: 34px;
  height: 34px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

header .search button:hover {
  background: transparent;
  color: #b3b3b3;
}

header .search button i {
  margin: 0;
}

/* Ajuste para scroll */
main {
  margin-top: 70px;
  width: 100%;
  min-height: 100vh;
}
/* ============================================
   PARTE 2: OWL CAROUSEL E CARDS DE FILMES
   ============================================ */

/* ============================================
   OWL CAROUSEL NETFLIX STYLE
   ============================================ */
.owl-carousel,
.owl-carousel .owl-item {
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.owl-carousel {
  display: none;
  width: 100%;
  z-index: 1;
  padding: 0;
}

.owl-carousel .owl-stage {
  position: relative;
  -ms-touch-action: pan-Y;
  touch-action: manipulation;
  -moz-backface-visibility: hidden;
}

.owl-carousel .owl-stage:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.owl-carousel .owl-stage-outer {
  position: relative;
  overflow: hidden;
  -webkit-transform: translate3d(0, 0, 0);
}

.owl-carousel .owl-item,
.owl-carousel .owl-wrapper {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
}

.owl-carousel .owl-item {
  min-height: 1px;
  float: left;
  -webkit-backface-visibility: hidden;
  -webkit-touch-callout: none;
}

.owl-carousel .owl-item img {
  display: block;
  width: 100%;
}

.owl-carousel .owl-dots.disabled,
.owl-carousel .owl-nav.disabled {
  display: none;
}

.no-js .owl-carousel,
.owl-carousel.owl-loaded {
  display: block;
}

.owl-carousel .owl-dot,
.owl-carousel .owl-nav .owl-next,
.owl-carousel .owl-nav .owl-prev {
  cursor: pointer;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Slider Netflix Style */
main .slider {
  width: 100%;
  text-align: center;
  margin: 0 0 80px 0;
  position: relative;
}

main .slider .owl-dots {
  display: none;
}

main .slider .owl-nav {
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
}

main .slider .owl-nav button {
  width: 60px;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  outline: none;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: all;
  position: absolute;
  top: 0;
  bottom: 0;
}

main .slider .owl-nav button.owl-prev {
  left: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
}

main .slider .owl-nav button.owl-next {
  right: 0;
  background: linear-gradient(270deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 100%);
}

main .slider:hover .owl-nav button {
  opacity: 1;
}

main .slider .owl-nav button:hover {
  background: rgba(0,0,0,0.9);
  transform: scale(1.1);
}

/* ============================================
   TITLES E CATEGORIES
   ============================================ */
main .main_title {
  width: 100%;
  margin: 40px 0 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

main .main_title h1,
main .main_title h2,
main .main_title h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  padding: 0;
  color: #e5e5e5;
  letter-spacing: 0.5px;
}

main .main_title .seeall {
  font-size: 14px;
  color: #e5e5e5;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

main .main_title .seeall:before {
  display: none;
}

main .main_title .seeall:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

main .main_title .text {
  width: 100%;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  color: #999;
  margin: 8px 0 0 0;
  filter: none;
}

/* Categories Netflix Style */
main .categories {
  width: 100%;
  margin: 0 0 30px 0;
}

main .categories ul {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  gap: 12px;
}

main .categories ul li {
  margin: 0;
}

main .categories ul li a,
main .categories ul li span {
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  height: 38px;
  display: flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 0 20px;
  background: rgba(255,255,255,0.05);
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

main .categories ul li span {
  background: #e50914;
  border-color: #e50914;
}

main .categories ul li a:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,255,255,0.2);
}

/* ============================================
   CARDS DE FILMES ESTILO NETFLIX
   ============================================ */
main .posts {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin: 0 0 60px 0;
  padding: 0;
}

main .post {
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

main .post:hover {
  transform: scale(1.05);
  z-index: 10;
}

main .post:nth-child(4n) {
  margin: 0;
}

main .post.min {
  margin: 0;
}

/* Thumbnail Netflix */
main .post .thumb {
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 6px;
}

main .post .thumb a {
  width: 100%;
  height: 0;
  padding-top: 150%;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  display: block;
  background: #2a2a2a;
}

main .post .thumb a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.8) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

main .post:hover .thumb a::after {
  opacity: 1;
}

main .post .thumb a:hover {
  filter: brightness(1.1);
}

main .post .thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

main .post:hover .thumb img {
  transform: scale(1.08);
}

/* Info do Card */
main .post .inner {
  width: 100%;
  height: auto;
  min-height: 90px;
  padding: 15px 0 0 0;
  border: none;
  background: transparent;
  box-shadow: none;
  position: relative;
  margin: 0;
  z-index: 2;
}

main .post .inner .title a {
  color: #e5e5e5;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.3s ease;
}

main .post:hover .inner .title a {
  color: #fff;
}

main .post .inner .infos {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 8px;
  margin: 12px 0 0 0;
  flex-wrap: wrap;
}

main .post .inner .infos div {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1;
  font-weight: 600;
  margin: 0;
  color: #b3b3b3;
}

main .post .inner .infos div i {
  font-size: 13px;
  color: #46d369;
  margin: 0 5px 0 0;
}
/* ============================================
   PARTE 3: PÁGINA SINGLE E FOOTER
   ============================================ */

/* ============================================
   SINGLE POST (DETALHES DO FILME)
   ============================================ */
main.single .container {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 30px;
  align-items: flex-start;
  max-width: 1400px;
  padding: 40px 60px;
}

main.single .center {
  flex: none;
  padding: 0;
  order: 1;
}

main.single aside {
  min-width: 280px;
  max-width: 280px;
  order: 2;
  position: sticky;
  top: 90px;
}

/* Sidebar Title */
main.single aside .title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-radius: 6px;
  padding: 15px 20px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 2;
  font-size: 16px;
  line-height: 1.4;
  margin: 0 0 20px 0;
}

main.single aside .title h3 {
  font-size: 16px;
  font-weight: 700;
  color: #e5e5e5;
}

main.single aside .post {
  margin: 0 0 20px 0;
  transform-origin: center;
}

main.single aside .post:hover {
  transform: scale(1.03);
}

/* Article Principal */
main.single .center article {
  background: rgb(30 30 30 / 90%);
  overflow: hidden;
  
}

main.single .center article > .title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-radius: 0;
  padding: 25px 30px;
  background: linear-gradient(135deg, rgba(229,9,20,0.15) 0%, rgba(0,0,0,0.3) 100%);
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  box-shadow: none;
  position: relative;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 700;
  color: #fff;
}

main.single .center article > .title h1 {
  font-size: 28px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0;
  padding: 0;
  color: #fff;
  letter-spacing: 0.5px;
}

/* Informações do Filme */
main.single .center article > .infos {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  padding: 20px 30px;
  background: rgba(0,0,0,0.2);
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  box-shadow: none;
  position: relative;
  border-radius: 0;
  margin: 0;
  z-index: 1;
}

main.single .center article > .infos div {
  display: flex;
  align-items: center;
  border-radius: 4px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  color: #e5e5e5;
  background: transparent;
  padding: 0;
}

main.single .center article > .infos div i {
  font-size: 16px;
  color: #e50914;
  margin: 0 8px 0 0;
}

main.single .center article > .infos div a {
  color: #e5e5e5;
  margin: 0 0 0 5px;
  text-decoration: none;
  transition: color 0.3s ease;
}

main.single .center article > .infos div a:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(255,255,255,0.5);
}

/* Conteúdo do Artigo */
main.single .center article .content {
  color: #e5e5e5;
  font-size: 16px;
  line-height: 1.7;
  padding: 30px;
}

main.single .center article .content img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin: 20px 0;
  margin-right: 17px;
  margin-left: -6px;
}

main.single .center article .content ul,
main.single .center article .content ol {
  list-style-position: outside;
  padding-left: 20px;
}

main.single .center article .content ul,
main.single .center article .content ol,
main.single .center article .content p,
main.single .center article .content hr {
  margin: 0 0 20px 0;
  line-height: 1.7;
}

main.single .center article .content h1,
main.single .center article .content h2,
main.single .center article .content h3,
main.single .center article .content h4,
main.single .center article .content h5,
main.single .center article .content h6 {
  margin: 30px 0 15px 0;
  line-height: 1.3;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

main.single .center article .content h1:first-child,
main.single .center article .content h2:first-child,
main.single .center article .content h3:first-child {
  margin-top: 0;
}

main.single .center article .content a {
  text-decoration: none;
  color: #e50914;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

main.single .center article .content a:hover {
  color: #f40612;
  border-bottom: 1px solid #f40612;
}

main.single .center article .content hr {
  border: none;
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 30px 0;
}

/* Comentários */
main.single .center #comments {
  background: rgba(255,255,255,0.03);
  color: #e5e5e5;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  font-size: 16px;
  padding: 30px;
  margin: 0 0 60px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

main.single .center #comments h3 {
  color: #fff;
  font-size: 22px;
  margin: 0 0 20px 0;
}

/* ============================================
   PAGINAÇÃO
   ============================================ */
main .nav {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 0 0 60px 0;
  flex-wrap: wrap;
}

main .nav span,
main .nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  min-width: 45px;
  height: 45px;
  color: #e5e5e5;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 0 15px;
  margin: 0;
  background: rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

main .nav span.current {
  background: #e50914;
  border-color: #e50914;
  color: #fff;
  transform: scale(1.1);
}

main .nav span.pages {
  opacity: 0.6;
  font-weight: 400;
  border: none;
  background: transparent;
}

main .nav a:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,255,255,0.2);
}

/* ============================================
   FOOTER NETFLIX STYLE
   ============================================ */
footer {
  width: 100%;
  margin: 100px 0 0 0;
  padding: 60px 0;
  background: #000;
  border-top: 1px solid rgba(255,255,255,0.1);
}

footer .bar {
  width: 100%;
  height: auto;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  background: transparent;
  position: relative;
  z-index: 10;
  padding: 0 60px;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

footer .bar .copy {
  width: 100%;
  text-align: left;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  color: #999;
  line-height: 1.6;
}

footer .bar .copy strong {
  color: #e5e5e5;
  font-weight: 600;
}

footer .bar .logo {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

footer .bar .logo img {
  height: 60px;
  width: auto;
  transition: all 0.3s ease;
}

footer .bar .logo:hover img {
  transform: scale(1.05);
  filter: brightness(1.2);
}

footer .bar .credit {
  width: 100%;
  text-align: right;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  color: #999;
  line-height: 1.6;
}

footer .bar .credit a {
  color: #e50914;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

footer .bar .credit a:hover {
  color: #f40612;
  text-shadow: 0 0 8px rgba(229,9,20,0.5);
}

/* Menu Item Especial */
#menu-item-62335 a {
  color: #e50914 !important;
  font-weight: 700 !important;
}
/* ============================================
   PARTE 4: RESPONSIVIDADE E AJUSTES FINAIS
   ============================================ */

/* ============================================
   ANIMAÇÕES E TRANSIÇÕES SUAVES
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

main .post {
  animation: fadeIn 0.5s ease forwards;
}

main .post:nth-child(1) { animation-delay: 0.1s; }
main .post:nth-child(2) { animation-delay: 0.2s; }
main .post:nth-child(3) { animation-delay: 0.3s; }
main .post:nth-child(4) { animation-delay: 0.4s; }

/* ============================================
   LOADING E ESTADOS
   ============================================ */
.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.loading::after {
  content: '';
  width: 50px;
  height: 50px;
  border: 4px solid rgba(229,9,20,0.2);
  border-top-color: #e50914;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================
   RESPONSIVIDADE TABLET (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
  .container {
    max-width: 100%;
    padding: 0 40px;
  }

  header .container {
    padding: 0 40px;
  }

  main .posts {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
  }

  main .main_title h1,
  main .main_title h2,
  main .main_title h3 {
    font-size: 20px;
  }

  main.single .container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 30px 40px;
  }

  main.single aside {
    max-width: 100%;
    order: 2;
    position: relative;
    top: 0;
  }

  main.single .center {
    order: 1;
  }

  main.single aside .post {
    display: inline-block;
    width: calc(50% - 10px);
    margin: 0 10px 20px 0;
  }

  footer .bar {
    padding: 0 40px;
    gap: 30px;
  }
}

/* ============================================
   RESPONSIVIDADE MOBILE (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  /* Header Mobile */
  header {
    position: fixed;
    background: #141414;
  }

  header .container {
    padding: 0 20px;
    height: 60px;
    flex-wrap: wrap;
  }

  header .logo img {
    height: 35px;
  }

  header nav#menu {
    position: fixed;
    top: 60px;
    left: -100%;
    width: 280px;
    height: calc(100vh - 60px);
    background: rgba(0,0,0,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 20px;
    margin: 0;
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: left 0.3s ease;
    overflow-y: auto;
    z-index: 998;
  }

  header nav#menu.active {
    left: 0;
  }

  header nav#menu #menuanchor {
    display: block;
    position: fixed;
    top: 15px;
    right: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 999;
  }

  header nav#menu #menuanchor span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    margin: 6px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
  }

  header nav#menu.active #menuanchor span:nth-child(1) {
    transform: rotate(45deg) translateY(9px);
  }

  header nav#menu.active #menuanchor span:nth-child(2) {
    opacity: 0;
  }

  header nav#menu.active #menuanchor span:nth-child(3) {
    transform: rotate(-45deg) translateY(-9px);
  }

  header nav#menu ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  header nav#menu ul li {
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  header nav#menu ul li a {
    width: 100%;
    padding: 15px 0;
    line-height: 1.5;
    font-size: 16px;
  }

  header nav#menu ul li > ul {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    background: rgba(255,255,255,0.05);
    border: none;
    border-radius: 0;
  }

  header nav#menu ul li > ul li a {
    padding-left: 20px;
    font-size: 14px;
  }

  header .search {
    order: 3;
    width: 100%;
    margin: 10px 0 0 0;
  }

  header .search form {
    width: 100%;
  }

  header .search input {
    width: 100%;
    opacity: 1;
    padding: 0 40px 0 15px;
  }

  /* Main Mobile */
  main {
    margin-top: 60px;
  }

  main .main_title {
    margin: 30px 0 15px 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  main .main_title h1,
  main .main_title h2,
  main .main_title h3 {
    font-size: 18px;
  }

  main .main_title .seeall {
    margin: 0;
  }

  /* Posts Grid Mobile */
  main .posts {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  main .post .inner {
    min-height: 80px;
    padding: 12px 0 0 0;
  }

  main .post .inner .title a {
    font-size: 13px;
    line-height: 1.3;
  }

  main .post .inner .infos {
    gap: 6px;
    margin: 10px 0 0 0;
  }

  main .post .inner .infos div {
    padding: 4px 8px;
    font-size: 11px;
  }

  /* Categories Mobile */
  main .categories ul {
    gap: 8px;
  }

  main .categories ul li a,
  main .categories ul li span {
    height: 34px;
    font-size: 13px;
    padding: 0 15px;
  }

  /* Slider Mobile */
  main .slider {
    margin: 0 0 50px 0;
  }

  main .slider .owl-nav button {
    width: 40px;
    font-size: 30px;
  }

  /* Single Mobile */
  main.single .container {
    padding: 20px;
  }

  main.single .center article > .title {
    padding: 20px;
  }

  main.single .center article > .title h1 {
    font-size: 22px;
  }

  main.single .center article > .infos {
    padding: 15px 20px;
    gap: 12px;
  }

  main.single .center article .content {
    padding: 20px;
    font-size: 15px;
  }

  main.single .center article .content h1,
  main.single .center article .content h2,
  main.single .center article .content h3 {
    font-size: 18px;
    margin: 20px 0 12px 0;
  }

  main.single aside .post {
    width: calc(50% - 5px);
    margin: 0 5px 10px 0;
  }

  main.single aside .post:nth-child(2n) {
    margin-right: 0;
  }

  /* Paginação Mobile */
  main .nav {
    gap: 6px;
    margin: 0 0 40px 0;
  }

  main .nav span,
  main .nav a {
    min-width: 40px;
    height: 40px;
    font-size: 14px;
    padding: 0 10px;
  }

  /* Footer Mobile */
  footer {
    margin: 60px 0 0 0;
    padding: 40px 0;
  }

  footer .bar {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
    text-align: center;
  }

  footer .bar .copy,
  footer .bar .credit {
    width: 100%;
    text-align: center;
  }

  footer .bar .logo {
    order: -1;
  }

  footer .bar .logo img {
    height: 50px;
  }
}

/* ============================================
   MOBILE PEQUENO (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
  main .posts {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  main .post .inner {
    min-height: 70px;
    padding: 10px 0 0 0;
  }

  main .post .inner .title a {
    font-size: 12px;
  }

  main .post .inner .infos div {
    font-size: 10px;
    padding: 3px 6px;
  }

  main.single aside .post {
    width: 100%;
    margin: 0 0 15px 0;
  }

  header nav#menu {
    width: 100%;
    max-width: 320px;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
  text-align: center;
}

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 10px !important; }
.mb-2 { margin-bottom: 20px !important; }
.mb-3 { margin-bottom: 30px !important; }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 10px !important; }
.mt-2 { margin-top: 20px !important; }
.mt-3 { margin-top: 30px !important; }

/* ============================================
   ACESSIBILIDADE
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

*:focus-visible {
  outline: 2px solid #e50914;
  outline-offset: 2px;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  header,
  footer,
  main .slider .owl-nav,
  main .categories,
  main.single aside {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }

  main.single .center article {
    border: none;
    box-shadow: none;
  }
}



/* ====================================
   BADGE NOVO EPISÓDIO - ESTILO PREMIUM
   ==================================== */

.new-ep {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    /* background: linear-gradient(135deg, #ff0844, #ff6b6b); */
    /* border-radius: 20px; */
    /* box-shadow: 0 4px 15px rgba(255, 8, 68, 0.4), 0 0 20px rgba(255, 8, 68, 0.3); */
    border: 2px solid rgb(255 255 255 / 30%);
    overflow: hidden;
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Ícone de "NOVO" antes do texto */
.new-ep::before {
    content: "⚡";
    font-size: 16px;
    animation: bounce-icon 1s ease-in-out infinite;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.8));
}

/* Brilho animado passando pelo badge */
.new-ep::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
    animation: shine 3s ease-in-out infinite;
}

