:root {
  --bg: #000000;
  --text: #f5f7fb;
  --muted: #cdd2da;
  --line: #2a3b45;
  --pill-bg: rgba(78, 83, 90, 0.66);
  --pill-airing: #00d27a;
  --nav-bg: #080a0d;
  --fs-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.8125rem);
  --fs-sm: clamp(0.8125rem, 0.78rem + 0.3vw, 0.9375rem);
  --fs-base: clamp(0.9375rem, 0.9rem + 0.25vw, 1rem);
  --fs-lg: clamp(1rem, 0.95rem + 0.4vw, 1.125rem);
  --fs-xl: clamp(1.125rem, 1.02rem + 0.8vw, 1.5rem);
  --fs-2xl: clamp(1.375rem, 1.1rem + 1.2vw, 2rem);
  --fs-3xl: clamp(1.75rem, 1.35rem + 1.8vw, 2.375rem);
}

* {
  box-sizing: border-box;
}

img,
video,
iframe,
svg {
  max-width: 100%;
}

html,
body {
  margin: 0;
  background: #0a0f14;
  font-family: "Outfit", sans-serif;
  color: var(--text);
  overflow-x: clip;
}

body {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.phone {
  width: min(375px, 100vw);
  max-width: 100%;
  min-height: 100dvh;
  background: #000;
  position: relative;
  overflow: hidden;
  border-left: 1px solid #2d4551;
  border-right: 1px solid #2d4551;
  padding-bottom: 74px;
}

.hero {
  position: relative;
  height: 460px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: opacity 0.35s ease;
}

.hero-trailer-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #000;
}

.hero-trailer-layer iframe {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120vw;
  height: 67.5vw;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%) scale(1.14);
  border: 0;
  pointer-events: none;
}

.hero-trailer-layer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 92px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.36) 60%, transparent 100%);
}

.hero.hero--trailer-active .hero-bg,
.hero.hero--trailer-active .hero-mask-image {
  opacity: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(24, 34, 44, 0.22) 0%, rgba(16, 22, 29, 0.58) 58%, rgba(0, 0, 0, 0.95) 100%),
    linear-gradient(90deg, rgba(8, 12, 16, 0.2) 0%, rgba(8, 12, 16, 0.14) 100%);
}

.topbar {
  position: relative;
  z-index: 8;
  height: 64px;
  padding: 1px 10px 0;
  display: flex;
  align-items: center;
}

.topbar-inner {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.topbar-left,
.topbar-actions {
  display: flex;
  align-items: center;
}

.topbar-actions {
  gap: 8px;
}

.topbar-brand-btn {
  height: 46px;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: inherit;
}

.topbar-logo {
  width: 146px;
  height: 33px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.topbar-action-link,
.topbar-action-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  display: grid;
  place-items: center;
  padding: 0;
  text-decoration: none;
}

.topbar-action-btn {
  cursor: pointer;
}

.topbar-action-link:hover,
.topbar-action-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.topbar-action-link i,
.topbar-action-btn i {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.logo {
  width: 146px;
  height: 33px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.pc-header {
  display: none;
}

.pc-trending-section {
  display: none;
}

.pc-dive-section {
  display: none;
}

.hero-stack {
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  z-index: 2;
  padding: 0 14px 14px;
}

.hero-mask-image {
  position: absolute;
  inset: 0;
  z-index: -5;
  overflow: hidden;
  opacity: 1;
  filter: brightness(0.75);
  transition: opacity 0.35s ease;
}

.hero-mask-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-linear-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), transparent 15%);
}

