:root {
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-200: #fed7aa;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --yellow-50: #fefce8;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 4px 14px rgba(17, 24, 39, 0.08);
  --shadow-md: 0 12px 30px rgba(17, 24, 39, 0.12);
  --shadow-xl: 0 24px 60px rgba(17, 24, 39, 0.18);
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--gray-800);
  background: linear-gradient(135deg, var(--orange-50), var(--amber-50) 48%, var(--yellow-50));
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 247, 237, 0.94), rgba(255, 251, 235, 0.94));
  border-bottom: 1px solid rgba(251, 191, 36, 0.2);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
}

.nav-shell {
  max-width: var(--container);
  height: 68px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 900;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.28);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark,
.footer-brand:hover .brand-mark {
  transform: scale(1.08) rotate(-3deg);
}

.brand-text {
  font-size: 1.25rem;
  background: linear-gradient(90deg, var(--orange-600), var(--amber-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link,
.mobile-link {
  padding: 10px 14px;
  border-radius: 12px;
  color: var(--gray-700);
  font-weight: 700;
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--white);
  background: linear-gradient(90deg, var(--orange-500), var(--amber-500));
  box-shadow: 0 10px 20px rgba(249, 115, 22, 0.2);
}

.header-search,
.mobile-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select,
.home-search-panel input {
  width: 100%;
  border: 1px solid rgba(249, 115, 22, 0.18);
  border-radius: 999px;
  outline: none;
  background: rgba(255, 255, 255, 0.86);
  color: var(--gray-800);
  transition: all 0.2s ease;
}

.header-search input,
.mobile-search input {
  width: 210px;
  padding: 10px 14px;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus,
.home-search-panel input:focus {
  border-color: var(--orange-500);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.header-search button,
.mobile-search button,
.home-search-panel button {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  color: var(--white);
  font-weight: 800;
  background: linear-gradient(90deg, var(--orange-500), var(--amber-500));
  box-shadow: 0 10px 20px rgba(249, 115, 22, 0.18);
}

.menu-toggle {
  display: none;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: var(--orange-600);
  background: var(--orange-100);
  cursor: pointer;
  font-size: 1.35rem;
}

.mobile-panel {
  display: none;
  padding: 12px 22px 18px;
  border-top: 1px solid var(--orange-100);
  background: rgba(255, 255, 255, 0.94);
}

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

.mobile-panel nav {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.hero-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: var(--gray-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.9s ease;
}

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

.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(0, 0, 0, 0.52) 48%, rgba(0, 0, 0, 0.08));
}

.hero-content {
  position: absolute;
  inset: 0;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  color: var(--white);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #facc15;
  font-size: 1.08rem;
  font-weight: 800;
}

.hero-content h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero-content p {
  max-width: 680px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.7;
}

.hero-tags,
.tag-row,
.link-cloud,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.tag-row span,
.link-cloud a,
.link-cloud span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  line-height: 1;
}

.hero-tags span {
  padding: 10px 15px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
}

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

.primary-button,
.ghost-button,
.wide-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: var(--white);
  background: linear-gradient(90deg, var(--orange-500), var(--amber-500));
  box-shadow: 0 16px 30px rgba(249, 115, 22, 0.28);
}

.primary-button:hover,
.ghost-button:hover,
.wide-link:hover {
  transform: translateY(-2px) scale(1.02);
}

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

.primary-button.light {
  color: var(--orange-600);
  background: var(--white);
}

.ghost-button.light {
  color: var(--white);
  border-color: var(--white);
}

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

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.48);
  transition: all 0.25s ease;
}

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

.home-search-panel,
.content-section,
.footer-grid,
.footer-bottom {
  width: min(var(--container), calc(100% - 44px));
  margin: 0 auto;
}

.home-search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 24px;
  align-items: center;
  margin-top: -48px;
  position: relative;
  z-index: 5;
  padding: 28px;
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(16px);
}

.home-search-panel h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

.home-search-panel p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.7;
}

.home-search-panel form {
  display: flex;
  gap: 10px;
}

.home-search-panel input {
  padding: 14px 18px;
}

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

.content-section.compact {
  padding: 60px 0;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}

.section-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange-100), var(--amber-100));
  box-shadow: var(--shadow-sm);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.section-heading p {
  margin: 4px 0 0;
  color: var(--gray-600);
}

.feature-grid,
.poster-grid,
.category-tile-grid,
.category-card-grid {
  display: grid;
  gap: 22px;
}

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

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

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

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

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

.movie-card {
  min-width: 0;
}

