:root {
  --bg: #f8fafc;
  --panel: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --soft: #e2e8f0;
  --brand: #14b8a6;
  --brand-dark: #0f766e;
  --brand-soft: rgba(20, 184, 166, 0.14);
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
  --radius: 22px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 42%, #f1f5f9 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(20px);
}

.nav-shell {
  width: min(100% - 32px, var(--max));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand), #22d3ee);
  box-shadow: 0 12px 24px rgba(20, 184, 166, 0.32);
}

.brand-text {
  font-size: 22px;
}

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

.nav-link,
.mobile-link {
  color: #334155;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.quick-search,
.mobile-search {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--soft);
  border-radius: 999px;
  background: #ffffff;
}

.quick-search input,
.mobile-search input {
  width: 210px;
  padding: 10px 14px;
  color: var(--ink);
  border: 0;
  outline: 0;
  background: transparent;
}

.quick-search button,
.mobile-search button,
.primary-btn,
.ghost-btn,
.text-link,
.section-more,
.search-console button {
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.quick-search button,
.mobile-search button,
.primary-btn,
.search-console button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}

.quick-search button,
.mobile-search button {
  padding: 10px 18px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: #f1f5f9;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: #0f172a;
}

.mobile-panel {
  width: min(100% - 32px, var(--max));
  margin: 0 auto 16px;
  padding: 12px;
  border: 1px solid var(--soft);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.mobile-panel[hidden] {
  display: none;
}

.mobile-link {
  display: block;
}

.mobile-search {
  margin-top: 10px;
}

.hero-slider {
  position: relative;
  min-height: 72vh;
  overflow: hidden;
  background: #0f172a;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

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

.hero-slide > img,
.detail-bg,
.category-tile > img,
.category-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide > img.is-empty,
.detail-bg.is-empty,
.category-tile > img.is-empty,
.category-cover img.is-empty,
.movie-card img.is-empty,
.ranking-row img.is-empty,
.rank-card img.is-empty,
.hero-tab img.is-empty,
.detail-poster img.is-empty {
  opacity: 0;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 30%, rgba(20, 184, 166, 0.28), transparent 34%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.78) 48%, rgba(15, 23, 42, 0.22) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 80px 0 130px;
  color: #ffffff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 14px;
  color: #5eead4;
  border: 1px solid rgba(94, 234, 212, 0.28);
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.16);
  font-size: 13px;
  font-weight: 900;
}

.hero-content h1,
.hero-content > h2,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  letter-spacing: -0.06em;
  line-height: 1.05;
}

.hero-content h1,
.hero-content > h2 {
  max-width: 820px;
  font-size: clamp(42px, 6vw, 82px);
}

.hero-title {
  max-width: 720px;
  margin: 12px 0 18px;
  color: #ccfbf1;
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.08;
}

.hero-content p {
  max-width: 650px;
  margin: 0 0 20px;
  color: #dbeafe;
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.8;
}

.hero-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.hero-meta span,
.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  font-size: 13px;
  font-weight: 800;
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-btn,
.ghost-btn,
.text-link,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn {
  box-shadow: 0 15px 30px rgba(15, 118, 110, 0.32);
}

.primary-btn:hover,
.ghost-btn:hover,
.text-link:hover,
.section-more:hover,
.search-console button:hover {
  transform: translateY(-2px);
}

.ghost-btn {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.hero-tabs {
  position: absolute;
  right: max(16px, calc((100vw - var(--max)) / 2));
  bottom: 28px;
  left: max(16px, calc((100vw - var(--max)) / 2));
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.hero-tab {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 10px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.52);
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.hero-tab.is-active {
  border-color: rgba(94, 234, 212, 0.72);
  background: rgba(20, 184, 166, 0.32);
}

.hero-tab img {
  width: 56px;
  height: 42px;
  object-fit: cover;
  border-radius: 12px;
  background: linear-gradient(135deg, #1e293b, #0f766e);
}

.hero-tab span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 800;
}

.content-section,
.rank-section,
.overview-list,
.split-section,
.detail-content {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

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

.section-heading,
.panel-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 26px;
}

.section-heading h2,
.panel-heading h2,
.story-card h2,
.footer-shell h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 950;
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
}

.section-more,
.text-link {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

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

.featured-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  border-color: rgba(20, 184, 166, 0.38);
  box-shadow: var(--shadow);
}

.movie-card > a {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 15%, rgba(20, 184, 166, 0.28), transparent 34%),
    linear-gradient(135deg, #0f172a, #164e63);
}

.movie-card.wide .poster-wrap {
  aspect-ratio: 16 / 9;
}

.poster-wrap img,
.rank-card img,
.ranking-row img,
.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #0f172a, #134e4a);
  transition: transform 0.32s ease, opacity 0.2s ease;
}