.hero-inner {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-logo-link {
  pointer-events: auto;
  color: inherit;
  text-decoration: none;
}

.hero-logo-wrap {
  height: 88px;
  width: 250px;
  display: flex;
  align-items: center;
}

.hero-title-text {
  margin: 0;
  font-size: var(--fs-2xl);
  line-height: 1.15;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.2px;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow-wrap: anywhere;
  overflow: hidden;
}

.hero-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.hero-desc {
  margin: 0;
  color: #b7c0cc;
  font-size: var(--fs-sm);
  font-weight: 300;
  line-height: 1.35;
  max-width: 320px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.meta-row {
  margin-top: 0;
  display: flex;
  gap: 8px;
}

.pill {
  height: 34px;
  border-radius: 999px;
  background: var(--pill-bg);
  color: #eceff3;
  font-size: var(--fs-base);
  line-height: 34px;
  padding: 0 14px;
  font-weight: 500;
}

.pill-airing {
  color: var(--pill-airing);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
  flex-shrink: 0;
}

.watch-btn {
  height: 52px;
  border: 0;
  border-radius: 28px;
  background: #fff;
  color: #111;
  font-family: inherit;
  font-size: var(--fs-lg);
  font-weight: 500;
  padding: 0 24px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.plus-btn {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(90, 90, 90, 0.6);
  color: #fff;
  display: grid;
  place-items: center;
}

.audio-toggle-btn {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: rgba(90, 90, 90, 0.6);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.plus-btn i,
.plus-btn svg,
.audio-toggle-btn i,
.audio-toggle-btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.6;
}

.slider-dots {
  margin-top: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  width: 100%;
  pointer-events: auto;
}

.slider-dots span {
  width: 0.7rem;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  flex-shrink: 0;
  cursor: pointer;
}

.slider-dots .active {
  width: 2.2rem;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.slider-dots .active i {
  display: block;
  height: 100%;
  background: #fff;
  border-radius: 999px;
  flex-shrink: 0;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.slider-dots .active i.is-filling {
  animation: hero-dot-fill var(--hero-slide-ms, 12000ms) cubic-bezier(0.2, 0, 0.1, 1) forwards;
}

@keyframes hero-dot-fill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.dive-section {
  width: 100%;
  padding: 12px 0 0;
}

.dive-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 12px 10px 0;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}

.dive-row::-webkit-scrollbar {
  display: none;
}

.dive-card {
  width: 200px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #fff;
  text-decoration: none;
}

.dive-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.dive-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dive-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 6px;
  padding: 8px 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent 45%);
}

.time {
  position: static;
  font-size: 14px;
  line-height: 1;
  padding: 4px 7px;
  border-radius: 8px;
  background: rgba(26, 26, 26, 0.85);
}

.progress-track {
  width: 100%;
  height: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #fff;
  border-radius: 999px;
}

.dive-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dive-title {
  font-size: var(--fs-sm);
  color: #a8b0bc;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dive-ep {
  font-size: var(--fs-base);
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trending-section {
  width: 100%;
  padding: 18px 0 8px;
}

.section-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  color: #fff;
  text-decoration: none;
}

.section-title {
  font-size: var(--fs-xl);
  font-weight: 600;
  line-height: 1.2;
}

.section-link-icon {
  margin-left: auto;
  color: #a8b0bc;
}

.trending-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 12px 10px 2px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.trending-row::-webkit-scrollbar {
  display: none;
}

.trend-card {
  width: 116px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  scroll-snap-align: center;
}

.trend-cover {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.trend-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trend-placeholder {
  background: rgba(255, 255, 255, 0.08);
}

.trend-meta {
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: #a8b0bc;
  font-weight: 300;
}

.trend-name {
  font-size: var(--fs-sm);
  line-height: 1.3;
  color: #e8edf7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recently-updated-section {
  width: 100%;
  padding: 16px 10px 24px;
}

.recent-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 10px;
}

.recent-card {
  color: #fff;
  text-decoration: none;
  min-width: 0;
}

.recent-cover {
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.recent-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.recent-name {
  margin-top: 7px;
  font-size: var(--fs-sm);
  line-height: 1.3;
  color: #e8edf7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.recent-pagination {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.recent-page-btn {
  height: 34px;
  min-width: 72px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #12161f;
  color: #eef2f7;
  font: inherit;
  font-size: var(--fs-sm);
  cursor: pointer;
}

.recent-page-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.recent-page-indicator {
  font-size: var(--fs-sm);
  color: #a8b0bc;
}

.popular-movies-section {
  width: 100%;
  padding: 4px 0 92px;
}

.popular-movies-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 12px 10px 2px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.popular-movies-row::-webkit-scrollbar {
  display: none;
}

.status-dot {
  width: 8px;
  height: 8px;
  display: inline-block;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 5px;
  vertical-align: middle;
}

.fixed { position: absolute; }
.flex-center { display: flex; align-items: center; }
.justify-center { justify-content: center; }
.justify-around { justify-content: space-around; }
.flex-nowrap { flex-wrap: nowrap; }
.flex-col { flex-direction: column; }
.size-full { width: 100%; height: 100%; }
.w-full { width: 100%; }
.max-w-5xl { max-width: 64rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-2xs { font-size: 12px; line-height: 1; }
.px-2 { padding-left: 8px; padding-right: 8px; }
.gap-0\.5 { gap: 4px; }
.h-13\.5 { height: 54px; }
.bg-menu { background: #07090d; }
.border-t { border-top: 1px solid rgba(255, 255, 255, 0.07); }
.z-20 { z-index: 20; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.shrink-0 { flex-shrink: 0; }
.scale-110 { transform: scale(1.1); }
.suave-2 { transition: color 0.2s ease, opacity 0.2s ease; }
.suave-3 { transition: transform 0.3s ease, opacity 0.3s ease; }

.text-white {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

.text-muted {
  color: #b0b7c3;
  text-decoration: none;
  font-weight: 400;
}

.fixed a svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 767px) {
  body {
    display: block;
    background: #000;
  }

  .phone {
    width: 100%;
    min-height: 100dvh;
    border-left: 0;
    border-right: 0;
    padding-bottom: 74px;
  }

  .phone > .fixed {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
  }

  .topbar-brand-btn {
    width: auto;
    height: 44px;
    padding: 0 8px;
  }

  .topbar-logo {
    width: 136px;
    height: 31px;
  }

  .topbar-action-link,
  .topbar-action-btn {
    width: 40px;
    height: 40px;
    padding: 8px;
  }

  .topbar-action-link i,
  .topbar-action-btn i {
    width: 20px;
    height: 20px;
  }

  .hero {
    height: 500px;
  }

  .hero-overlay {
    background:
      radial-gradient(130% 95% at 50% 12%, rgba(0, 0, 0, 0) 36%, rgba(0, 0, 0, 0.34) 72%, rgba(0, 0, 0, 0.62) 100%),
      linear-gradient(180deg, rgba(20, 23, 29, 0.14) 0%, rgba(12, 16, 22, 0.42) 50%, rgba(0, 0, 0, 0.98) 100%),
      linear-gradient(90deg, rgba(8, 12, 16, 0.18) 0%, rgba(8, 12, 16, 0.16) 100%);
  }

  .hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 118px;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.93) 62%, #000 100%);
  }

  .hero-mask-image::after {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    bottom: -10px;
    height: 110px;
    pointer-events: none;
    z-index: 1;
    background:
      radial-gradient(110% 90% at 50% 100%, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.3) 52%, rgba(0, 0, 0, 0) 100%),
      linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.72) 72%, #000 100%);
  }

  .hero-stack {
    padding: 0 16px 18px;
    gap: 16px;
  }

  .hero-inner {
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    width: 100%;
  }

  .hero-left {
    align-items: center;
    text-align: center;
    gap: 16px;
    width: 100%;
  }

  .hero-logo-wrap {
    width: min(320px, 100%);
    height: 88px;
    justify-content: center;
  }

  .hero-title-text {
    font-size: var(--fs-2xl);
    text-align: center;
  }

  .hero-logo-wrap img {
    object-fit: contain;
    object-position: center;
  }

  .hero-desc {
    display: none;
  }

  .meta-row {
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .pill {
    height: 30px;
    line-height: 30px;
    padding: 0 12px;
    font-size: var(--fs-sm);
    font-weight: 500;
    background: rgba(88, 92, 100, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .hero-actions {
    gap: 10px;
    flex-shrink: 0;
  }

  .watch-btn {
    width: auto;
    min-width: 118px;
    height: 36px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: var(--fs-sm);
    font-weight: 500;
    justify-content: center;
    white-space: nowrap;
  }

  .plus-btn {
    width: 48px;
    height: 34px;
    padding: 0;
    border-radius: 999px;
    background: rgba(115, 120, 128, 0.45);
  }

  .plus-btn i,
  .plus-btn svg,
  .audio-toggle-btn i,
  .audio-toggle-btn svg {
    width: 16px;
    height: 16px;
    stroke-width: 2.4;
  }

  .audio-toggle-btn {
    width: 48px;
    height: 34px;
    padding: 0;
    border-radius: 999px;
    background: rgba(115, 120, 128, 0.45);
  }

  .slider-dots {
    gap: 8px;
    margin-top: 2px;
  }

  .slider-dots span {
    width: 12px;
    height: 5px;
    background: rgba(255, 255, 255, 0.34);
  }

  .slider-dots .active {
    width: 32px;
    background: rgba(255, 255, 255, 0.2);
  }

  .recently-updated-section {
    padding-bottom: 20px;
  }

  .popular-movies-section {
    padding-bottom: 92px;
  }
}

@media (max-width: 380px) {
  .hero {
    height: 470px;
  }

  .trending-row,
  .popular-movies-row {
    gap: 10px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .recently-updated-section {
    padding-left: 8px;
    padding-right: 8px;
  }

  .recent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 8px;
  }
}

@media (min-width: 768px) {
  body {
    display: block;
    background: #000;
  }

  .phone {
    width: 100%;
    min-height: 100vh;
    border: 0;
    padding-bottom: 0;
    background: #000;
  }

  .hero {
    height: 580px;
  }

  .hero-bg,
  .hero-mask-image img {
    object-position: center 14%;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8, 9, 12, 0.3) 0%, rgba(11, 13, 18, 0.44) 50%, rgba(0, 0, 0, 0.96) 78%, #000 100%),
      linear-gradient(90deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.18) 38%, rgba(0, 0, 0, 0.4) 100%);
  }

  .topbar {
    display: none;
  }

  .pc-header {
    position: relative;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 74px;
    padding: 2px 44px 0;
    user-select: none;
  }

  .pc-header-left,
  .pc-header-right {
    display: flex;
    align-items: center;
  }

  .pc-header-left {
    gap: 10px;
    min-width: 0;
  }

  .pc-header-right {
    gap: 12px;
  }

  .pc-header-btn {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(255, 255, 255, 0.01);
    cursor: pointer;
    transition: background-color 0.25s ease, backdrop-filter 0.25s ease;
  }

  .pc-header-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
  }

  .pc-header-btn svg,
  .pc-header-btn i {
    width: 21px;
    height: 21px;
    stroke-width: 1.9;
  }

  .pc-header-btn[aria-label="Notifications"] svg,
  .pc-header-btn[aria-label="Login"] svg {
    width: 21px;
    height: 21px;
  }

  .pc-brand {
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
  }

  .pc-brand .logo {
    width: 186px;
    height: 37px;
  }

  .pc-searchbar {
    width: 380px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(122, 124, 135, 0.25);
    color: rgba(234, 237, 242, 0.68);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    text-align: left;
    backdrop-filter: blur(9px);
    cursor: pointer;
  }

  .pc-searchbar i,
  .pc-searchbar svg {
    width: 16px;
    height: 16px;
    color: rgba(234, 237, 242, 0.75);
    flex-shrink: 0;
  }

  .hero-stack {
    padding: 0 36px 16px;
    gap: 12px;
  }

  .hero-stack::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 180px;
    z-index: -2;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.88) 72%, #000 100%);
  }

  .hero-linear-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, transparent 18%);
  }

  .hero-inner {
    max-width: 900px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero-left {
    gap: 10px;
    max-width: 900px;
  }

  .hero-logo-wrap {
    width: auto;
    height: auto;
    min-height: 62px;
  }

  .hero-title-text {
    font-size: var(--fs-3xl);
    max-width: 560px;
    text-align: left;
  }

  .hero-logo-wrap img {
    max-width: 380px;
    width: 100%;
    height: auto;
    object-position: left bottom;
  }

  .hero-desc {
    max-width: 760px;
    font-size: var(--fs-lg);
    font-weight: 400;
    line-height: 1.4;
    color: rgba(226, 230, 236, 0.9);
    -webkit-line-clamp: 2;
  }

  .meta-row {
    gap: 8px;
  }

  .pill {
    height: 30px;
    line-height: 30px;
    border-radius: 999px;
    padding: 0 12px;
    font-size: var(--fs-sm);
    font-weight: 500;
    background: rgba(109, 113, 121, 0.5);
  }

  .hero-actions {
    gap: 8px;
  }

  .watch-btn {
    height: 36px;
    border-radius: 999px;
    padding: 0 16px;
    font-size: var(--fs-base);
    font-weight: 500;
  }

  .plus-btn {
    width: 40px;
    height: 36px;
    background: rgba(98, 99, 103, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.09);
  }

  .plus-btn i,
  .plus-btn svg,
  .audio-toggle-btn i,
  .audio-toggle-btn svg {
    width: 14px;
    height: 14px;
  }

  .audio-toggle-btn {
    width: 40px;
    height: 36px;
    border-radius: 999px;
    background: rgba(98, 99, 103, 0.34);
    border: 1px solid rgba(255, 255, 255, 0.09);
  }

  .slider-dots {
    display: none;
  }

  .hero::before,
  .hero::after {
    position: absolute;
    z-index: 3;
    top: 360px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(81, 85, 92, 0.35);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 24px;
    line-height: 1;
    backdrop-filter: blur(4px);
  }

  .hero::before {
    content: "\2039";
    right: 88px;
  }

  .hero::after {
    content: "\203A";
    right: 36px;
  }

  .dive-section {
    display: none;
  }

  .pc-dive-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    padding: 8px 36px 0;
    margin-bottom: 0;
  }

  .pc-dive-head {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
  }

  .pc-dive-title {
    font-size: var(--fs-3xl);
    font-weight: 600;
    line-height: 1.2;
  }

  .pc-dive-arrow {
    margin-left: auto;
    color: #a8b0bc;
    width: 24px;
    height: 24px;
  }

  .pc-dive-scroller-wrap {
    position: relative;
    width: 100%;
  }

  .pc-dive-fade-right {
    opacity: 0;
  }

  .pc-dive-scroller {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 0 6px;
    cursor: grab;
    scroll-snap-type: x proximity;
  }

  .pc-dive-scroller::-webkit-scrollbar {
    display: none;
  }

  .pc-dive-scroller:active {
    cursor: grabbing;
  }

  .pc-dive-card {
    width: 454px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px;
    border-radius: 18px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    scroll-snap-align: start;
  }

  .pc-dive-card:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  }

  .pc-dive-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
  }

  .pc-dive-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease, filter 0.25s ease;
  }

  .pc-dive-card:hover .pc-dive-thumb img {
    transform: scale(1.06);
    filter: brightness(0.75);
  }

  .pc-dive-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.2s ease;
  }

  .pc-dive-card:hover .pc-dive-play {
    opacity: 1;
  }

  .pc-dive-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 6px;
    padding: 10px 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.26), transparent 45%);
  }

  .pc-dive-time {
    font-size: var(--fs-sm);
    font-weight: 500;
    line-height: 1;
    padding: 6px 8px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.7);
  }

  .pc-dive-progress {
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.25);
    overflow: hidden;
  }

  .pc-dive-progress-fill {
    height: 100%;
    background: #fff;
    border-radius: 999px;
  }

  .pc-dive-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .pc-dive-name {
    font-size: var(--fs-lg);
    color: #a8b0bc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .pc-dive-episode {
    font-size: var(--fs-2xl);
    line-height: 1.1;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .section-link {
    padding: 0;
    gap: 10px;
  }

  .section-title {
    font-size: var(--fs-3xl);
    font-weight: 600;
    line-height: 1.12;
  }

  .section-link-icon {
    display: none;
  }

  .trending-section {
    display: none;
  }

  .pc-trending-section {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 16px;
    padding: 30px 44px 24px;
  }

  .pc-trending-head {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
  }

  .pc-trending-title {
    font-size: var(--fs-3xl);
    font-weight: 600;
    line-height: 1.2;
  }

  .pc-trending-arrow {
    margin-left: auto;
    color: #a8b0bc;
    width: 24px;
    height: 24px;
  }

  .pc-trending-scroller-wrap {
    position: relative;
    width: 100%;
  }

  .pc-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    z-index: 2;
    pointer-events: none;
  }

  .pc-fade-left {
    left: 0;
    background: linear-gradient(90deg, #000 0%, transparent 100%);
    opacity: 0;
  }

  .pc-fade-right {
    right: 0;
    background: linear-gradient(270deg, #000 0%, transparent 100%);
    opacity: 1;
  }

  .pc-trending-scroller {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    padding: 4px 0;
    cursor: grab;
    scroll-snap-type: x proximity;
  }

  .pc-trending-scroller::-webkit-scrollbar {
    display: none;
  }

  .pc-trending-scroller:active {
    cursor: grabbing;
  }

  .pc-trend-card {
    width: 198px;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    scroll-snap-align: start;
  }

  .pc-trend-cover {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1.4;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
  }

  .pc-trend-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .pc-rating-badge {
    position: absolute;
    right: 8px;
    top: 8px;
    height: 24px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffd24a;
    font-size: var(--fs-sm);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 9px;
  }

  .pc-trend-meta {
    display: flex;
    justify-content: space-between;
    font-size: var(--fs-base);
    color: #a8b0bc;
    font-weight: 400;
  }

  .pc-trend-name {
    font-size: var(--fs-base);
    line-height: 1.35;
    color: #eef2f7;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .recently-updated-section {
    padding: 22px 44px 28px;
  }

  .recent-grid {
    grid-template-columns: repeat(auto-fill, minmax(198px, 198px));
    justify-content: space-between;
    gap: 18px 14px;
  }

  .recent-name {
    font-size: var(--fs-sm);
  }

  .recent-page-btn {
    height: 36px;
    min-width: 84px;
    font-size: var(--fs-base);
  }

  .recent-page-indicator {
    font-size: var(--fs-base);
  }

  .popular-movies-section {
    padding: 16px 0 24px;
  }

  .popular-movies-row {
    gap: 22px;
    padding: 12px 44px 4px;
  }

  .popular-movies-row .trend-card {
    width: 198px;
  }

  .fixed {
    display: none;
  }
}

.sr-only {
  position: absolute;
  width: 0.0625rem;
  height: 0.0625rem;
  padding: 0;
  margin: -0.0625rem;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.search-modal-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(8, 11, 16, 0.55);
  backdrop-filter: blur(0.95rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  z-index: 120;
}

.search-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-modal-overlay[data-state="open"] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-modal {
  width: min(31rem, 100%);
  background: linear-gradient(160deg, rgba(13, 13, 14, 0.96), rgba(7, 7, 8, 0.95));
  border: 0.0625rem solid rgba(255, 255, 255, 0.12);
  border-radius: 0.95rem;
  box-shadow: 0 1.8rem 4rem rgba(0, 0, 0, 0.56);
  padding: 0;
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.28s ease, opacity 0.28s ease;
  min-height: 9.6rem;
}

.search-modal-overlay.is-open .search-modal {
  transform: scale(1);
  opacity: 1;
}

.search-modal-overlay[data-state="open"] .search-modal {
  transform: scale(1);
  opacity: 1;
}

.search-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 130;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
  opacity: 0.88;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

.search-modal-close:hover {
  opacity: 1;
  transform: scale(1.05);
}

@media (min-width: 80rem) {
  .search-modal-close {
    opacity: 0;
  }

  .group-dialog-overlay:hover .search-modal-close {
    opacity: 1;
  }
}

.search-modal-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  padding: 0.62rem 0.82rem;
}

.search-modal-top i {
  color: rgba(255, 255, 255, 0.82);
}

.search-modal-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.96rem;
  color: #f7f7f8;
}

