/*
Theme Name: DooPlay Dark Video
Theme URI: https://example.com/dooplay-dark
Author: Seu Nome
Description: Tema moderno estilo DooPlay com foco em vídeos e streaming em Dark Mode.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: dooplay-dark
*/

:root {
  --bg-main: #0f1015;
  --bg-card: #181a20;
  --bg-card-hover: #22252e;
  
  /* NOVA COR: VIOLETA NEON / ELECTRIC PURPLE */
  --accent: #2c81bf;
  --accent-hover: #2c81bf;
  --accent-glow: #3b82f69e;

  --text-main: #ffffff;
  --text-muted: #9aa0a6;
  --border-color: rgba(255, 255, 255, 0.08);
  --font-family: 'Exo 2', Helvetica, Arial, sans-serif;
  --max-width: 1400px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.5;
  overflow-x: hidden;
}

.dp-main-content, 
main {
  /* 100vh é a altura total da tela. Subtraia a altura estimada do Header e do Footer juntos */
  min-height: 50vh; 
}

@supports (font-display: swap) {
  body {
    font-display: swap;
  }
}

a {
  color: inherit;
  text-decoration: none;
}

/* Container */
.dp-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.dp-header {
  background-color: #12141a;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.dp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  background-color: #14151d;
border-bottom: 2px solid rgba(255, 255, 255, 0.05);
}


.dp-logo span {
  color: var(--accent);
}

.dp-nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.dp-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.dp-nav a:hover {
  color: var(--accent);
}

.dp-search-form {
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 6px 14px;
}

.dp-search-form input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 0.85rem;
  width: 180px;
}

.dp-search-form button {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
}

/* ==========================================================================
   ESTILOS DO CABEÇALHO DE SEÇÃO E BOTÃO "VER TUDO"
   ========================================================================== */

.dp-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 35px 0 20px;
    border-left: 4px solid var(--accent);
    padding-left: 12px;
}

.dp-section-header > div:first-child {
    flex: 1;
    min-width: 250px;
}

.dp-section-header h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.dp-section-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
}

.dp-section-action {
    display: flex;
    align-items: center;
}

.dp-counter-badge {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.dp-view-all-btn {
    background: var(--accent);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px var(--accent-glow);
    transition: all 0.2s ease;
}

.dp-view-all-btn:hover {
    filter: brightness(1.15);
    color: #ffffff;
}

/* Ajuste Responsivo para Mobile */
@media (max-width: 768px) {
.dp-section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .dp-section-header h2 {
        font-size: 1.15rem !important;
    }

    .dp-section-subtitle {
        font-size: 0.75rem !important;
    }

    .dp-section-action {
        width: 100%;
        justify-content: flex-end;
        margin-top: 5px;
    }
}

/* ==========================================================================
   ÁREA DE AUTENTICAÇÃO E USUÁRIO (HEADER)
   ========================================================================== */

.auth-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 15px;
}

/* Avatar do Usuário Logado */
.user-avatar {
  display: flex;
  align-items: center;
}