.movie-card:hover .poster-wrap img {
  transform: scale(1.08);
}

.poster-glow {
  position: absolute;
  inset: auto 0 0;
  height: 44%;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.78), transparent);
}

.card-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  border-radius: 50%;
  background: rgba(20, 184, 166, 0.88);
  transform: scale(0.94);
  opacity: 0;
  transition: 0.24s ease;
}

.movie-card:hover .card-play {
  opacity: 1;
  transform: scale(1);
}

.rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #ef4444);
  font-weight: 900;
}

.card-body {
  display: flex;
  min-height: 174px;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
}

.card-body strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-body small,
.card-body em,
.rank-info small,
.rank-info em {
  color: var(--muted);
  font-style: normal;
}

.card-body em {
  line-height: 1.55;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.tag-row span,
.detail-tags a {
  padding: 5px 9px;
  color: var(--brand-dark);
  border-radius: 999px;
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 26px;
  padding: 18px 0 42px;
}

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

.category-tile {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  padding: 24px;
  color: #ffffff;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #0f172a, #134e4a);
  box-shadow: var(--shadow);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 10%, rgba(20, 184, 166, 0.32), transparent 36%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.36));
}

.category-tile strong,
.category-tile em,
.category-preview {
  position: relative;
  z-index: 2;
}

.category-tile strong {
  display: block;
  margin-top: 86px;
  font-size: 26px;
  font-weight: 950;
}

.category-tile em {
  display: block;
  margin-top: 8px;
  color: #dbeafe;
  font-style: normal;
  line-height: 1.55;
}

.category-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 18px;
}

.category-preview span {
  max-width: 100%;
  overflow: hidden;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-panel {
  position: sticky;
  top: 96px;
  align-self: start;
  padding: 22px;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.panel-heading a {
  color: var(--brand-dark);
  font-weight: 900;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 32px 56px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ranking-row:hover {
  background: #f0fdfa;
  transform: translateX(4px);
}

.ranking-row > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--brand-dark);
  border-radius: 50%;
  background: var(--brand-soft);
  font-weight: 950;
}

.ranking-row img {
  width: 56px;
  height: 70px;
  border-radius: 12px;
}

.ranking-row strong,
.ranking-row em {
  grid-column: 3;
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-row strong {
  font-weight: 900;
}

.ranking-row em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.page-hero {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 64px 0 34px;
}

.page-hero.compact {
  padding-top: 54px;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(34px, 5vw, 58px);
}

.page-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #64748b;
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--brand-dark);
}

.filter-bar,
.search-console {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.filter-bar input,
.search-console input,
.search-console select {
  min-height: 50px;
  border: 1px solid var(--soft);
  border-radius: 16px;
  background: #ffffff;
  color: var(--ink);
  outline: 0;
}

.filter-bar input {
  width: min(520px, 100%);
  padding: 0 16px;
}

.search-console input {
  flex: 1 1 360px;
  padding: 0 16px;
}

.search-console select {
  flex: 0 0 170px;
  padding: 0 14px;
}

.search-console button {
  min-height: 50px;
  padding: 0 24px;
  border-radius: 16px;
}

.overview-list {
  display: grid;
  gap: 24px;
  padding: 24px 0 64px;
}

.category-overview-card {
  display: grid;
  grid-template-columns: 280px minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: center;
  padding: 20px;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.08);
}

.category-cover {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, #0f172a, #134e4a);
}

.category-copy h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 950;
}

.category-copy p {
  color: var(--muted);
  line-height: 1.75;
}

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

.category-samples .movie-card .card-body {
  min-height: 134px;
}

.rank-section {
  padding: 24px 0 68px;
}

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

.rank-card {
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  transition: 0.24s ease;
}

.rank-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.rank-link {
  display: grid;
  grid-template-columns: 56px 86px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
}

.rank-number {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #ffffff;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand), #22c55e);
  font-weight: 950;
}

.rank-card img {
  width: 86px;
  height: 112px;
  border-radius: 16px;
}

