html {
  scroll-behavior: smooth;
}

body {
  background: #020617;
}

.site-logo-mark {
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  color: #ffffff;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  box-shadow: 0 10px 30px -12px rgba(14, 165, 233, 0.85);
  font-size: 0.75rem;
  padding-left: 0.125rem;
}

.site-menu-line {
  display: block;
  width: 1.5rem;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  border-radius: 9999px;
}

.site-mobile-menu[hidden] {
  display: none;
}

.bg-slate-750,
.hover\:bg-slate-750:hover {
  background-color: rgb(40 53 75);
}

.shadow-soft-lg,
.hover\:shadow-soft-lg:hover {
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.45);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

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

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

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

.hero-arrow {
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
}

.site-play-dot {
  color: #ffffff;
  font-size: 1rem;
  padding-left: 0.125rem;
}

.site-play-dot-large {
  font-size: 1.25rem;
}

.category-tile img,
.movie-card img,
.movie-card-horizontal img {
  background: #0f172a;
}

.ranking-index {
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0ea5e9;
  color: #ffffff;
  font-weight: 700;
  flex-shrink: 0;
}

.site-filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: #94a3b8;
  font-size: 0.875rem;
}

.site-filter-control {
  width: 100%;
  border-radius: 0.75rem;
  background: #1e293b;
  color: #ffffff;
  border: 1px solid #334155;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-filter-control:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
}

.site-filter-control::placeholder {
  color: #64748b;
}

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

.player-shell video {
  background: #000000;
}

.video-loader,
.video-error {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
  padding: 1rem;
}

.video-error[hidden],
.video-loader[hidden] {
  display: none;
}

.loader-ring {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  animation: siteSpin 1s linear infinite;
}

@keyframes siteSpin {
  to {
    transform: rotate(360deg);
  }
}

.search-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #94a3b8;
  padding: 4rem 1rem;
  background: #0f172a;
  border-radius: 1rem;
}

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

  .hero-slide h1 {
    font-size: 2.25rem;
    line-height: 1.1;
  }

  .custom-video-controls {
    opacity: 1;
  }

  .movie-card-horizontal {
    gap: 0.75rem;
  }

  .movie-card-horizontal .w-40 {
    width: 8rem;
  }
}

.border-b {
  border-bottom-width: 1px;
}

.left-2 {
  left: 0.5rem;
}

@media (min-width: 768px) {
  .md\:col-span-3 {
    grid-column: span 3 / span 3;
  }
}