.user-avatar a {
  display: inline-block;
  line-height: 0;
  border: 2px solid var(--accent, #9d4edd);
  border-radius: 50%;
  padding: 2px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.user-avatar a:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px var(--accent-glow, rgba(157, 78, 221, 0.45));
}

.user-avatar img {
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* Botões Login & Registrar */
.auth-buttons .login-btn,
.auth-buttons .signup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family, sans-serif);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

/* Botão de Login */
.auth-buttons .login-btn {
  color: var(--text-main, #ffffff);
  background-color: transparent;
  border: 1px solid var(--border-color, rgba(255, 255, 255, 0.15));
}

.auth-buttons .login-btn:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

/* Botão de Registrar */
.auth-buttons .signup-btn {
  color: #ffffff;
  background-color: var(--accent, #9d4edd);
  border: 1px solid var(--accent, #9d4edd);
  box-shadow: 0 0 10px var(--accent-glow, rgba(157, 78, 221, 0.3));
}

.auth-buttons .signup-btn:hover {
  background-color: var(--accent-hover, #7b2cbf);
  border-color: var(--accent-hover, #7b2cbf);
}

/* ==========================================================================
   MODAL FULL-SCREEN DE AUTENTICAÇÃO (LOGIN / REGISTRO)
   ========================================================================== */

.dp-auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dp-auth-modal.is-active {
  opacity: 1;
  visibility: visible;
}

/* Fundo escuro cobrindo todo o site */
.dp-auth-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 12, 0.88);
  backdrop-filter: blur(8px);
}

/* Caixa Central da Modal */
.dp-auth-modal-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  background-color: #181a20;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 35px 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dp-auth-modal.is-active .dp-auth-modal-dialog {
  transform: translateY(0) scale(1);
}

/* Botão Fechar (X) */
.dp-auth-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: transparent;
  border: none;
  color: #9aa0a6;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.dp-auth-close:hover {
  color: #ffffff;
}

/* Cabeçalho & Logo */
.dp-auth-header {
  text-align: center;
  margin-bottom: 25px;
}

.dp-auth-header .dp-logo {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 20px;
}

/* Abas (Entrar / Cadastrar) */
.dp-auth-tabs {
  display: flex;
  background-color: rgba(255, 255, 255, 0.04);
  padding: 4px;
  border-radius: 8px;
  gap: 4px;
}

.dp-auth-tab-btn {
  flex: 1;
  padding: 10px;
  background: transparent;
  border: none;
  color: #9aa0a6;
  font-size: 14px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dp-auth-tab-btn.active {
  background-color: var(--accent, #9d4edd);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(157, 78, 221, 0.4);
}

/* Conteúdo das Abas */
.dp-auth-tab-content {
  display: none;
}

.dp-auth-tab-content.active {
  display: block;
}

/* Estilos dos Formulários */
.dp-auth-body .form-group {
  margin-bottom: 16px;
}

.dp-auth-body label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #9aa0a6;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dp-auth-body input[type="text"],
.dp-auth-body input[type="email"],
.dp-auth-body input[type="password"] {
  width: 100%;
  padding: 12px 14px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease;
}

.dp-auth-body input[type="text"]:focus,
.dp-auth-body input[type="email"]:focus,
.dp-auth-body input[type="password"]:focus {
  border-color: var(--accent, #9d4edd);
}

.form-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 20px;
  color: #9aa0a6;
}

.form-options label {
  margin-bottom: 0;
  text-transform: none;
  cursor: pointer;
}

.forgot-password {
  color: var(--accent, #9d4edd);
  text-decoration: none;
}

.forgot-password:hover {
  text-decoration: underline;
}

.form-note {
  font-size: 12px;
  color: #9aa0a6;
  margin-bottom: 20px;
  line-height: 1.4;
}

.dp-btn-submit {
  width: 100%;
  padding: 12px;
  background-color: var(--accent, #9d4edd);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.dp-btn-submit:hover {
  background-color: var(--accent-hover, #7b2cbf);
}

/* Evita barra de rolagem ao abrir modal */
body.modal-open {
  overflow: hidden;
}

/* Grid de Vídeos / Post-Grid estilo DooPlay */
.dp-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

.dp-video-card {
  background-color: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}

.dp-video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
  background-color: var(--bg-card-hover);
}

.dp-thumbnail {
  position: relative;
width: 100%;
aspect-ratio: 3 / 4; /* Equivalente a 12/16 */
overflow: hidden;
}

.dp-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.dp-video-card:hover .dp-thumbnail img {
  transform: scale(1.05);
}

.dp-badge-quality {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, #0f0f0f, #1a73e8);
    box-shadow: 0 3px 8px rgba(0, 0, 0, .7), 0 0 12px rgba(0, 115, 255, .5);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800; /* Aumentado para dar mais corpo ao texto */
    padding: 3px 7px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px; /* Melhora a nitidez em fontes miúdas */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); /* Sombra interna no texto contra fundos claros */
    border: 1px solid rgba(255, 255, 255, 0.15); /* Borda um pouco mais visível para recorte */
    z-index: 2;
}

.dp-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 45px;
  height: 45px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.2s;
  box-shadow: 0 0 15px var(--accent-glow);
}

.dp-video-card:hover .dp-play-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.dp-play-icon::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #ffffff;
  margin-left: 3px;
}

.dp-card-info {
  padding: 12px;
}

.dp-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dp-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SINGLE VIDEO PAGE (REESTRUTURADO)
   ========================================================================== */

.dp-single-container {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
  width: 100%;
}

.dp-main-content {
  width: 100%;
}

.dp-player-wrapper {
  position: relative;
  width: 100%;
  background: transparent;
  border-radius: 8px;
}

/* ========= LAYOUT DO PLAYER LADO A LADO ========= */
.player-layout {
  display: flex !important;
  flex-direction: row !important;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 20px;
}

/* 1. Lista de Episódios na Esquerda */
.player-sidebar {
  width: 320px;
  min-width: 320px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  flex-shrink: 0;
}

.player-sidebar-header {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 75%, #000), #050505);
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.player-sidebar-header h3 {
  margin: 0;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.player-sidebar-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
  max-height: 480px;
  overflow-y: auto;
}

.player-sidebar-list::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.player-sidebar-list::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 999px;
}

.player-sidebar-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.025);
  text-decoration: none;
  transition: .25s ease;
  color: #fff;
  position: relative;
  border: 1px solid rgba(255,255,255,.04);
}

.player-sidebar-list a:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,.055);
}

.player-sidebar-list a.active {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 82%, #000), #080808);
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 0 20px rgba(0,0,0,.35), 0 10px 25px rgba(0,0,0,.28);
}

.ep-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.watching-label {
  display: none;
  font-size: .63rem;
  color: #fff;
  opacity: .9;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
}

.player-sidebar-list a.active .watching-label {
  display: block;
}

.ep-title {
  font-size: .95rem;
  color: #fff;
  line-height: 1.45;
  word-break: break-word;
  text-transform: uppercase;
  font-weight: 700;
}

/* 2. Área do Vídeo na Direita */
.player-area {
  flex: 1;
  min-width: 0;
}

.player.tab-content {
  display: none;
}

.player.tab-content.active {
  display: block;
  animation: fadePlayer .2s ease;
}

