.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-dot {
  height: 0.5rem;
  width: 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.55);
  transition: all 0.25s ease;
}

.hero-dot.is-active {
  width: 2rem;
  background: #ffffff;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-secondary-link {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 9999px;
  padding: 0.75rem 1.5rem;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.14);
  transition: all 0.25s ease;
}

.hero-secondary-link:hover {
  background: rgba(255, 255, 255, 0.25);
}

.hero-thumb-wrap {
  margin-top: -3rem;
  position: relative;
  z-index: 2;
}

.hero-thumb-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  background: rgba(255, 255, 255, 0.76);
  border-radius: 1.25rem;
  padding: 1rem;
  box-shadow: 0 22px 60px rgba(88, 28, 135, 0.18);
  backdrop-filter: blur(12px);
}

.hero-thumb {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  color: #374151;
  font-weight: 700;
}

.hero-thumb img {
  width: 4rem;
  height: 3rem;
  object-fit: cover;
  border-radius: 0.75rem;
  flex-shrink: 0;
}

.hero-thumb span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.section-icon {
  font-size: 1.5rem;
}

.category-card-intro {
  display: block;
  color: #6b7280;
  font-size: 0.875rem;
  margin-top: 0.55rem;
  line-height: 1.5;
}

.movie-card-link {
  display: block;
  height: 100%;
}

.movie-card-cover img {
  height: 16rem;
}

.movie-card-compact .movie-card-cover img {
  height: 10rem;
}

.rank-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 800;
  border-radius: 9999px;
  background: linear-gradient(135deg, #f97316, #ec4899);
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.35);
}

.category-overview-card a {
  display: block;
  height: 100%;
}

.category-cover {
  position: relative;
  height: 14rem;
  overflow: hidden;
}

.category-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-overview-card:hover .category-cover img {
  transform: scale(1.08);
}

.category-cover-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.12));
}

.category-cover span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 900;
}

.listing-toolbar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.listing-search-input {
  width: 100%;
  border: 1px solid #e9d5ff;
  border-radius: 9999px;
  padding: 0.9rem 1.2rem;
  outline: none;
  color: #374151;
  background: #ffffff;
}

.listing-search-input:focus {
  border-color: #c084fc;
  box-shadow: 0 0 0 4px rgba(192, 132, 252, 0.25);
}

.listing-filter-tips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.listing-filter-tips span {
  border-radius: 9999px;
  padding: 0.35rem 0.75rem;
  background: #f3e8ff;
  color: #7e22ce;
  font-size: 0.8rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb a {
  color: #7e22ce;
}

.player-shell {
  min-height: 240px;
}

.movie-video {
  display: block;
  width: 100%;
  background: #000000;
}

.player-cover-button {
  cursor: pointer;
  border: 0;
  color: inherit;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.08));
  z-index: 2;
}

.player-cover-button.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.feature-box {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  border-radius: 1rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, #faf5ff, #fdf2f8);
}

.feature-box strong {
  color: #581c87;
  font-size: 1.05rem;
}

.feature-box span {
  color: #6b7280;
  line-height: 1.6;
}

.search-results:empty {
  display: none;
}

@media (max-width: 900px) {
  .hero-thumb-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-thumb-wrap {
    margin-top: 1rem;
  }
}

@media (max-width: 640px) {
  .hero-copy {
    padding-top: 1rem;
  }

  .hero-thumb-row {
    grid-template-columns: 1fr;
  }

  .movie-card-cover img {
    height: 14rem;
  }

  .category-cover {
    height: 12rem;
  }
}