.rank-info {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.rank-info strong {
  font-size: 20px;
  font-weight: 950;
}

.rank-info em {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.6;
}

.search-status {
  margin-bottom: 22px;
  color: var(--muted);
  font-weight: 800;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #0f172a;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 20%, rgba(20, 184, 166, 0.26), transparent 35%);
}

.detail-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.6));
}

.detail-shell {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 38px 0 58px;
}

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

.detail-poster {
  overflow: hidden;
  margin: 0;
  aspect-ratio: 2 / 3;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: linear-gradient(135deg, #0f172a, #0f766e);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.32);
}

.detail-copy h1 {
  max-width: 900px;
  font-size: clamp(34px, 5vw, 64px);
}

.detail-copy p {
  max-width: 820px;
  color: #dbeafe;
  font-size: 18px;
  line-height: 1.85;
}

.detail-copy .detail-meta span {
  background: rgba(255, 255, 255, 0.14);
}

.detail-tags {
  max-width: 820px;
  margin: 20px 0 26px;
}

.detail-tags a {
  color: #ccfbf1;
  border: 1px solid rgba(94, 234, 212, 0.22);
  background: rgba(20, 184, 166, 0.18);
}

.player-section {
  width: min(100% - 32px, var(--max));
  margin: 34px auto 0;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: 28px;
  background: #020617;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.22);
}

.movie-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #020617;
  object-fit: contain;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  color: #ffffff;
  border: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(20, 184, 166, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.68));
  cursor: pointer;
}

.play-overlay[hidden] {
  display: none;
}

.play-overlay span {
  display: grid;
  place-items: center;
  width: clamp(72px, 10vw, 104px);
  height: clamp(72px, 10vw, 104px);
  padding-left: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  box-shadow: 0 20px 48px rgba(20, 184, 166, 0.32);
  font-size: clamp(28px, 5vw, 44px);
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  padding: 34px 0 0;
}

.story-card {
  padding: 26px;
  border: 1px solid rgba(226, 232, 240, 0.86);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

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

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

.site-footer {
  margin-top: 34px;
  color: #cbd5e1;
  background: #0f172a;
}

.footer-shell {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 1fr 1fr;
  gap: 28px;
  padding: 42px 0;
}

.footer-brand {
  color: #ffffff;
  font-size: 24px;
}

.footer-shell p {
  max-width: 520px;
  color: #94a3b8;
  line-height: 1.75;
}

.footer-shell h2 {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 18px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: #5eead4;
}

.footer-bottom {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  color: #94a3b8;
  font-size: 14px;
}

@media (max-width: 1100px) {
  .quick-search {
    display: none;
  }

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

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

  .ranking-panel {
    position: static;
  }

  .category-overview-card {
    grid-template-columns: 240px minmax(0, 1fr);
  }

  .category-samples {
    grid-column: 1 / -1;
  }
}

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

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .hero-slider {
    min-height: 82vh;
  }

  .hero-content {
    padding: 72px 0 180px;
  }

  .hero-tabs {
    grid-template-columns: 1fr;
    max-height: 160px;
    overflow: auto;
  }

  .hero-tab {
    grid-template-columns: 48px minmax(0, 1fr);
  }

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

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

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

  .detail-poster {
    width: min(260px, 72vw);
  }

  .detail-content {
    grid-template-columns: 1fr;
  }

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

  .rank-link {
    grid-template-columns: 42px 72px minmax(0, 1fr);
  }

  .rank-number {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .rank-card img {
    width: 72px;
    height: 96px;
  }

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

  .category-cover {
    min-height: 180px;
  }
}

@media (max-width: 560px) {
  .nav-shell {
    width: min(100% - 24px, var(--max));
    min-height: 66px;
  }

  .brand-text {
    font-size: 19px;
  }

  .content-section,
  .rank-section,
  .overview-list,
  .split-section,
  .detail-content,
  .player-section,
  .page-hero,
  .detail-shell,
  .footer-shell,
  .footer-bottom {
    width: min(100% - 24px, var(--max));
  }

  .hero-content {
    width: min(100% - 24px, var(--max));
  }

  .hero-actions,
  .filter-bar,
  .search-console {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-btn,
  .ghost-btn,
  .section-more,
  .text-link,
  .search-console button {
    width: 100%;
  }

  .featured-grid,
  .movie-grid,
  .category-grid,
  .category-samples {
    grid-template-columns: 1fr;
  }

  .card-body {
    min-height: auto;
  }

  .page-hero h1,
  .detail-copy h1 {
    font-size: 34px;
  }

  .rank-info em,
  .rank-info .tag-row {
    display: none;
  }
}