@keyframes fadePlayer {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.player-area iframe, 
.player-area .jwplayer {
  width: 100% !important;
  aspect-ratio: 16/9;
  min-height: 350px;
  border: 0;
  border-radius: 16px;
  background: #000;
}

/* ========= SELO E STATUS DE EPISÓDIO ========= */
.selo-single {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.selo-hd {
  background: var(--accent);
  color: #fff;
  padding: 5px 10px;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 700;
}

#current-episode {
  color: #09090b;
  padding: 5px 10px;
 border-radius: 10px;
 font-size: .9rem;
 font-weight: 700;
  backdrop-filter: blur(10px);
  background: #fff;
}

/* Detalhes do Vídeo */
.dp-video-details {
  background: var(--bg-card);
  padding: 20px;
  border-radius: 12px;
  margin-top: 20px;
}

.dp-video-details h1 {
  font-size: 1.6rem;
}

.dp-meta-bar {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 15px !important;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-bottom: 15px;
}

.dp-video-description {
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.6;
}

/* ========= AVALIAÇÃO / RATING (STARSTRUCK) ========= */
.dp-video-rating {
  margin-top: 20px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.dp-video-rating .starstruck-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.dp-video-rating .starstruck-stars,
.dp-video-rating .starstruck-main {
  color: #ffc107;
  font-size: 1.25rem;
  cursor: pointer;
}

.dp-video-rating .starstruck-stars .star-item {
  color: #444;
  transition: color 0.15s ease;
  margin-right: 2px;
}

.dp-video-rating .starstruck-stars .star-item.on {
  color: #ffc107;
}

.dp-video-rating .starstruck-data {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.dp-video-rating .starstruck-data .rating-value,
.dp-video-rating .starstruck-data strong {
  color: #ffffff;
  font-size: 1rem;
}

/* ==========================================================================
   SIDEBAR DE RECOMENDADOS (GRID VERTICAL TIPO POSTER)
   ========================================================================== */

.dp-sidebar {
  width: 100%;
  margin-top: 25px;
  border-top: 1px solid var(--border-color);
  padding-top: 25px;
}

.dp-sidebar .dp-video-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)) !important;
  gap: 20px !important;
  padding: 0;
}

.dp-sidebar .dp-video-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  background-color: var(--bg-card);
  border-radius: 10px !important;
  overflow: hidden !important;
  border: 1px solid var(--border-color);
  position: relative !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.dp-sidebar .dp-video-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5) !important;
  background-color: var(--bg-card-hover) !important;
}

.dp-sidebar .dp-video-card .dp-card-link {
  display: block !important;
  width: 100% !important;
  position: relative !important;
}

.dp-sidebar .dp-video-card .dp-thumbnail {
  width: 100% !important;
  aspect-ratio: 4 / 5 !important;
  position: relative !important;
  overflow: hidden !important;
  margin: 0 !important;
}

.dp-sidebar .dp-video-card .dp-thumbnail img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.3s ease !important;
}

.dp-sidebar .dp-video-card:hover .dp-thumbnail img {
  transform: scale(1.05) !important;
}

.dp-sidebar .dp-video-card .dp-card-info {
  padding: 12px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  flex-grow: 1 !important;
  position: relative !important;
  z-index: 2 !important;
  background: var(--bg-card) !important;
}

.dp-sidebar .dp-video-card .dp-card-title {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  margin-bottom: 6px !important;
  white-space: normal !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.dp-sidebar .dp-video-card .dp-card-title a {
  color: #ffffff !important;
  transition: color 0.2s ease;
}

.dp-sidebar .dp-video-card .dp-card-title a:hover {
  color: var(--accent) !important;
}

.dp-sidebar .dp-video-card .dp-card-meta {
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
}

/* Footer */
/* --- ESTILOS DO FOOTER (PADRÃO DOOPLAY) --- */
.dp-footer {
    background-color: #14151d; /* Fundo escuro padrão DooPlay */
    color: #8c93a8;
    padding: 30px 0 20px 0;
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.dp-footer .dp-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* 1. SEÇÃO DE TAGS */
.dp-footer-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 25px;
}

.dp-footer-tags a {
    background: #181a20; /* Tom dos cards e containers do DooPlay */
    color: #8c93a8;
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.dp-footer-tags a:hover {
    background: var(--accent);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

/* 2. LINHA DIVISÓRIA */
.dp-footer-divider {
    border: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 20px 0;
}

/* 3. CONTEÚDO INFERIOR (LOGO + INFOS + LINKS) */
.dp-footer-bottom {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.dp-footer-logo img {
    max-height: 40px;
    width: auto;
    display: block;
}

.dp-footer-info {
    display: flex;
    flex-direction: column;
}

.dp-footer-copy {
    margin: 0;
    color: #6b7280;
    font-size: 12px;
    line-height: 1.4;
}

/* LINKS DO RODAPÉ */
.dp-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.dp-footer-nav a {
    color: var(--accent); 
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    transition: opacity 0.2s ease;
}

.dp-footer-nav a:hover {
    color: var(--accent); 
    opacity: 0.8;
    text-decoration: underline;
}

/* Ajuste Responsivo para Celulares */
@media (max-width: 768px) {
    .dp-footer-bottom {
        flex-direction: column;
        align-items: center;
    }
}
/* ==========================================================================
   PAGINAÇÃO ESTILO DOOPLAY DARK
   ========================================================================== */
.dp-pagination-container {
  margin-top: 50px;
  display: flex;
  width: 100%;
}

.dp-pagination-container .navigation.pagination {
  display: inline-block;
}

.dp-pagination-container .screen-reader-text {
  display: none;
}

.dp-pagination-container .nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.dp-pagination-container .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
  text-decoration: none;
}

.dp-pagination-container .page-numbers:hover {
  background-color: var(--accent);
  color: #ffffff;
  transform: translateY(-2px);
}

.dp-pagination-container .page-numbers.current {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--accent-glow);
}

.dp-pagination-container .page-numbers.dots {
  background-color: transparent;
  border: none;
  color: var(--text-muted);
  cursor: default;
}

.dp-pagination-container .page-numbers.dots:hover {
  transform: none;
  background-color: transparent;
  border: none;
  color: var(--text-muted);
}

/* ==========================================================================
   LISTA DE TAGS (ESTILO DARK MODE)
   ========================================================================== */
.dp-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
  margin-bottom: 15px;
}

.dp-tag-item {
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
  text-decoration: none;
  line-height: 1;
  transition: all 0.2s ease;
}

.dp-tag-hash {
  color: var(--accent);
  margin-right: 2px;
  font-weight: 700;
}

.dp-tag-item:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  transform: translateY(-1px);
}

