:root {
  --brand-orange: #f97316;
  --brand-pink: #ec4899;
  --ink: #1f2937;
  --muted: #6b7280;
  --soft: #fff7ed;
  --line: #e5e7eb;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(135deg, #f8fafc 0%, #fff7ed 46%, #fdf2f8 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
}

.brand-icon,
.footer-logo span {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-pink));
  box-shadow: 0 10px 22px rgba(236, 72, 153, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 23px;
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
}

.desktop-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  color: #374151;
  font-weight: 600;
  font-size: 15px;
}

.desktop-nav a,
.mobile-panel a {
  transition: color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.mobile-panel a:hover {
  color: var(--brand-orange);
}

.site-search {
  width: min(270px, 100%);
  display: flex;
  align-items: center;
  position: relative;
}

.site-search input,
.quick-search input,
.search-panel input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid #d1d5db;
  outline: none;
  color: #111827;
  background: #fff;
  border-radius: 999px;
  padding: 11px 44px 11px 18px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-search input:focus,
.quick-search input:focus,
.search-panel input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.13);
}

.site-search button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-pink));
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 28px;
}

.mobile-panel {
  display: none;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 22px 16px;
}

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

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

.mobile-panel a {
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
  color: #374151;
  font-weight: 600;
}

.hero-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #111827;
}

.hero-stage,
.hero-slide,
.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms ease;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.06);
  transform: scale(1.03);
}

.hero-shade {
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(15, 23, 42, 0.72) 42%, rgba(15, 23, 42, 0.2) 100%), linear-gradient(0deg, rgba(2, 6, 23, 0.78), transparent 62%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.hero-content h1 {
  max-width: 760px;
  margin: 12px 0 18px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  font-weight: 900;
}

.hero-content p {
  max-width: 680px;
  margin: 0 0 24px;
  color: #e5e7eb;
  font-size: clamp(17px, 2.4vw, 22px);
  line-height: 1.75;
}

.hero-kicker,
.hero-meta,
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-kicker {
  color: #fdba74;
  font-weight: 800;
}

.hero-meta {
  margin-bottom: 30px;
}

.hero-meta span,
.detail-topline,
.detail-label,
.pill-link {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 7px 13px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  font-weight: 700;
}

.primary-btn,
.ghost-btn,
.quick-search button,
.search-panel button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn,
.quick-search button,
.search-panel button {
  border: 0;
  color: #fff;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-pink));
  box-shadow: 0 16px 30px rgba(236, 72, 153, 0.28);
}

.primary-btn {
  min-width: 142px;
  padding: 15px 26px;
}

.ghost-btn {
  padding: 14px 22px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
}

.primary-btn:hover,
.ghost-btn:hover,
.quick-search button:hover,
.search-panel button:hover,
.text-link:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-poster {
  position: absolute;
  z-index: 3;
  right: max(22px, calc((100vw - 1280px) / 2 + 22px));
  bottom: 62px;
  width: 270px;
  aspect-ratio: 16 / 10;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.hero-arrow {
  position: absolute;
  z-index: 6;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  font-size: 38px;
  line-height: 1;
}

.hero-prev {
  left: 20px;
}

.hero-next {
  right: 20px;
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
}

.hero-dot.is-active {
  width: 34px;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-pink));
}

.quick-search-wrap,
.content-section,
.detail-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}

.quick-search-wrap {
  margin-top: -42px;
  position: relative;
  z-index: 10;
}

.quick-search-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.quick-search-card h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.quick-search-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.quick-search {
  display: flex;
  gap: 10px;
}

.quick-search input {
  padding-right: 18px;
}

.quick-search button,
.search-panel button {
  min-width: 104px;
  padding: 0 22px;
}

.content-section {
  padding-top: 58px;
  padding-bottom: 18px;
}

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

.section-heading span {
  display: block;
  margin-bottom: 6px;
  color: var(--brand-orange);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 900;
}

.section-heading h2 {
  margin: 0;
  color: #1f2937;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.section-heading > a,
.text-link {
  color: var(--brand-orange);
  font-weight: 800;
}

.movie-grid {
  display: grid;
  gap: 22px;
}

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

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

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

.top-gap {
  margin-top: 24px;
}

.glow-section {
  margin-top: 52px;
  border-radius: 36px;
  background: linear-gradient(135deg, #fff7ed, #fdf2f8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.14);
}

.movie-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111827;
}

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

.movie-card:hover .movie-cover img,
.horizontal-card:hover img,
.compact-card:hover img {
  transform: scale(1.08);
}

.movie-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent 56%);
  opacity: 0;
  transition: opacity 0.24s ease;
}

