:root {
  --page-bg: #fff7ed;
  --panel-bg: #ffffff;
  --soft-bg: #fffbeb;
  --line: #fde68a;
  --line-strong: #fcd34d;
  --text: #78350f;
  --muted: #92400e;
  --muted-light: #b45309;
  --primary: #f59e0b;
  --primary-dark: #d97706;
  --orange: #ea580c;
  --shadow: 0 24px 60px rgba(120, 53, 15, 0.14);
  --shadow-soft: 0 14px 35px rgba(120, 53, 15, 0.1);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #fff7ed 0%, #fffbeb 48%, #fed7aa 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.95), rgba(255, 237, 213, 0.95));
  border-bottom: 1px solid rgba(251, 191, 36, 0.32);
  box-shadow: 0 8px 28px rgba(120, 53, 15, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1240px, calc(100% - 32px));
  height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-weight: 900;
}

.brand-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--orange));
  color: #fff;
  box-shadow: 0 12px 26px rgba(245, 158, 11, 0.28);
}

.brand-text {
  font-size: 26px;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, #d97706, #ea580c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link {
  padding: 9px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  background: #fef3c7;
  color: var(--primary-dark);
}

.header-search {
  width: 280px;
  display: flex;
  align-items: center;
  border: 1px solid #fcd34d;
  background: rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  overflow: hidden;
}

.header-search input,
.mobile-search input,
.search-page-form input,
.category-search,
.category-select {
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.header-search input {
  width: 100%;
  padding: 10px 14px;
}

.header-search button,
.mobile-search button,
.search-page-form button {
  border: 0;
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--primary), var(--orange));
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #fef3c7;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.mobile-nav {
  display: none;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

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

.mobile-link {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--muted);
  font-weight: 800;
}

.mobile-search {
  display: flex;
  margin: 4px 0 12px;
  border: 1px solid #fcd34d;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.mobile-search input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
}

main {
  width: 100%;
}

.hero-slider {
  position: relative;
  height: min(720px, 72vh);
  min-height: 520px;
  overflow: hidden;
  background: #451a03;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 900ms ease, visibility 900ms ease;
}

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

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 75% 40%, rgba(245, 158, 11, 0.18), transparent 32%),
    linear-gradient(90deg, rgba(24, 10, 3, 0.86) 0%, rgba(24, 10, 3, 0.54) 42%, rgba(24, 10, 3, 0.18) 100%),
    linear-gradient(0deg, rgba(24, 10, 3, 0.8) 0%, transparent 52%);
}

.hero-content {
  position: absolute;
  left: max(32px, calc((100% - 1240px) / 2));
  bottom: 86px;
  width: min(700px, calc(100% - 64px));
  color: #fff;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--orange));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 14px 35px rgba(234, 88, 12, 0.28);
}

.hero-content h1 {
  margin: 18px 0 16px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.96;
  font-weight: 950;
  letter-spacing: -0.06em;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.hero-content p {
  max-width: 680px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.7;
}

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

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
}

.primary-btn {
  background: linear-gradient(135deg, var(--primary), var(--orange));
  color: #fff;
  box-shadow: 0 18px 34px rgba(234, 88, 12, 0.25);
}

.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 44px rgba(234, 88, 12, 0.32);
}

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

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.24);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.68);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

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

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

.intro-strip,
.content-section,
.category-band,
.split-section,
.filter-bar,
.breadcrumb,
.detail-hero,
.watch-section,
.detail-body,
.page-hero {
  width: min(1240px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

.intro-strip {
  margin-top: -42px;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.intro-strip div {
  padding: 24px;
  border: 1px solid rgba(252, 211, 77, 0.74);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.intro-strip strong {
  display: block;
  font-size: 21px;
  color: var(--text);
}

.intro-strip span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.content-section,
.category-band,
.split-section {
  padding: 76px 0 0;
}

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

.section-heading span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.section-heading h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.section-heading a {
  color: var(--primary-dark);
  font-weight: 900;
}

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

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

.movie-grid.one-col {
  grid-template-columns: 1fr;
}

.movie-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(252, 211, 77, 0.55);
  box-shadow: 0 8px 22px rgba(120, 53, 15, 0.08);
  overflow: hidden;
  transition: transform 280ms ease, box-shadow 280ms ease, border-color 280ms ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.85);
  box-shadow: var(--shadow);
}

.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #451a03, #f59e0b);
}

.movie-card-wide .poster-wrap {
  aspect-ratio: 16 / 10;
}

.poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

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

.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.48), transparent 58%);
  opacity: 0;
  transition: opacity 260ms ease;
}

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

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--primary-dark);
  font-weight: 900;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 260ms ease, transform 260ms ease;
}

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

