html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
}

.mobile-panel {
  display: none;
}

.mobile-panel.is-open {
  display: block;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1000ms ease;
}

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

.hero-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background: rgb(100 116 139);
  transition: all 300ms ease;
}

.hero-dot:hover {
  background: rgb(148 163 184);
}

.hero-dot.is-active {
  width: 2rem;
  background: rgb(6 182 212);
}

.section-icon {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  color: rgb(34 211 238);
  background: rgba(6, 182, 212, 0.12);
  box-shadow: 0 0 35px rgba(6, 182, 212, 0.18);
}

.play-badge {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  color: white;
  background: rgb(6 182 212);
  box-shadow: 0 18px 45px rgba(6, 182, 212, 0.35);
}

.play-badge-lg {
  width: 4rem;
  height: 4rem;
  font-size: 1.5rem;
}

.rank-number {
  flex: 0 0 auto;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  color: white;
  font-weight: 700;
  background: linear-gradient(135deg, rgb(6 182 212), rgb(37 99 235));
}

.filter-chip {
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  color: rgb(203 213 225);
  background: rgb(51 65 85);
  transition: all 200ms ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  color: white;
  background: linear-gradient(90deg, rgb(6 182 212), rgb(37 99 235));
  box-shadow: 0 12px 35px rgba(6, 182, 212, 0.18);
}

.movie-card.is-hidden {
  display: none !important;
}

.player video {
  display: block;
  background: #000;
  cursor: pointer;
}

.player-start {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.3), rgba(0, 0, 0, 0.58));
  transition: opacity 250ms ease, visibility 250ms ease;
}

.player-start:hover .player-start-icon {
  transform: scale(1.08);
  box-shadow: 0 0 60px rgba(6, 182, 212, 0.5);
}

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

.player-start-icon {
  display: inline-flex;
  width: 5rem;
  height: 5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgb(6 182 212), rgb(37 99 235));
  box-shadow: 0 22px 60px rgba(6, 182, 212, 0.35);
  transition: all 250ms ease;
}

.player-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem;
  opacity: 0;
  transition: opacity 200ms ease;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent);
}

.player:hover .player-controls,
.player.is-playing .player-controls,
.player:focus-within .player-controls {
  opacity: 1;
}

.player-control-button {
  color: white;
  border-radius: 9999px;
  padding: 0.55rem 0.85rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.25);
  transition: all 200ms ease;
}

.player-control-button:hover {
  color: rgb(34 211 238);
  border-color: rgba(34, 211, 238, 0.45);
}

.player-status {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  transform: translate(-50%, -50%);
  max-width: 80%;
  display: none;
  color: white;
  text-align: center;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: rgba(15, 23, 42, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.28);
}

.player-status.is-visible {
  display: block;
}

@media (max-width: 767px) {
  .hero {
    height: 82vh;
  }

  .hero-dots {
    right: 1rem;
    bottom: 1rem;
  }

  .player-start-icon {
    width: 4rem;
    height: 4rem;
  }

  .player-controls {
    opacity: 1;
  }
}
