:root {
  --bg: #030712;
  --bg-soft: #0b1120;
  --panel: rgba(17, 24, 39, 0.88);
  --panel-strong: #111827;
  --line: rgba(148, 163, 184, 0.18);
  --text: #f9fafb;
  --muted: #9ca3af;
  --soft: #d1d5db;
  --brand: #f59e0b;
  --brand-2: #ea580c;
  --brand-3: #fbbf24;
  --danger: #ef4444;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --radius-sm: 12px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(245, 158, 11, 0.12), transparent 32rem),
    radial-gradient(circle at 80% 12%, rgba(234, 88, 12, 0.13), transparent 34rem),
    linear-gradient(180deg, #030712 0%, #020617 42%, #030712 100%);
  color: var(--text);
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(90deg, rgba(17, 24, 39, 0.96), rgba(0, 0, 0, 0.96), rgba(17, 24, 39, 0.96));
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(55, 65, 81, 0.8);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.32);
}

.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.28);
  transition: transform 0.25s ease;
}

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

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text span,
.footer-brand {
  font-size: 22px;
  line-height: 1;
  background: linear-gradient(90deg, var(--brand-3), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text small {
  color: #9ca3af;
  font-size: 12px;
  font-weight: 500;
}

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

.nav-link,
.mobile-link {
  color: #d1d5db;
  border-radius: 12px;
  transition: all 0.2s ease;
  font-weight: 600;
}

.nav-link {
  padding: 10px 14px;
  font-size: 14px;
}

.nav-link:hover,
.mobile-link:hover,
.nav-link.is-active,
.mobile-link.is-active {
  color: #fff;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 26px rgba(245, 158, 11, 0.25);
}

.menu-button {
  width: 42px;
  height: 42px;
  display: none;
  border: 0;
  border-radius: 12px;
  background: rgba(31, 41, 55, 0.86);
  color: #fff;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
  border-radius: 20px;
}

.mobile-nav {
  display: none;
  padding: 12px 16px 18px;
  border-top: 1px solid rgba(55, 65, 81, 0.8);
  background: rgba(3, 7, 18, 0.98);
}

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

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

.hero-slider {
  min-height: calc(100vh - 68px);
  position: relative;
  overflow: hidden;
  background: #000;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  transition: opacity 0.75s ease, transform 1.1s ease;
  transform: scale(1.02);
}

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

.hero-overlay,
.inner-hero-shade,
.detail-hero-shade,
.category-card-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.78) 38%, rgba(0, 0, 0, 0.38) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), #030712 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: center;
  gap: 60px;
  padding: 80px 0;
}

.hero-copy {
  max-width: 720px;
}

.hero-kicker,
.detail-meta,
.card-meta,
.section-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-kicker {
  margin-bottom: 22px;
  color: var(--brand-3);
  font-size: 14px;
  font-weight: 700;
}

.hero-kicker span,
.section-kicker,
.detail-tags span,
.card-tags span {
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.hero-kicker span {
  padding: 8px 12px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #fff;
  border: 0;
  box-shadow: 0 14px 30px rgba(234, 88, 12, 0.28);
}

.hero-copy h1 {
  margin: 0 0 22px;
  max-width: 780px;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.6);
}

.hero-copy p {
  margin: 0 0 34px;
  max-width: 650px;
  color: #d1d5db;
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-button,
.ghost-button,
.section-more,
.home-search button,
.full-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 13px;
  font-weight: 800;
  transition: all 0.25s ease;
}

.primary-button,
.home-search button {
  padding: 0 24px;
  color: #fff;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  box-shadow: 0 14px 34px rgba(245, 158, 11, 0.26);
  border: 0;
}

.primary-button:hover,
.home-search button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(245, 158, 11, 0.36);
}

.ghost-button {
  padding: 0 24px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(14px);
}

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

.hero-poster {
  position: relative;
  display: block;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: perspective(1000px) rotateY(-7deg) rotateX(2deg);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  box-shadow: inset 0 -90px 90px rgba(0, 0, 0, 0.45);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4.3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

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

.hero-dot {
  width: 34px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-dot.is-active {
  width: 54px;
  background: linear-gradient(90deg, var(--brand-3), var(--brand-2));
}

.quick-search-section {
  position: relative;
  z-index: 6;
  margin-top: -52px;
}

.quick-search-card {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 500px);
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid rgba(245, 158, 11, 0.22);
  border-radius: 24px;
  background: rgba(17, 24, 39, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.quick-search-card h2 {
  margin: 0 0 8px;
  font-size: 26px;
}

.quick-search-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.home-search {
  display: flex;
  gap: 12px;
}

.home-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid rgba(75, 85, 99, 0.9);
  border-radius: 13px;
  background: rgba(3, 7, 18, 0.8);
  color: #fff;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-search input {
  min-height: 48px;
  padding: 0 16px;
}

.home-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: rgba(245, 158, 11, 0.8);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

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

.alt-section {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.38), rgba(3, 7, 18, 0));
}

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

