* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: #141414;
  color: #fff;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 4%;
  background: linear-gradient(180deg, rgba(0,0,0,.9) 0%, transparent 100%);
  transition: background .3s;
}
.navbar.scrolled { background: #141414; }
.logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: #e50914;
  letter-spacing: 3px;
}
.nav-links { display: flex; gap: 24px; font-size: 0.95rem; }
.nav-links a { opacity: .85; }
.nav-links a:hover { opacity: 1; }

.hero {
  position: relative;
  height: 72vh;
  min-height: 420px;
  background: #181818 center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 0 4% 8%;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(77deg, rgba(20,20,20,.95) 25%, transparent 65%),
              linear-gradient(0deg, #141414 0%, transparent 45%);
}
.hero-content { position: relative; z-index: 1; max-width: 560px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; margin-bottom: 16px; text-shadow: 2px 2px 8px rgba(0,0,0,.8); }
.hero p { font-size: 1.1rem; color: #d2d2d2; margin-bottom: 24px; line-height: 1.5; }
.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: #000;
  border: none;
  padding: 12px 28px;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
}
.btn-play:hover { background: rgba(255,255,255,.85); }

.main { padding: 0 0 60px; margin-top: -80px; position: relative; z-index: 2; }
.row { margin-bottom: 40px; padding-left: 4%; }
.row-title { font-size: 1.35rem; font-weight: 600; margin-bottom: 14px; color: #e5e5e5; }
.row-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.row-scroll::-webkit-scrollbar { display: none; }

.card {
  flex: 0 0 auto;
  width: 200px;
  aspect-ratio: 2/3;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: #2f2f2f;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover {
  transform: scale(1.08);
  z-index: 5;
  box-shadow: 0 8px 24px rgba(0,0,0,.6);
}
.card img { width: 100%; height: 100%; object-fit: cover; }
.card-fallback {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #333, #1a1a1a);
  font-size: 3rem; color: #e50914;
}
.card-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 40px 10px 10px;
  background: linear-gradient(transparent, rgba(0,0,0,.9));
  font-size: 0.85rem; font-weight: 600;
}

.player-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #000;
  flex-direction: column;
}
.player-overlay.active { display: flex; }
.player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: linear-gradient(180deg, rgba(0,0,0,.8), transparent);
}
.btn-close {
  background: transparent;
  border: 1px solid #666;
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
}
#video { width: 100%; flex: 1; background: #000; max-height: calc(100vh - 60px); }

.loading, .empty {
  text-align: center;
  padding: 80px 20px;
  color: #aaa;
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .card { width: 140px; }
  .hero { height: 55vh; min-height: 320px; }
}
