/* Catálogo — index.html */

.movies-grid .movie-card {
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--cs-card);
}

.movie-card .card-image figure.image {
  margin: 0;
}

.poster-wrap {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #252d3a;
}

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

.rating-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(0, 0, 0, 0.78);
  color: var(--cs-gold, #f5a623);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}

.card-overlay-link {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0.75rem;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.85));
  opacity: 0;
  transition: opacity 0.2s ease;
}

.movie-card:hover .card-overlay-link {
  opacity: 1;
}

.movie-title {
  color: var(--cs-text);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.movie-price {
  color: var(--cs-gold, #f5a623);
  font-weight: 700;
}

.hero-cs {
  background: linear-gradient(160deg, #1a1a2e 0%, #0d1117 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-cs .title {
  color: var(--cs-text);
}

.hero-cs .subtitle {
  color: var(--cs-muted);
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(233, 69, 96, 0.12);
  border: 1px solid rgba(233, 69, 96, 0.35);
  color: var(--cs-accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.accent-em {
  color: var(--cs-accent);
  font-style: normal;
}

.filters-bar {
  background: var(--cs-surface);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 0.75rem 0;
}

.filter-select-wrap {
  margin-left: auto;
  min-width: 200px;
}

.filter-select-wrap .select,
.filter-select-wrap select {
  width: 100%;
}

.btn-filter.is-active {
  background: var(--cs-accent);
  border-color: var(--cs-accent);
  color: #fff;
}

.btn-filter {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--cs-muted);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
}

.catalog-section {
  padding: 1.5rem 0 2.5rem;
}

.catalog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.catalog-head h2 {
  color: var(--cs-text);
  font-size: 1.15rem;
  font-weight: 600;
}

.catalog-count {
  color: var(--cs-muted);
  font-size: 0.85rem;
}

.notification-cs {
  background: rgba(26, 58, 92, 0.5);
  border: 1px solid rgba(232, 184, 75, 0.25);
  color: var(--cs-text);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}