.section-head.stacked {
  display: block;
}

.section-kicker {
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-head h2,
.detail-article h2,
.info-box h2 {
  margin: 0;
  color: #fff;
  line-height: 1.18;
}

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

.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 690px;
}

.section-more {
  padding: 0 18px;
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.25);
  background: rgba(245, 158, 11, 0.08);
}

.section-more:hover {
  color: #fff;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
}

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

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(75, 85, 99, 0.65);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(31, 41, 55, 0.88), rgba(17, 24, 39, 0.95));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  border-color: rgba(245, 158, 11, 0.48);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.45);
}

.card-poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: #050505;
}

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

.card-poster img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

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

.play-chip,
.rank-badge {
  position: absolute;
  z-index: 3;
  border-radius: 999px;
  font-weight: 800;
}

.play-chip {
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  color: #fff;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  font-size: 12px;
}

.rank-badge {
  left: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  background: linear-gradient(135deg, #fef3c7, #f59e0b);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.28);
}

.card-body {
  padding: 16px;
}

.card-meta {
  margin-bottom: 8px;
  color: #9ca3af;
  font-size: 12px;
}

.card-meta span:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: #4b5563;
}

.card-body h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
}

.card-body h3 a:hover {
  color: #fbbf24;
}

.card-body p {
  min-height: 48px;
  margin: 0 0 13px;
  color: #a8b0bd;
  line-height: 1.6;
  font-size: 14px;
}

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

.card-tags span,
.detail-tags span {
  padding: 5px 8px;
  font-size: 12px;
}

.movie-card-compact .card-body p {
  min-height: auto;
}

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

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

.category-grid-large {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 56px;
}

.category-card {
  position: relative;
  min-height: 176px;
  display: flex;
  overflow: hidden;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(75, 85, 99, 0.72);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 158, 11, 0.55);
}

.category-card-body {
  position: relative;
  z-index: 2;
  align-self: flex-end;
  padding: 18px;
}

.category-card strong,
.category-card em,
.category-preview {
  display: block;
}

.category-card strong {
  margin-bottom: 8px;
  font-size: 22px;
}

.category-card em {
  color: #d1d5db;
  font-style: normal;
  line-height: 1.6;
  font-size: 13px;
}

.category-preview {
  margin-top: 12px;
}

.category-preview span {
  display: inline-block;
  margin: 0 6px 6px 0;
  color: #fbbf24;
  font-size: 12px;
}

.spotlight-panel,
.info-box {
  border: 1px solid rgba(75, 85, 99, 0.68);
  border-radius: 22px;
  background: rgba(17, 24, 39, 0.82);
  box-shadow: var(--shadow);
}

.spotlight-panel {
  position: sticky;
  top: 92px;
  padding: 24px;
  height: fit-content;
}

.spotlight-panel h2 {
  margin: 0 0 16px;
}

.spotlight-list,
.related-link-list,
.footer-links {
  display: grid;
  gap: 10px;
}

.spotlight-list a,
.related-link-list a {
  display: grid;
  gap: 4px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(75, 85, 99, 0.45);
}

.spotlight-list span,
.related-link-list span {
  color: #fff;
  font-weight: 700;
}

.spotlight-list small,
.related-link-list small {
  color: var(--muted);
}

.full-button {
  width: 100%;
  margin-top: 22px;
}

.inner-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.inner-hero {
  min-height: 330px;
}

.inner-hero-content {
  position: relative;
  z-index: 2;
  padding: 86px 0 72px;
}

