html,
body {
  margin: 0;
  background: #090a0e;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.binge-app {
  min-height: 100vh;
  background: #090a0e;
  color: #fff;
  font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
  overflow-x: hidden;
}
.binge-app button,
.binge-app input {
  font: inherit;
}

.binge-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100%, 1120px);
  height: 6.25rem;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 4vw, 2rem);
}

.binge-logo-link {
  display: inline-flex;
  align-items: center;
  min-width: 7rem;
}
.binge-logo-link img {
  width: 8.7rem;
  height: auto;
}

.binge-search {
  display: flex;
  align-items: center;
  width: min(22rem, 54vw);
  min-height: 2.75rem;
  border-radius: 0.7rem;
  background: #fff;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.24);
}
.binge-search input {
  width: 100%;
  min-width: 0;
  height: 2.75rem;
  padding: 0 0.35rem 0 1rem;
  border: 0;
  outline: 0;
  border-radius: inherit;
  background: transparent;
  color: #090a0e;
}
.binge-search button {
  display: grid;
  place-items: center;
  flex: 0 0 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: #090a0e;
  cursor: pointer;
  transition: color 160ms ease, transform 160ms ease;
}
.binge-search button:hover, .binge-search button:focus-visible {
  color: #53b9e8;
  transform: translateY(-1px);
}
.binge-search svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: currentColor;
}

.binge-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 650px;
  padding-top: 7rem;
  background: linear-gradient(180deg, #090a0e 0%, rgba(9, 10, 14, 0.1) 34%, #090a0e 100%), linear-gradient(90deg, rgba(9, 10, 14, 0.92), rgba(9, 10, 14, 0.32) 55%, rgba(9, 10, 14, 0.86)), #090a0e;
  background-position: center;
  background-size: cover;
}

.binge-hero-content {
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem) 4rem;
}

.binge-status {
  min-height: 1.25rem;
  margin-bottom: 1rem;
  color: #9bd7f2;
  font-size: 0.95rem;
}

.binge-trailer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 8.8rem;
  min-height: 2.7rem;
  margin-bottom: 1.4rem;
  padding: 0.55rem 1.15rem;
  border: 0;
  border-radius: 0.75rem;
  background: #53b9e8;
  color: #fff;
  cursor: pointer;
  transition: background-color 160ms ease, transform 160ms ease, opacity 160ms ease;
}
.binge-trailer-button:hover, .binge-trailer-button:focus-visible {
  background: #71c5e7;
  transform: translateY(-1px);
}
.binge-trailer-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.binge-hero-copy {
  max-width: 760px;
}
.binge-hero-copy h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(2.4rem, 7vw, 5rem);
  line-height: 0.96;
}
.binge-hero-copy p {
  max-width: 60rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.24rem);
  line-height: 1.55;
}
.binge-hero-copy .binge-kicker {
  margin-bottom: 0.6rem;
  color: #53b9e8;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.binge-main {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 2.5rem clamp(1rem, 4vw, 2rem) 5rem;
}

.binge-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.binge-section-heading h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.binge-section-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
}

.binge-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.binge-card {
  display: grid;
  gap: 0.65rem;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.binge-card img,
.binge-card .binge-poster-placeholder {
  width: 100%;
  aspect-ratio: 2/3;
  border-radius: 0.9rem;
  background: #101119;
  object-fit: cover;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.24);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.binge-card .binge-poster-placeholder {
  display: grid;
  place-items: center;
  padding: 1rem;
  box-sizing: border-box;
  color: rgba(255, 255, 255, 0.55);
  text-align: center;
}
.binge-card strong {
  display: block;
  min-height: 2.6rem;
  overflow-wrap: anywhere;
  font-size: 1rem;
  line-height: 1.25;
}
.binge-card span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}
.binge-card:hover, .binge-card:focus-visible {
  outline: 0;
}
.binge-card:hover img,
.binge-card:hover .binge-poster-placeholder, .binge-card:focus-visible img,
.binge-card:focus-visible .binge-poster-placeholder {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(83, 185, 232, 0.2);
}

.binge-video-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  background: rgba(0, 0, 0, 0.92);
}
.binge-video-overlay.is-open {
  display: block;
}

.binge-video-frame {
  position: absolute;
  inset: 0;
}
.binge-video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.binge-close-video {
  position: absolute;
  left: clamp(1rem, 4vw, 3rem);
  bottom: clamp(1rem, 4vw, 3rem);
  z-index: 2;
  min-width: 6.5rem;
  min-height: 2.5rem;
  border: 0;
  border-radius: 0.75rem;
  background: #fff;
  color: #090a0e;
  cursor: pointer;
}

.binge-noscript {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 1rem;
}

@media (max-width: 840px) {
  .binge-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .binge-header {
    position: relative;
    flex-direction: column;
    align-items: stretch;
    height: auto;
    background: #090a0e;
  }
  .binge-logo-link {
    justify-content: center;
  }
  .binge-search {
    width: 100%;
  }
  .binge-hero {
    min-height: 520px;
    padding-top: 0;
  }
  .binge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem 0.75rem;
  }
  .binge-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