.poster-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.64);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

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

.movie-meta-line,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted-light);
  font-size: 13px;
  font-weight: 800;
}

.movie-meta-line span,
.detail-meta span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #fef3c7;
}

.movie-card h2 {
  margin: 13px 0 9px;
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 900;
}

.movie-card h2 a:hover {
  color: var(--primary-dark);
}

.movie-card p {
  flex: 1;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.card-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.card-tags span,
.detail-tags span {
  padding: 6px 9px;
  border-radius: 999px;
  background: #fffbeb;
  color: var(--primary-dark);
  border: 1px solid #fde68a;
  font-size: 12px;
  font-weight: 800;
}

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(270px, 320px);
  gap: 20px;
  padding-bottom: 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.scroll-row .movie-card {
  scroll-snap-align: start;
}

.category-band {
  padding: 58px 28px;
  margin-top: 76px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(254, 243, 199, 0.95), rgba(255, 237, 213, 0.95));
  box-shadow: var(--shadow-soft);
}

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

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

.category-tile {
  min-height: 150px;
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(252, 211, 77, 0.72);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 24px rgba(120, 53, 15, 0.08);
}

.category-tile:hover {
  transform: translateY(-5px);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.category-tile span {
  display: block;
  margin-bottom: 9px;
  font-size: 22px;
  color: var(--text);
  font-weight: 950;
}

.category-tile p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}

.rank-panel,
.ranking-side {
  position: sticky;
  top: 92px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(252, 211, 77, 0.68);
  box-shadow: var(--shadow-soft);
}

.rank-panel-head span,
.page-hero span {
  color: var(--primary-dark);
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.rank-panel-head h2,
.ranking-side h2 {
  margin: 8px 0 20px;
  color: var(--text);
  font-size: 32px;
  font-weight: 950;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 42px 68px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  background: #fffbeb;
  border: 1px solid rgba(252, 211, 77, 0.45);
}

.rank-item:hover {
  background: #fff7ed;
  transform: translateX(4px);
}

.rank-number {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--orange));
  color: #fff;
  font-weight: 950;
}

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

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

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

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

.rank-info em {
  color: var(--muted-light);
  font-size: 13px;
  font-style: normal;
}

.page-hero {
  margin-top: 42px;
  padding: clamp(48px, 8vw, 86px);
  border-radius: 36px;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 10%, rgba(245, 158, 11, 0.2), transparent 30%),
    linear-gradient(135deg, #fff7ed, #fffbeb 50%, #fed7aa);
  border: 1px solid rgba(252, 211, 77, 0.62);
  box-shadow: var(--shadow-soft);
}

.rank-hero {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(69, 26, 3, 0.92), rgba(146, 64, 14, 0.82)),
    radial-gradient(circle at 80% 20%, #f59e0b, transparent 32%);
}

.page-hero h1 {
  margin: 12px 0 16px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.06em;
}

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

.rank-hero p {
  color: rgba(255, 255, 255, 0.86);
}

.filter-bar {
  margin-top: 30px;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 16px;
}

.category-search,
.category-select {
  height: 54px;
  padding: 0 18px;
  border: 1px solid #fcd34d;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(120, 53, 15, 0.06);
}

.empty-state {
  margin-top: 24px;
  padding: 32px;
  border-radius: 24px;
  background: #fff;
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.ranking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}

.ranking-list-big .rank-item {
  grid-template-columns: 54px 110px 1fr;
  padding: 14px;
}

.ranking-list-big .rank-item img {
  width: 110px;
  height: 74px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 28px;
  color: var(--muted-light);
  font-size: 14px;
  font-weight: 800;
}

.breadcrumb a:hover {
  color: var(--primary-dark);
}

.detail-hero {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
  padding: 34px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 251, 235, 0.92));
  border: 1px solid rgba(252, 211, 77, 0.68);
  box-shadow: var(--shadow-soft);
}

