:root {
  --bg: #fff7f7;
  --surface: #ffffff;
  --surface-soft: #fff1f2;
  --ink: #111827;
  --muted: #6b7280;
  --line: #ffe4e6;
  --rose: #e11d48;
  --rose-dark: #be123c;
  --orange: #fb923c;
  --gold: #f59e0b;
  --shadow: 0 22px 50px rgba(190, 18, 60, 0.13);
  --radius: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(251, 146, 60, 0.16), transparent 32rem),
    radial-gradient(circle at 90% 8%, rgba(225, 29, 72, 0.14), transparent 28rem),
    var(--bg);
  line-height: 1.65;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid rgba(255, 228, 230, 0.9);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(190, 18, 60, 0.08);
}

.header-inner {
  max-width: 1240px;
  height: 72px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  font-weight: 900;
  color: var(--ink);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--orange));
  box-shadow: 0 14px 26px rgba(225, 29, 72, 0.25);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.08) rotate(-4deg);
}

.brand-name {
  font-size: 22px;
  letter-spacing: 0.03em;
}

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

.nav-link,
.mobile-link {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #4b5563;
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link {
  padding: 10px 16px;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--rose);
  background: #fff1f2;
}

.header-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  width: min(360px, 32vw);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(225, 29, 72, 0.07);
}

.header-search input,
.large-search input,
.inline-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.header-search input {
  flex: 1;
  padding: 12px 16px;
}

.header-search button,
.large-search button {
  border: 0;
  cursor: pointer;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--rose), var(--orange));
}

.header-search button {
  align-self: stretch;
  padding: 0 18px;
}

.menu-button {
  display: none;
  border: 0;
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  padding: 10px 16px;
  background: linear-gradient(135deg, var(--rose), var(--orange));
}

.mobile-nav {
  display: none;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 22px 16px;
  gap: 10px;
  flex-wrap: wrap;
}

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

.mobile-link {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.72);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 72px));
  overflow: hidden;
  background: #1f0d18;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.65s ease, transform 0.8s ease;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.05);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.62), rgba(225, 29, 72, 0.22)),
    linear-gradient(0deg, rgba(17, 24, 39, 0.55), rgba(17, 24, 39, 0.1));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 44px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 54px;
  padding: 76px 0 104px;
}

.hero-copy {
  max-width: 780px;
  color: #fff;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 18px;
  padding: 8px 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(12px);
}

.section-kicker {
  color: var(--rose);
  background: #fff1f2;
  padding: 7px 13px;
}

.hero h1,
.hero h2 {
  margin: 0 0 18px;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.04;
  font-weight: 950;
  letter-spacing: -0.055em;
  text-shadow: 0 16px 40px rgba(0, 0, 0, 0.34);
}

.hero h2 + p,
.hero p {
  max-width: 690px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

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

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

.hero-tags span {
  color: #fff;
  padding: 7px 12px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tag-row span {
  color: var(--rose-dark);
  background: #fff1f2;
  padding: 5px 9px;
}

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

.btn-primary,
.btn-ghost,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn-primary {
  min-height: 48px;
  padding: 0 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--orange));
  box-shadow: 0 18px 32px rgba(225, 29, 72, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 38px rgba(225, 29, 72, 0.34);
}

.btn-ghost {
  min-height: 48px;
  padding: 0 24px;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  display: block;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.28);
  transform: rotate(1.5deg);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
}

.hero-poster span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--rose), var(--orange));
}

.hero-controls {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-arrow {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.16);
}

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

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

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

.section-wrap {
  width: min(1240px, calc(100% - 44px));
  margin: 54px auto;
}

.search-panel,
.filter-panel,
.search-page-panel {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.search-panel {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: center;
  padding: 30px;
  margin-top: -42px;
  position: relative;
  z-index: 6;
}

.search-panel h2,
.section-heading h2,
.page-hero h1,
.detail-copy h1,
.content-card h2 {
  margin: 10px 0 0;
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 950;
}

.search-panel h2,
.section-heading h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.large-search {
  display: flex;
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(225, 29, 72, 0.09);
}

.large-search input {
  flex: 1;
  padding: 0 22px;
}

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

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

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

.text-link {
  color: var(--rose);
  background: #fff1f2;
  padding: 11px 17px;
}

.text-link:hover {
  color: #fff;
  background: var(--rose);
}

.category-grid,
.overview-grid {
  display: grid;
  gap: 20px;
}

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

.category-tile,
.category-overview-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.category-tile {
  min-height: 220px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover,
.movie-card:hover,
.ranking-item:hover,
.category-overview-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 58px rgba(190, 18, 60, 0.17);
}

.tile-title {
  position: relative;
  z-index: 2;
  font-size: 24px;
  font-weight: 950;
}

.tile-desc {
  position: relative;
  z-index: 2;
  color: var(--muted);
  font-weight: 700;
}

.tile-posters {
  display: flex;
  margin-top: 18px;
}

.tile-posters img {
  width: 54px;
  height: 78px;
  object-fit: cover;
  border-radius: 14px;
  border: 3px solid #fff;
  box-shadow: 0 10px 18px rgba(17, 24, 39, 0.16);
}

.tile-posters img + img {
  margin-left: -16px;
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 18px 38px rgba(190, 18, 60, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: #111827;
}

.poster-link img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.36s ease, filter 0.36s ease;
}

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

.poster-badge,
.poster-score {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 10px;
}

.poster-badge {
  left: 12px;
  top: 12px;
  background: rgba(225, 29, 72, 0.88);
}

.poster-score {
  right: 12px;
  bottom: 12px;
  background: rgba(17, 24, 39, 0.76);
  backdrop-filter: blur(10px);
}

.card-body {
  padding: 16px;
}

.card-title {
  margin: 0 0 7px;
  font-size: 18px;
  line-height: 1.28;
  font-weight: 950;
}

.card-title a:hover {
  color: var(--rose);
}

.card-meta,
.card-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.card-desc {
  margin-top: 9px;
  min-height: 46px;
}

.card-body .tag-row {
  margin-top: 12px;
}

.ranking-panel {
  position: sticky;
  top: 96px;
  border-radius: var(--radius);
  padding: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.ranking-item {
  display: grid;
  grid-template-columns: 42px 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 18px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.ranking-item:hover {
  background: #fff1f2;
}

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

.ranking-item img {
  width: 54px;
  height: 76px;
  border-radius: 12px;
  object-fit: cover;
}

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

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

.rank-info small {
  color: var(--muted);
}

.page-hero,
.detail-hero {
  width: min(1240px, calc(100% - 44px));
  margin: 34px auto 0;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 241, 242, 0.82)),
    radial-gradient(circle at 90% 20%, rgba(251, 146, 60, 0.28), transparent 24rem);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.page-hero {
  padding: 54px;
}

.small-hero h1,
.category-hero h1 {
  font-size: clamp(36px, 6vw, 64px);
}

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

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

.overview-link {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 230px;
}

.overview-posters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 18px;
  background: linear-gradient(135deg, #111827, #831843);
}

.overview-posters img {
  width: 100%;
  height: 88px;
  border-radius: 14px;
  object-fit: cover;
}

.overview-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.overview-body h2 {
  margin: 0 0 10px;
  font-size: 30px;
  font-weight: 950;
}

.overview-body p {
  margin: 0 0 18px;
  color: var(--muted);
}

.overview-body span {
  color: var(--rose);
  font-weight: 900;
}

.filter-panel {
  padding: 22px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.filter-button {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  padding: 10px 16px;
  color: var(--rose-dark);
  font-weight: 900;
  background: #fff1f2;
}

.filter-button.is-active,
.filter-button:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--orange));
}

