:root {
  --ash-50: #f8f7f6;
  --ash-100: #efedeb;
  --ash-200: #ddd9d5;
  --ash-400: #a59d93;
  --ash-500: #83766d;
  --ash-600: #6d625c;
  --ash-900: #4a4441;
  --fire-50: #fff8f0;
  --fire-100: #ffefd6;
  --fire-300: #ffb05c;
  --fire-500: #ff7a14;
  --fire-600: #f05d00;
  --fire-700: #c74400;
  --ember-50: #fdf4f3;
  --ember-500: #e25e4e;
  --ember-600: #cf4332;
  --forest-50: #f3f6f3;
  --forest-600: #475e47;
  --shadow-sm: 0 8px 20px rgba(74, 68, 65, 0.08);
  --shadow-md: 0 18px 45px rgba(74, 68, 65, 0.16);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ash-50);
  color: var(--ash-900);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, Cambria, "Times New Roman", Times, serif;
  line-height: 1.18;
}

p {
  margin: 0;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 28px rgba(74, 68, 65, 0.1);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--fire-500), var(--ember-600));
  box-shadow: 0 12px 25px rgba(240, 93, 0, 0.28);
}

.brand-mark span {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #fff;
}

.brand-copy {
  display: grid;
  gap: 1px;
}

.brand-copy strong,
.footer-brand strong {
  color: var(--ash-900);
  font-size: 24px;
  line-height: 1;
  font-weight: 800;
}

.brand-copy em {
  color: var(--ash-600);
  font-size: 12px;
  font-style: normal;
}

.nav-panel {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ash-600);
  font-weight: 700;
  white-space: nowrap;
}

.nav-links a {
  transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--fire-600);
}

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

.top-search input,
.big-search input,
.filter-search input,
.wide-filter-search input {
  border: 1px solid var(--ash-200);
  background: #fff;
  color: var(--ash-900);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.top-search input:focus,
.big-search input:focus,
.filter-search input:focus,
.wide-filter-search input:focus {
  border-color: var(--fire-500);
  box-shadow: 0 0 0 4px rgba(255, 122, 20, 0.16);
}

.top-search input {
  width: 220px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
}

.top-search button,
.big-search button,
.btn-primary,
.btn-ghost,
.filter-button {
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.top-search button,
.big-search button,
.btn-primary {
  background: linear-gradient(135deg, var(--fire-600), var(--ember-600));
  color: #fff;
  box-shadow: 0 12px 25px rgba(240, 93, 0, 0.22);
}

.top-search button {
  height: 38px;
  padding: 0 18px;
}

.big-search button,
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
}

.top-search button:hover,
.big-search button:hover,
.btn-primary:hover,
.btn-ghost:hover,
.filter-button:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(10px);
}

.btn-ghost.dark {
  background: #fff;
  color: var(--fire-600);
  border-color: var(--fire-100);
  box-shadow: var(--shadow-sm);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--ash-900);
  border-radius: 999px;
}

.hero-carousel {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: #171310;
}

.hero-track,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  background-size: cover;
  background-position: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

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

.hero-slide::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(to top, rgba(248, 247, 246, 0.92), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 32px));
  margin-left: max(16px, calc((100vw - 1280px) / 2 + 16px));
  color: #fff;
}

.hero-kicker,
.detail-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(240, 93, 0, 0.95);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.hero-content h1 {
  max-width: 760px;
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 900;
  text-shadow: 0 16px 45px rgba(0, 0, 0, 0.32);
}

.hero-content p {
  max-width: 680px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

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

.hero-tags {
  margin-top: 24px;
}

.hero-tags span,
.meta-row span,
.detail-meta span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-tags span,
.meta-row span {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

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

.center-actions {
  justify-content: center;
}

.center-actions.align-left {
  justify-content: flex-start;
}

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

.hero-dots button {
  width: 36px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
}

.hero-dots button.is-active {
  background: var(--fire-500);
}

.search-band {
  position: relative;
  z-index: 4;
  margin-top: -58px;
}

.search-panel {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.search-panel h2 {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
}

.search-panel p {
  margin-top: 10px;
  color: var(--ash-600);
}

.big-search input {
  flex: 1;
  height: 50px;
  min-width: 0;
  padding: 0 18px;
  border-radius: 999px;
}

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

.white-block {
  background: #fff;
}

.tint-block {
  background: linear-gradient(135deg, var(--fire-50), var(--ember-50), var(--ash-100));
}

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

.section-head h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ash-900);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 900;
}

.section-head p {
  margin-top: 8px;
  color: var(--ash-600);
}

.section-bar {
  display: inline-block;
  width: 6px;
  height: 38px;
  border-radius: 999px;
  background: linear-gradient(to bottom, var(--fire-600), var(--ember-600));
}

.section-icon {
  font-family: system-ui, sans-serif;
}

.movie-grid,
.featured-grid,
.compact-grid,
.category-grid,
.category-overview-grid {
  display: grid;
  gap: 24px;
}

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

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

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

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

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

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

.card,
.content-card,
.category-card {
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.card-link {
  display: block;
  height: 100%;
}

.thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ash-200);
}

