* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: #2b2118;
  background: linear-gradient(135deg, #fff7ed 0%, #fffbeb 45%, #fff1f2 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(120, 53, 15, 0.96), rgba(146, 64, 14, 0.94), rgba(127, 29, 29, 0.94));
  color: #fff7ed;
  border-bottom: 1px solid rgba(253, 230, 138, 0.25);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 45px rgba(70, 35, 12, 0.22);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand {
  font-size: 24px;
}

.brand-mark,
.footer-brand span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #fb7185);
  color: #fff7ed;
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.35);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-link,
.mobile-link {
  color: rgba(255, 247, 237, 0.88);
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: #fff;
  transform: translateY(-1px);
}

.top-search,
.mobile-search,
.big-search {
  display: flex;
  align-items: center;
}

.top-search {
  position: relative;
  flex: 0 0 260px;
}

.top-search input,
.mobile-search input,
.big-search input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid rgba(217, 119, 6, 0.24);
  outline: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff7ed;
  padding: 12px 50px 12px 18px;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.top-search input::placeholder,
.mobile-search input::placeholder {
  color: rgba(254, 243, 199, 0.78);
}

.top-search input:focus,
.mobile-search input:focus {
  background: rgba(255, 255, 255, 0.27);
  border-color: rgba(253, 230, 138, 0.64);
  box-shadow: 0 0 0 4px rgba(253, 230, 138, 0.16);
}

.top-search button,
.mobile-search button,
.big-search button {
  border: 0;
  cursor: pointer;
  color: #7c2d12;
  background: linear-gradient(135deg, #fef3c7, #fbbf24);
  font-weight: 800;
}

.top-search button {
  position: absolute;
  right: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.menu-toggle {
  display: none;
  border: 0;
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.12);
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.mobile-panel {
  display: none;
  padding: 18px 20px 22px;
  border-top: 1px solid rgba(253, 230, 138, 0.22);
  background: rgba(120, 53, 15, 0.98);
}

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

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

.mobile-link {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
}

main {
  padding-top: 76px;
}

.hero {
  position: relative;
  min-height: 78vh;
  overflow: hidden;
  background: #451a03;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 420px);
  align-items: center;
  gap: 54px;
  padding: 72px max(28px, calc((100vw - 1180px) / 2)) 86px;
  background-image: linear-gradient(90deg, rgba(67, 20, 7, 0.96) 0%, rgba(120, 53, 15, 0.72) 48%, rgba(67, 20, 7, 0.36) 100%), var(--hero-image);
  background-size: cover;
  background-position: center;
  transition: opacity 0.7s ease;
}

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

.hero-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.26), transparent 28%), linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.45));
}

.hero-content,
.hero-poster,
.detail-inner {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  color: #fde68a;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #b45309;
}

.hero-content h1 {
  margin: 0;
  max-width: 820px;
  color: #fff7ed;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  text-shadow: 0 18px 38px rgba(0, 0, 0, 0.26);
}

.hero-content h2 {
  margin: 16px 0 0;
  color: #fed7aa;
  font-size: clamp(24px, 3vw, 38px);
}

.hero-text {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 247, 237, 0.88);
  font-size: 18px;
  line-height: 1.8;
}

.hero-tags,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

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

.hero-tags span,
.tag-list span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-tags span {
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(253, 230, 138, 0.3);
  padding: 8px 13px;
}

.tag-list span {
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  padding: 6px 10px;
}

.tag-list.large span {
  padding: 8px 12px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: #431407;
  background: linear-gradient(135deg, #fef3c7, #f59e0b);
  box-shadow: 0 18px 38px rgba(245, 158, 11, 0.36);
}

.btn.ghost {
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(254, 243, 199, 0.34);
}

.btn.subtle {
  color: #fde68a;
  background: rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(253, 230, 138, 0.22);
}

.hero-poster {
  align-self: center;
  justify-self: center;
  width: min(100%, 390px);
  aspect-ratio: 3 / 4.2;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(254, 243, 199, 0.35);
  transform: rotate(1.4deg);
}

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

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  color: #fff7ed;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  font-size: 34px;
}

.hero-arrow.prev {
  left: 20px;
}

.hero-arrow.next {
  right: 20px;
}

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

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

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

.quick-panel,
.content-section,
.footer-grid,
.footer-bottom,
.page-hero,
.detail-inner,
.filter-bar {
  width: min(1180px, calc(100% - 32px));
  margin-right: auto;
  margin-left: auto;
}

.quick-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin-top: -48px;
  position: relative;
  z-index: 6;
}

.quick-search-card {
  padding: clamp(22px, 4vw, 42px);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 60px rgba(120, 53, 15, 0.18);
  border: 1px solid rgba(251, 191, 36, 0.28);
  backdrop-filter: blur(20px);
}

