* {
  box-sizing: border-box;
}

:root {
  --bg: #f8fafc;
  --paper: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --sky: #0284c7;
  --sky-dark: #0369a1;
  --sky-soft: #e0f2fe;
  --slate: #0f172a;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  --radius: 22px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  width: min(1180px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--sky-dark);
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  border-radius: 12px;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  box-shadow: 0 10px 22px rgba(2, 132, 199, 0.28);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.nav-links > a,
.nav-dropdown > button {
  border: 0;
  background: transparent;
  color: #334155;
  cursor: pointer;
  font-weight: 650;
  padding: 22px 0;
}

.nav-links a.active,
.nav-links > a:hover,
.nav-dropdown > button:hover {
  color: var(--sky);
}

.nav-dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: 60px;
  right: 0;
  min-width: 190px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a {
  display: block;
  padding: 9px 12px;
  border-radius: 12px;
  color: #475569;
}

.dropdown-panel a:hover {
  color: var(--sky-dark);
  background: var(--sky-soft);
}

.nav-search {
  width: 300px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

.nav-search input,
.mobile-search input,
.big-search input,
.inline-filter input {
  width: 100%;
  border: 1px solid #cbd5e1;
  color: var(--ink);
  background: #ffffff;
  outline: 0;
  transition: 0.2s ease;
}

.nav-search input,
.mobile-search input {
  height: 40px;
  border-radius: 999px;
  padding: 0 16px;
}

.nav-search input:focus,
.mobile-search input:focus,
.big-search input:focus,
.inline-filter input:focus {
  border-color: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.16);
}

.nav-search button,
.mobile-search button,
.big-search button {
  border: 0;
  color: #ffffff;
  background: var(--sky);
  cursor: pointer;
  font-weight: 700;
  transition: 0.2s ease;
}

.nav-search button,
.mobile-search button {
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
}

.nav-search button:hover,
.mobile-search button:hover,
.big-search button:hover,
.primary-btn:hover {
  background: var(--sky-dark);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: var(--sky-dark);
  font-size: 26px;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.mobile-panel.open {
  display: block;
}

.mobile-search {
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto;
  display: flex;
  gap: 8px;
}

.mobile-links {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mobile-links a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #334155;
  background: #f1f5f9;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  padding: 72px 0;
  color: #ffffff;
  background: linear-gradient(135deg, #020617 0%, #0f172a 38%, #075985 100%);
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(16px);
  opacity: 0.34;
  pointer-events: none;
}

.hero-glow.one {
  width: 420px;
  height: 420px;
  left: -120px;
  top: -120px;
  background: #38bdf8;
}

.hero-glow.two {
  width: 520px;
  height: 520px;
  right: -160px;
  bottom: -180px;
  background: #0ea5e9;
}

.hero-slides {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: 500px;
  margin: 0 auto;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  align-items: center;
  gap: 42px;
  opacity: 0;
  transform: translateX(24px);
  pointer-events: none;
  transition: 0.5s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero-copy h1 {
  margin: 16px 0 18px;
  font-size: clamp(42px, 6vw, 74px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero-copy p {
  margin: 0;
  max-width: 620px;
  color: #dbeafe;
  font-size: 18px;
}

.hero-meta {
  margin-top: 18px;
  color: #bae6fd;
  font-weight: 700;
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.2s ease;
}

.primary-btn {
  color: #ffffff;
  background: var(--sky);
  box-shadow: 0 18px 36px rgba(2, 132, 199, 0.28);
}

.ghost-btn {
  color: #e0f2fe;
  border: 1px solid rgba(224, 242, 254, 0.48);
  background: rgba(255, 255, 255, 0.08);
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.hero-image {
  position: relative;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.38);
  aspect-ratio: 3 / 4;
  background: rgba(255, 255, 255, 0.08);
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.08), rgba(2, 6, 23, 0.44));
}

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

.hero-dots {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto 0;
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 38px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
}

.hero-dots button.active {
  background: #ffffff;
}

.section-block {
  width: min(1180px, calc(100% - 32px));
  margin: 56px auto 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-heading.local {
  margin-top: 0;
}

.section-heading.compact {
  display: block;
}

.section-heading p,
.page-head > p,
.channel-copy > p,
.rank-head p,
.search-copy p,
.category-panel > div > p {
  margin: 0 0 8px;
  color: var(--sky);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading h2,
.rank-head h2,
.search-copy h2,
.story-card h2,
.tag-box h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.03em;
}

.section-heading > a,
.rank-head a,
.panel-link {
  color: var(--sky-dark);
  font-weight: 800;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  align-items: center;
  gap: 28px;
  padding: 30px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.search-copy p:last-child {
  margin: 8px 0 0;
  color: var(--muted);
}

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

.big-search input {
  min-height: 58px;
  border-radius: 999px;
  padding: 0 22px;
  font-size: 16px;
}

.big-search button {
  min-width: 134px;
  border-radius: 999px;
  padding: 0 24px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 24px;
  color: #ffffff;
  background: #0f172a;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.52;
  transition: 0.3s ease;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.88));
}

.category-card:hover img {
  transform: scale(1.06);
  opacity: 0.68;
}

.category-card span,
.category-card em {
  position: relative;
  z-index: 1;
}

.category-card span {
  font-size: 20px;
  font-weight: 900;
}

.category-card em {
  margin-top: 6px;
  color: #dbeafe;
  font-size: 13px;
  font-style: normal;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  transition: 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 28px 54px rgba(15, 23, 42, 0.14);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #e2e8f0;
}

.poster-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.28s ease;
}

.movie-card:hover .poster-link img {
  transform: scale(1.05);
}

.poster-year {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(2, 6, 23, 0.68);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.movie-card-body {
  padding: 16px;
}

.movie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.movie-tags span {
  padding: 4px 8px;
  border-radius: 999px;
  color: #0369a1;
  background: #e0f2fe;
  font-size: 12px;
  font-weight: 800;
}

.movie-card h3 {
  margin: 12px 0 8px;
  font-size: 18px;
  line-height: 1.32;
}

.movie-card h3 a:hover {
  color: var(--sky);
}

.movie-card p {
  min-height: 66px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.movie-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 14px;
  color: #64748b;
  font-size: 13px;
}

.movie-card-foot a {
  color: var(--sky-dark);
  font-weight: 900;
  white-space: nowrap;
}

.rank-panel {
  position: sticky;
  top: 92px;
  padding: 22px;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.rank-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.rank-list {
  display: grid;
  gap: 12px;
}

.rank-list.wide {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rank-item {
  display: grid;
  grid-template-columns: 34px 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  transition: 0.2s ease;
}

.rank-item:hover {
  border-color: #7dd3fc;
  transform: translateY(-2px);
}

.rank-num {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  font-size: 13px;
  font-weight: 900;
}

.rank-item img {
  width: 58px;
  height: 76px;
  border-radius: 12px;
  object-fit: cover;
  background: #e2e8f0;
}

.rank-info {
  min-width: 0;
}

.rank-info strong,
.rank-info em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-info strong {
  font-size: 15px;
}

.rank-info em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.page-head,
.channel-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 42px auto 0;
  border-radius: 32px;
  background: linear-gradient(135deg, #ffffff, #e0f2fe);
  box-shadow: var(--shadow);
}

.page-head {
  padding: 42px;
}

.page-head h1,
.channel-copy h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.page-head p:last-child,
.channel-copy p:last-child {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.library-head,
.ranking-head,
.search-head {
  background: linear-gradient(135deg, #0f172a, #075985);
  color: #ffffff;
}

.library-head p:last-child,
.ranking-head p:last-child,
.search-head p:last-child {
  color: #dbeafe;
}

.inline-filter {
  max-width: 680px;
  margin-top: 24px;
}

.inline-filter.wide {
  max-width: 820px;
}

.inline-filter input {
  min-height: 54px;
  border-radius: 999px;
  padding: 0 20px;
}

.channel-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(380px, 1.15fr);
  gap: 28px;
  padding: 36px;
}

.channel-feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.compact-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 2px 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.compact-card img {
  grid-row: span 2;
  width: 72px;
  height: 92px;
  border-radius: 14px;
  object-fit: cover;
  background: #e2e8f0;
}

.compact-card span {
  overflow: hidden;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-card em {
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-list {
  width: min(1180px, calc(100% - 32px));
  margin: 30px auto 0;
  display: grid;
  gap: 20px;
}

.category-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 1.18fr);
  gap: 24px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.category-panel h2 {
  margin: 0;
  font-size: 28px;
}

.category-panel p:not(:first-child) {
  color: var(--muted);
}

.category-samples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 58px;
  color: #ffffff;
  background: #020617;
}

.detail-bg {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  filter: blur(8px);
  transform: scale(1.04);
}

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

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.7));
}

.detail-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: #bae6fd;
  font-size: 14px;
}

.breadcrumbs a:hover {
  color: #ffffff;
}

.detail-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 28px 68px rgba(0, 0, 0, 0.44);
  aspect-ratio: 3 / 4;
  background: rgba(255, 255, 255, 0.12);
}

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

.detail-copy h1 {
  margin: 16px 0;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.detail-lead {
  max-width: 780px;
  margin: 0;
  color: #dbeafe;
  font-size: 18px;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 0;
}

.detail-meta div {
  padding: 14px;
  border: 1px solid rgba(186, 230, 253, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.detail-meta dt {
  color: #bae6fd;
  font-size: 12px;
}

.detail-meta dd {
  margin: 4px 0 0;
  font-weight: 800;
}

.watch-section {
  scroll-margin-top: 90px;
}

.watch-panel {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #020617;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.video-frame {
  width: 100%;
  height: 100%;
  display: block;
  background: #020617;
  object-fit: contain;
}

.player-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: #ffffff;
  background: #020617;
  transition: 0.24s ease;
}

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

.player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(14, 165, 233, 0.24), rgba(2, 6, 23, 0.48));
}

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

.play-circle {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  padding-left: 6px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  font-size: 38px;
  box-shadow: 0 22px 56px rgba(2, 132, 199, 0.42);
  transform: translate(-50%, -50%);
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 280px;
  gap: 20px;
  align-items: start;
}

.story-card,
.tag-box {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.story-card p {
  margin: 14px 0 0;
  color: #334155;
}

.tag-box div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-box a {
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--sky-dark);
  background: var(--sky-soft);
  font-size: 13px;
  font-weight: 800;
}

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

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

.site-footer {
  margin-top: 72px;
  color: #cbd5e1;
  background: linear-gradient(135deg, #020617, #0f172a 60%, #075985);
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 46px 0 30px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 38px;
}

.footer-brand {
  color: #ffffff;
}

.site-footer p {
  max-width: 440px;
  color: #94a3b8;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 18px;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.24);
  color: #94a3b8;
  font-size: 14px;
}

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

.empty-state {
  grid-column: 1 / -1;
  padding: 30px;
  border: 1px dashed #bae6fd;
  border-radius: 24px;
  color: #0369a1;
  background: #f0f9ff;
  text-align: center;
  font-weight: 800;
}

@media (max-width: 1120px) {
  .nav-links,
  .nav-search {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-slide,
  .search-panel,
  .split-layout,
  .channel-hero,
  .category-panel,
  .detail-layout,
  .content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-slides {
    min-height: 780px;
  }

  .hero-slide {
    align-items: start;
  }

  .hero-image {
    max-width: 420px;
  }

  .rank-panel {
    position: static;
  }

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

@media (max-width: 760px) {
  .nav-wrap {
    width: min(100% - 24px, 1180px);
    height: 62px;
  }

  .brand {
    font-size: 18px;
  }

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

  .hero {
    min-height: 760px;
    padding: 38px 0;
  }

  .hero-slides {
    min-height: 670px;
  }

  .hero-slide {
    gap: 24px;
  }

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-copy p,
  .detail-lead {
    font-size: 16px;
  }

  .hero-image {
    max-width: 310px;
    border-radius: 24px;
  }

  .section-block,
  .page-head,
  .channel-hero,
  .category-list,
  .detail-shell {
    width: min(100% - 24px, 1180px);
  }

  .page-head,
  .channel-hero {
    padding: 28px;
    border-radius: 24px;
  }

  .section-heading,
  .rank-head {
    align-items: start;
    flex-direction: column;
  }

  .big-search,
  .mobile-search {
    flex-direction: column;
  }

  .mobile-search button,
  .big-search button {
    min-height: 48px;
  }

  .category-grid,
  .movie-grid,
  .home-grid,
  .library-grid,
  .related-grid,
  .top-three,
  .rank-list.wide,
  .category-samples,
  .channel-feature {
    grid-template-columns: 1fr;
  }

  .detail-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-poster {
    max-width: 260px;
  }

  .watch-panel {
    border-radius: 20px;
  }

  .play-circle {
    width: 72px;
    height: 72px;
    font-size: 30px;
  }
}
