
:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --orange-600: #ea580c;
  --orange-700: #c2410c;
  --orange-900: #7c2d12;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.08);
  --shadow-md: 0 10px 25px rgba(146, 64, 14, 0.12);
  --shadow-xl: 0 25px 70px rgba(146, 64, 14, 0.22);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1180px;
}

* {
  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(--gray-900);
  background: linear-gradient(180deg, var(--amber-50) 0%, var(--white) 34%, var(--amber-50) 100%);
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--amber-200);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.28);
}

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

.brand-text strong {
  font-size: 21px;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--amber-800), var(--orange-700));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text small {
  color: var(--amber-700);
  font-size: 12px;
}

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

.nav-link {
  color: var(--gray-700);
  font-weight: 650;
  transition: color 0.2s ease;
}

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

.search-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-form input,
.filter-bar input,
.search-page-form input {
  width: 230px;
  border: 1px solid var(--amber-200);
  background: var(--amber-50);
  color: var(--gray-900);
  border-radius: 999px;
  padding: 11px 16px;
  outline: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.search-form input:focus,
.filter-bar input:focus,
.search-page-form input:focus {
  border-color: var(--amber-400, #fbbf24);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.24);
}

.search-form button,
.search-page-form button {
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
  padding: 11px 18px;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(217, 119, 6, 0.18);
}

.mobile-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--amber-50);
  color: var(--amber-800);
  cursor: pointer;
}

.mobile-panel {
  display: none;
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
  padding: 0 0 18px;
}

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

.mobile-panel nav {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.section {
  padding: 72px 0;
}

.soft-section {
  background: rgba(254, 243, 199, 0.42);
}

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

.inline-head {
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--amber-600);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

.section h2,
.page-hero h1,
.detail-copy h1 {
  margin-bottom: 0;
  color: var(--gray-900);
}

.section-head h2,
.page-hero h1,
.detail-copy h1 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-link {
  color: var(--amber-700);
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 13px 22px;
  font-weight: 850;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
  box-shadow: 0 16px 30px rgba(217, 119, 6, 0.28);
}

.btn.ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
}

.hero-slider {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: var(--orange-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 1s ease;
  pointer-events: none;
  background-image: linear-gradient(90deg, rgba(67, 20, 7, 0.92), rgba(124, 45, 18, 0.64), rgba(17, 24, 39, 0.24)), var(--hero-image);
  background-size: cover;
  background-position: center;
}

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

.hero-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 28%, rgba(251, 191, 36, 0.28), transparent 28%), linear-gradient(180deg, transparent, rgba(17, 24, 39, 0.34));
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 360px;
  align-items: center;
  gap: 52px;
  padding: 76px 0 130px;
}

.hero-copy {
  color: var(--white);
  max-width: 760px;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(46px, 7vw, 88px);
  font-weight: 950;
  letter-spacing: -0.06em;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.hero-line {
  max-width: 680px;
  font-size: clamp(18px, 2.4vw, 26px);
  color: #fff7ed;
  font-weight: 750;
}

.hero-summary {
  max-width: 760px;
  color: #ffedd5;
  font-size: 16px;
}

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

.hero-tags span,
.tag-row span,
.detail-badges span {
  display: inline-flex;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.hero-tags span {
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

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

.hero-poster {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: var(--shadow-xl);
  backdrop-filter: blur(16px);
  transform: rotate(2deg);
}

.hero-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 22px;
}

.hero-poster span {
  position: absolute;
  left: 26px;
  bottom: 26px;
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--white);
  background: rgba(217, 119, 6, 0.88);
  font-size: 13px;
  font-weight: 850;
}

.hero-controls {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

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

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
}

.hero-dot.active {
  width: 38px;
  background: var(--amber-300);
}

.hero-thumbs {
  display: flex;
  gap: 12px;
  max-width: 660px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.hero-thumb {
  width: 120px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  padding: 7px;
  cursor: pointer;
  text-align: left;
  backdrop-filter: blur(12px);
  opacity: 0.74;
}

.hero-thumb.active {
  opacity: 1;
  border-color: var(--amber-300);
  box-shadow: 0 0 0 3px rgba(252, 211, 77, 0.18);
}

.hero-thumb img {
  width: 100%;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 6px;
}

.hero-thumb span {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
  font-weight: 800;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(253, 230, 138, 0.95);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: var(--amber-300);
  box-shadow: var(--shadow-md);
}

.poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, var(--amber-100), var(--orange-600));
}

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

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