.inline-search {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.inline-search input {
  width: 100%;
  padding: 14px 16px;
}

.category-list .movie-card.is-hidden {
  display: none;
}

.ranking-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.detail-hero {
  padding: 26px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
}

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

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

.detail-poster img {
  width: 100%;
  border-radius: 28px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  box-shadow: 0 28px 58px rgba(17, 24, 39, 0.18);
}

.detail-copy h1 {
  font-size: clamp(34px, 6vw, 62px);
}

.detail-line {
  max-width: 860px;
  color: #374151;
  font-size: 19px;
}

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

.detail-meta span {
  border-radius: 999px;
  color: #4b5563;
  font-weight: 800;
  padding: 7px 12px;
  background: #fff;
  border: 1px solid var(--line);
}

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

.player-wrap {
  margin-top: 34px;
}

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: #050712;
  box-shadow: 0 32px 70px rgba(17, 24, 39, 0.28);
}

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

.play-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  border: 0;
  cursor: pointer;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.36), rgba(225, 29, 72, 0.28));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-icon {
  width: 86px;
  height: 86px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  font-size: 34px;
  background: linear-gradient(135deg, var(--rose), var(--orange));
  box-shadow: 0 20px 40px rgba(225, 29, 72, 0.34);
}

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

.content-card {
  border-radius: var(--radius);
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.content-card h2 {
  font-size: 28px;
}

.content-card p {
  color: #374151;
  margin: 16px 0 0;
  white-space: pre-line;
}

.search-page-panel {
  padding: 30px;
}

.search-status {
  color: var(--muted);
  font-weight: 800;
}

.search-results {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.search-result-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  border-radius: 20px;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 30px rgba(190, 18, 60, 0.09);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.search-result-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 42px rgba(190, 18, 60, 0.14);
}

.search-result-card img {
  width: 86px;
  height: 122px;
  border-radius: 14px;
  object-fit: cover;
}

.search-result-card h2 {
  margin: 0 0 7px;
  font-size: 18px;
  line-height: 1.25;
}

.search-result-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  margin-top: 76px;
  padding: 48px 22px 28px;
  background: #111827;
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  width: min(1240px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 30px;
}

.footer-logo {
  color: #fff;
  font-size: 26px;
  font-weight: 950;
}

.footer-brand p {
  max-width: 560px;
}

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

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

.copyright {
  width: min(1240px, 100%);
  margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.58);
}

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

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

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

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

  .ranking-panel {
    position: static;
  }
}

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

  .menu-button {
    display: inline-flex;
    margin-left: auto;
  }

  .header-inner {
    height: 64px;
  }

  .hero {
    min-height: auto;
  }

  .hero-slide {
    position: relative;
    min-height: 760px;
    display: none;
  }

  .hero-slide.is-active {
    display: grid;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 46px 0 110px;
  }

  .hero-poster {
    width: min(260px, 70vw);
    margin: 0 auto;
  }

  .search-panel {
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .large-search {
    border-radius: 24px;
    flex-direction: column;
  }

  .large-search input {
    min-height: 56px;
  }

  .large-search button {
    min-height: 52px;
  }

  .category-grid,
  .overview-grid,
  .movie-grid,
  .compact-grid,
  .ranking-grid,
  .search-results,
  .detail-content {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

@media (max-width: 560px) {
  .section-wrap,
  .page-hero,
  .detail-hero {
    width: min(100% - 28px, 1240px);
  }

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

  .page-hero,
  .detail-hero,
  .search-panel,
  .filter-panel,
  .search-page-panel,
  .content-card {
    padding: 22px;
    border-radius: 22px;
  }

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

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

  .category-grid,
  .overview-grid,
  .movie-grid,
  .compact-grid,
  .ranking-grid,
  .search-results,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .search-result-card {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .search-result-card img {
    width: 76px;
    height: 108px;
  }
}