.detail-poster {
  border-radius: 28px;
  overflow: hidden;
  background: #451a03;
  box-shadow: 0 20px 50px rgba(120, 53, 15, 0.18);
}

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

.detail-info {
  align-self: center;
}

.detail-info h1 {
  margin: 18px 0 18px;
  color: var(--text);
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1.04;
  font-weight: 950;
  letter-spacing: -0.06em;
}

.detail-info p {
  max-width: 760px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.8;
}

.detail-info .primary-btn {
  margin-top: 26px;
}

.watch-section {
  padding-top: 64px;
}

.watch-section h2,
.detail-body h2 {
  margin: 0 0 22px;
  color: var(--text);
  font-size: 32px;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.movie-player {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  background: #111827;
  box-shadow: 0 28px 80px rgba(69, 26, 3, 0.28);
  aspect-ratio: 16 / 9;
}

.movie-player video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #111827;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.42));
  cursor: pointer;
}

.play-overlay span {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  padding-left: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-dark);
  font-size: 44px;
  font-weight: 950;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

.movie-player.is-playing .play-overlay {
  opacity: 0;
  pointer-events: none;
}

.player-error {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  background: rgba(127, 29, 29, 0.82);
  font-weight: 800;
}

.detail-body {
  padding-top: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}

.detail-body article,
.detail-body aside {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(252, 211, 77, 0.6);
  box-shadow: var(--shadow-soft);
}

.detail-body article p {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.95;
}

.detail-body article p:last-child {
  margin-bottom: 0;
}

.detail-body dl {
  display: grid;
  gap: 14px;
  margin: 0;
}

.detail-body dt {
  color: var(--primary-dark);
  font-weight: 950;
}

.detail-body dd {
  margin: -8px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.search-page-form {
  display: flex;
  max-width: 720px;
  margin-top: 28px;
  border: 1px solid #fcd34d;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
}

.search-page-form input {
  flex: 1;
  min-width: 0;
  padding: 0 22px;
  height: 58px;
}

.search-page-form button {
  padding: 0 28px;
}

.site-footer {
  margin-top: 96px;
  background: linear-gradient(180deg, rgba(255, 251, 235, 0.95), rgba(255, 237, 213, 0.98));
  border-top: 1px solid rgba(252, 211, 77, 0.55);
}

.footer-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 50px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) 1fr 1fr;
  gap: 36px;
}

.footer-brand p {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.footer-column h2 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: 18px;
  font-weight: 950;
}

.footer-column a {
  display: block;
  margin: 10px 0;
  color: var(--muted);
  font-weight: 700;
}

.footer-column a:hover {
  color: var(--primary-dark);
}

.footer-bottom {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 28px;
  color: var(--muted-light);
  border-top: 1px solid rgba(252, 211, 77, 0.55);
  font-size: 14px;
}

@media (max-width: 1100px) {
  .desktop-nav,
  .header-search {
    display: none;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

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

  .split-section,
  .ranking-layout,
  .detail-body {
    grid-template-columns: 1fr;
  }

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

  .detail-hero {
    grid-template-columns: 300px minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .header-inner {
    height: 64px;
  }

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

  .hero-slider {
    height: 74vh;
    min-height: 520px;
  }

  .hero-content {
    left: 20px;
    bottom: 80px;
    width: calc(100% - 40px);
  }

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

  .hero-arrow {
    display: none;
  }

  .intro-strip,
  .movie-grid,
  .movie-grid.three-cols,
  .category-grid,
  .category-grid-large,
  .filter-bar,
  .detail-hero,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .intro-strip {
    margin-top: 18px;
  }

  .category-band {
    width: min(1240px, calc(100% - 32px));
    margin-top: 54px;
    padding: 36px 18px;
  }

  .content-section,
  .split-section {
    padding-top: 54px;
  }

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

  .detail-hero {
    padding: 20px;
  }

  .detail-poster img {
    min-height: 320px;
  }

  .detail-info h1,
  .page-hero h1 {
    font-size: 40px;
  }

  .ranking-list-big .rank-item,
  .rank-item {
    grid-template-columns: 42px 72px 1fr;
  }

  .ranking-list-big .rank-item img,
  .rank-item img {
    width: 72px;
    height: 54px;
  }

  .search-page-form {
    border-radius: 20px;
    flex-direction: column;
  }

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