:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-200: #bfdbfe;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --cyan-400: #22d3ee;
  --cyan-500: #06b6d4;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(37, 99, 235, 0.14);
  --shadow-hover: 0 28px 70px rgba(15, 23, 42, 0.18);
  --radius-xl: 24px;
  --radius-2xl: 32px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.8), #ffffff 28%, rgba(239, 246, 255, 0.68));
  color: var(--gray-800);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

[hidden] {
  display: none !important;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--blue-100);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 28px rgba(59, 130, 246, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px 0;
}

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

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--blue-400), var(--cyan-400));
  box-shadow: 0 12px 24px rgba(34, 211, 238, 0.22);
  transition: transform 0.45s ease;
}

.brand:hover .brand-icon {
  transform: rotate(180deg);
}

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

.brand-text strong,
.footer-brand {
  font-size: 24px;
  background: linear-gradient(90deg, var(--blue-500), var(--cyan-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text small {
  margin-top: 3px;
  color: var(--gray-500);
  font-size: 12px;
}

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

.desktop-nav a,
.mobile-links a {
  color: var(--gray-700);
  font-weight: 650;
  transition: color 0.22s ease, transform 0.22s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.mobile-links a:hover {
  color: var(--blue-500);
}

.top-search {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(239, 246, 255, 0.8);
  border: 1px solid var(--blue-200);
  border-radius: 999px;
  padding: 4px;
}

.top-search input,
.mobile-panel input,
.hero-search-card input,
.filter-controls input,
.filter-controls select {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--gray-800);
}

.top-search input {
  width: 190px;
  padding: 9px 12px;
}

.top-search button,
.mobile-panel button,
.hero-search-card button,
.primary-btn,
.ghost-btn {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 750;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.top-search button,
.mobile-panel button,
.hero-search-card button,
.primary-btn {
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  color: white;
  padding: 10px 18px;
  box-shadow: 0 12px 24px rgba(59, 130, 246, 0.22);
}

.top-search button:hover,
.mobile-panel button:hover,
.hero-search-card button:hover,
.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--blue-100);
  border-radius: 14px;
  background: white;
  padding: 10px;
}

.mobile-toggle span {
  display: block;
  height: 2px;
  background: var(--gray-700);
  margin: 5px 0;
  border-radius: 2px;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--blue-100);
  padding: 14px 16px 18px;
  background: rgba(255, 255, 255, 0.98);
}

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

.mobile-panel form {
  display: flex;
  gap: 10px;
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  border-radius: 999px;
  padding: 5px;
}

.mobile-panel input {
  flex: 1;
  padding: 10px 12px;
}

.mobile-links {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.hero {
  position: relative;
  height: 640px;
  overflow: hidden;
  background: #0f172a;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-bg,
.detail-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.1)), linear-gradient(0deg, rgba(15, 23, 42, 0.82), transparent 60%);
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 150px;
}

.hero-copy {
  max-width: 760px;
  color: white;
  animation: fadeUp 0.72s ease both;
}

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

.hero-kicker span,
.detail-kicker span,
.type-pill,
.hero-tags span,
.tag-row span,
.detail-tags a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
}

.hero-kicker span,
.detail-kicker span {
  color: white;
  background: rgba(59, 130, 246, 0.88);
  backdrop-filter: blur(10px);
}

.hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hero p {
  max-width: 680px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  line-height: 1.75;
}

.hero-tags span {
  background: rgba(255, 255, 255, 0.17);
  color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
}

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

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 24px;
}

.ghost-btn {
  color: white;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
}

.hero-dots {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 168px;
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-dots button {
  width: 28px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.24s ease, background 0.24s ease;
}

.hero-dots button.is-active {
  width: 54px;
  background: white;
}

.hero-search-card {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 4;
  padding: 18px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.hero-search-card form {
  display: flex;
  gap: 10px;
}

.hero-search-card input {
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 999px;
  background: var(--blue-50);
}

.hero-category-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 14px 2px 2px;
}

.hero-category-strip a {
  flex: 0 0 auto;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--blue-600);
  background: var(--blue-50);
  font-weight: 700;
  font-size: 14px;
}

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

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

