:root {
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --card: #ffffff;
  --amber: #f59e0b;
  --orange: #f97316;
  --rose: #f43f5e;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --shadow-sm: 0 8px 20px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 16px 36px rgba(15, 23, 42, 0.14);
  --shadow-lg: 0 28px 70px rgba(15, 23, 42, 0.22);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  min-height: 100vh;
}

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

button,
input {
  font: inherit;
}

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

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

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

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--slate-900);
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 12px;
  background: linear-gradient(135deg, #fbbf24, #f97316);
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.35);
}

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

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

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

.nav-link:hover,
.nav-link.active {
  color: #92400e;
  background: #fffbeb;
}

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

.header-search input,
.mobile-search input,
.quick-search-form input,
.page-search-form input,
.toolbar-actions input {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 15px;
  outline: none;
  background: #ffffff;
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.quick-search-form input:focus,
.page-search-form input:focus,
.toolbar-actions input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.header-search button,
.mobile-search button,
.quick-search-form button,
.page-search-form button,
.toolbar-actions button,
.button-primary,
.button-ghost,
.button-light {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button,
.mobile-search button,
.quick-search-form button,
.page-search-form button,
.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  padding: 11px 18px;
  box-shadow: 0 12px 26px rgba(249, 115, 22, 0.28);
}

.button-primary.small {
  padding: 10px 16px;
  white-space: nowrap;
}

.button-primary:hover,
.header-search button:hover,
.mobile-search button:hover,
.quick-search-form button:hover,
.page-search-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(249, 115, 22, 0.38);
}

.button-ghost {
  color: #ffffff;
  padding: 12px 20px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.12);
}

.button-light {
  display: inline-flex;
  color: #ea580c;
  background: #ffffff;
  padding: 13px 24px;
  box-shadow: 0 16px 34px rgba(124, 45, 18, 0.22);
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #f1f5f9;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-left: auto;
}

.mobile-menu-button span {
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: #0f172a;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--line);
  padding: 14px 16px 18px;
  background: rgba(255, 255, 255, 0.96);
}

.mobile-panel nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.hero-slider {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(110deg, #0f172a, #334155 48%, #78350f);
}

.hero-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: radial-gradient(circle at 20% 20%, #ffffff 0 2px, transparent 3px), radial-gradient(circle at 70% 35%, #fbbf24 0 2px, transparent 3px);
  background-size: 64px 64px, 92px 92px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}

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

.hero-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
}

.hero-background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 42%, rgba(245, 158, 11, 0.22), transparent 34%), linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.72) 48%, rgba(15, 23, 42, 0.2) 100%);
}

.hero-content {
  position: relative;
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.7fr);
  align-items: center;
  gap: 44px;
  z-index: 2;
}

.hero-kicker,
.detail-kicker,
.page-hero span,
.section-heading span {
  display: inline-flex;
  color: #fcd34d;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero-copy h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  background: linear-gradient(90deg, #fde68a, #fed7aa, #fffbeb);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-one-line {
  max-width: 760px;
  color: #f8fafc;
  font-size: clamp(20px, 2.8vw, 30px);
  line-height: 1.42;
  font-weight: 700;
  margin: 24px 0 12px;
}

.hero-summary {
  max-width: 720px;
  color: #cbd5e1;
  line-height: 1.8;
  font-size: 17px;
}

.hero-tags,
.detail-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags span,
.detail-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff7ed;
  font-size: 13px;
  font-weight: 700;
}

.detail-tags span,
.tag-row span {
  background: #eff6ff;
  color: #2563eb;
}

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

.hero-poster {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.38));
}

.play-orb {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 74px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #f97316;
  font-size: 28px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.34);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.44);
  font-size: 34px;
  cursor: pointer;
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

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

.hero-dot.is-active {
  width: 32px;
  background: #fbbf24;
}

.quick-search-band {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.quick-search-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: center;
  padding: 28px 0;
}

.quick-search-inner h2,
.quick-search-inner p {
  margin: 0;
}

.quick-search-inner h2 {
  font-size: 26px;
  letter-spacing: -0.03em;
}

.quick-search-inner p {
  color: var(--muted);
  margin-top: 6px;
}

.quick-search-form,
.page-search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.quick-search-form input,
.page-search-form input {
  width: 100%;
}

.section-block {
  padding: 64px 0;
}

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

.section-heading.centered {
  justify-content: center;
  text-align: center;
}

.section-heading span {
  color: #ea580c;
  margin-bottom: 6px;
}

.section-heading h2,
.list-toolbar h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.045em;
}

