html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: #020617;
}

img {
  max-width: 100%;
}

.site-logo-mark {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.3), rgba(34, 211, 238, 0.2));
  border: 1px solid rgba(45, 212, 191, 0.45);
  color: #2dd4bf;
  box-shadow: 0 0 24px rgba(20, 184, 166, 0.28);
  font-size: 0.9rem;
}

.site-search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 1rem;
}

.site-menu-button {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(51, 65, 85, 0.85);
}

.home-hero {
  background: radial-gradient(circle at top left, rgba(20, 184, 166, 0.18), transparent 38%), #020617;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 900ms ease, transform 1200ms ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hero-bullet {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.5);
  transition: all 260ms ease;
}

.hero-bullet:hover {
  background: rgba(255, 255, 255, 0.8);
}

.hero-bullet.is-active {
  width: 2rem;
  background: #14b8a6;
}

.movie-card {
  min-width: 0;
}

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

.movie-card-compact {
  height: 100%;
}

.ranking-row:hover .ranking-number {
  background: #14b8a6;
  color: white;
  border-color: rgba(45, 212, 191, 0.9);
}

.ranking-number {
  display: inline-flex;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  flex: none;
  border-radius: 9999px;
  border: 1px solid rgba(45, 212, 191, 0.45);
  background: rgba(20, 184, 166, 0.12);
  color: #2dd4bf;
  font-weight: 800;
  transition: all 240ms ease;
}

.player-shell {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 1rem;
  background: #020617;
  border: 1px solid rgba(51, 65, 85, 0.85);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.35), 0 0 40px rgba(20, 184, 166, 0.12);
  aspect-ratio: 16 / 9;
}

.movie-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  cursor: pointer;
  color: white;
  overflow: hidden;
  transition: opacity 240ms ease, visibility 240ms ease;
  z-index: 5;
}

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

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.45) saturate(1.08);
}

.player-cover-mask {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(20, 184, 166, 0.24), rgba(2, 6, 23, 0.65));
}

.player-play-button {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: 5rem;
  height: 5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #14b8a6;
  color: #fff;
  font-size: 2rem;
  box-shadow: 0 0 45px rgba(20, 184, 166, 0.5);
  transition: transform 220ms ease, background 220ms ease;
}

.player-cover:hover .player-play-button {
  transform: scale(1.08);
  background: #0d9488;
}

.player-play-text {
  position: relative;
  z-index: 2;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: #ccfbf1;
  font-weight: 600;
}

.filter-empty {
  grid-column: 1 / -1;
  padding: 3rem 1rem;
  text-align: center;
  border: 1px dashed rgba(51, 65, 85, 0.95);
  border-radius: 1rem;
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.45);
}

@media (max-width: 768px) {
  .player-play-button {
    width: 4rem;
    height: 4rem;
    font-size: 1.5rem;
  }

  .ranking-number {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.8rem;
  }
}
