:root {
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --cyan-600: #0891b2;
  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --rose-500: #f43f5e;
  --orange-500: #f97316;
  --amber-400: #fbbf24;
  --white: #ffffff;
  --shadow-lg: 0 18px 45px rgba(15, 23, 42, 0.14);
  --shadow-xl: 0 28px 65px rgba(15, 23, 42, 0.22);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--slate-900);
  background: linear-gradient(180deg, var(--slate-50), var(--white));
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

img,
video {
  display: block;
  max-width: 100%;
}

.container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  color: var(--white);
  background: linear-gradient(90deg, var(--slate-900), var(--slate-800), var(--slate-900));
  box-shadow: 0 10px 35px rgba(2, 6, 23, 0.24);
}

.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-500));
  box-shadow: 0 12px 30px rgba(6, 182, 212, 0.35);
}

.brand-mark.small {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.brand-name {
  font-size: 20px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  position: relative;
  padding: 20px 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 13px;
  width: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--cyan-400);
  transition: width 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--cyan-400);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: var(--white);
}

.mobile-nav {
  display: none;
  padding: 12px 16px 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--slate-800);
}

.mobile-nav.is-open {
  display: grid;
  gap: 8px;
}

.mobile-link {
  padding: 10px 12px;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.88);
}

.mobile-link:hover,
.mobile-link.is-active {
  color: var(--cyan-400);
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--slate-900), var(--slate-800), var(--slate-950));
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

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

.hero-cover {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.56), rgba(2, 6, 23, 0.18));
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: var(--white);
  pointer-events: none;
}

.hero-content > * {
  max-width: 760px;
  pointer-events: auto;
}

.hero-kicker,
.section-heading span,
.ranking-hero em,
.sub-hero span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 14px;
  border-radius: 999px;
  color: var(--white);
  background: var(--cyan-500);
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
}

.hero-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-meta span,
.detail-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
}

.hero-actions,
.sub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-button,
.ghost-button,
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan-500), var(--blue-600));
  box-shadow: 0 16px 35px rgba(8, 145, 178, 0.34);
}

.ghost-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.primary-button:hover,
.ghost-button:hover,
.text-button:hover {
  transform: translateY(-2px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.24);
}

.hero-arrow.prev {
  left: 24px;
}

.hero-arrow.next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 28px;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 32px;
  background: var(--white);
}

.home-search {
  margin-top: -38px;
  position: relative;
  z-index: 12;
}

.search-panel {
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
}

.search-label {
  display: block;
  margin-bottom: 10px;
  color: var(--slate-700);
  font-size: 14px;
  font-weight: 700;
}

.search-row {
  display: flex;
  gap: 12px;
}

.search-row input {
  flex: 1;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(148, 163, 184, 0.38);
  border-radius: 16px;
  outline: none;
}

.search-row input:focus {
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
}

.clear-search,
.filter-row button {
  border: 0;
  border-radius: 14px;
  color: var(--slate-700);
  background: var(--slate-100);
  cursor: pointer;
}