.section-heading a {
  color: #ea580c;
  font-weight: 900;
}

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

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
}

.movie-cover,
.mini-cover,
.ranking-thumb,
.podium-cover,
.poster-large {
  position: relative;
  background-color: #cbd5e1;
  background-size: cover;
  background-position: center;
}

.movie-cover {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.movie-card-compact .movie-cover {
  aspect-ratio: 4 / 3;
}

.cover-badge,
.cover-duration,
.rank-badge,
.mini-rank {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 900;
}

.cover-badge {
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.32);
  font-size: 12px;
}

.cover-duration {
  bottom: 12px;
  right: 12px;
  padding: 5px 9px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.78);
  font-size: 12px;
}

.rank-badge {
  top: 12px;
  left: 12px;
  width: 34px;
  height: 34px;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), #ec4899);
  box-shadow: 0 10px 20px rgba(236, 72, 153, 0.3);
}

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

.movie-card h3,
.mini-card h3,
.ranking-row h3,
.podium-card h2 {
  margin: 0;
  color: var(--slate-900);
  line-height: 1.35;
}

.movie-card h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.movie-card p,
.mini-card p,
.ranking-row p,
.podium-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: #64748b;
  font-size: 13px;
}

.tag-row {
  margin-top: auto;
}

.tag-row span {
  padding: 4px 8px;
  font-size: 12px;
}

.category-section,
.latest-section {
  background: linear-gradient(90deg, #fffbeb, #fff7ed);
}

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

.category-card,
.category-overview-card {
  border-radius: 24px;
  padding: 24px;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:nth-child(4n+2),
.category-overview-card:nth-child(4n+2) {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
}

.category-card:nth-child(4n+3),
.category-overview-card:nth-child(4n+3) {
  background: linear-gradient(135deg, #f43f5e, #ec4899);
}

.category-card:nth-child(4n+4),
.category-overview-card:nth-child(4n+4) {
  background: linear-gradient(135deg, #059669, #10b981);
}

.category-card:hover,
.category-overview-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: var(--shadow-md);
}

.category-icon,
.category-overview-main span {
  display: block;
  font-size: 42px;
  margin-bottom: 12px;
}

.category-card strong,
.category-overview-main h2 {
  display: block;
  font-size: 20px;
  margin-bottom: 6px;
}

.category-card span:not(.category-icon),
.category-card p,
.category-overview-card p,
.category-overview-card strong {
  color: rgba(255, 255, 255, 0.88);
}

.category-card p,
.category-overview-card p {
  line-height: 1.65;
}

.category-overview-card {
  display: flex;
  flex-direction: column;
  min-height: 280px;
}

.category-samples {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
}

.category-samples a {
  color: #ffffff;
  font-weight: 700;
}

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

.mini-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.mini-cover {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
}

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

.mini-info h3,
.mini-info p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mini-info h3 {
  -webkit-line-clamp: 2;
  font-size: 16px;
}

.mini-info p {
  -webkit-line-clamp: 2;
  margin: 4px 0;
  font-size: 13px;
}

.mini-info span {
  color: #f97316;
  font-size: 12px;
  font-weight: 800;
}

.mini-rank {
  top: 8px;
  left: 8px;
  padding: 4px 7px;
  color: #ffffff;
  background: #f43f5e;
  font-size: 12px;
}

.cta-card {
  text-align: center;
  color: #ffffff;
  padding: 56px 28px;
  border-radius: 32px;
  background: linear-gradient(120deg, #f59e0b, #f97316, #ef4444);
  box-shadow: var(--shadow-lg);
}

.cta-card h2 {
  margin: 0 0 12px;
  font-size: clamp(32px, 4vw, 50px);
  letter-spacing: -0.05em;
}

.cta-card p {
  margin: 0 0 28px;
  color: #fff7ed;
  font-size: 18px;
}

.page-hero {
  color: #ffffff;
  padding: 72px 0;
  background: radial-gradient(circle at 84% 10%, rgba(245, 158, 11, 0.42), transparent 30%), linear-gradient(115deg, #0f172a, #334155 58%, #78350f);
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 5vw, 62px);
  letter-spacing: -0.06em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.8;
}

.list-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-sm);
}

.list-toolbar p {
  margin: 6px 0 0;
  color: var(--muted);
}

.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.toolbar-actions input {
  min-width: 210px;
}

.toolbar-actions button {
  padding: 11px 14px;
  color: #475569;
  background: #f8fafc;
}

.toolbar-actions button:hover,
.toolbar-actions button.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
}

.chip-row,
.related-category-links div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.chip-row a,
.related-category-links a {
  padding: 9px 13px;
  border-radius: 999px;
  color: #92400e;
  background: #fffbeb;
  font-weight: 800;
}

.related-category-links {
  margin-top: 48px;
  padding: 24px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.related-category-links h2 {
  margin: 0 0 16px;
}

.podium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.podium-card {
  padding: 18px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.podium-card:hover {
  box-shadow: var(--shadow-md);
}

.podium-cover {
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 16px;
}

.podium-cover span {
  position: absolute;
  top: 12px;
  left: 12px;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  border-radius: 999px;
  padding: 7px 10px;
  font-weight: 900;
}

.podium-card strong {
  color: #ea580c;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 54px 96px minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ranking-row:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.ranking-number {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #ffffff;
  background: #0f172a;
  font-weight: 900;
}

.ranking-thumb {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
}

.ranking-text h3,
.ranking-text p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ranking-text h3 {
  -webkit-line-clamp: 1;
}

.ranking-text p {
  -webkit-line-clamp: 1;
}

.ranking-category,
.ranking-views {
  color: #64748b;
  font-weight: 800;
  white-space: nowrap;
}

.detail-shell {
  padding: 32px 0 72px;
}

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

.breadcrumb a {
  color: #ea580c;
  font-weight: 800;
}

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

.player-card,
.detail-card,
.poster-panel,
.related-panel {
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.player-card {
  background: #020617;
  margin-bottom: 22px;
}

.hls-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #e2e8f0;
  padding: 14px 18px 16px;
}

.player-caption span {
  color: #fcd34d;
  font-weight: 900;
}

.detail-card {
  padding: 28px;
}

.detail-title-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 22px;
}

.detail-card h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

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

.detail-meta-grid span {
  padding: 12px;
  border-radius: 14px;
  background: #f8fafc;
  color: #475569;
  font-weight: 700;
}

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

.detail-card h2,
.poster-panel h2,
.related-panel h2 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: -0.03em;
}

.detail-card p {
  color: #475569;
  line-height: 1.9;
  font-size: 16px;
}

.lead-text {
  font-weight: 800;
  color: #334155 !important;
}

.poster-panel,
.related-panel {
  padding: 18px;
  margin-bottom: 22px;
}

.poster-large {
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  margin-bottom: 16px;
}

.poster-panel p {
  color: #64748b;
  line-height: 1.7;
}

.poster-panel a {
  display: inline-flex;
  color: #ea580c;
  font-weight: 900;
}

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

.search-status {
  margin-bottom: 20px;
  padding: 16px 18px;
  border-radius: 18px;
  color: #475569;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  font-weight: 800;
}

.site-footer {
  color: #cbd5e1;
  background: #0f172a;
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
}

.footer-brand {
  color: #ffffff;
  margin-bottom: 14px;
}

.site-footer p {
  color: #94a3b8;
  line-height: 1.8;
}

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

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

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

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  color: #94a3b8;
}