.dp-tag-item:hover .dp-tag-hash {
  color: #ffffff;
}

.meta-seo-badge {
  font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
}

.meta-seo-badge .dot {
  width: 8px;
  height: 8px;
  background-color: #00e676;
  border-radius: 50%;
  display: inline-block;
}

/* ==========================================================================
   RESPONSIVIDADE / MEDIA QUERIES (MOBILE E TABLET)
   ========================================================================== */

/* Tablet (max-width: 991px) */
@media (max-width: 991px) {
  .player-layout {
    flex-direction: column !important;
  }
  
  .player-area {
    width: 100%;
    order: 1;
  }
  
  .player-sidebar {
    width: 100%;
    min-width: 100%;
    order: 2;
  }
  
  .player-sidebar-list {
    flex-direction: row;
    overflow-x: auto;
    max-height: none;
    white-space: nowrap;
    padding-bottom: 10px;
  }
  
  .player-sidebar-list a {
    min-width: 160px;
    flex-shrink: 0;
  }
}

/* Mobile Principal (max-width: 768px) */
@media (max-width: 768px) {
  .dp-container {
    padding: 0 12px;
  }

  .dp-header-inner {
    flex-direction: column;
    gap: 12px;
    height: auto;
    padding: 12px 0;
  }

  .dp-search-form {
    width: 100%;
    padding: 12px;
  }

  .dp-search-form input {
    width: 100%;
  }

  /* FORÇAR 2 COLUNAS POR LINHA NA INDEX E NAS PÁGINAS DE LISTAGEM */
  .dp-video-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  /* FORÇAR 2 COLUNAS TAMBÉM NOS RECOMENDADOS DA SIDEBAR */
  .dp-sidebar .dp-video-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .dp-card-info {
    padding: 8px;
  }

  .dp-card-title {
    font-size: 0.8rem;
  }

  .dp-card-meta {
    font-size: 0.7rem;
  }

  .player-area iframe, 
  .player-area .jwplayer {
    min-height: 210px;
    border-radius: 10px;
  }

  .dp-video-details {
    padding: 15px;
  }

  .dp-video-details h1 {
    font-size: 1.2rem;
  }

  .dp-meta-bar {
    gap: 10px !important;
    font-size: 0.75rem;
  }
}

/* Pequenas telas/Smartphones (max-width: 480px) */
@media (max-width: 480px) {
  .dp-section-header h2 {
    font-size: 1.1rem;
  }
  
  .dp-play-icon {
    width: 36px;
    height: 36px;
  }

  .dp-play-icon::after {
    border-width: 5px 0 5px 9px;
  }
}

/* Logo Estilizada via CSS */
.dp-logo a {
 font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.dp-logo .badge-hentai {
  background: var(--accent);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 1.1rem;
  box-shadow: 0 0 12px var(--accent-glow);
}

/* Botão do Avatar no Header */
.avatar-login-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent, #9d4edd);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.avatar-login-btn:hover {
    background: var(--accent, #9d4edd);
    color: #ffffff;
    box-shadow: 0 0 12px rgba(157, 78, 221, 0.5);
    transform: scale(1.05);
}

/* ==========================================================================
   BARRA DE AÇÕES DA SINGLE (COMPARTILHAR, REPORTAR, FAVORITAR)
   ========================================================================== */
.dp-actions-bar {
   display: flex;
    align-items: center;
    gap: 12px;
    margin: 16px 0 24px 0;
    flex-wrap: wrap;
    background: var(--bg-card);
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
}

/* Estilo Base dos Botões de Ação */
.hq-action-btn, 
.hq-favorite-wrap button, 
.hq-favorite-wrap a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #1a1d24;
    color: #e1e1e6;
    border: 1px solid #2d313d;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    outline: none;
}

/* Ícones dentro dos botões */
.hq-action-btn i, 
.hq-favorite-wrap i {
    font-size: 1.1rem;
    color: #a8b3cf;
    transition: color 0.25s ease;
}

/* Efeito Hover nos Botões */
.hq-action-btn:hover, 
.hq-favorite-wrap button:hover, 
.hq-favorite-wrap a:hover {
    background-color: #252934;
    border-color: #3f4454;
    color: #ffffff;
    transform: translateY(-2px);
}

.hq-action-btn:hover i, 
.hq-favorite-wrap button:hover i, 
.hq-favorite-wrap a:hover i {
    color: #ff3e3e; /* Cor de destaque/accent */
}

/* Estilo do Botão de Favorito quando Ativo/Favoritado */
.hq-favorite-wrap .favorited,
.hq-favorite-wrap .active {
    background-color: rgba(255, 62, 62, 0.15);
    border-color: #ff3e3e;
    color: #ff3e3e;
}