.clear-search {
  padding: 0 16px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.filter-row button {
  min-height: 34px;
  padding: 0 12px;
  font-size: 13px;
}

.filter-row button.is-active,
.clear-search:hover,
.filter-row button:hover {
  color: var(--white);
  background: var(--cyan-600);
}

.content-section {
  padding: 72px 0;
}

.wide-section {
  padding: 1px 0;
}

.cyan-bg {
  background: linear-gradient(135deg, #ecfeff, #eff6ff);
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading span {
  color: var(--cyan-600);
  background: #cffafe;
}

.section-heading h2 {
  margin: 12px 0 8px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 0;
  max-width: 720px;
  color: var(--slate-600);
  line-height: 1.8;
}

.movie-grid,
.compact-grid,
.channel-grid,
.category-overview-grid,
.ranking-list-grid {
  display: grid;
  gap: 24px;
}

.movie-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.movie-grid.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.all-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.compact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.channel-grid,
.category-overview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.movie-card,
.compact-card,
.list-card,
.channel-card,
.category-overview-card,
.text-card,
.info-card {
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.movie-card-link,
.compact-card-link,
.list-card-link,
.category-overview-card a {
  display: block;
  height: 100%;
}

.poster-frame,
.compact-card-link,
.list-poster,
.channel-card,
.category-thumbs {
  position: relative;
  overflow: hidden;
}

.poster-frame {
  display: block;
  aspect-ratio: 4 / 3;
}

.poster-frame img,
.compact-card img,
.list-poster img,
.channel-card img,
.category-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.movie-card:hover img,
.compact-card:hover img,
.list-card:hover img,
.channel-card:hover img,
.category-overview-card:hover img {
  transform: scale(1.08);
}

.poster-gradient,
.compact-shade,
.channel-card span,
.ranking-hero > span,
.detail-hero > span {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.82), rgba(2, 6, 23, 0.08));
}

.poster-play,
.play-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.poster-play {
  width: 62px;
  height: 62px;
  font-size: 22px;
}

.play-circle {
  width: 54px;
  height: 54px;
  font-size: 19px;
}

.movie-card:hover .poster-play,
.compact-card:hover .play-circle,
.channel-card:hover .play-circle {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.poster-year,
.compact-year {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 9px;
  color: var(--white);
  background: rgba(2, 6, 23, 0.68);
  font-size: 12px;
  backdrop-filter: blur(8px);
}

.poster-type {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: 9px;
  color: var(--white);
  background: var(--cyan-500);
  font-size: 12px;
  font-weight: 700;
}

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 30px;
  padding: 0 9px;
  border-radius: 10px;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
  font-size: 12px;
  font-weight: 900;
}

.card-body {
  display: grid;
  gap: 9px;
  padding: 16px;
}

.card-body strong {
  color: var(--slate-900);
  font-size: 17px;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.card-body em {
  min-height: 42px;
  color: var(--slate-600);
  font-size: 14px;
  line-height: 1.55;
  font-style: normal;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--slate-500);
  font-size: 12px;
}

.card-genre {
  margin-left: auto;
  color: var(--cyan-600);
  font-weight: 700;
}

.movie-card:hover .card-body strong,
.list-card:hover strong {
  color: var(--cyan-600);
}

.compact-card-link {
  aspect-ratio: 16 / 9;
  border-radius: 18px;
}

.compact-title {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 13px;
  z-index: 2;
  color: var(--white);
  font-weight: 800;
  line-height: 1.35;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: start;
  padding: 72px 0;
}

.rank-panel {
  position: sticky;
  top: 88px;
  padding: 24px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.rank-list,
.ranking-list-grid {
  display: grid;
  gap: 10px;
}

.list-card {
  box-shadow: none;
  border: 1px solid rgba(148, 163, 184, 0.16);
}

.list-card-link {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
}

.list-poster {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
}

.list-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.list-body strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-body em {
  color: var(--slate-600);
  font-size: 14px;
  font-style: normal;
  line-height: 1.55;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.list-body span {
  color: var(--slate-500);
  font-size: 12px;
}

.text-button {
  margin-top: 18px;
  color: var(--cyan-600);
  background: #ecfeff;
}

.channel-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
  color: var(--white);
}

.channel-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.channel-card span {
  z-index: 1;
}

.channel-card strong,
.channel-card em {
  position: relative;
  z-index: 2;
}

.channel-card strong {
  font-size: 28px;
  font-weight: 900;
}

.channel-card em {
  max-width: 520px;
  margin-top: 8px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.65;
}

.sub-hero,
.ranking-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--slate-900), var(--slate-800), var(--slate-950));
}

.sub-hero {
  padding: 86px 0;
}

.sub-hero p,
.ranking-hero p,
.detail-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.8;
}

.sub-hero h1,
.ranking-hero h1,
.detail-hero h1 {
  margin: 16px 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.category-overview-card a {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  min-height: 210px;
}

.category-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: var(--slate-900);
}

.category-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px;
}

.category-copy span {
  color: var(--cyan-600);
  font-weight: 800;
}

.category-copy h2 {
  margin: 8px 0 10px;
  font-size: 25px;
}