.thumb img,
.featured-card img,
.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.card:hover .thumb img,
.featured-card:hover img {
  transform: scale(1.08);
}

.year-badge,
.rank-badge {
  position: absolute;
  top: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 26px;
  padding: 4px 10px;
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
}

.year-badge {
  right: 12px;
}

.rank-badge {
  left: 12px;
  background: linear-gradient(135deg, var(--fire-600), var(--ember-600));
}

.card-body {
  padding: 18px;
}

.card-body h3 {
  min-height: 42px;
  color: var(--ash-900);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  font-weight: 900;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-body p {
  min-height: 44px;
  margin-top: 9px;
  color: var(--ash-600);
  font-size: 14px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  color: var(--ash-500);
  font-size: 12px;
  font-weight: 800;
}

.card-meta span::before {
  content: "•";
  margin-right: 7px;
  color: var(--fire-600);
}

.featured-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.featured-card a,
.featured-card img,
.featured-shade {
  position: absolute;
  inset: 0;
}

.featured-shade {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.34), transparent);
}

.featured-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 28px;
  color: #fff;
}

.featured-content h3 {
  margin-top: 12px;
  font-size: 26px;
  font-weight: 900;
}

.featured-content p {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.86);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.category-tile {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  padding: 24px;
  border-radius: 22px;
  color: #fff;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.category-tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.category-tile strong {
  font-size: 24px;
  font-weight: 900;
}

.category-tile span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 38px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 42px 78px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 12px;
  border-radius: 16px;
  background: var(--ash-50);
  transition: background 0.25s ease, transform 0.25s ease;
}

.rank-item:hover {
  transform: translateX(4px);
  background: var(--fire-50);
}

.rank-num {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--fire-600), var(--ember-600));
}

.rank-item img {
  width: 78px;
  height: 50px;
  object-fit: cover;
  border-radius: 10px;
}

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

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

.rank-text strong {
  color: var(--ash-900);
  font-weight: 900;
}

.rank-text em {
  color: var(--ash-500);
  font-size: 12px;
  font-style: normal;
}

.page-hero,
.detail-top {
  padding: 62px 0;
  background: linear-gradient(135deg, var(--fire-50), var(--ember-50), var(--ash-100));
}

.category-hero {
  background: linear-gradient(135deg, var(--forest-50), var(--ash-50));
}

.ranking-hero {
  background: linear-gradient(135deg, var(--ash-900), var(--ember-600));
  color: #fff;
}

.search-hero {
  background: linear-gradient(135deg, var(--ash-900), var(--fire-700));
  color: #fff;
}

.page-hero h1 {
  margin-top: 18px;
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 900;
}

.page-hero p {
  max-width: 760px;
  margin-top: 16px;
  color: var(--ash-600);
  font-size: 18px;
}

.ranking-hero p,
.search-hero p {
  color: rgba(255, 255, 255, 0.82);
}

.crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: var(--ash-600);
  font-size: 14px;
  font-weight: 800;
}

.ranking-hero .crumb,
.search-hero .crumb {
  color: rgba(255, 255, 255, 0.75);
}

.crumb a:hover {
  color: var(--fire-600);
}

.crumb span::before,
.crumb a + a::before,
.crumb a + span::before {
  content: "/";
  margin-right: 9px;
  color: var(--ash-400);
}

.category-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  height: 132px;
  background: var(--ash-100);
}

.category-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card-body {
  padding: 22px;
}

.category-card-body h2 {
  font-size: 26px;
  font-weight: 900;
}

.category-card-body p {
  margin-top: 10px;
  color: var(--ash-600);
}

.category-card-body span {
  display: inline-flex;
  margin-top: 18px;
  color: var(--fire-600);
  font-weight: 900;
}

.inline-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.filter-button {
  min-height: 38px;
  padding: 0 16px;
  color: var(--ash-700, #6d625c);
  background: #fff;
  border: 1px solid var(--ash-200);
}

.filter-button.is-active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--fire-600), var(--ember-600));
  box-shadow: 0 12px 24px rgba(240, 93, 0, 0.18);
}

