:root {
  --bg: #fff7ed;
  --paper: #ffffff;
  --paper-soft: rgba(255, 255, 255, 0.92);
  --text: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --cyan: #06b6d4;
  --shadow: 0 18px 45px rgba(31, 41, 55, 0.12);
  --shadow-soft: 0 10px 26px rgba(31, 41, 55, 0.10);
  --radius: 22px;
}

* {
  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(--text);
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 48%, #ecfeff 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

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

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--cyan));
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.32);
  font-size: 14px;
}

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

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

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

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

.header-search {
  width: 290px;
  display: flex;
  align-items: center;
  padding: 4px;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.08);
}

.header-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 9px 12px;
  background: transparent;
  color: var(--text);
}

.header-search button,
.search-form button,
.large-search button {
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  box-shadow: 0 10px 20px rgba(249, 115, 22, 0.25);
}

.menu-toggle {
  display: none;
  border: 0;
  background: #fff7ed;
  border-radius: 12px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: #374151;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  padding: 8px 24px 18px;
  border-top: 1px solid #f3f4f6;
  background: #ffffff;
}

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

.mobile-nav-link {
  padding: 11px 12px;
  border-radius: 12px;
  color: #374151;
  font-weight: 650;
}

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

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #111827;
}

.hero-track,
.hero-slide,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 0.9s ease, transform 5s ease;
  transform: scale(1.03);
}

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

.hero-shade {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.58) 48%, rgba(0, 0, 0, 0.18) 100%);
}

.hero-content {
  position: relative;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(680px, 100%);
  color: #ffffff;
  animation: fadeUp 0.7s ease both;
}

.eyebrow {
  color: #fdba74;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 70px);
  line-height: 1.04;
  font-weight: 900;
  text-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.hero p {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.85;
}

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

.hero-tags {
  margin: 22px 0;
}

.hero-tags span,
.card-tags span,
.detail-tags a,
.quick-links a {
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
}

.hero-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

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

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

.primary-button {
  padding: 14px 25px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  box-shadow: 0 18px 32px rgba(249, 115, 22, 0.30);
}

.primary-button:hover,
.ghost-button:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.primary-button.small {
  padding: 11px 18px;
}

.ghost-button {
  padding: 13px 22px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(10px);
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
}

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

.hero-dot.active {
  width: 36px;
  background: var(--orange);
}

.page-section,
.page-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px 0;
}

.page-main {
  padding-top: 36px;
}

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

.section-heading h2,
.page-title-block h1,
.search-panel h2,
.player-section h2,
.detail-article h2,
.related-panel h2,
.footer-columns h2 {
  margin: 0;
  font-weight: 900;
}

.section-heading h2,
.page-title-block h1 {
  font-size: clamp(30px, 4vw, 44px);
  background: linear-gradient(90deg, var(--orange), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-heading p,
.page-title-block p,
.search-panel p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.section-more,
.text-link {
  color: var(--orange);
  font-weight: 800;
}

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

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

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

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

.card-cover {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #111827;
}

.movie-card.wide {
  flex: 0 0 320px;
}

.movie-card.wide .card-cover {
  aspect-ratio: 16 / 9;
}

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

.movie-card:hover .card-cover img,
.compact-card:hover img,
.category-tile:hover,
.podium-card:hover img {
  transform: scale(1.08);
}

.card-cover::after,
.compact-cover::after,
.category-hero-link::after,
.category-tile::after,
.podium-card a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
}

.play-badge,
.compact-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%) scale(0.68);
  opacity: 0;
  z-index: 2;
  color: #ffffff;
  background: var(--orange);
  box-shadow: 0 18px 32px rgba(249, 115, 22, 0.36);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.card-category {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  padding: 6px 11px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.card-body {
  padding: 16px;
}

.card-body h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
}

.card-body h2 a:hover,
.compact-card h2 a:hover,
.podium-card h2 a:hover {
  color: var(--orange);
}

.card-body p {
  min-height: 44px;
  margin: 9px 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.card-meta,
.compact-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #6b7280;
  font-size: 13px;
  font-weight: 700;
}

.card-tags {
  margin-top: 12px;
}

.card-tags span,
.detail-tags a,
.quick-links a {
  color: #c2410c;
  background: #ffedd5;
}

.horizontal-wrap {
  position: relative;
}

.horizontal-list {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 2px 24px;
  scrollbar-width: none;
}

.horizontal-list::-webkit-scrollbar {
  display: none;
}