.search-modal-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.search-modal-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: background-color 0.24s ease, box-shadow 0.24s ease;
}

.search-modal-filter:hover {
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0.9rem rgba(255, 255, 255, 0.1);
}

.search-modal-results {
  margin-top: 0;
  max-height: 17.5rem;
  overflow-y: auto;
  display: none;
  flex-direction: column;
  gap: 0.08rem;
  padding: 0.28rem;
}

.search-modal.has-query .search-modal-results {
  display: flex;
}

.search-empty-state {
  min-height: 4.8rem;
  display: grid;
  place-items: center;
  padding: 1rem 0.8rem 1.1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.9rem;
  font-size: clamp(0.9rem, 1.2vw, 1.22rem);
  line-height: 1.3;
}

.search-modal.has-query .search-empty-state {
  display: none;
}

.search-no-results {
  display: none;
  min-height: 6rem;
  place-items: center;
  text-align: center;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.95rem;
  padding: 1rem;
}

.search-modal.has-query.no-results .search-no-results {
  display: grid;
}

.search-result-item {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  background: transparent;
  border: 0;
  border-radius: 0.58rem;
  color: #ececec;
  font-size: 0.9rem;
  padding: 0.42rem;
  cursor: pointer;
  transition: background-color 0.22s ease, box-shadow 0.22s ease;
}

.search-result-item:hover {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 1.2rem rgba(90, 128, 255, 0.16);
}

.search-result-poster {
  width: 2.65rem;
  height: 3.75rem;
  border-radius: 0.58rem;
  object-fit: cover;
  flex-shrink: 0;
}

.search-result-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.search-result-title {
  color: #f3f4f7;
  font-size: 0.9rem;
  line-height: 1.25;
  font-weight: 500;
}

.search-result-meta {
  color: #afb2bb;
  font-size: 0.72rem;
  line-height: 1.3;
}

.search-result-season {
  color: #d7d8df;
  font-size: 0.74rem;
  line-height: 1.3;
}

.search-modal-results::-webkit-scrollbar {
  width: 0.35rem;
}

.search-modal-results::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.28);
  border-radius: 999rem;
}

@media (max-width: 36rem) {
  .search-modal-overlay {
    padding: 0.75rem;
  }

  .search-modal {
    width: min(26.5rem, 100%);
    border-radius: 0.85rem;
    padding: 0;
  }

  .search-modal-results {
    max-height: 13rem;
  }
}
