:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  display: block;
}

a {
  text-decoration: none;
}

.logo-link:hover .block:first-child {
  color: #92400e;
}

.footer-links a {
  display: block;
  color: #d1d5db;
  transition: color 160ms ease;
}

.footer-links a:hover,
.footer-pill:hover {
  color: #f59e0b;
}

.footer-pill {
  display: inline-flex;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(146, 64, 14, 0.28);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.hero {
  min-height: 600px;
  background: #111827;
  overflow: hidden;
}

.hero-stage,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transition: opacity 1000ms ease;
  pointer-events: none;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.15));
}

.hero-category-link {
  color: #fcd34d;
  border-bottom: 1px solid rgba(252, 211, 77, 0.55);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 20;
  width: 3rem;
  height: 3rem;
  transform: translateY(-50%);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 2.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 160ms ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.72);
}

.hero-prev {
  left: 1rem;
}

.hero-next {
  right: 1rem;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  transition: all 240ms ease;
}

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

.hero-button,
.hero-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
}

.movie-card {
  height: 100%;
}

.movie-card a {
  color: inherit;
}

.card-play {
  font-size: 1.4rem;
  padding-left: 0.12rem;
}

.min-h-title {
  min-height: 3rem;
}

.line-clamp-1,
.line-clamp-2,
.line-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-1 {
  -webkit-line-clamp: 1;
}

.line-clamp-2 {
  -webkit-line-clamp: 2;
}

.line-clamp-3 {
  -webkit-line-clamp: 3;
}

.category-tile a {
  color: inherit;
}

.category-hero {
  min-height: 360px;
}

.category-hero-img,
.category-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.category-hero-img {
  object-fit: cover;
  opacity: 0.65;
}

.category-hero-shade {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.15));
}

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

.breadcrumb a {
  color: #92400e;
  transition: color 160ms ease;
}

.breadcrumb a:hover {
  color: #b45309;
}

.rank-number,
.podium-badge {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  background: #d97706;
  color: white;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}

.podium-badge {
  min-width: 2.5rem;
  height: 2.5rem;
  font-size: 1.25rem;
}

.sticky-search-panel {
  position: sticky;
  top: 5rem;
  z-index: 30;
}

.filter-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  outline: none;
  color: #374151;
}

.filter-select:focus {
  border-color: #f59e0b;
}

.player-shell {
  position: relative;
}

.player-frame {
  background: #050505;
}

.player-frame video {
  display: block;
  width: 100%;
  height: 100%;
  background: #050505;
  position: relative;
  z-index: 1;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
  overflow: hidden;
  transition: opacity 240ms ease, visibility 240ms ease;
}

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

.player-cover-img,
.player-cover-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.player-cover-img {
  object-fit: cover;
  opacity: 0.78;
}

.player-cover-shade {
  background: radial-gradient(circle at center, rgba(217, 119, 6, 0.20), rgba(0, 0, 0, 0.68));
}

.player-button {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 5rem;
  height: 5rem;
  border-radius: 999px;
  background: #d97706;
  color: white;
  font-size: 2.4rem;
  line-height: 1;
  padding-left: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
  transition: transform 180ms ease, background 180ms ease;
}

.player-button:hover {
  transform: translate(-50%, -50%) scale(1.06);
  background: #b45309;
}

[hidden] {
  display: none !important;
}

@media (max-width: 768px) {
  .hero {
    height: 520px;
    min-height: 520px;
  }

  .hero-title {
    font-size: 2.3rem;
    line-height: 1.15;
  }

  .hero-text {
    font-size: 1rem;
  }

  .hero-arrow {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.8rem;
  }

  .hero-prev {
    left: 0.5rem;
  }

  .hero-next {
    right: 0.5rem;
  }

  .sticky-search-panel {
    position: static;
  }
}