.hq-favorite-wrap .favorited i,
.hq-favorite-wrap .active i {
    color: #ff3e3e;
}

/* Responsividade para Celulares */
@media (max-width: 576px) {
    .dp-actions-bar {
        gap: 8px;
    }
    
    .hq-action-btn, 
    .hq-favorite-wrap,
    .hq-favorite-wrap button, 
    .hq-favorite-wrap a {
        flex: 1;
        text-align: center;
        font-size: 0.825rem;
    }
}

/* ==========================================================================
   ESTILOS PARA OS MODAIS (SHARE & REPORT)
   ========================================================================== */
.hq-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.hq-modal.active {
    opacity: 1;
    visibility: visible;
}

.hq-modal-box {
    background: #14161d;
    border: 1px solid #282c37;
    border-radius: 12px;
    width: 90%;
    max-width: 480px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.hq-modal.active .hq-modal-box {
    transform: translateY(0);
}

.hq-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #232733;
    padding-bottom: 12px;
}

.hq-modal-head h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.hq-modal-close {
    background: transparent;
    border: none;
    color: #8c93a6;
    font-size: 1.4rem;
    cursor: pointer;
    transition: color 0.2s;
}

.hq-modal-close:hover {
    color: #ff3e3e;
}

/* Modal Share */
.hq-share-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.hq-share-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    border-radius: 8px;
    background: #1d212c;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.hq-share-link:hover {
    filter: brightness(1.2);
    transform: translateY(-2px);
}

.hq-copy-wrap {
    display: flex;
    background: #0d0e12;
    border: 1px solid #282c37;
    border-radius: 8px;
    overflow: hidden;
}

.hq-copy-wrap input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 10px 14px;
    color: #8c93a6;
    font-size: 0.85rem;
    outline: none;
}

.hq-copy-wrap button {
    background: #232733;
    border: none;
    color: #fff;
    padding: 0 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.hq-copy-wrap button:hover {
    background: #2d3343;
}

/* Modal Report */
.hq-report-label {
    display: block;
    color: #a8b3cf;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.hq-report-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.hq-report-item {
    background: #1d212c;
    border: 1px solid #282c37;
    padding: 10px 12px;
    border-radius: 6px;
    color: #c2c9db;
    font-size: 0.825rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.hq-report-item:hover, .hq-report-item.active {
    border-color: #ff3e3e;
    background: rgba(255, 62, 62, 0.1);
    color: #ff3e3e;
}

.hq-report-textarea, .hq-report-input {
    width: 100%;
    background: #0d0e12;
    border: 1px solid #282c37;
    border-radius: 8px;
    padding: 12px;
    color: #fff;
    font-size: 0.875rem;
    margin-bottom: 12px;
    outline: none;
    box-sizing: border-box;
}

.hq-report-textarea {
    min-height: 90px;
    resize: vertical;
}

.hq-report-input {
    color: #616879;
}

.hq-report-submit {
    width: 100%;
    background: #ff3e3e;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.hq-report-submit:hover {
    background: #e03232;
}

.breadcrumbs {
    background: var(--bg-card);
    padding: 10px;
    border-radius: 12px;
    font-size: 14px;
    margin: 0 0 20px;
}

/* Estilos da Página Top Views */
.top-views-header {
    margin-bottom: 25px;
}

.top-views-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

/* Filtros e Busca */
.top-views-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    background: #181a20;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 25px;
}

.top-views-tabs {
    display: flex;
    gap: 10px;
}

.top-tab-btn {
    font-family: var(--font-family);
    background: #232630;
    color: #8c93a8;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.top-tab-btn:hover,
.top-tab-btn.active {
    background: var(--accent); /* Cor de destaque (Vermelho DooPlay) */
    color: #fff;
}

/* Form de Busca */
.top-views-search {
    display: flex;
    gap: 8px;
}

.top-views-search input {
    background: #14151d;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    outline: none;
}

.top-views-search button {
    background: #232630;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: background 0.2s;
}

.top-views-search button:hover {
    background: #e50914;
}

/* Container dos Resultados */
#top-views-results {
    min-height: 300px;
    position: relative;
}

.top-views-loading {
    text-align: center;
    padding: 40px;
    color: #8c93a8;
    font-size: 1.1rem;
}

/* Reutilizando o Grid do Tema */
.top-views-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 15px;
}

/* Paginação Estilizada */
.top-views-pagination {
    display: flex;
    gap: 6px;
    margin-top: 35px;
    margin-bottom: 20px;
}

.top-views-pagination .page-numbers {
    background: var(--bg-card);
    color: #8c93a8;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
}

.top-views-pagination .page-numbers.current,
.top-views-pagination .page-numbers:hover {
    background: var(--accent);
    color: #fff;
}

/* ==========================================================================
   SUB-MENU BARRA DE CATEGORIAS (PREENCHIMENTO FULL-WIDTH)
   ========================================================================== */

.dp-sub-bar {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  width: 100%;
  overflow: hidden; /* Garante que o fundo estendido não crie rolagem na tela */
}

