
html {
  scroll-behavior: smooth;
}

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #fafaf9;
  color: #292524;
}

.logo-mark {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(135deg, #f59e0b, #dc2626);
  color: #ffffff;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(120, 53, 15, 0.35);
}

.footer-logo {
  color: #ffffff;
}

.menu-icon {
  display: inline-block;
  font-size: 1.35rem;
  line-height: 1;
}

.hero-slider {
  height: 500px;
  background: #1c1917;
}

@media (min-width: 1024px) {
  .hero-slider {
    height: 600px;
  }
}

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

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

.hero-star,
.section-icon {
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #f59e0b;
  color: #ffffff;
  font-size: 0.95rem;
  box-shadow: 0 8px 18px rgba(245, 158, 11, 0.3);
}

.hero-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
  background: rgba(0, 0, 0, 0.72);
  transform: translateY(-50%) scale(1.05);
}

.hero-control.prev {
  left: 1rem;
}

.hero-control.next {
  right: 1rem;
}

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

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

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

.movie-card article {
  min-height: 100%;
}

.play-dot {
  width: 4rem;
  height: 4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #d97706;
  font-size: 1.5rem;
  padding-left: 0.25rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.card-tags span {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  background: #fef3c7;
  color: #92400e;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
}

.category-card {
  display: block;
  border-radius: 1rem;
  padding: 1.25rem;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(41, 37, 36, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(41, 37, 36, 0.14);
}

.rank-badge {
  position: absolute;
  left: 0.5rem;
  top: 0.5rem;
  min-width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(135deg, #f97316, #b91c1c);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
}

.rank-number {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  margin-right: 0.55rem;
  border-radius: 9999px;
  background: #f59e0b;
  color: #ffffff;
  font-size: 0.85rem;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #000000;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.player-shell video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.75));
}

.player-shell.is-playing .player-overlay {
  opacity: 0;
  pointer-events: none;
}

.player-button {
  width: 5rem;
  height: 5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.95);
  color: #ffffff;
  font-size: 2rem;
  padding-left: 0.25rem;
  box-shadow: 0 18px 42px rgba(245, 158, 11, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.player-button:hover {
  transform: scale(1.08);
  background: #d97706;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: #78716c;
}

.breadcrumbs a {
  color: #d97706;
}

.breadcrumbs a:hover {
  color: #92400e;
}

.filter-bar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .filter-bar {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.7fr) minmax(0, 0.7fr);
  }
}

.filter-input,
.filter-select {
  width: 100%;
  border: 1px solid #e7e5e4;
  border-radius: 9999px;
  background: #ffffff;
  padding: 0.8rem 1rem;
  color: #292524;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.filter-input:focus,
.filter-select:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.18);
}

.empty-state {
  display: none;
  padding: 2rem;
  border-radius: 1rem;
  background: #ffffff;
  text-align: center;
  color: #78716c;
}

.empty-state.is-visible {
  display: block;
}

@media (max-width: 640px) {
  .hero-control {
    width: 2.5rem;
    height: 2.5rem;
  }

  .hero-control.prev {
    left: 0.5rem;
  }

  .hero-control.next {
    right: 0.5rem;
  }

  .player-button {
    width: 4rem;
    height: 4rem;
    font-size: 1.5rem;
  }
}