.movie-card:hover .movie-cover::after {
  opacity: 1;
}

.play-mark {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%) scale(0.78);
  border-radius: 50%;
  color: var(--brand-orange);
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transition: opacity 0.24s ease, transform 0.24s ease;
}

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

.movie-year,
.movie-category,
.rank-badge {
  position: absolute;
  z-index: 3;
  border-radius: 999px;
  padding: 5px 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.movie-year {
  right: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.58);
}

.movie-category {
  top: 12px;
  left: 12px;
  background: var(--brand-orange);
}

.rank-badge {
  right: 12px;
  top: 12px;
  min-width: 32px;
  text-align: center;
  background: linear-gradient(135deg, #f59e0b, var(--brand-pink));
}

.movie-info {
  padding: 17px 18px 18px;
}

.movie-info h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.35;
}

.movie-info h3 a:hover,
.horizontal-card h3 a:hover,
.compact-card strong:hover {
  color: var(--brand-orange);
}

.movie-info p {
  min-height: 45px;
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #6b7280;
  font-size: 13px;
}

.movie-meta span {
  border-radius: 999px;
  padding: 4px 9px;
  background: #f3f4f6;
}

.movie-card-large .movie-cover {
  aspect-ratio: 16 / 9;
}

.movie-card-large .movie-info h3 {
  font-size: 24px;
}

.movie-card-minimal .movie-info p,
.compact-home .movie-meta {
  display: none;
}

.horizontal-list {
  display: grid;
  gap: 18px;
}

.horizontal-card {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 16px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.horizontal-cover {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
}

.horizontal-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.horizontal-cover span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 38px;
  background: rgba(0, 0, 0, 0.24);
}

.horizontal-card h3 {
  margin: 12px 0 8px;
  font-size: 24px;
}

.horizontal-card p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.65;
}

.pill-link {
  display: inline-flex;
  color: var(--brand-orange);
  background: #ffedd5;
}

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

.category-tile {
  min-height: 145px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 22px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.24s ease, color 0.24s ease, background 0.24s ease;
}

.category-tile:hover {
  color: #fff;
  transform: translateY(-5px) scale(1.01);
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-pink));
}

.category-tile strong {
  font-size: 22px;
}

.category-tile span {
  color: inherit;
  opacity: 0.78;
  line-height: 1.6;
}

.page-hero {
  background: radial-gradient(circle at top left, rgba(249, 115, 22, 0.28), transparent 35%), radial-gradient(circle at right, rgba(236, 72, 153, 0.22), transparent 32%), #111827;
  color: #fff;
}

.small-hero {
  padding: 76px 22px;
}

.small-hero > div {
  max-width: 1280px;
  margin: 0 auto;
}

.small-hero span {
  color: #fdba74;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.small-hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.small-hero p {
  max-width: 740px;
  margin: 0;
  color: #e5e7eb;
  font-size: 18px;
  line-height: 1.75;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 20px;
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.category-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}

.category-collage img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}

.category-overview-card h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.category-overview-card p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.7;
}

.filter-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.filter-bar input {
  flex: 1;
  padding-right: 18px;
}

.filter-bar select {
  width: 180px;
  padding-right: 18px;
}

.filter-empty,
.search-summary {
  padding: 28px;
  text-align: center;
  color: var(--muted);
  font-weight: 700;
}

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

.ranking-column {
  border-radius: 28px;
  padding: 22px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
}

.compact-heading {
  margin-bottom: 18px;
}

.compact-card {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.compact-card:hover {
  background: #fff7ed;
  transform: translateX(3px);
}

.compact-thumb {
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  background: #111827;
}

.compact-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.compact-text strong {
  display: -webkit-box;
  margin-bottom: 5px;
  color: var(--ink);
  font-style: normal;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.side-rank {
  min-width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-pink));
  font-weight: 900;
}

.search-panel {
  display: flex;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto 20px;
}

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

.detail-hero {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  color: #fff;
  background: #111827;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px) saturate(1.1);
  transform: scale(1.04);
  opacity: 0.55;
}

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

