/* ===== RESET E CONFIGURAÇÕES GERAIS ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #121212;
  color: #fff;
  padding-top: 80px;
}

/* Estilo do header */
.header-animated {
  background-color: #1a1a1a;
  position: relative;
  overflow: hidden;
}

.logo-text {
  font-size: 2.5rem;
  font-weight: 700;
  color: #e50914;
  text-shadow: 0 2px 10px rgba(229, 9, 20, 0.5);
  letter-spacing: 2px;
  position: relative;
}

/* Efeito de animação nas letras */
.logo-part {
  display: inline-block;
  position: relative;
  animation: bounce 0.8s ease infinite alternate;
}

/* Delay diferente para cada letra */
.logo-part:nth-child(1) { animation-delay: 0.1s; }
.logo-part:nth-child(2) { animation-delay: 0.2s; }
.logo-part:nth-child(3) { animation-delay: 0.3s; }
.logo-part:nth-child(4) { animation-delay: 0.4s; }
.logo-part:nth-child(5) { animation-delay: 0.5s; }
.logo-part:nth-child(6) { animation-delay: 0.6s; }
.logo-part:nth-child(8) { animation-delay: 0.1s; }
.logo-part:nth-child(9) { animation-delay: 0.2s; }
.logo-part:nth-child(10) { animation-delay: 0.3s; }
.logo-part:nth-child(11) { animation-delay: 0.4s; }

.logo-space {
  display: inline-block;
  width: 15px;
}

/* Animação de bounce */
@keyframes bounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* Efeito de brilho sutil */
.logo-text::after {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e50914, transparent);
  animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
  0% { opacity: 0.3; width: 0; }
  50% { opacity: 0.8; width: 100%; }
  100% { opacity: 0.3; width: 0; right: 0; left: auto; }
}

/* Adicione delays para cada letra conforme necessário */

/* ===== NAVEGAÇÃO ===== */
.navbar-dark.bg-secondary {
  background-color: #1f1f1f !important;
  border-bottom: 1px solid #333;
}

.nav-link {
  color: #b3b3b3 !important;
  transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: #fff !important;
}

.nav-link i {
  margin-right: 0.5rem;
}

.dropdown-menu-dark {
  background-color: #252525 !important;
  border: 1px solid #333;
}

.dropdown-item {
  color: #b3b3b3 !important;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background-color: #333 !important;
  color: #fff !important;
}

/* ===== CATÁLOGO DE FILMES ===== */
.container.my-4 {
  padding: 2rem 0;
}

h2 {
  color: #fff;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e50914;
  display: inline-block;
}

.row.g-3 {
  margin-top: 1.5rem;
}

/* ESTILOS PARA ITENS CLICÁVEIS */
.catalog-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid #2a2a2a;
}

.catalog-item a {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.catalog-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  transition: all 0.3s ease;
}

.catalog-item .mt-2 {
  padding: 15px;
  background: rgba(0, 0, 0, 0.7);
}

/* EFEITOS DE HOVER */
.catalog-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  border-color: #e50914;
}

.catalog-item:hover img {
  transform: scale(1.05);
}

/* ===== MODAL DE LOGIN ===== */
.modal-content.bg-dark {
  background-color: #1a1a1a !important;
  border: 1px solid #333;
}

.modal-header {
  border-bottom: 1px solid #333;
}

.btn-close-white {
  filter: invert(1);
}

/* ===== RODAPÉ ===== */
footer {
  background-color: #0d0d0d;
  border-top: 1px solid #2a2a2a;
}

.social-links a {
  color: #b3b3b3;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: #e50914;
  transform: translateY(-3px);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
  .logo-text {
      font-size: 1.8rem;
  }
  
  .catalog-item img {
      height: 300px;
  }
}

@media (max-width: 576px) {
  .logo-text {
      font-size: 1.5rem;
  }
  
  body {
      padding-top: 70px;
  }
}

/* Estilos para containers de anúncios */
.ad-container {
    margin: 2rem auto;
    padding: 1rem;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    min-height: 100px;
}

/* Responsividade para anúncios */
@media (max-width: 768px) {
    .ad-container {
        margin: 1rem auto;
    }
}

/* Remover estilos dos containers de anúncios */
/* Nenhum estilo adicional necessário */