.dp-sub-bar-inner {
  display: flex;
  align-items: center;
  position: relative;
  /* Utiliza a mesma largura e padding do container padrão */
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Rótulo "CATEGORIAS" */
.dp-cat-label {
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  padding: 10px 25px 10px 20px;
  position: relative;
  display: flex;
  align-items: center;
  z-index: 2;
  white-space: nowrap;
  letter-spacing: 0.5px;
  box-shadow: 4px 0 12px var(--accent-glow);
  flex-shrink: 0;
}

/* TRUQUE CSS: Preenche todo o espaço restante à esquerda da tela até o infinito */
.dp-cat-label::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 100%; /* Inicia exatamente na borda esquerda do botão */
  width: 100vw; /* Estende 100% da largura da tela */
  background: var(--accent); /* Mesma cor do botão */
  z-index: 1;
}

/* Efeito da ponta da Seta (Chevron) à direita */
.dp-cat-label::after {
  content: '';
  position: absolute;
  right: -14px;
  top: 0;
  width: 0;
  height: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
  border-left: 14px solid var(--accent);
  z-index: 3;
}

/* Lista de Categorias */
.dp-sub-nav {
  flex: 1;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none; /* Oculta scroll no Firefox */
  padding-left: 25px; /* Espaçamento após a ponta da seta */
}

.dp-sub-nav::-webkit-scrollbar {
  display: none; /* Oculta scroll no Chrome/Safari/Edge */
}

.dp-sub-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 15px;
}

.dp-sub-nav li a {
  color: var(--text-muted);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  font-style: italic;
  padding: 10px 8px;
  display: inline-block;
  transition: color 0.2s ease, transform 0.2s ease;
}

.dp-sub-nav li a:hover {
  color: var(--accent-hover);
  transform: translateY(-1px);
}

/* ==========================================================================
   RESPONSIVIDADE SUB-MENU MOBILE
   ========================================================================== */

@media (max-width: 768px) {
  .dp-sub-bar-inner {
    padding: 0 12px;
  }

  .dp-cat-label {
    font-size: 0.75rem;
    padding: 8px 15px 8px 12px;
  }

  .dp-cat-label::after {
    border-top: 17px solid transparent;
    border-bottom: 17px solid transparent;
    border-left: 11px solid var(--accent);
    right: -11px;
  }

  .dp-sub-nav {
    padding-left: 20px;
  }

  .dp-sub-nav li a {
    font-size: 0.75rem;
    padding: 8px 5px;
  }
}

/* ==========================================================================
   CONTROLE DE VISIBILIDADE DESKTOP vs MOBILE (HEADER)
   ========================================================================== */

/* Por padrão, esconde os elementos exclusivos de mobile no computador */
.dp-mobile-top-bar {
  display: none;
}

@media (max-width: 768px) {
  /* Esconde os elementos desktop no celular */
  .dp-header-inner > .dp-logo.desktop-only,
  .dp-header-inner > .auth-buttons.desktop-only {
    display: none !important;
  }

  /* Mostra a barra superior mobile e organiza em linha (Logo à esquerda, Avatar à direita) */
  .dp-mobile-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 10px;
  }

  .dp-mobile-top-bar .auth-buttons {
    margin-left: 0;
  }

  /* Ajuste refinado do tamanho do avatar no mobile */
  .dp-mobile-top-bar .user-avatar img {
    width: 26px !important;
    height: 26px !important;
  }
}

/* ==========================================================================
   ESTILOS DA PÁGINA DE CONTATO PERSONALIZADA
   ========================================================================== */

.dp-contact-wrapper {
    display: flex;
    gap: 20px;
    max-width: 1400px;
    margin: 30px auto 60px auto;
}