.is-hidden-by-filter {
  display: none !important;
}

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

  .movie-grid.three-cols,
  .movie-grid.four-cols,
  .category-grid,
  .category-overview-grid,
  .podium-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-content {
    grid-template-columns: 1fr;
    padding: 74px 0 92px;
  }

  .hero-poster {
    display: none;
  }

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

  .detail-aside {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 20px;
  }
}

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

  .main-nav {
    display: none;
  }

  .mobile-menu-button {
    display: flex;
  }

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

  .hero-slider,
  .hero-content {
    min-height: 580px;
  }

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

  .hero-one-line {
    font-size: 20px;
  }

  .hero-summary {
    font-size: 15px;
  }

  .hero-arrow {
    display: none;
  }

  .quick-search-inner,
  .quick-search-form,
  .page-search-form,
  .list-toolbar,
  .detail-title-row,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .movie-grid.three-cols,
  .movie-grid.four-cols,
  .category-grid,
  .category-overview-grid,
  .poster-grid,
  .podium-grid,
  .footer-grid,
  .detail-aside {
    grid-template-columns: 1fr;
  }

  .ranking-row {
    grid-template-columns: 42px 82px minmax(0, 1fr);
  }

  .ranking-category,
  .ranking-views {
    display: none;
  }

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

  .mini-card {
    grid-template-columns: 96px 1fr;
  }
}

@media (max-width: 480px) {
  .brand-text {
    font-size: 18px;
  }

  .section-block {
    padding: 44px 0;
  }

  .page-hero {
    padding: 54px 0;
  }

  .detail-card,
  .poster-panel,
  .related-panel {
    padding: 16px;
  }

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