.poster-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--white);
  background: rgba(146, 64, 14, 0.86);
  font-size: 12px;
  font-weight: 850;
  backdrop-filter: blur(10px);
}

.card-body {
  padding: 16px;
}

.card-meta {
  color: var(--amber-700);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 8px;
}

.movie-card h3,
.rank-item h3 {
  margin: 0 0 9px;
  color: var(--gray-900);
  font-size: 19px;
  font-weight: 900;
}

.movie-card p,
.rank-item p,
.category-overview-card p,
.spotlight-box p,
.detail-side-card dd,
.detail-article p,
.page-hero p {
  color: var(--gray-700);
}

.movie-card p,
.rank-item p {
  margin-bottom: 12px;
  font-size: 14px;
}

.tag-row span,
.detail-badges span {
  color: var(--amber-800);
  background: var(--amber-100);
}

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

.category-card {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  border-radius: var(--radius-md);
  padding: 18px;
  color: var(--white);
  background-image: linear-gradient(180deg, rgba(17, 24, 39, 0.12), rgba(124, 45, 18, 0.88)), var(--cat-image);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.category-card span {
  font-size: 20px;
  font-weight: 950;
}

.category-card strong {
  margin-top: 8px;
  color: #ffedd5;
  font-size: 13px;
  font-weight: 600;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.6fr);
  gap: 34px;
  align-items: start;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 18px;
  border: 1px solid var(--amber-200);
  border-radius: var(--radius-md);
  padding: 14px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.compact-rank .rank-item:nth-child(n + 7) {
  display: none;
}

.rank-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px;
}

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

.rank-poster span {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
  font-weight: 950;
}

.spotlight-box,
.ranking-aside,
.detail-side-card {
  border: 1px solid var(--amber-200);
  border-radius: var(--radius-lg);
  padding: 26px;
  background: linear-gradient(180deg, var(--white), var(--amber-50));
  box-shadow: var(--shadow-md);
}

.spotlight-box {
  position: sticky;
  top: 96px;
}

.spotlight-box h2,
.ranking-aside h2,
.detail-side-card h2 {
  font-size: 28px;
  font-weight: 950;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background-image: linear-gradient(90deg, rgba(67, 20, 7, 0.9), rgba(146, 64, 14, 0.7)), var(--page-image, linear-gradient(135deg, var(--amber-800), var(--orange-700)));
  background-size: cover;
  background-position: center;
  padding: 88px 0;
}

.compact-page-hero {
  background-image: radial-gradient(circle at 20% 20%, rgba(252, 211, 77, 0.28), transparent 28%), linear-gradient(135deg, var(--amber-900, #78350f), var(--orange-900));
}

.page-hero h1,
.page-hero p,
.page-hero .eyebrow {
  color: var(--white);
}

.page-hero p {
  max-width: 780px;
  font-size: 18px;
}

.filter-bar,
.search-page-form {
  margin-top: 24px;
  display: flex;
  gap: 10px;
}

.filter-bar input,
.search-page-form input {
  width: min(100%, 520px);
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 20px;
  border: 1px solid var(--amber-200);
  border-radius: var(--radius-md);
  padding: 18px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.category-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
}

.category-overview-card h2 {
  margin-bottom: 10px;
  font-size: 26px;
  font-weight: 950;
}

.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.category-links a {
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--amber-800);
  background: var(--amber-100);
  font-size: 13px;
  font-weight: 800;
}

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

.aside-grid {
  display: grid;
  gap: 16px;
}

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

.aside-grid .poster img {
  height: 100%;
  aspect-ratio: auto;
}

.aside-grid .card-body {
  padding: 12px;
}

.aside-grid .movie-card h3 {
  font-size: 16px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 64px;
  background-image: linear-gradient(90deg, rgba(67, 20, 7, 0.92), rgba(124, 45, 18, 0.7), rgba(255, 251, 235, 0.7)), var(--detail-image);
  background-size: cover;
  background-position: center;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  backdrop-filter: blur(2px);
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.1), rgba(255, 251, 235, 0.8));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: #ffedd5;
  font-size: 14px;
}

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

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