.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -0.03em;
  color: var(--gray-900);
}

.section-head p {
  margin: 8px 0 0;
  color: var(--gray-500);
}

.section-head a {
  color: var(--blue-500);
  font-weight: 750;
}

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

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

.movie-card {
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(191, 219, 254, 0.72);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  border-color: rgba(96, 165, 250, 0.72);
  box-shadow: var(--shadow-hover);
}

.movie-card-link,
.movie-poster,
.movie-card-body {
  display: block;
}

.movie-poster {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--blue-100), var(--cyan-400));
}

.movie-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.poster-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.64), transparent 56%);
  opacity: 0.82;
}

.play-badge,
.duration-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: white;
  font-weight: 800;
}

.play-badge {
  left: 16px;
  bottom: 14px;
  padding: 8px 13px;
  background: rgba(59, 130, 246, 0.9);
}

.duration-badge {
  right: 12px;
  top: 12px;
  padding: 6px 10px;
  background: rgba(15, 23, 42, 0.66);
  backdrop-filter: blur(12px);
  font-size: 12px;
}

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

.movie-meta-row {
  color: var(--gray-500);
  font-size: 13px;
  margin-bottom: 10px;
}

.type-pill {
  color: var(--blue-600);
  background: var(--blue-50);
  padding: 4px 9px;
}

.movie-card strong {
  display: -webkit-box;
  min-height: 1.5em;
  color: var(--gray-900);
  font-size: 18px;
  line-height: 1.35;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.movie-desc {
  display: -webkit-box;
  min-height: 3.2em;
  margin-top: 9px;
  color: var(--gray-600);
  line-height: 1.65;
  font-size: 14px;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-row {
  margin-top: 14px;
}

.tag-row span {
  color: var(--gray-600);
  background: var(--gray-100);
  padding: 5px 9px;
  font-size: 12px;
}

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

.category-card {
  position: relative;
  min-height: 230px;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  color: white;
  box-shadow: var(--shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

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

.category-cover,
.category-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.category-cover img {
  object-fit: cover;
  filter: saturate(1.12);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.2));
}

.category-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  padding: 24px;
}

.category-card em {
  width: fit-content;
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  font-style: normal;
  font-weight: 800;
}

.category-card strong {
  margin-top: 14px;
  font-size: 28px;
  line-height: 1.1;
}

.category-card span:last-child {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.6;
}

.two-column-section {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 34px;
}

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

.rank-list.full {
  gap: 14px;
}

.rank-item {
  display: grid;
  grid-template-columns: 54px 86px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(191, 219, 254, 0.72);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.rank-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-soft);
}

.rank-num {
  color: var(--blue-500);
  font-size: 22px;
  font-weight: 900;
  text-align: center;
}

.rank-cover {
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  overflow: hidden;
}

.rank-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-info strong,
.rank-info em {
  display: block;
}

.rank-info strong {
  color: var(--gray-900);
  font-size: 17px;
}

.rank-info em {
  margin-top: 5px;
  color: var(--gray-500);
  font-style: normal;
  font-size: 14px;
}

.rank-score {
  min-width: 52px;
  color: white;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  border-radius: 999px;
  padding: 7px 10px;
  text-align: center;
  font-weight: 850;
}

.mini-list {
  display: grid;
  gap: 12px;
}

.mini-list a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-radius: 18px;
  padding: 16px 18px;
  background: white;
  border: 1px solid var(--blue-100);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.07);
}

.mini-list span {
  color: var(--gray-900);
  font-weight: 800;
}

.mini-list em {
  color: var(--gray-500);
  font-style: normal;
  white-space: nowrap;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 18px;
  align-items: end;
  margin-bottom: 26px;
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(191, 219, 254, 0.85);
  box-shadow: var(--shadow-soft);
  padding: 22px;
}

.filter-title span,
.filter-title small {
  display: block;
}

.filter-title span {
  color: var(--gray-900);
  font-size: 24px;
  font-weight: 900;
}

.filter-title small {
  margin-top: 6px;
  color: var(--gray-500);
}

.filter-controls {
  display: grid;
  grid-template-columns: 1fr 180px 180px;
  gap: 14px;
}

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

