:root {
  --color-orange: #ea580c;
  --color-orange-dark: #c2410c;
  --color-amber: #d97706;
  --color-yellow: #eab308;
  --color-teal: #0f766e;
  --color-cyan: #0891b2;
  --color-blue: #2563eb;
  --color-rose: #e11d48;
  --color-emerald: #059669;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-border: #e5e7eb;
  --color-soft: #fff7ed;
  --shadow-soft: 0 20px 45px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.1);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--color-text);
  background: #f9fafb;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-orange), var(--color-amber));
  border-radius: 999px;
  box-shadow: 0 10px 20px rgba(234, 88, 12, 0.25);
  font-size: 14px;
}

.brand-text {
  font-size: 24px;
  line-height: 1;
  background: linear-gradient(90deg, var(--color-orange), var(--color-amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link,
.mobile-link {
  color: #374151;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--color-orange);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: #374151;
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--color-border);
  padding: 10px 16px 16px;
  background: #fff;
}

.mobile-nav.is-open {
  display: grid;
  gap: 12px;
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  background: linear-gradient(135deg, var(--color-orange), var(--color-amber) 55%, var(--color-yellow));
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.26), transparent 26%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.18), transparent 28%),
    rgba(0, 0, 0, 0.28);
}

.hero-inner {
  position: relative;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 0 36px;
}

.hero-slide {
  display: none;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 420px);
  gap: 54px;
  align-items: center;
  color: #fff;
}

.hero-slide.active {
  display: grid;
  animation: fadeUp 0.5s ease both;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-orange);
  background: #ffedd5;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-copy .eyebrow,
.page-hero .section-kicker,
.ranking-hero .section-kicker,
.detail-hero .section-kicker {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.hero-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-lead {
  max-width: 760px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2.4vw, 25px);
}

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

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

.hero-tags span,
.detail-tags span {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.card-tags span {
  color: #92400e;
  background: #fffbeb;
}

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

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

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

.btn-light {
  color: var(--color-orange);
  background: #fff;
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.14);
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 500px;
  border-radius: 32px;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.28);
  transform: rotate(1deg);
}

.hero-poster img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.78));
}

.hero-poster-info {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 24px;
  z-index: 1;
  display: grid;
  gap: 6px;
  color: #fff;
}

.hero-poster-info strong {
  font-size: 24px;
  line-height: 1.2;
}

.hero-poster-info em {
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
}

.hero-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 36px;
}

.hero-search {
  display: flex;
  width: min(100%, 560px);
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  padding: 0 18px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #111827;
}

.hero-search button {
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-orange), var(--color-amber));
  font-weight: 800;
  cursor: pointer;
}

.hero-dots {
  display: flex;
  gap: 10px;
}

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

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

.section {
  padding: 74px 0;
}

.section-white {
  background: #fff;
}

.section-soft {
  background: linear-gradient(135deg, #fff7ed, #fffbeb);
}

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

.section-head.compact {
  margin-bottom: 20px;
}

.section-head h2,
.ranking-title h2,
.detail-text-card h2 {
  margin: 10px 0 0;
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.2;
}

.section-more,
.full-link,
.category-enter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange);
  font-weight: 800;
}

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

.category-tile {
  display: grid;
  gap: 12px;
  min-height: 184px;
  padding: 26px;
  text-align: center;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #f0fdfa, #ecfeff);
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin: 0 auto;
  color: #fff;
  background: linear-gradient(135deg, var(--color-teal), var(--color-cyan));
  border-radius: 999px;
  font-size: 24px;
}

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

.category-tile em {
  color: var(--color-muted);
  font-size: 14px;
  font-style: normal;
}

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.16);
}

.card-poster {
  position: relative;
  display: block;
  overflow: hidden;
  height: 250px;
  background: linear-gradient(135deg, #fed7aa, #fef3c7);
}

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

.movie-card:hover .card-poster img,
.compact-card:hover img,
.ranking-feature:hover img {
  transform: scale(1.08);
}

.card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.72));
}

.card-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  max-width: calc(100% - 28px);
  overflow: hidden;
  color: #fff;
  background: rgba(37, 99, 235, 0.88);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-play,
.player-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  color: var(--color-orange);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  transform: translate(-50%, -50%) scale(0.86);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.18);
}

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

.card-body {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.card-title {
  overflow: hidden;
  color: #111827;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.card-title:hover,
.movie-card:hover .card-title {
  color: var(--color-orange);
}

.card-body p {
  display: -webkit-box;
  min-height: 48px;
  margin: 0;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--color-muted);
  font-size: 13px;
}

.card-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-meta a {
  flex: 0 0 auto;
  color: var(--color-emerald);
  font-weight: 800;
}

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

.compact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

.compact-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 178px;
  border-radius: var(--radius-lg);
  background: #111827;
  box-shadow: var(--shadow-card);
}

.compact-card img {
  width: 100%;
  height: 178px;
  object-fit: cover;
  opacity: 0.86;
  transition: transform 0.45s ease, opacity 0.25s ease;
}

