/* Fondo y colores generales */
.body-cine-antiguo {
  background-color: #1a1a1a;
  color: #f0e6d2;
  font-family: 'Georgia', serif;
  filter: grayscale(60%) contrast(110%) sepia(0.3);
  position: relative;
  overflow-x: hidden;
}

/* Textura de grano animado */
.cine-grain::before {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url('https://www.transparenttextures.com/patterns/asfalt-dark.png');
  opacity: 0.10;
  pointer-events: none;
  z-index: 9999;
  animation: grain-move 10s linear infinite;
}

/* Títulos y fuentes vintage */
h1, h2, h3, .navbar-brand, .card-title {
  font-family: 'Cinzel', serif;
  letter-spacing: 2px;
  color: #ffd95a;
  text-shadow:
    1px 1px 0 #6f4e1e,
    2px 2px 1px rgba(0,0,0,0.8);
}

/* Tarjetas estilo retro */
.card.cine {
  border: 5px double #d4af37;
  border-radius: 12px;
  background-color: #2c2a21;
  color: #f9f5e3;
  box-shadow:
    0 0 15px 3px rgba(212, 175, 55, 0.5),
    inset 0 0 10px 1px rgba(255, 255, 180, 0.3);
  transition: box-shadow 0.3s ease;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 500px;
}

/* Hover efecto brillo dorado */
.card.cine:hover {
  box-shadow:
    0 0 25px 5px #ffd95a,
    inset 0 0 15px 3px #fff7a8;
}

/* Imagen completa sin recorte */
.card.cine .imagen-portada {
  height: 300px;
  width: 100%;
  object-fit: contain;
  background-color: #1e1e1e;
  padding: 10px;
}

/* Cuerpo de la tarjeta bien distribuido */
.card.cine .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 1rem;
}

/* Título con altura fija y truncado */
.card.cine .card-title {
  font-size: 1rem;
  min-height: auto;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 0.5rem;
}

/* Textos de género/categoría */
.card.cine .card-text {
  font-size: 0.9rem;
  color: #ccc;
  min-height: 48px;
}

/* Botones más chicos */
.card.cine .btn {
  font-size: 0.85rem;
}

/* Form de favorito con margen abajo */
.favorito-form {
  margin-top: auto;
}

/* Contenedor de botones al final */
.botones-finales {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Botones estilo videoclub */
.btn-outline-light {
  color: #ffd95a;
  border-color: #d4af37;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline-light:hover {
  background-color: #d4af37;
  color: #2c2a21;
  text-shadow: none;
}
/* carroussel */
.carousel-item img {
  height: 1080px; /* o el alto que prefieras */
  object-fit: cover;
}

/* Animación de parpadeo sutil en títulos destacados */
@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
  20%, 22%, 24%, 55% { opacity: 0.7; }
}
.flicker {
  animation: flicker 1.5s infinite;
}

/* Footer */
footer {
  background-color: #0d0b05;
  color: #c2b280;
  font-style: italic;
  letter-spacing: 1.2px;
}

/* Efecto leve de movimiento/grano animado */
@keyframes grain-move {
  0% { background-position: 0 0; }
  100% { background-position: 100% 100%; }
}

