:root {
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --pink-600: #db2777;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(17, 24, 39, 0.12);
  --soft-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--gray-50);
  color: var(--gray-900);
  line-height: 1.6;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, var(--rose-100), var(--gray-200));
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.82);
  box-shadow: 0 8px 24px rgba(17, 24, 39, 0.04);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.brand-mark,
.footer-brand span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose-500), var(--pink-600));
  box-shadow: 0 10px 22px rgba(244, 63, 94, 0.28);
}

.brand-name {
  font-size: 22px;
  background: linear-gradient(120deg, var(--rose-500), var(--pink-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.nav-link {
  color: var(--gray-700);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--rose-600);
}

.nav-link:hover {
  transform: translateY(-1px);
}

.nav-link-soft {
  font-weight: 500;
  color: var(--gray-500);
}

.header-search,
.mobile-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  background: var(--white);
  padding: 4px;
}

.header-search input,
.mobile-search input {
  width: 188px;
  border: 0;
  outline: 0;
  padding: 8px 12px;
  background: transparent;
}

.header-search button,
.mobile-search button,
.hero-search button,
.btn.primary {
  border: 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose-500), var(--pink-600));
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(244, 63, 94, 0.25);
}

.mobile-menu-button {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 6px;
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--gray-700);
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--gray-200);
  padding: 16px 22px 20px;
  background: var(--white);
}

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

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

main {
  min-height: 70vh;
}

.hero {
  position: relative;
  overflow: hidden;
  background: var(--gray-900);
  color: var(--white);
}

.hero-slider {
  position: relative;
  min-height: 650px;
}

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

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

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.36;
  filter: blur(2px) saturate(1.2);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.72), rgba(17, 24, 39, 0.35));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  min-height: 650px;
  margin: 0 auto;
  padding: 84px 22px 132px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 360px;
  gap: 56px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rose-500);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.hero-copy p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
}

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

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

.hero-tags span,
.tag-row span,
.detail-tags a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 11px;
  color: var(--rose-600);
  background: var(--rose-50);
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

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

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

.btn.ghost {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn.text {
  color: var(--white);
  padding-left: 4px;
}

.hero-poster {
  position: relative;
  height: 500px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.42);
  transform: rotate(2deg);
}

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

.hero-poster span,
.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: rgba(244, 63, 94, 0.9);
  box-shadow: 0 12px 30px rgba(244, 63, 94, 0.3);
}

.hero-bottom {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 4;
  transform: translateX(-50%);
  width: min(calc(100% - 44px), var(--container));
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.hero-search {
  display: flex;
  gap: 8px;
  padding: 5px;
  border-radius: 999px;
  background: var(--white);
}

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

.hero-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-categories a {
  border-radius: 999px;
  padding: 9px 13px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font-size: 13px;
  font-weight: 700;
}

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

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

.hero-dot.active {
  width: 28px;
  background: var(--white);
}

.hero-thumbs {
  position: absolute;
  right: max(22px, calc((100vw - var(--container)) / 2));
  bottom: 122px;
  z-index: 5;
  display: grid;
  gap: 10px;
}

.hero-thumb {
  width: 210px;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 8px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(17, 24, 39, 0.32);
  backdrop-filter: blur(12px);
  cursor: pointer;
  text-align: left;
}

.hero-thumb img {
  height: 64px;
  border-radius: 10px;
}

.hero-thumb.active {
  border-color: rgba(244, 63, 94, 0.82);
  background: rgba(244, 63, 94, 0.22);
}

.section,
.page-hero,
.breadcrumb,
.detail-hero {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: 22px;
  padding-right: 22px;
}

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

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

.section-head h2,
.page-hero h1,
.rank-panel-head h2,
.detail-text h2,
.detail-side h2,
.player-card h2 {
  margin: 4px 0 0;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 40px);
}

.section-link,
.rank-panel-head a {
  color: var(--rose-600);
  font-weight: 800;
}

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

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

.search-grid {
  align-items: stretch;
}

.wide-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 1fr);
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--soft-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--gray-200);
}

.movie-card.compact .poster-link {
  aspect-ratio: 16 / 10;
}

.poster-link img {
  transition: transform 0.35s ease, filter 0.35s ease;
}

.movie-card:hover img {
  transform: scale(1.055);
  filter: saturate(1.08);
}

.poster-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.56));
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.poster-play {
  width: 46px;
  height: 46px;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 3;
  min-width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, #f97316, var(--rose-600));
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.25);
}

.movie-card-body {
  padding: 16px 16px 18px;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--gray-500);
  font-size: 12px;
  font-weight: 700;
}

.movie-card h3 {
  margin: 10px 0 8px;
  font-size: 18px;
  line-height: 1.25;
}

.movie-card h3 a:hover {
  color: var(--rose-600);
}

.movie-card p {
  margin: 0 0 12px;
  color: var(--gray-600);
  font-size: 14px;
}

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

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

.rank-panel {
  border-radius: var(--radius-xl);
  padding: 22px;
  background: var(--gray-900);
  color: var(--white);
  box-shadow: var(--shadow);
}

.sticky-rank {
  position: sticky;
  top: 98px;
}

.rank-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.rank-panel-head h2 {
  font-size: 24px;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 34px 58px 1fr auto;
  gap: 10px;
  align-items: center;
  border-radius: 16px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.07);
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
  background: rgba(244, 63, 94, 0.22);
  transform: translateX(3px);
}

.rank-num {
  color: var(--rose-500);
  font-weight: 900;
  text-align: center;
}

