:root {
  color-scheme: dark;
  --bg: #020617;
  --panel: rgba(15, 23, 42, 0.72);
  --panel-strong: rgba(15, 23, 42, 0.92);
  --line: rgba(59, 130, 246, 0.22);
  --line-strong: rgba(96, 165, 250, 0.42);
  --text: #f8fafc;
  --muted: #94a3b8;
  --blue: #3b82f6;
  --blue-soft: rgba(59, 130, 246, 0.18);
  --purple: #8b5cf6;
  --yellow: #facc15;
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(59, 130, 246, 0.22), transparent 34rem),
    radial-gradient(circle at 80% 10%, rgba(139, 92, 246, 0.18), transparent 30rem),
    linear-gradient(180deg, #020617 0%, #0f172a 45%, #020617 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

img {
  max-width: 100%;
}

svg {
  width: 1em;
  height: 1em;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(2, 6, 23, 0.92);
  border-color: rgba(148, 163, 184, 0.14);
  box-shadow: 0 18px 60px rgba(2, 6, 23, 0.35);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1240px, calc(100% - 32px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  color: #93c5fd;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.28), rgba(139, 92, 246, 0.22));
  border: 1px solid rgba(147, 197, 253, 0.28);
  box-shadow: 0 12px 38px rgba(59, 130, 246, 0.22);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong,
.footer-logo strong {
  font-size: 22px;
  letter-spacing: 0.02em;
}

.brand-text em {
  margin-top: 4px;
  color: #93c5fd;
  font-size: 12px;
  font-style: normal;
}

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

.desktop-nav a,
.nav-dropdown > button,
.mobile-nav a {
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.desktop-nav a,
.nav-dropdown > button {
  padding: 10px 15px;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.nav-dropdown > button:hover,
.mobile-nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-dropdown-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 180px;
  padding: 10px;
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.96);
  box-shadow: 0 20px 60px rgba(2, 6, 23, 0.42);
  backdrop-filter: blur(18px);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: all 0.22s ease;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown-panel a {
  display: block;
  padding: 10px 12px;
}

.menu-button {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  gap: 5px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
}

.mobile-nav {
  display: none;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 12px;
  border: 1px solid rgba(59, 130, 246, 0.22);
  border-radius: 20px;
  background: rgba(15, 23, 42, 0.96);
  box-shadow: 0 18px 60px rgba(2, 6, 23, 0.35);
}

.mobile-nav a {
  display: block;
  padding: 12px 14px;
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: #020617;
}

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

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

.hero-slide > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 6, 23, 0.92) 0%, rgba(15, 23, 42, 0.7) 45%, rgba(2, 6, 23, 0.28) 100%),
    linear-gradient(180deg, rgba(2, 6, 23, 0.1) 0%, rgba(2, 6, 23, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 32px));
  min-height: 720px;
  margin: 0 auto;
  padding: 170px 0 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1240px;
}

.hero-content h1 {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-content h1 span {
  color: #60a5fa;
}

.hero-content p {
  max-width: 740px;
  margin: 0 0 26px;
  color: #dbeafe;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.75;
}

.hero-kicker,
.hero-tags,
.tag-row,
.detail-tags,
.movie-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-kicker {
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  color: #fde68a;
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.24);
  border-radius: 999px;
  font-weight: 700;
}

.hero-tags span,
.tag-row span,
.detail-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.16);
  border: 1px solid rgba(96, 165, 250, 0.2);
  font-size: 13px;
}

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

.primary-button,
.ghost-button,
.share-link,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary-button {
  background: #3b82f6;
  color: #fff;
  box-shadow: 0 16px 40px rgba(59, 130, 246, 0.32);
}

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

.ghost-button {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
}

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