.filter-controls input,
.filter-controls select {
  width: 100%;
  border: 1px solid var(--blue-200);
  border-radius: 16px;
  background: var(--blue-50);
  padding: 13px 14px;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
}

.page-hero {
  padding: 88px 0 78px;
  color: var(--gray-900);
  background: radial-gradient(circle at 20% 15%, rgba(34, 211, 238, 0.28), transparent 34%), linear-gradient(135deg, #eff6ff, #ffffff 60%, #ecfeff);
}

.page-hero span {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 13px;
  color: var(--blue-600);
  background: white;
  font-weight: 850;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.1);
}

.page-hero h1 {
  margin: 18px 0 14px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--gray-600);
  font-size: 18px;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 700;
}

.page-hero .breadcrumb {
  color: var(--gray-500);
}

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

.detail-hero {
  min-height: 610px;
  color: white;
  background: #0f172a;
}

.detail-bg,
.detail-bg-mask {
  position: absolute;
  inset: 0;
}

.detail-bg {
  filter: saturate(1.1) blur(1px);
  transform: scale(1.02);
}

.detail-bg-mask {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.56), rgba(15, 23, 42, 0.88)), linear-gradient(0deg, rgba(15, 23, 42, 0.86), rgba(15, 23, 42, 0.18));
}

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

.detail-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 42px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.35);
  aspect-ratio: 3 / 4;
}

.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-info h1 {
  max-width: 820px;
  margin: 20px 0 14px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.detail-one-line {
  max-width: 760px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 19px;
  line-height: 1.75;
}

.detail-stats span {
  padding: 8px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  font-weight: 800;
}

.detail-tags {
  margin: 24px 0 30px;
}

.detail-tags a {
  color: white;
  background: rgba(255, 255, 255, 0.14);
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: #020617;
  box-shadow: 0 34px 100px rgba(15, 23, 42, 0.34);
  aspect-ratio: 16 / 9;
}

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

.site-video {
  background: #020617;
  z-index: 1;
}

.player-cover {
  z-index: 2;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: #020617;
  color: white;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.player-cover-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.78), rgba(2, 6, 23, 0.12));
}

.player-start {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue-500);
  font-size: 34px;
  font-weight: 900;
  transform: translate(-50%, -50%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  padding-top: 24px;
}

.detail-article,
.detail-side {
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(191, 219, 254, 0.74);
  box-shadow: var(--shadow-soft);
  padding: 28px;
}

.detail-article h2,
.detail-side h2 {
  margin: 0 0 14px;
  color: var(--gray-900);
  font-size: 26px;
}

.detail-article h2:not(:first-child) {
  margin-top: 28px;
}

.detail-article p {
  margin: 0;
  color: var(--gray-600);
  font-size: 17px;
  line-height: 1.9;
}

.detail-side dl {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px 16px;
  margin: 0;
}

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

.detail-side dd {
  margin: 0;
  color: var(--gray-800);
  font-weight: 700;
}

.detail-side a {
  color: var(--blue-500);
}

.site-footer {
  margin-top: 84px;
  background: linear-gradient(180deg, #eff6ff, #ffffff);
  border-top: 1px solid var(--blue-100);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 34px;
  padding: 48px 0 30px;
}

.site-footer p {
  color: var(--gray-600);
  line-height: 1.75;
}

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

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

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

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 22px;
  border-top: 1px solid var(--blue-100);
  padding: 18px 16px;
  color: var(--gray-500);
  font-size: 14px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .mobile-toggle {
    display: inline-block;
  }

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

  .two-column-section,
  .detail-content-grid {
    grid-template-columns: 1fr;
  }

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

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

  .top-search {
    display: none;
  }

  .hero {
    height: 720px;
  }

  .hero-content {
    padding-bottom: 235px;
  }

  .hero-search-card {
    bottom: 18px;
    border-radius: 22px;
  }

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

  .hero-dots {
    left: 22px;
    right: auto;
    bottom: 204px;
  }

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

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

  .rank-item {
    grid-template-columns: 42px 74px 1fr;
  }

  .rank-score {
    grid-column: 3;
    width: fit-content;
  }

  .mini-list a {
    display: grid;
  }

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

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

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
