* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #080808;
  color: white;
}
.topbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 44px;
  background: linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,0));
}
.topbar.solid { background: #080808; border-bottom: 1px solid #222; }
.logo {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #e50914;
  text-decoration: none;
}
nav a {
  color: white;
  text-decoration: none;
  margin-left: 22px;
  font-weight: 700;
  opacity: .85;
}
nav a:hover { opacity: 1; }
.hero {
  min-height: 76vh;
  display: flex;
  align-items: end;
  padding: 120px 44px 70px;
  background:
    linear-gradient(to top, #080808 5%, rgba(0,0,0,.25)),
    linear-gradient(to right, rgba(0,0,0,.9), rgba(0,0,0,.2)),
    url('https://images.unsplash.com/photo-1514525253161-7a46d19cd819?auto=format&fit=crop&w=1800&q=80') center/cover;
  background-position: center;
  background-size: cover;
}
.hero-content { max-width: 680px; }
.eyebrow { color: #e50914; font-weight: 900; text-transform: uppercase; }
h1 { font-size: clamp(42px, 7vw, 82px); margin: 8px 0; }
.hero p { font-size: 19px; line-height: 1.5; color: #ddd; }
.watch-button {
  display: inline-block;
  margin-top: 12px;
  border-radius: 7px;
  padding: 13px 22px;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  color: black;
  background: white;
  text-decoration: none;
}
main { padding: 10px 44px 70px; }
.category { margin-top: 34px; }
.category h2 { margin-bottom: 14px; }
.row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 18px;
}
.card {
  background: #151515;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease;
  color: white;
  text-decoration: none;
}
.card:hover { transform: scale(1.04); background: #202020; }
.poster {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #8b0000, #111 60%);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  font-weight: 900;
  font-size: 22px;
}
.poster.has-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,0));
}
.play-badge {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 1;
  background: rgba(0,0,0,.72);
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 14px;
}
.card-body { padding: 14px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: #aaa; font-size: 13px; }
.watch-page {
  padding-top: 110px;
  max-width: 1200px;
  margin: 0 auto;
}
.watch-page h1 { font-size: clamp(34px, 5vw, 64px); }
.watch-page p { color: #bbb; font-size: 18px; }
.back-link {
  color: #ddd;
  text-decoration: none;
  font-weight: 800;
}
.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: black;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 22px;
}
.video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.missing-video {
  min-height: 340px;
  background: #151515;
  border: 1px solid #333;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
}
@media (max-width: 700px) {
  .topbar { padding: 16px 20px; }
  nav { display: none; }
  main, .hero { padding-left: 20px; padding-right: 20px; }
}
