html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: #020617;
  color: #e2e8f0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-header {
  box-shadow: 0 12px 40px rgba(2, 6, 23, 0.4);
}

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  color: #0f172a;
  font-weight: 900;
  background: linear-gradient(135deg, #fcd34d, #f59e0b 55%, #fbbf24);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.3);
}

.logo-mark.small {
  width: 2rem;
  height: 2rem;
}

.mobile-menu-button {
  display: inline-flex;
  flex-direction: column;
  gap: 0.3rem;
  width: 2rem;
}

.mobile-menu-button span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero-slider {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms ease, visibility 700ms ease;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 70vh;
  display: flex;
  align-items: center;
}

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

.hero-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 999px;
  background: rgba(226, 232, 240, 0.45);
  border: 1px solid rgba(251, 191, 36, 0.35);
}

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

.section-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.8rem;
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.14);
}

.section-symbol.blue {
  color: #60a5fa;
  background: rgba(59, 130, 246, 0.14);
}

.section-symbol.cyan {
  color: #22d3ee;
  background: rgba(6, 182, 212, 0.14);
}

.play-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  padding-left: 0.2rem;
  border-radius: 999px;
  color: #fbbf24;
  font-size: 1.5rem;
  background: rgba(2, 6, 23, 0.75);
  border: 1px solid rgba(251, 191, 36, 0.4);
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.35);
}

.search-panel {
  background: rgba(15, 23, 42, 0.66);
  border: 1px solid rgba(100, 116, 139, 0.35);
  box-shadow: 0 20px 60px rgba(2, 6, 23, 0.35);
}

.search-input {
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(2, 6, 23, 0.8);
  padding: 0.9rem 1.25rem;
  color: #f8fafc;
  outline: none;
}

.search-input:focus {
  border-color: rgba(251, 191, 36, 0.7);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.filter-button {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  padding: 0.55rem 1rem;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.7);
  transition: 180ms ease;
}

.filter-button.active,
.filter-button:hover {
  color: #0f172a;
  border-color: #f59e0b;
  background: #f59e0b;
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1rem;
  background: #000;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.player-shell video {
  width: 100%;
  height: 100%;
  background: #000;
}

.player-button {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(15, 23, 42, 0.15), rgba(2, 6, 23, 0.65));
  transition: opacity 200ms ease, visibility 200ms ease;
}

.player-button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5.25rem;
  height: 5.25rem;
  padding-left: 0.25rem;
  border-radius: 999px;
  font-size: 2rem;
  color: #0f172a;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  box-shadow: 0 0 50px rgba(245, 158, 11, 0.45);
}

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

.breadcrumb a {
  color: #fbbf24;
}

.category-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.7));
  border: 1px solid rgba(100, 116, 139, 0.35);
  box-shadow: 0 18px 60px rgba(2, 6, 23, 0.24);
}

.rank-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.8rem;
  color: #0f172a;
  font-weight: 900;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
}

.hidden-by-filter {
  display: none !important;
}

@media (max-width: 768px) {
  .hero-slider,
  .hero-content {
    min-height: 78vh;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }
}