.detail-cover {
  display: block;
  padding: 10px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: var(--shadow-xl);
}

.detail-cover img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 22px;
}

.detail-copy {
  max-width: 820px;
}

.detail-copy h1,
.detail-copy .lead {
  color: var(--white);
  text-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.detail-copy .lead {
  font-size: 20px;
  font-weight: 760;
}

.detail-badges {
  margin: 16px 0;
}

.detail-badges span {
  color: #fff7ed;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.player-section {
  padding-top: 54px;
  background: #111827;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #030712;
  box-shadow: 0 30px 80px rgba(17, 24, 39, 0.42);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  align-content: center;
  color: var(--white);
  background: radial-gradient(circle at center, rgba(217, 119, 6, 0.18), rgba(3, 7, 18, 0.58));
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-button {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-600), var(--orange-600));
  box-shadow: 0 20px 46px rgba(217, 119, 6, 0.36);
  font-size: 34px;
  cursor: pointer;
}

.player-overlay strong {
  font-size: 24px;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
}

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

.detail-article {
  border: 1px solid var(--amber-200);
  border-radius: var(--radius-lg);
  padding: 30px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.detail-article h2 {
  margin-bottom: 14px;
  font-size: 28px;
  font-weight: 950;
}

.detail-article p {
  font-size: 17px;
}

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

.detail-side-card dt {
  color: var(--amber-700);
  font-weight: 900;
}

.detail-side-card dd {
  margin: 0;
}

.site-footer {
  color: #fffbeb;
  background: linear-gradient(135deg, var(--amber-900, #78350f), var(--orange-900));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 32px;
  padding: 48px 0;
}

.footer-brand {
  margin-bottom: 12px;
  font-size: 24px;
  font-weight: 950;
}

.site-footer h3 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: #fde68a;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(253, 230, 138, 0.18);
  padding: 18px 0;
  text-align: center;
  color: #fde68a;
  font-size: 14px;
}

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

  .mobile-toggle {
    display: grid;
    place-items: center;
  }

  .hero-content,
  .split-layout,
  .ranking-layout,
  .detail-content-grid {
    grid-template-columns: 1fr;
  }

  .hero-content {
    gap: 28px;
    padding-bottom: 150px;
  }

  .hero-poster {
    width: min(320px, 80vw);
    transform: none;
  }

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

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

  .spotlight-box {
    position: static;
  }

  .ranking-aside {
    order: -1;
  }

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

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

  .brand-text small {
    display: none;
  }

  .hero-slider {
    min-height: 740px;
  }

  .hero-content {
    min-height: 640px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 48px 0 170px;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .hero-poster {
    display: none;
  }

  .hero-controls {
    display: block;
  }

  .hero-dots {
    margin-bottom: 14px;
  }

  .hero-thumbs {
    max-width: calc(100vw - 24px);
  }

  .section {
    padding: 50px 0;
  }

  .section-head {
    display: block;
  }

  .section-link {
    display: inline-block;
    margin-top: 12px;
  }

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

  .movie-card h3 {
    font-size: 16px;
  }

  .card-body {
    padding: 12px;
  }

  .card-meta,
  .movie-card p,
  .tag-row {
    font-size: 12px;
  }

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

  .rank-poster {
    width: 120px;
  }

  .category-cover {
    width: 160px;
  }

  .detail-cover {
    width: min(240px, 72vw);
  }

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

  .detail-article,
  .detail-side-card,
  .spotlight-box,
  .ranking-aside {
    padding: 20px;
  }

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

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

  .search-form,
  .search-page-form,
  .filter-bar {
    width: 100%;
  }

  .search-form input,
  .search-page-form input,
  .filter-bar input {
    width: 100%;
  }

  .search-page-form {
    flex-direction: column;
  }

  .search-page-form button {
    width: 100%;
  }
}