.detail-hero-inner {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 58px 22px 74px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 34px;
  color: #e5e7eb;
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #fdba74;
}

.detail-hero h1 {
  max-width: 940px;
  margin: 18px 0;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.detail-hero p {
  max-width: 820px;
  margin: 0 0 22px;
  color: #e5e7eb;
  font-size: 20px;
  line-height: 1.75;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-tags a {
  border-radius: 999px;
  padding: 7px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.15);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  margin-top: -48px;
  position: relative;
  z-index: 5;
}

.player-card,
.detail-card,
.related-box {
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.player-card {
  overflow: hidden;
  padding: 12px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  background: #020617;
}

.player-video {
  width: 100%;
  height: 100%;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #fff;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.36), rgba(2, 6, 23, 0.42));
}

.player-overlay span {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--brand-orange);
  background: rgba(255, 255, 255, 0.92);
  font-size: 42px;
  padding-left: 5px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease;
}

.player-overlay:hover span {
  transform: scale(1.08);
}

.player-overlay.is-hidden {
  display: none;
}

.detail-card {
  margin-top: 24px;
  padding: 30px;
}

.detail-label {
  color: #fff;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-pink));
}

.detail-card h2 {
  margin: 24px 0 14px;
  font-size: 26px;
}

.detail-card h2:first-of-type {
  margin-top: 18px;
}

.detail-card p,
.detail-card blockquote {
  color: #374151;
  line-height: 1.9;
  font-size: 17px;
}

.detail-card blockquote {
  margin: 0;
  border-radius: 18px;
  padding: 22px;
  background: linear-gradient(135deg, #fff7ed, #fdf2f8);
}

.info-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.info-row span {
  border-radius: 999px;
  padding: 7px 12px;
  color: #4b5563;
  background: #f3f4f6;
  font-weight: 700;
}

.related-sidebar {
  position: relative;
}

.related-box {
  position: sticky;
  top: 96px;
  padding: 22px;
}

.related-box h2 {
  margin: 0 0 14px;
  font-size: 24px;
}

.detail-related-grid {
  padding-top: 42px;
}

.site-footer {
  margin-top: 70px;
  color: #e5e7eb;
  background: linear-gradient(90deg, #1f2937, #111827, #1f2937);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 46px 22px 34px;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 36px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #fff;
  font-size: 22px;
}

.footer-block h2 {
  margin: 0 0 16px;
  color: #fdba74;
  font-size: 18px;
}

.footer-block p,
.footer-block li {
  color: #9ca3af;
  line-height: 1.8;
}

.footer-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-block a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 22px;
  text-align: center;
  color: #9ca3af;
}

[hidden] {
  display: none !important;
}

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

  .site-search {
    margin-left: auto;
  }

  .menu-toggle {
    display: block;
  }

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

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

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

  .related-box {
    position: static;
  }
}

@media (max-width: 820px) {
  .site-search:not(.mobile-search) {
    display: none;
  }

  .hero-slider {
    height: 620px;
  }

  .hero-content {
    justify-content: end;
    padding-bottom: 92px;
  }

  .hero-poster {
    display: none;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
    font-size: 30px;
  }

  .quick-search-card,
  .featured-grid,
  .category-overview-card,
  .horizontal-card,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .quick-search,
  .search-panel,
  .filter-bar {
    flex-direction: column;
  }

  .filter-bar select {
    width: 100%;
  }

  .four-col,
  .three-col,
  .category-grid,
  .category-overview-grid,
  .ranking-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .horizontal-cover {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .header-inner {
    padding: 12px 16px;
  }

  .brand-text small {
    display: none;
  }

  .brand-text strong {
    font-size: 20px;
  }

  .hero-slider {
    height: 560px;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions a {
    width: 100%;
  }

  .quick-search-wrap,
  .content-section,
  .detail-layout {
    padding-left: 16px;
    padding-right: 16px;
  }

  .movie-grid,
  .four-col,
  .three-col,
  .category-grid,
  .category-overview-grid,
  .ranking-layout {
    grid-template-columns: 1fr;
  }

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

  .compact-card {
    grid-template-columns: 86px minmax(0, 1fr) auto;
  }

  .detail-card {
    padding: 22px;
  }

  .player-overlay span {
    width: 70px;
    height: 70px;
    font-size: 34px;
  }
}