.movie-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card-link:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.movie-poster {
  position: relative;
  overflow: hidden;
  display: block;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, var(--orange-200), var(--amber-100));
}

.feature-grid .movie-poster {
  aspect-ratio: 16 / 9;
}

.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.movie-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  background: var(--orange-500);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.movie-shade {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0));
}

.movie-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}

.movie-card-body strong {
  color: var(--gray-800);
  font-size: 1.08rem;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.movie-card-link:hover strong {
  color: var(--orange-600);
}

.movie-card-body em {
  color: var(--gray-500);
  font-size: 0.88rem;
  font-style: normal;
}

.movie-line {
  color: var(--gray-600);
  font-size: 0.92rem;
  line-height: 1.55;
}

.tag-row span {
  padding: 7px 10px;
  color: var(--orange-600);
  font-size: 0.78rem;
  font-weight: 700;
  background: var(--orange-100);
}

.category-band {
  background: linear-gradient(90deg, rgba(255, 237, 213, 0.9), rgba(254, 243, 199, 0.9));
}

.category-tile,
.category-card,
.about-card,
.text-card,
.side-card,
.player-card,
.ranking-panel {
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.category-tile,
.category-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  text-align: center;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile:hover,
.category-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-md);
}

.category-emoji,
.category-card span:first-child {
  font-size: 2rem;
}

.category-tile strong,
.category-card strong {
  color: var(--gray-800);
  font-size: 1.05rem;
}

.category-tile small,
.category-card em {
  color: var(--gray-500);
  font-style: normal;
  line-height: 1.4;
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  align-items: start;
}

.ranking-panel {
  position: sticky;
  top: 92px;
  padding: 22px;
}

.ranking-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.ranking-title h2 {
  margin: 0;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 30px 52px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: var(--gray-50);
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
  background: var(--orange-50);
  transform: translateX(3px);
}

.rank-row img {
  width: 52px;
  height: 68px;
  object-fit: cover;
  border-radius: 12px;
}

.rank-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
}

.rank-row strong,
.rank-row em {
  display: block;
}

.rank-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-row em {
  margin-top: 4px;
  color: var(--gray-500);
  font-size: 0.82rem;
  font-style: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-row b,
.ranking-card b,
.player-title-row span {
  color: var(--orange-600);
}

.wide-link {
  width: 100%;
  margin-top: 18px;
  color: var(--white);
  background: linear-gradient(90deg, var(--orange-500), var(--amber-500));
}

.callout-section {
  padding: 74px 22px;
  color: var(--white);
  text-align: center;
  background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
}

.callout-section h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.callout-section p {
  margin: 0 auto 28px;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
}

.callout-section div {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.page-hero {
  padding: 88px 22px;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
}

.page-hero.soft {
  color: var(--gray-800);
  background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.16), transparent 36%), linear-gradient(135deg, var(--orange-50), var(--amber-50));
}

.page-hero > div {
  max-width: var(--container);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange-600);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.page-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--gray-600);
  font-size: 1.08rem;
  line-height: 1.8;
}

.ranking-hero p,
.ranking-hero .eyebrow {
  color: rgba(255, 255, 255, 0.88);
}

.filter-panel {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(140px, 1fr));
  gap: 14px;
  align-items: end;
  margin-bottom: 28px;
  padding: 20px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

.filter-panel.simple {
  grid-template-columns: minmax(0, 560px);
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: var(--gray-700);
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  padding: 13px 16px;
  border-radius: 14px;
}

.result-empty {
  display: none;
  margin: 24px 0;
  padding: 30px;
  border-radius: var(--radius-xl);
  color: var(--gray-600);
  text-align: center;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.result-empty.is-visible {
  display: block;
}

.category-overview-block {
  padding-top: 50px;
  padding-bottom: 20px;
}

.related-categories {
  padding-top: 0;
}

.link-cloud a,
.link-cloud span {
  padding: 10px 14px;
  color: var(--orange-600);
  font-weight: 800;
  background: var(--orange-100);
  transition: background 0.2s ease, transform 0.2s ease;
}

.link-cloud a:hover {
  background: var(--orange-200);
  transform: translateY(-2px);
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 540px;
  background: var(--gray-900);
}

.detail-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px);
  transform: scale(1.04);
}

.detail-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.56) 50%, rgba(0, 0, 0, 0.28));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  width: min(var(--container), calc(100% - 44px));
  margin: 0 auto;
  min-height: 540px;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  color: var(--white);
}

.detail-poster {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
}