.rank-item img {
  height: 70px;
  border-radius: 12px;
}

.rank-title {
  font-weight: 800;
  line-height: 1.25;
}

.rank-type {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

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

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

.category-tile,
.category-card-large a {
  display: block;
  min-height: 150px;
  border: 1px solid rgba(244, 63, 94, 0.1);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: linear-gradient(135deg, var(--white), var(--rose-50));
  box-shadow: var(--soft-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover,
.category-card-large a:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.category-tile span,
.category-card-large h2 {
  color: var(--gray-900);
  font-size: 22px;
  font-weight: 900;
}

.category-tile p,
.category-card-large p {
  margin: 12px 0 0;
  color: var(--gray-600);
}

.category-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose-500), var(--pink-600));
}

.page-hero {
  padding-top: 70px;
  padding-bottom: 42px;
}

.page-hero.slim {
  text-align: center;
}

.page-hero h1 {
  margin-top: 10px;
  font-size: clamp(34px, 5vw, 56px);
}

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

.category-page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 30px;
  align-items: end;
}

.category-page-hero p {
  margin-left: 0;
}

.category-feature {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  border-radius: var(--radius-xl);
  padding: 16px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.category-feature img {
  height: 150px;
  border-radius: 18px;
}

.category-feature span {
  color: var(--rose-600);
  font-size: 13px;
  font-weight: 800;
}

.category-feature h2 {
  margin: 6px 0 8px;
  font-size: 24px;
}

.category-feature p {
  margin: 0;
  font-size: 14px;
}

.filter-panel {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px 20px;
}

.filter-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) repeat(3, minmax(150px, 1fr));
  gap: 14px;
  border-radius: var(--radius-xl);
  padding: 18px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.filter-inner label {
  display: grid;
  gap: 7px;
  color: var(--gray-600);
  font-size: 13px;
  font-weight: 800;
}

.filter-inner input,
.filter-inner select {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--gray-800);
  background: var(--gray-50);
  outline: 0;
}

.filter-inner input:focus,
.filter-inner select:focus {
  border-color: var(--rose-500);
  background: var(--white);
}

.empty-state {
  margin: 22px 0 0;
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  color: var(--gray-600);
  background: var(--white);
}

.breadcrumb {
  padding-top: 30px;
  color: var(--gray-500);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--rose-600);
}

.breadcrumb span {
  margin: 0 8px;
}

.detail-hero {
  padding-top: 34px;
  padding-bottom: 36px;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.detail-poster {
  height: 430px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
  background: var(--gray-200);
}

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

.detail-one-line {
  max-width: 780px;
  margin: 0 0 18px;
  color: var(--gray-600);
  font-size: 19px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.detail-meta span {
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--gray-700);
  background: var(--white);
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.06);
  font-size: 14px;
  font-weight: 800;
}

.detail-tags {
  margin-bottom: 24px;
}

.detail-section {
  padding-top: 20px;
}

.player-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 22px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.player-card h2 {
  margin-bottom: 18px;
  font-size: 28px;
}

.video-player {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000;
  aspect-ratio: 16 / 9;
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  border: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.12), rgba(17, 24, 39, 0.72));
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

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

.play-circle {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding-left: 4px;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose-500), var(--pink-600));
  box-shadow: 0 18px 42px rgba(244, 63, 94, 0.35);
}

.prose-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
  align-items: start;
}

.detail-text,
.detail-side {
  border-radius: var(--radius-xl);
  padding: 28px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.detail-text h2,
.detail-side h2 {
  font-size: 26px;
}

.detail-text p {
  color: var(--gray-700);
  font-size: 17px;
}

.detail-side dl {
  margin: 18px 0 0;
  display: grid;
  gap: 13px;
}

.detail-side dl div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 10px;
}

.detail-side dt {
  color: var(--gray-500);
}

.detail-side dd {
  margin: 0;
  color: var(--gray-900);
  font-weight: 800;
  text-align: right;
}

.site-footer {
  margin-top: 40px;
  color: rgba(255, 255, 255, 0.72);
  background: var(--gray-900);
}

.footer-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 52px 22px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 22px;
  font-weight: 900;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: var(--white);
}

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

.site-footer a:hover {
  color: var(--rose-500);
}

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

[hidden] {
  display: none !important;
}

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

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

  .hero-content {
    grid-template-columns: 1fr 280px;
  }

  .hero-thumbs {
    display: none;
  }

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

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

  .sticky-rank {
    position: static;
  }
}

@media (max-width: 820px) {
  .hero-slider,
  .hero-content {
    min-height: 720px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding-top: 58px;
    padding-bottom: 220px;
  }

  .hero-poster {
    display: none;
  }

  .hero-bottom {
    grid-template-columns: 1fr;
  }

  .hero-categories,
  .hero-dots {
    justify-content: center;
  }

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

  .category-page-hero,
  .detail-hero {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    height: 380px;
  }

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

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

@media (max-width: 560px) {
  .header-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-name {
    font-size: 19px;
  }

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

  .hero-copy p,
  .detail-one-line,
  .page-hero p {
    font-size: 16px;
  }

  .hero-bottom {
    width: calc(100% - 28px);
    bottom: 16px;
  }

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

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

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

  .section,
  .page-hero,
  .breadcrumb,
  .detail-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .detail-poster {
    height: 330px;
  }

  .player-card,
  .detail-text,
  .detail-side {
    padding: 18px;
    border-radius: 20px;
  }

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