.inner-hero h1,
.detail-copy h1 {
  margin: 0 0 16px;
  max-width: 880px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.inner-hero p {
  max-width: 760px;
  margin: 0;
  color: #d1d5db;
  font-size: 18px;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
  color: #d1d5db;
  font-size: 14px;
}

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

.category-overview-row {
  padding: 34px 0 50px;
  border-top: 1px solid rgba(75, 85, 99, 0.45);
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 180px 180px 180px;
  gap: 14px;
  padding: 18px;
  margin-bottom: 30px;
  border: 1px solid rgba(75, 85, 99, 0.7);
  border-radius: 22px;
  background: rgba(17, 24, 39, 0.78);
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: #d1d5db;
  font-size: 13px;
  font-weight: 700;
}

.filter-panel input,
.filter-panel select {
  min-height: 44px;
  padding: 0 12px;
}

.empty-state {
  display: none;
  padding: 38px;
  text-align: center;
  color: #d1d5db;
  border: 1px solid rgba(75, 85, 99, 0.65);
  border-radius: 20px;
  background: rgba(17, 24, 39, 0.78);
}

.empty-state.is-visible {
  display: block;
}

.detail-hero {
  min-height: 560px;
}

.detail-hero-content {
  position: relative;
  z-index: 2;
  padding: 70px 0;
}

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

.detail-cover {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.detail-cover img {
  width: 100%;
  aspect-ratio: 3 / 4.15;
  object-fit: cover;
}

.detail-cover span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  font-weight: 900;
}

.detail-one-line {
  max-width: 820px;
  margin: 0 0 24px;
  color: #e5e7eb;
  font-size: 20px;
  line-height: 1.75;
}

.detail-meta {
  margin-bottom: 16px;
}

.detail-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #f9fafb;
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 700;
}

.player-section {
  padding: 48px 0 28px;
  background: #020617;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000;
  border: 1px solid rgba(75, 85, 99, 0.78);
  box-shadow: var(--shadow);
}

.player-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: #000;
  cursor: pointer;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  color: #fff;
  background: radial-gradient(circle at center, rgba(245, 158, 11, 0.22), rgba(0, 0, 0, 0.78) 45%, rgba(0, 0, 0, 0.92));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-play {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-3), var(--brand-2));
  color: #111827;
  font-size: 34px;
  box-shadow: 0 20px 48px rgba(245, 158, 11, 0.4);
}

.player-cover strong {
  max-width: min(760px, calc(100% - 48px));
  font-size: clamp(24px, 4vw, 42px);
  line-height: 1.2;
  text-align: center;
}

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

.detail-article,
.detail-side {
  display: grid;
  gap: 22px;
}

.detail-article {
  padding: 28px;
  border: 1px solid rgba(75, 85, 99, 0.68);
  border-radius: 22px;
  background: rgba(17, 24, 39, 0.78);
}

.detail-article h2 {
  font-size: 24px;
}

.detail-article p {
  margin: 0;
  color: #d1d5db;
  line-height: 1.92;
  font-size: 16px;
}

.info-box {
  padding: 22px;
}

.info-box h2 {
  margin-bottom: 16px;
  font-size: 20px;
}

.info-box dl {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px 12px;
  margin: 0;
}

.info-box dt {
  color: #9ca3af;
}

.info-box dd {
  margin: 0;
  color: #f9fafb;
}

.site-footer {
  border-top: 1px solid rgba(75, 85, 99, 0.62);
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.9), #020617);
  color: #d1d5db;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 30px;
  padding: 46px 0;
}

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

.footer-grid h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 18px;
}

.footer-links a {
  color: #9ca3af;
}

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

.footer-bottom {
  padding: 18px 0 28px;
  color: #6b7280;
  border-top: 1px solid rgba(75, 85, 99, 0.42);
}

@media (max-width: 1100px) {
  .movie-grid,
  .movie-grid-four,
  .ranking-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

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

  .menu-button {
    display: block;
  }

  .hero-content,
  .quick-search-card,
  .split-layout,
  .detail-layout,
  .footer-grid,
  .detail-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: 64px 0 92px;
  }

  .hero-poster {
    max-width: 260px;
    transform: none;
  }

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

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

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

  .detail-cover {
    max-width: 240px;
  }

  .spotlight-panel {
    position: static;
  }
}

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

  .brand-text span {
    font-size: 19px;
  }

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

  .hero-copy h1,
  .inner-hero h1,
  .detail-copy h1 {
    font-size: 38px;
  }

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

  .home-search,
  .hero-actions {
    flex-direction: column;
  }

  .home-search button,
  .primary-button,
  .ghost-button {
    width: 100%;
  }

  .quick-search-card,
  .detail-article,
  .info-box,
  .filter-panel {
    padding: 16px;
    border-radius: 18px;
  }

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

  .movie-grid,
  .movie-grid-featured,
  .movie-grid-four,
  .ranking-grid,
  .category-grid,
  .category-grid-large {
    grid-template-columns: 1fr;
  }

  .card-poster img {
    aspect-ratio: 16 / 9;
  }

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

  .inner-hero-content,
  .detail-hero-content {
    padding: 56px 0;
  }

  .player-play {
    width: 68px;
    height: 68px;
    font-size: 26px;
  }
}