.list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
}

.filter-search,
.wide-filter-search {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.filter-search input {
  width: min(360px, 70vw);
  height: 46px;
  padding: 0 16px;
  border-radius: 999px;
}

.wide-filter-search {
  max-width: 680px;
  margin-top: 24px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.wide-filter-search input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 18px;
  border-radius: 999px;
}

.empty-state {
  display: none;
  margin-top: 24px;
  padding: 30px;
  border-radius: 18px;
  background: var(--ash-50);
  color: var(--ash-600);
  text-align: center;
  font-weight: 900;
}

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

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

.detail-poster {
  overflow: hidden;
  border-radius: 26px;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 10;
  background: var(--ash-200);
}

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

.detail-info h1 {
  font-size: clamp(36px, 6vw, 66px);
  font-weight: 900;
}

.detail-info p {
  max-width: 850px;
  margin-top: 18px;
  color: var(--ash-600);
  font-size: 18px;
}

.detail-meta,
.detail-tags {
  margin-top: 18px;
}

.detail-meta span {
  color: var(--ash-900);
  background: #fff;
}

.detail-tags span {
  color: var(--fire-700);
  background: var(--fire-100);
}

.player-section {
  padding: 64px 0;
  background: #151210;
  color: #fff;
}

.player-section h2 {
  margin-bottom: 24px;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
}

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #000;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  aspect-ratio: 16 / 9;
}

.movie-player {
  width: 100%;
  height: 100%;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  color: #fff;
  background: radial-gradient(circle at center, rgba(240, 93, 0, 0.1), rgba(0, 0, 0, 0.55));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-circle {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  padding-left: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fire-600), var(--ember-600));
  box-shadow: 0 18px 38px rgba(240, 93, 0, 0.38);
  font-size: 34px;
}

.player-overlay strong {
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}

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

.content-card {
  padding: 30px;
}

.content-card h2 {
  margin-top: 24px;
  margin-bottom: 12px;
  font-size: 28px;
  font-weight: 900;
}

.content-card h2:first-child {
  margin-top: 0;
}

.content-card p {
  color: var(--ash-600);
  font-size: 17px;
}

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

.related-links a {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--ash-50);
  color: var(--ash-900);
  font-weight: 900;
  transition: background 0.25s ease, color 0.25s ease;
}

.related-links a:hover {
  background: var(--fire-50);
  color: var(--fire-700);
}

.site-footer {
  background: var(--ash-900);
  color: var(--ash-100);
}

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

.footer-grid p,
.footer-grid a {
  color: rgba(239, 237, 235, 0.72);
}

.footer-grid p {
  margin-top: 14px;
}

.footer-grid h2 {
  margin-bottom: 16px;
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  font-weight: 900;
}

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

.footer-grid a:hover {
  color: var(--fire-300);
}

.footer-brand strong {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  color: rgba(239, 237, 235, 0.58);
  text-align: center;
  font-size: 14px;
}

@media (max-width: 1180px) {
  .nav-panel {
    gap: 14px;
  }

  .nav-links {
    gap: 12px;
    font-size: 14px;
  }

  .top-search input {
    width: 170px;
  }

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

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

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .nav-wrap {
    flex-wrap: wrap;
  }

  .nav-panel {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 0 0 18px;
  }

  .site-header.is-open .nav-panel {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-search {
    width: 100%;
  }

  .top-search input {
    width: 100%;
    flex: 1;
  }

  .hero-carousel {
    min-height: 590px;
  }

  .hero-content {
    margin: 0 auto;
  }

  .search-panel,
  .two-column,
  .detail-layout,
  .detail-content-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 620px) {
  .container-custom {
    width: min(100% - 22px, 1280px);
  }

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

  .brand-copy em {
    font-size: 11px;
  }

  .hero-carousel {
    min-height: 620px;
  }

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

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

  .hero-actions,
  .detail-actions,
  .big-search,
  .wide-filter-search,
  .filter-search {
    flex-direction: column;
    align-items: stretch;
  }

  .big-search input,
  .wide-filter-search input,
  .filter-search input {
    width: 100%;
  }

  .search-panel {
    padding: 22px;
  }

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

  .featured-grid,
  .large-grid,
  .movie-grid,
  .compact-grid,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

  .rank-item {
    grid-template-columns: 36px 70px minmax(0, 1fr);
  }

  .page-hero,
  .detail-top {
    padding: 44px 0;
  }

  .content-card {
    padding: 22px;
  }

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