.hero-dots button {
  width: 34px;
  height: 7px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

.hero-dots button.is-active {
  background: #60a5fa;
}

.hero-focus-panel {
  position: absolute;
  z-index: 5;
  right: max(24px, calc((100vw - 1240px) / 2));
  bottom: 88px;
  width: 330px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  background: rgba(15, 23, 42, 0.64);
  box-shadow: 0 24px 80px rgba(2, 6, 23, 0.42);
  backdrop-filter: blur(18px);
}

.hero-focus-panel h2,
.side-panel h2,
.detail-side h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

.search-strip {
  width: min(1240px, calc(100% - 32px));
  margin: -42px auto 0;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 24px;
  background: rgba(15, 23, 42, 0.86);
  border: 1px solid rgba(96, 165, 250, 0.24);
  box-shadow: 0 24px 80px rgba(2, 6, 23, 0.38);
  backdrop-filter: blur(18px);
}

.search-strip.inside-section {
  margin: 0 0 28px;
  width: 100%;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 16px;
  background: rgba(2, 6, 23, 0.52);
  border: 1px solid rgba(148, 163, 184, 0.18);
  color: #93c5fd;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
}

.filter-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.filter-chips button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(96, 165, 250, 0.22);
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.08);
  cursor: pointer;
}

.filter-chips button.is-active,
.filter-chips button:hover {
  color: #fff;
  background: rgba(59, 130, 246, 0.35);
}

.content-section {
  padding: 76px 0;
}

.dark-section {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
}

.blue-section {
  background: linear-gradient(180deg, #082f63 0%, #0f172a 100%);
}

.content-section > .section-head,
.content-section > .movie-grid,
.content-section > .large-grid,
.content-section > .split-layout,
.content-section > .category-grid,
.content-section > .category-overview-grid,
.content-section > .ranking-list,
.content-section > .search-strip {
  width: min(1240px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}

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

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title span {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 15px;
  color: #facc15;
  background: rgba(250, 204, 21, 0.12);
}

.section-title h2,
.page-hero h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-more,
.share-link {
  min-height: 38px;
  padding: 0 16px;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.22);
}

.movie-grid,
.large-grid {
  display: grid;
  gap: 22px;
}

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

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

.movie-card,
.horizontal-card,
.category-overview-card,
.detail-card,
.player-card,
.side-panel,
.detail-side,
.category-tile {
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.62), rgba(30, 64, 175, 0.18));
  box-shadow: 0 20px 70px rgba(2, 6, 23, 0.25);
  backdrop-filter: blur(14px);
}

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  transition: transform 0.26s ease, border-color 0.26s ease, box-shadow 0.26s ease;
}

.movie-card:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: var(--line-strong);
  box-shadow: 0 24px 80px rgba(59, 130, 246, 0.18);
}

.movie-card-large {
  border-radius: 26px;
}

.movie-cover,
.horizontal-cover,
.small-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.9);
}

.movie-cover {
  aspect-ratio: 3 / 4;
}

.movie-cover img,
.horizontal-cover img,
.small-cover img,
.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.movie-card:hover .movie-cover img,
.horizontal-card:hover .horizontal-cover img,
.small-card:hover .small-cover img {
  transform: scale(1.08);
}

.movie-cover::after,
.horizontal-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 24%, rgba(2, 6, 23, 0.76) 100%);
}

.movie-type,
.movie-year {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  background: rgba(59, 130, 246, 0.86);
  backdrop-filter: blur(10px);
}

.movie-type {
  top: 12px;
  left: 12px;
}

.movie-year {
  right: 12px;
  bottom: 12px;
  background: rgba(2, 6, 23, 0.68);
}

.play-hover {
  position: absolute;
  z-index: 3;
  inset: 50% auto auto 50%;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.9);
  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-info {
  padding: 16px;
}

.movie-info h3,
.horizontal-info h3,
.small-card h3 {
  margin: 0 0 8px;
  color: #fff;
  font-weight: 850;
  line-height: 1.35;
}

.movie-info h3 {
  min-height: 44px;
  font-size: 16px;
}

.movie-info h3 a:hover,
.horizontal-info h3 a:hover,
.small-card h3 a:hover {
  color: #93c5fd;
}

.movie-info p,
.horizontal-info p,
.small-card p,
.category-overview-card p,
.site-footer p,
.page-hero p,
.detail-card p {
  color: var(--muted);
  line-height: 1.75;
}

.movie-info p {
  min-height: 48px;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 14px;
}

.movie-meta {
  justify-content: space-between;
  color: #93c5fd;
  font-size: 13px;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
}

.horizontal-list,
.ranking-list {
  display: grid;
  gap: 16px;
}

.horizontal-card {
  position: relative;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  border-radius: 22px;
  transition: transform 0.26s ease, border-color 0.26s ease;
}