.page-hero .crumbs {
  color: var(--gray-500);
  margin-top: 18px;
  margin-bottom: 0;
}

.crumbs a:hover {
  color: var(--amber-400);
}

.detail-intro h1 {
  margin: 0 0 18px;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.detail-intro p {
  max-width: 780px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
  line-height: 1.8;
}

.detail-meta span {
  padding: 9px 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.detail-tags {
  margin: 18px 0 24px;
}

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

.detail-main {
  display: grid;
  gap: 22px;
}

.player-card {
  overflow: hidden;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

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

.video-start {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  color: var(--white);
  background: radial-gradient(circle, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.58));
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.video-start span {
  width: 84px;
  height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 6px;
  border-radius: 999px;
  font-size: 2rem;
  background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.34);
  transition: transform 0.2s ease;
}

.video-start:hover span {
  transform: scale(1.08);
}

.player-card.is-playing .video-start {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.player-card.has-error .video-start span {
  width: auto;
  height: auto;
  padding: 14px 22px;
  font-size: 1rem;
}

.player-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
}

.player-title-row h2 {
  margin: 0;
  font-size: 1.35rem;
}

.player-title-row span {
  font-weight: 900;
  font-size: 1.4rem;
}

.text-card,
.side-card {
  padding: 24px;
}

.text-card h2,
.side-card h2 {
  margin: 0 0 14px;
}

.text-card p {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.9;
  font-size: 1.02rem;
}

.detail-side {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 18px;
}

.side-card dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.side-card dl div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px;
}

.side-card dt {
  color: var(--gray-500);
}

.side-card dd {
  margin: 0;
  color: var(--gray-800);
  font-weight: 800;
}

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

.ranking-card a {
  display: grid;
  grid-template-columns: 54px 90px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-card a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ranking-number {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange-500), var(--amber-500));
}

.ranking-card img {
  width: 90px;
  height: 120px;
  border-radius: 14px;
  object-fit: cover;
}

.ranking-info {
  display: grid;
  gap: 8px;
}

.ranking-info strong {
  font-size: 1.25rem;
}

.ranking-info em {
  color: var(--gray-500);
  font-style: normal;
}

.ranking-info > span:not(.tag-row) {
  color: var(--gray-600);
  line-height: 1.6;
}

.ranking-card b {
  font-size: 1.4rem;
}

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

.about-card {
  padding: 28px;
}

.about-card h2 {
  margin: 0 0 14px;
}

.about-card p {
  margin: 0;
  color: var(--gray-600);
  line-height: 1.8;
}

.site-footer {
  color: var(--white);
  background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
}

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

.footer-grid h3 {
  margin: 0 0 14px;
  color: var(--amber-400);
}

.footer-grid p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
}

.footer-grid a:not(.footer-brand) {
  display: block;
  margin: 10px 0;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.2s ease;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.56);
}

[data-movie-card].is-hidden {
  display: none;
}

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

  .feature-grid,
  .poster-grid.large,
  .category-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .ranking-panel,
  .detail-side {
    position: static;
  }

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

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

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .hero-slider {
    height: 560px;
  }

  .home-search-panel {
    grid-template-columns: 1fr;
  }

  .home-search-panel form {
    flex-direction: column;
  }

  .feature-grid,
  .poster-grid,
  .poster-grid.large,
  .category-tile-grid,
  .category-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-panel {
    grid-template-columns: 1fr 1fr;
  }

  .detail-hero-inner {
    grid-template-columns: 1fr;
    padding: 48px 0;
  }

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

  .ranking-card a {
    grid-template-columns: 44px 70px minmax(0, 1fr);
  }

  .ranking-card b {
    grid-column: 3;
  }
}

@media (max-width: 620px) {
  .nav-shell {
    height: 62px;
    padding: 0 16px;
  }

  .brand-text {
    font-size: 1.05rem;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .hero-slider {
    height: 520px;
  }

  .hero-content {
    padding: 0 18px;
  }

  .hero-actions,
  .callout-section div {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .home-search-panel,
  .content-section,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 28px, var(--container));
  }

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

  .feature-grid,
  .poster-grid,
  .poster-grid.large,
  .category-tile-grid,
  .category-card-grid,
  .about-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .filter-panel {
    grid-template-columns: 1fr;
  }

  .detail-hero-inner {
    width: min(100% - 28px, var(--container));
  }

  .detail-meta span,
  .hero-tags span {
    font-size: 0.86rem;
  }

  .player-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .side-card dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .ranking-card a {
    grid-template-columns: 42px 72px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
  }

  .ranking-info > span:not(.tag-row) {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