.scroll-btn {
  position: absolute;
  top: 43%;
  z-index: 5;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  color: #374151;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
  font-size: 34px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.scroll-btn:hover {
  color: #ffffff;
  background: var(--orange);
}

.scroll-btn.left {
  left: -14px;
}

.scroll-btn.right {
  right: -14px;
}

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

.category-tile {
  position: relative;
  min-height: 170px;
  padding: 20px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: #ffffff;
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
}

.category-tile span,
.category-tile strong {
  position: relative;
  z-index: 2;
}

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

.category-tile strong {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.5;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  gap: 28px;
  align-items: start;
}

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

.compact-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.compact-cover {
  position: relative;
  display: block;
  height: 96px;
  border-radius: 14px;
  overflow: hidden;
  background: #111827;
}

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

.rank-no {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(249, 115, 22, 0.35);
}

.compact-card h2 {
  margin: 0 0 6px;
  font-size: 17px;
}

.compact-card p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.search-panel {
  position: sticky;
  top: 92px;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff7ed, #ecfeff);
  box-shadow: var(--shadow-soft);
}

.large-search,
.search-form,
.filter-bar {
  display: flex;
  gap: 12px;
  align-items: center;
}

.large-search {
  margin: 22px 0;
}

.large-search input,
.search-form input,
.search-form select,
.filter-bar input,
.filter-bar select {
  min-width: 0;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  outline: 0;
  padding: 13px 16px;
  background: #ffffff;
  color: var(--text);
}

.large-search input,
.search-form input,
.filter-bar input {
  flex: 1;
}

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

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

.page-title-block {
  margin-bottom: 30px;
  padding: 34px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-soft);
}

.channel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.filter-bar {
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.empty-state {
  grid-column: 1 / -1;
  padding: 48px;
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.category-hero-link {
  position: relative;
  min-height: 230px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  color: #ffffff;
  background-size: cover;
  background-position: center;
}

.category-hero-link span {
  position: relative;
  z-index: 2;
  font-size: 24px;
  font-weight: 900;
}

.category-overview-card > div {
  padding: 22px;
}

.category-overview-card h2 {
  margin: 0;
  font-size: 24px;
}

.category-overview-card p,
.category-overview-card li {
  color: var(--muted);
  line-height: 1.7;
}

.category-overview-card ul {
  padding-left: 18px;
}

.search-workbench {
  padding: 24px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.search-form {
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.podium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 30px;
}

.podium-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.podium-card a:first-child {
  position: relative;
  display: block;
  height: 290px;
  overflow: hidden;
  background: #111827;
}

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

.podium-card span {
  display: inline-block;
  margin: 18px 18px 0;
  padding: 7px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--orange);
  font-weight: 900;
}

.podium-card h2,
.podium-card p {
  padding: 0 18px;
}

.podium-card h2 {
  margin: 12px 0 8px;
  font-size: 22px;
}

.podium-card p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.7;
}

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

.detail-main {
  max-width: 1180px;
}

.detail-hero {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 30px;
  border-radius: 30px;
  background: linear-gradient(135deg, #111827, #1f2937 58%, #0e7490);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.detail-poster {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.35);
  background: #111827;
}

.detail-poster img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-info h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
  font-weight: 900;
}

.detail-one-line {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.8;
}

.detail-meta {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 18px;
}

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

.player-section,
.detail-article,
.related-panel {
  margin-top: 34px;
  padding: 28px;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.movie-player {
  position: relative;
  margin-top: 18px;
  border-radius: 24px;
  overflow: hidden;
  background: #000000;
  aspect-ratio: 16 / 9;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.24);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: radial-gradient(circle at center, rgba(249, 115, 22, 0.16), rgba(0, 0, 0, 0.28));
}

.movie-player.playing .player-cover {
  display: none;
}

.player-start {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  box-shadow: 0 24px 50px rgba(249, 115, 22, 0.36);
  font-size: 32px;
  padding-left: 4px;
}

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

.detail-article p {
  color: #4b5563;
  font-size: 17px;
  line-height: 2;
}

.related-panel {
  position: sticky;
  top: 92px;
}

.related-list .compact-card {
  grid-template-columns: 116px minmax(0, 1fr);
  box-shadow: none;
  border: 1px solid #f3f4f6;
}

.related-list .compact-cover {
  height: 76px;
}

.site-footer {
  margin-top: 70px;
  color: #d1d5db;
  background: linear-gradient(135deg, #111827, #1f2937);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 42px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 34px;
}

.footer-logo .brand-name {
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: #ffffff;
}

.footer-brand p {
  max-width: 520px;
  color: #9ca3af;
  line-height: 1.8;
}

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

.footer-columns h2 {
  color: #ffffff;
  font-size: 18px;
  margin-bottom: 12px;
}

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

.footer-columns a:hover {
  color: #fdba74;
}

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .movie-grid,
  .category-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

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

  .hero {
    height: 560px;
  }

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

  .split-section,
  .detail-content-grid,
  .footer-inner,
  .category-overview-grid,
  .ranking-page-list {
    grid-template-columns: 1fr;
  }

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

  .related-panel,
  .search-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .header-inner {
    height: 62px;
    padding: 0 16px;
  }

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

  .hero {
    height: 540px;
  }

  .hero-content,
  .page-section,
  .page-main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-actions,
  .section-heading,
  .channel-title,
  .filter-bar,
  .search-form,
  .large-search {
    align-items: stretch;
    flex-direction: column;
  }

  .movie-grid,
  .category-list,
  .category-grid,
  .podium-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

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

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

  .compact-card {
    grid-template-columns: 116px minmax(0, 1fr);
  }

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

@media (max-width: 460px) {
  .movie-grid,
  .category-list,
  .category-grid,
  .podium-grid {
    grid-template-columns: 1fr;
  }

  .movie-card.wide {
    flex-basis: 280px;
  }

  .compact-card {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .compact-cover {
    height: 74px;
  }
}