.compact-card:hover img {
  opacity: 1;
}

.compact-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.76));
}

.compact-info {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  z-index: 1;
  display: grid;
  gap: 4px;
  color: #fff;
}

.compact-info strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.compact-info em {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  font-style: normal;
}

.ranking-box {
  position: sticky;
  top: 90px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: #111827;
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.ranking-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.ranking-title h2 {
  color: #fff;
  font-size: 26px;
}

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

.ranking-list .compact-card {
  min-height: 92px;
  box-shadow: none;
}

.ranking-list .compact-card img {
  height: 92px;
}

.small-rank,
.rank-num {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--color-rose);
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(225, 29, 72, 0.28);
}

.small-rank {
  width: 30px;
  height: 30px;
  font-size: 13px;
}

.rank-num {
  width: 38px;
  height: 38px;
}

.full-link {
  width: 100%;
  min-height: 44px;
  margin-top: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-orange), var(--color-amber));
  border-radius: 999px;
}

.page-hero,
.ranking-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, var(--color-orange), var(--color-amber) 58%, var(--color-yellow));
}

.page-hero::before,
.ranking-hero::before,
.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.24);
}

.page-hero .container,
.ranking-hero .container,
.detail-hero .container {
  position: relative;
}

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

.page-hero h1,
.ranking-hero h1,
.detail-info h1 {
  margin: 18px 0 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.page-hero p,
.ranking-hero p,
.detail-lead {
  max-width: 780px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
}

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

.category-overview-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.category-overview-head {
  display: flex;
  gap: 16px;
}

.category-overview-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 58px;
  height: 58px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-teal), var(--color-cyan));
  border-radius: 999px;
  font-size: 24px;
}

.category-overview-head h2 {
  margin: 0 0 8px;
}

.category-overview-head p {
  margin: 0;
  color: var(--color-muted);
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.category-samples a {
  color: #9a3412;
  background: #ffedd5;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 800;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 180px 160px;
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.filter-panel label {
  display: grid;
  gap: 7px;
  color: #374151;
  font-size: 13px;
  font-weight: 800;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  height: 46px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 0 13px;
  outline: 0;
  background: #fff;
  color: #111827;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.12);
}

.filter-grid .movie-card.is-hidden {
  display: none;
}

.ranking-hero {
  padding: 70px 0;
}

.ranking-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: center;
}

.ranking-feature {
  display: grid;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-soft);
}

.ranking-feature img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.ranking-feature strong,
.ranking-feature span {
  padding: 0 20px;
}

.ranking-feature strong {
  padding-top: 18px;
  font-size: 22px;
}

.ranking-feature span {
  padding-bottom: 20px;
  color: rgba(255, 255, 255, 0.82);
}

.detail-hero {
  padding: 48px 0 66px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

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

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

.detail-cover {
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.28);
}

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

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.detail-meta span {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 800;
}

.player-section {
  padding-top: 56px;
}

.player-block {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #020617;
  box-shadow: var(--shadow-soft);
  aspect-ratio: 16 / 9;
}

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

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

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

.player-cover-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.66));
}

.player-cover .player-button {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.detail-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.detail-text-card {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.detail-text-card p {
  margin: 16px 0 0;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.9;
}

.site-footer {
  color: #d1d5db;
  background: #111827;
}

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

.footer-brand {
  color: #fff;
  font-size: 20px;
}

.site-footer p {
  max-width: 460px;
  color: #9ca3af;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #fff;
}

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

.footer-links a {
  color: #d1d5db;
  transition: color 0.2s ease;
}

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

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

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .category-grid,
  .movie-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .split-layout,
  .ranking-hero-inner {
    grid-template-columns: 1fr;
  }

  .ranking-box {
    position: static;
  }

  .filter-panel {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .menu-toggle {
    display: flex;
  }

  .hero-section,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    padding: 48px 0 30px;
  }

  .hero-slide,
  .hero-slide.active {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-poster,
  .hero-poster img {
    min-height: auto;
    height: 360px;
  }

  .hero-control-row,
  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-search {
    width: 100%;
  }

  .category-grid,
  .movie-grid,
  .compact-grid,
  .compact-grid-four,
  .category-overview-grid,
  .detail-text-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .detail-cover img {
    height: 420px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 22px, var(--container));
  }

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

  .hero-copy h1,
  .page-hero h1,
  .ranking-hero h1,
  .detail-info h1 {
    font-size: 34px;
  }

  .hero-search {
    display: grid;
    border-radius: 22px;
  }

  .hero-search input {
    min-height: 44px;
  }

  .hero-search button {
    width: 100%;
  }

  .category-grid,
  .movie-grid,
  .compact-grid,
  .compact-grid-four,
  .category-overview-grid,
  .detail-text-grid,
  .footer-grid,
  .filter-panel {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 54px 0;
  }

  .card-poster {
    height: 230px;
  }

  .page-hero,
  .ranking-hero,
  .detail-hero {
    padding: 48px 0;
  }

  .ranking-feature img,
  .detail-cover img {
    height: 340px;
  }
}