.category-copy p {
  margin: 0;
  color: var(--slate-600);
  line-height: 1.75;
}

.ranking-hero {
  height: 450px;
}

.ranking-hero > img,
.detail-hero > img {
  position: absolute;
  inset: 0;
}

.ranking-hero .container,
.detail-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detail-hero {
  height: 520px;
}

.detail-hero > span,
.ranking-hero > span {
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.95), rgba(2, 6, 23, 0.58), rgba(2, 6, 23, 0.18));
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--cyan-400);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: start;
  padding: 54px 0 0;
}

.detail-main,
.detail-side {
  min-width: 0;
}

.player-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  background: var(--slate-950);
  box-shadow: var(--shadow-xl);
}

.movie-player,
.player-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.movie-player {
  object-fit: contain;
  background: #000000;
}

.player-cover {
  z-index: 3;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
}

.player-cover.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

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

.player-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.76), rgba(2, 6, 23, 0.22));
}

.player-button {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  font-size: 32px;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, background 0.2s ease;
}

.player-cover:hover .player-button {
  background: rgba(6, 182, 212, 0.82);
  transform: translate(-50%, -50%) scale(1.08);
}

.detail-copy,
.info-card,
.text-card {
  padding: 28px;
}

.detail-copy {
  margin-top: 28px;
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.detail-copy h2,
.info-card h2,
.text-card h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.detail-copy p,
.text-card p,
.info-card dd,
.info-card dt {
  color: var(--slate-600);
  line-height: 1.85;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--cyan-600);
  background: #ecfeff;
  font-size: 13px;
  font-weight: 700;
}

.info-card {
  position: sticky;
  top: 88px;
}

.info-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.info-card dt {
  color: var(--slate-900);
  font-weight: 800;
}

.info-card dd {
  margin: 0 0 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.info-card a {
  color: var(--cyan-600);
  font-weight: 800;
}

.text-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  padding: 72px 0;
}

.site-footer {
  margin-top: 72px;
  color: rgba(255, 255, 255, 0.76);
  background: linear-gradient(180deg, var(--slate-900), var(--slate-950));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 32px;
  padding: 48px 0 34px;
}

.footer-grid p {
  max-width: 520px;
  line-height: 1.8;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: 16px;
}

.footer-grid a {
  display: block;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.76);
}

.footer-grid a:hover {
  color: var(--cyan-400);
}

.footer-bottom {
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  font-size: 14px;
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan-500), var(--blue-600));
  box-shadow: var(--shadow-lg);
  cursor: pointer;
}

.back-top.is-visible {
  display: block;
}

.is-filtered {
  display: none !important;
}

@media (max-width: 1100px) {
  .all-grid,
  .movie-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .split-section,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .rank-panel,
  .info-card {
    position: static;
  }
}

@media (max-width: 820px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    height: 540px;
  }

  .hero-arrow {
    display: none;
  }

  .hero-content {
    padding-top: 30px;
  }

  .movie-grid,
  .movie-grid.three-col,
  .all-grid,
  .compact-grid,
  .channel-grid,
  .category-overview-grid,
  .text-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-overview-card a {
    grid-template-columns: 1fr;
  }

  .category-thumbs {
    aspect-ratio: 16 / 7;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .detail-hero,
  .ranking-hero {
    height: 460px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1200px);
  }

  .brand-name {
    font-size: 17px;
  }

  .hero {
    height: 520px;
  }

  .hero h1,
  .detail-hero h1,
  .ranking-hero h1,
  .sub-hero h1 {
    font-size: 36px;
  }

  .hero-meta,
  .detail-meta {
    gap: 8px;
  }

  .search-row {
    flex-direction: column;
  }

  .movie-grid,
  .movie-grid.three-col,
  .all-grid,
  .compact-grid,
  .channel-grid,
  .category-overview-grid,
  .text-layout {
    grid-template-columns: 1fr;
  }

  .list-card-link {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .detail-copy,
  .info-card,
  .text-card {
    padding: 22px;
  }

  .player-frame {
    border-radius: 20px;
  }
}