.quick-search-card h2 {
  margin: 0 0 22px;
  color: #431407;
  font-size: clamp(24px, 4vw, 40px);
}

.big-search {
  position: relative;
  max-width: 760px;
}

.big-search input {
  min-height: 58px;
  color: #431407;
  background: #fff;
  border-color: #fcd34d;
  box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.1);
}

.big-search input::placeholder,
.filter-bar input::placeholder {
  color: #9a6b42;
}

.big-search button {
  position: absolute;
  right: 6px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
}

.category-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 6px 2px 2px;
}

.category-strip a {
  white-space: nowrap;
  padding: 12px 16px;
  border-radius: 999px;
  color: #7c2d12;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(251, 191, 36, 0.3);
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(120, 53, 15, 0.08);
}

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

.content-section.tinted {
  width: 100%;
  max-width: none;
  margin-top: 20px;
  padding-right: max(16px, calc((100vw - 1180px) / 2));
  padding-left: max(16px, calc((100vw - 1180px) / 2));
  background: linear-gradient(180deg, rgba(255, 251, 235, 0.1), rgba(255, 247, 237, 0.68));
}

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

.section-heading h2 {
  margin: 0;
  color: #431407;
  font-size: clamp(26px, 3.5vw, 42px);
}

.section-heading p {
  margin: 8px 0 0;
  color: #7c5a3c;
  font-size: 16px;
}

.section-link {
  flex: 0 0 auto;
  color: #b45309;
  font-weight: 900;
}

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

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

.movie-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(251, 191, 36, 0.22);
  box-shadow: 0 18px 40px rgba(120, 53, 15, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  border-color: rgba(245, 158, 11, 0.55);
  box-shadow: 0 24px 56px rgba(120, 53, 15, 0.18);
}

.movie-poster {
  display: block;
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #92400e, #7f1d1d);
}

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

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

.poster-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff7ed;
  background: rgba(120, 53, 15, 0.82);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 900;
}

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

.movie-title {
  color: #431407;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.35;
}

.movie-title:hover,
.wide-title:hover {
  color: #b45309;
}

.movie-meta,
.movie-desc {
  margin: 0;
}

.movie-meta {
  color: #9a6b42;
  font-size: 13px;
  font-weight: 700;
}

.movie-desc {
  color: #5f4936;
  font-size: 14px;
  line-height: 1.65;
}

.movie-card.compact .movie-info {
  padding: 15px;
}

.movie-card.compact .movie-title {
  font-size: 16px;
}

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

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

.category-card {
  min-height: 170px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 22px;
  border-radius: 26px;
  color: #fff7ed;
  background: linear-gradient(135deg, #92400e, #c2410c 55%, #be123c);
  box-shadow: 0 18px 46px rgba(120, 53, 15, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  overflow: hidden;
  position: relative;
}

.category-card::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  right: -42px;
  top: -42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 62px rgba(120, 53, 15, 0.25);
}

.category-card span,
.category-card p {
  position: relative;
  z-index: 2;
}

.category-card span {
  font-size: 22px;
  font-weight: 900;
}

.category-card p {
  margin: 0;
  color: rgba(255, 247, 237, 0.82);
  line-height: 1.65;
}

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

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

.wide-card {
  display: grid;
  grid-template-columns: auto 104px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(251, 191, 36, 0.22);
  box-shadow: 0 14px 36px rgba(120, 53, 15, 0.08);
}

.rank-number {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff7ed;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  font-weight: 900;
  font-size: 18px;
}

.wide-thumb {
  display: block;
  width: 104px;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #92400e, #7f1d1d);
}

.wide-thumb img {
  height: 100%;
  object-fit: cover;
}

.wide-body {
  min-width: 0;
}

.wide-title {
  color: #431407;
  font-weight: 900;
  font-size: 17px;
}

.wide-body p {
  margin: 6px 0 0;
  color: #6f513b;
  line-height: 1.55;
  font-size: 14px;
}

.page-hero {
  margin-top: 38px;
  border-radius: 34px;
  color: #fff7ed;
  background: linear-gradient(135deg, #78350f, #c2410c 56%, #be123c);
  box-shadow: 0 24px 65px rgba(120, 53, 15, 0.2);
}

.small-hero {
  padding: clamp(34px, 6vw, 72px);
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  letter-spacing: -0.03em;
}

.page-hero p {
  max-width: 780px;
  margin: 14px 0 0;
  color: rgba(255, 247, 237, 0.84);
  font-size: 18px;
  line-height: 1.75;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 18px;
  color: rgba(255, 247, 237, 0.76);
  font-size: 14px;
}

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

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 12px;
  margin-top: 28px;
  padding: 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(251, 191, 36, 0.22);
  box-shadow: 0 16px 42px rgba(120, 53, 15, 0.08);
}

.filter-bar.advanced {
  grid-template-columns: minmax(0, 1fr) 170px 190px;
}

.filter-bar input,
.filter-bar select {
  color: #431407;
  background: #fff;
  border-color: rgba(217, 119, 6, 0.24);
  padding: 13px 16px;
}

.detail-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-image: linear-gradient(90deg, rgba(67, 20, 7, 0.96), rgba(120, 53, 15, 0.62)), var(--detail-image);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.detail-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 20%, rgba(251, 191, 36, 0.24), transparent 32%), linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.46));
}