.dp-contact-card {
  background: var(--bg-card, #161922);
  border: 1px solid var(--border-color, #232733);
  border-radius: 12px;
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.dp-contact-icon {
  background: rgba(var(--accent-rgb, 147, 51, 234), 0.1);
  color: var(--accent, #9333ea);
  padding: 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dp-contact-info h3 {
  font-size: 1.25rem;
  color: #fff;
  margin: 0 0 8px 0;
}

.dp-contact-info p {
  font-size: 0.95rem;
  color: var(--text-muted, #9ca3af);
  line-height: 1.5;
  margin: 0 0 16px 0;
}

.dp-contact-email-btn {
  display: inline-block;
  background: var(--accent, #9333ea);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.dp-contact-email-btn:hover {
  background: var(--accent-hover, #7e22ce);
  color: #fff;
  transform: translateY(-2px);
}

.dp-contact-notice {
  background: var(--bg-card, #161922);
  border: 1px solid var(--border-color, #232733);
  border-radius: 12px;
  padding: 25px 30px;
}

.dp-contact-notice h3 {
  font-size: 1.1rem;
  color: #fff;
  margin: 0 0 12px 0;
}

.dp-contact-notice ul {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted, #9ca3af);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Ajustes responsivos para celular */
@media (max-width: 768px) {
  .dp-contact-wrapper {
    margin: 15px 10px 40px 10px;
  }
  
  .dp-contact-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }
  
  .dp-contact-notice {
    padding: 20px;
  }
}

/* ==========================================================================
   ESTILOS DOS BANNERS DINÂMICOS
   ========================================================================== */

.anetema-banner-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.anetema-banner-wrapper img {
border-radius: 10px;
}

/* Regras de visibilidade responsiva */
@media (max-width: 768px) {
  .anetema-desktop-only {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .anetema-mobile-only {
    display: none !important;
  }
}

/* ==========================================================================
   ESTILOS CENTRALIZADOS EXCLUSIVOS PARA A PÁGINA 404
   ========================================================================== */
.dp-404-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    margin: 40px auto 60px auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.dp-404-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-bottom: 25px;
    border-left: none !important; /* Remove barra lateral caso herde da home */
    padding-left: 0 !important;
}

.dp-404-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
}

.dp-404-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted, #9ca3af);
    margin: 0;
    max-width: 500px;
}

.dp-404-card {
    background: var(--bg-card, #161922);
    border: 1px solid var(--border-color, #232733);
    border-radius: 12px;
    padding: 40px 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

.dp-404-icon {
    background: rgba(var(--accent-rgb, 147, 51, 234), 0.1);
    color: var(--accent, #9333ea);
    padding: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.dp-404-info h3 {
    font-size: 3rem;
    color: #fff;
    margin: 0 0 10px 0;
    font-weight: 800;
    line-height: 1;
}

.dp-404-info p {
    font-size: 0.95rem;
    color: var(--text-muted, #9ca3af);
    line-height: 1.5;
    max-width: 450px;
    margin: 0 auto 25px auto;
}

.dp-404-btn {
    display: inline-block;
    background: var(--accent, #9333ea);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.dp-404-btn:hover {
    background: var(--accent-hover, #7e22ce);
    color: #fff;
    transform: translateY(-2px);
}

/* Oculta o botão de favoritos gerado automaticamente dentro do conteúdo do post */
.single-post .entry-content .aneVipBotaoFavoritos,
.single-post .content-single > .aneVipBotaoFavoritos {
    display: none !important;
}

/* ==========================================================================
   ESTILOS DO CABEÇALHO E BOTÃO "VER TUDO" (DOOPLAY STYLE)
   ========================================================================== */
.dp-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.dp-section-header .dp-section-subtitle {
    margin: 0;
}

.dp-section-action {
    display: flex;
    align-items: center;
}

.dp-counter-badge {
    color: #9ca3af;
    font-size: 0.9rem;
    font-weight: 600;
}

.dp-view-all-btn {
    background: var(--accent);
    font-size: 10px;
    font-weight: 300;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 3px;
    margin-left: 6px;
}

.dp-view-all-btn:hover {
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(37, 99, 235, 0.5);
}

@media screen and (max-width: 768px) {
    .dp-section-header {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .dp-section-header > div:first-child {
        flex: 1;
        min-width: 0; /* Evita que o texto quebre o layout */
    }

    .dp-section-header h2 {
        font-size: 1.05rem !important; /* Ajusta o tamanho se o título for muito longo */
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .dp-section-subtitle {
        display: none; /* Oculta o subtítulo no mobile para caber na mesma linha */
    }

    .dp-section-action {
        width: auto !important;
        margin-top: 0 !important;
        flex-shrink: 0;
    }
}

.anno2 {
    font-size: 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 1100px;
}

.avisos {
    margin-top: 20px;
    padding: 20px;
    background-color: #1f1f1f;
    border: 1px solid #2a2a2a;
    border-radius: 8px;
}

.aviso {
    margin-bottom: 20px;
    background-color: #161616;
    border: 1px solid #2a2a2a;
    padding: 20px;
    border-radius: 8px;
}

.aviso:last-child {
    margin-bottom: 0;
}

.aviso h3 {
    font-size: 18px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #2a2a2a;
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 15px;
}

.aviso div {
    color: #b0b0b0;
    font-size: 14px;
    line-height: 1.6;
}

.aviso-data {
    font-size: 13px;
    color: #999;
    font-style: italic;
    display: flex;
    justify-content: center;
    background-color: #1f1f1f;
    border: 1px solid #2a2a2a;
    padding: 6px;
    border-radius: 4px;
    margin: 15px 0 0 0;
}

.avisos h2 {
    color: #ffffff;
    font-size: 20px;
    border-bottom: 1px solid #2a2a2a;
    padding-bottom: 12px;
    margin-top: 0;
    margin-bottom: 20px;
}

.aviso-empty {
    font-style: italic;
    color: #888;
    text-align: center;
    padding: 20px;
}

.aviso a {
    color: #3b82f6;
    text-decoration: none;
}

.aviso a:hover {
    text-decoration: underline;
}

/* Centralizar a imagem dentro do contêiner */
.aviso img {
    display: block;
    margin: 15px auto 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid #2a2a2a;
}

/*
========================================
AJUSTES CSS - PÁGINA HISTÓRICO (DOOPLAY)
========================================
*/
.historico-wrapper {
    max-width: 1280px;
    margin: auto;
    font-family: inherit;
    color: var(--dt-text-color, #e0e0e0);
}

/* TOPBAR */
.historico-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.historico-badge-top {
width: max-content;
    padding: 4px 10px;
    border-radius: 999px;
    background: #3b82f61c;
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    margin-bottom: 10px;
    border: 1px solid rgb(85 155 255 / 75%);
}

.historico-topbar h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
}

.historico-topbar p {
    margin: 8px 0 0;
    max-width: 700px;
    color: #999;
    font-size: 14px;
    line-height: 1.6;
}

.historico-clear {
    height: 42px;
    padding: 0 18px;
    border-radius: 8px;
    background: var(--dt-card-background, #1f1f1f);
    border: 1px solid var(--dt-border-color, #2a2a2a);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: .2s;
}

.historico-clear:hover {
    background: var(--accent);
    border-color: var(--accent);
}

/* NAV */
.historico-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    margin-bottom: 24px;
    padding: 6px;
    width: max-content;
    max-width: 100%;
    background: var(--dt-card-background, #1f1f1f);
    border: 1px solid var(--dt-border-color, #2a2a2a);
    border-radius: 12px;
    scrollbar-width: none;
}

.historico-nav::-webkit-scrollbar {
    display: none;
}

.historico-tab {
    height: 34px;
    padding: 0 12px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #999;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: .2s;
}

.historico-tab:hover {
    background: rgba(255,255,255,0.05);
    color: #ffffff;
}

.historico-tab.active {
    background: var(--accent);
    color: #fff;
}

/* STATS */
.historico-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 35px;
}

.stat-card {
    position: relative;
    background: var(--dt-card-background, #1f1f1f);
    border: 1px solid var(--dt-border-color, #2a2a2a);
    border-radius: 12px;
    padding: 20px;
    overflow: hidden;
}

.stat-card span {
    display: block;
    color: #888;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.stat-card strong {
    display: block;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--accent);
}

/* SECTIONS */
.historico-section {
    margin-bottom: 35px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-header h2 {
    margin: 0;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 800;
}

.section-header span {
    color: #777;
    font-size: 12px;
}

/* CONTINUE CARD (CORRIGIDO PARA NÃO ESTICAR A IMAGEM) */
.continue-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    background: var(--dt-card-background, #1f1f1f);
    border: 1px solid var(--dt-border-color, #2a2a2a);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    transition: .2s;
}

.continue-card:hover {
    border-color: #444;
}

.continue-thumb {
    width: 100%;
    height: 100%;
    min-height: 220px;
    background: #121212;
    overflow: hidden;
}

.continue-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mantém a proporção sem distorcer */
    display: block;
}

.continue-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.continue-pill {
   width: max-content;
    padding: 4px 10px;
    border-radius: 999px;
    background: #3b82f61c;
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    margin-bottom: 10px;
    border: 1px solid rgb(85 155 255 / 75%);
}

.continue-content h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
}

.continue-content p {
    margin: 0 0 16px;
    color: #999;
    font-size: 13px;
    line-height: 1.5;
}

.continue-button {
    width: max-content;
    height: 38px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

/* GRIDS */
.recommend-grid,
.historico-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 15px;
}

.recommend-card,
.history-card {
    display: block;
    background: var(--dt-card-background, #1f1f1f);
    border: 1px solid var(--dt-border-color, #2a2a2a);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: .2s;
}

.recommend-card:hover,
.history-card:hover {
    border-color: #444;
    transform: translateY(-3px);
}

.recommend-thumb,
.history-thumb {
    position: relative;
    background: #121212;
    overflow: hidden;
}

.recommend-thumb img,
.history-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.history-time {
    position: absolute;
    left: 6px;
    bottom: 6px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 9px;
    font-weight: 700;
}

.recommend-content,
.history-content {
    padding: 10px;
}

.recommend-content h3,
.history-content h3 {
    margin: 0;
    color: #ddd;
    font-size: 12px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* EMPTY & PAGINATION */
.historico-empty {
    background: var(--dt-card-background, #1f1f1f);
    border: 1px solid var(--dt-border-color, #2a2a2a);
    border-radius: 14px;
    padding: 50px 20px;
    text-align: center;
}

.historico-empty h3 {
    margin: 10px 0 6px;
    color: #fff;
    font-size: 1.3rem;
}

.historico-empty p {
    margin: 0;
    color: #888;
    font-size: 13px;
}

.historico-pagination {
    margin-top: 25px;
    display: flex;
    gap: 6px;
    justify-content: center;
}

.historico-pagination a,
.historico-pagination span {
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    border-radius: 8px;
    background: var(--dt-card-background, #1f1f1f);
    border: 1px solid var(--dt-border-color, #2a2a2a);
    color: #aaa;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.historico-pagination .current {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* RESPONSIVO */
@media(max-width:980px) {
    .historico-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .continue-card {
        grid-template-columns: 1fr;
    }
    .continue-thumb {
        min-height: 180px;
    }
}

@media(max-width:640px) {
    .historico-stats {
        grid-template-columns: 1fr;
    }
    .recommend-grid,
    .historico-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    }
}

.dp-page-title {
    display: none;
}

/* ========================================
   CSS ISOLADO: MENU FOOTER (PARCEIROS)
======================================== */

/* Faixa de fundo que fica acima do rodapé */
.dp-footer-bar {
    width: 100%;
    background: #151515;
    border-top: 1px solid #222;
    border-bottom: 1px solid #1a1a1a;
    margin-top: 40px;
}

/* Container interno da barra de links */
.dp-footer-bar .dp-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Estrutura interna do menu gerado pelo WordPress */
.dp-footer-bar .dp-footer-nav {
    display: flex;
    width: 100%;
}

.dp-footer-bar .dp-footer-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    justify-content: center;
}

.dp-footer-bar .dp-footer-nav a {
    color: #b5b5b5;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.dp-footer-bar .dp-footer-nav a:hover {
   color: var(--accent); 
}

/* Ajuste responsivo para celulares */
@media (max-width: 768px) {
    .dp-footer-bar .dp-footer-nav ul {
        gap: 14px;
    }
}

/* Estilo do Badge de Conteúdo Novo */
.dp-thumbnail {
    position: relative; /* Garante que o badge fique absoluto em relação à imagem */
}

.dp-badge-new {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: #00e676;
    color: #09090b;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}