.horizontal-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}

.horizontal-cover {
  border-radius: 16px;
  aspect-ratio: 3 / 4;
}

.horizontal-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.horizontal-info h3 {
  font-size: 20px;
}

.horizontal-info p {
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.rank-number {
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  display: inline-grid;
  place-items: center;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  box-shadow: 0 10px 28px rgba(59, 130, 246, 0.28);
}

.side-panel,
.detail-side {
  align-self: start;
  padding: 18px;
  border-radius: 24px;
}

.small-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
  transition: background 0.22s ease;
}

.small-card:hover {
  background: rgba(255, 255, 255, 0.06);
}

.small-cover {
  aspect-ratio: 3 / 4;
  border-radius: 13px;
}

.small-card h3 {
  font-size: 14px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.small-card p {
  margin: 0;
  font-size: 12px;
}

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

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

.category-tile {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border-radius: 24px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
}

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

.category-tile strong {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.inner-page {
  padding-top: 92px;
}

.page-hero {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 58px 0 38px;
}

.compact-hero {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: #93c5fd;
}

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

.page-hero p {
  max-width: 820px;
  margin: 14px 0 0;
  font-size: 18px;
}

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

.category-overview-card {
  padding: 20px;
  border-radius: 24px;
}

.category-overview-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.category-overview-head h2 {
  margin: 0;
  font-size: 26px;
}

.category-overview-head span {
  color: #93c5fd;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.movie-detail-layout {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: 30px;
  padding: 34px 0 80px;
}

.detail-side {
  position: sticky;
  top: 96px;
}

.player-card,
.detail-card {
  border-radius: 24px;
  padding: 18px;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  background: #020617;
}

.video-frame video,
.player-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.video-frame video {
  z-index: 1;
  background: #000;
}

.player-cover {
  z-index: 2;
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: #fff;
  background: #020617;
}

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

.player-cover span {
  position: relative;
  z-index: 2;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: rgba(59, 130, 246, 0.92);
  box-shadow: 0 18px 46px rgba(59, 130, 246, 0.36);
}

.video-frame.is-playing .player-cover {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.detail-card {
  margin-top: 22px;
}

.detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.detail-card h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 900;
}

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

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.18);
}

.one-line {
  margin: 0 0 24px;
  padding-left: 16px;
  color: #dbeafe !important;
  font-size: 19px;
  border-left: 4px solid #3b82f6;
}

.detail-card h2 {
  margin: 28px 0 10px;
  font-size: 22px;
}

.detail-card p {
  margin: 0;
  text-align: justify;
}

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

.site-footer {
  border-top: 1px solid rgba(59, 130, 246, 0.18);
  background: #020617;
}

.footer-grid {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0 34px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 34px;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 18px;
}

.site-footer a {
  display: block;
  margin: 9px 0;
  color: var(--muted);
}

.site-footer a:hover {
  color: #93c5fd;
}

.footer-bottom {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 34px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

.footer-bottom button {
  border: 0;
  color: #93c5fd;
  background: transparent;
  cursor: pointer;
}

.is-hidden {
  display: none !important;
}

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

  .menu-button {
    display: grid;
  }

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

  .hero-focus-panel {
    display: none;
  }

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

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

  .detail-side {
    position: static;
  }

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

@media (max-width: 860px) {
  .hero,
  .hero-content {
    min-height: 640px;
  }

  .hero-content {
    padding-top: 140px;
  }

  .search-strip {
    grid-template-columns: 1fr;
  }

  .filter-chips {
    justify-content: flex-start;
  }

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

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

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

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

  .brand-text strong {
    font-size: 18px;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
  }

  .hero,
  .hero-content {
    min-height: 600px;
  }

  .hero-actions a {
    width: 100%;
  }

  .content-section {
    padding: 54px 0;
  }

  .movie-grid {
    gap: 14px;
  }

  .movie-info {
    padding: 12px;
  }

  .movie-info h3 {
    font-size: 14px;
  }

  .movie-info p {
    font-size: 12px;
  }

  .horizontal-card {
    grid-template-columns: 1fr;
  }

  .horizontal-cover {
    width: 100%;
  }

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

  .footer-bottom,
  .detail-title-row {
    flex-direction: column;
  }
}