.detail-inner {
  display: grid;
  grid-template-columns: minmax(240px, 330px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 6vw, 64px);
  padding: 64px 0;
}

.detail-poster {
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(254, 243, 199, 0.32);
}

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

.detail-copy {
  color: #fff7ed;
}

.detail-copy h1 {
  margin: 10px 0 12px;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.detail-meta,
.detail-lead {
  margin: 0;
  color: rgba(255, 247, 237, 0.86);
}

.detail-meta {
  font-weight: 800;
}

.detail-lead {
  max-width: 780px;
  margin-top: 20px;
  font-size: 18px;
  line-height: 1.8;
}

.detail-copy .tag-list {
  margin: 24px 0;
}

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

.detail-main,
.detail-side,
.prose-section {
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(251, 191, 36, 0.22);
  box-shadow: 0 18px 48px rgba(120, 53, 15, 0.08);
}

.detail-main {
  padding: clamp(22px, 4vw, 36px);
}

.detail-main h2,
.detail-side h2,
.prose-section h2 {
  margin: 0 0 16px;
  color: #431407;
  font-size: 24px;
}

.detail-main p,
.prose-section p {
  margin: 0 0 26px;
  color: #5f4936;
  line-height: 1.9;
  font-size: 16px;
}

.player-shell {
  position: relative;
  margin: 16px 0 34px;
  border-radius: 26px;
  overflow: hidden;
  background: #0f0f0f;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.movie-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.play-trigger {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  color: #fff7ed;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.5));
}

.play-trigger span {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  box-shadow: 0 18px 44px rgba(245, 158, 11, 0.4);
  font-size: 34px;
  padding-left: 6px;
}

.player-shell.is-playing .play-trigger {
  display: none;
}

.detail-side {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.detail-side dl {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  margin: 0 0 22px;
}

.detail-side dt {
  color: #9a6b42;
  font-weight: 900;
}

.detail-side dd {
  margin: 0;
  color: #431407;
  font-weight: 700;
}

.side-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  color: #431407;
  background: linear-gradient(135deg, #fef3c7, #fbbf24);
  font-weight: 900;
}

.prose-section {
  padding: clamp(24px, 5vw, 46px);
}

.site-footer {
  margin-top: 60px;
  color: #fde68a;
  background: linear-gradient(180deg, #78350f, #1c1917);
}

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

.footer-brand {
  color: #fff7ed;
  font-size: 22px;
  margin-bottom: 15px;
}

.site-footer p {
  margin: 0;
  color: rgba(254, 243, 199, 0.76);
  line-height: 1.75;
}

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

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

.site-footer a {
  color: rgba(254, 243, 199, 0.78);
}

.site-footer a:hover {
  color: #fff7ed;
}

.footer-bottom {
  padding: 18px 0 28px;
  color: rgba(254, 243, 199, 0.6);
  border-top: 1px solid rgba(254, 243, 199, 0.16);
  text-align: center;
}

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

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

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

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

  .wide-list.two-columns,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-side {
    position: static;
  }
}

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

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

  .header-inner {
    height: 66px;
  }

  main {
    padding-top: 66px;
  }

  .hero {
    min-height: 860px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 42px 18px 86px;
  }

  .hero-poster {
    width: min(72vw, 300px);
  }

  .hero-arrow {
    top: auto;
    bottom: 26px;
  }

  .hero-arrow.prev {
    left: 18px;
  }

  .hero-arrow.next {
    right: 18px;
  }

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

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

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

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

  .filter-bar,
  .filter-bar.advanced {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .brand {
    font-size: 20px;
  }

  .hero {
    min-height: 840px;
  }

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

  .hero-content h2 {
    font-size: 24px;
  }

  .hero-text,
  .detail-lead,
  .page-hero p {
    font-size: 16px;
  }

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

  .big-search {
    display: grid;
    gap: 10px;
  }

  .big-search button {
    position: static;
    height: 48px;
  }

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

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

  .wide-card {
    grid-template-columns: auto 82px minmax(0, 1fr);
    gap: 12px;
  }

  .wide-thumb {
    width: 82px;
  }

  .rank-number {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    font-size: 15px;
  }

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