:root {
  color-scheme: light;
  --bg: #fff8ed;
  --bg-soft: #fff3dc;
  --card: rgba(255, 255, 255, 0.88);
  --card-solid: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: rgba(148, 93, 22, 0.16);
  --brand: #d97706;
  --brand-dark: #b45309;
  --brand-soft: rgba(251, 191, 36, 0.18);
  --accent: #ea580c;
  --shadow: 0 22px 55px rgba(146, 64, 14, 0.18);
  --radius: 24px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 0%, rgba(251, 191, 36, 0.28), transparent 34rem),
    radial-gradient(circle at 92% 8%, rgba(249, 115, 22, 0.20), transparent 32rem),
    linear-gradient(180deg, #fff8ed 0%, #fffaf5 38%, #ffffff 100%);
  color: var(--text);
  min-height: 100vh;
}

body,
button,
input {
  font: inherit;
}

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

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  color: var(--brand-dark);
}

.brand-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fbbf24, #f97316);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(217, 119, 6, 0.30);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 22px;
  letter-spacing: -0.03em;
}

.brand-text em {
  margin-top: 4px;
  font-style: normal;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  color: #4b5563;
  font-weight: 700;
}

.desktop-nav > a,
.nav-dropdown > button {
  border: 0;
  background: transparent;
  color: inherit;
  padding: 10px 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.desktop-nav > a:hover,
.nav-dropdown:hover > button {
  color: var(--brand);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 168px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  display: none;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  display: grid;
}

.nav-dropdown-menu a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #4b5563;
}

.nav-dropdown-menu a:hover {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

.header-search input,
.quick-search-form input,
.page-search-form input,
.filter-bar input {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  color: var(--text);
  outline: none;
  min-width: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
  width: 190px;
  padding: 10px 14px;
}

.header-search input:focus,
.quick-search-form input:focus,
.page-search-form input:focus,
.filter-bar input:focus {
  border-color: rgba(217, 119, 6, 0.65);
  box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.20);
}

.header-search button,
.quick-search-form button,
.page-search-form button,
.primary-button {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #ffffff;
  padding: 11px 20px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(217, 119, 6, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button:hover,
.quick-search-form button:hover,
.page-search-form button:hover,
.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(217, 119, 6, 0.34);
}

.mobile-menu-button {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  padding: 10px 14px;
  color: var(--brand-dark);
  font-weight: 900;
}

.mobile-nav {
  display: none;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mobile-nav a {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  color: #4b5563;
  font-weight: 700;
}

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

.hero {
  max-width: 1280px;
  margin: 28px auto 0;
  padding: 0 24px;
}

.hero-slider {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 34px;
  background: #1f2937;
  box-shadow: var(--shadow);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 36px;
  align-items: center;
  padding: 58px;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  filter: blur(20px) saturate(1.12);
  transform: scale(1.12);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.94) 0%, rgba(55, 34, 10, 0.80) 48%, rgba(17, 24, 39, 0.52) 100%),
    radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.38), transparent 30rem);
}

.hero-content,
.hero-poster {
  position: relative;
  z-index: 1;
}

.hero-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 7px 12px;
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.05em;
}

.hero-content h1,
.page-hero h1,
.detail-info h1 {
  margin: 18px 0 12px;
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.hero-content h1 {
  color: #ffffff;
  font-size: clamp(34px, 5vw, 64px);
  max-width: 820px;
}

.hero-content h2 {
  margin: 0 0 16px;
  color: #fde68a;
  font-size: clamp(24px, 3vw, 38px);
}

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

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

.hero-tags span,
.tag-row span,
.detail-tags span {
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.20);
  font-size: 13px;
  font-weight: 700;
}

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

.ghost-button,
.text-button,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.ghost-button {
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.12);
  padding: 11px 20px;
  backdrop-filter: blur(10px);
}

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

.hero-poster {
  display: block;
  height: 440px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.hero-dot {
  width: 34px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(217, 119, 6, 0.24);
  cursor: pointer;
}

.hero-dot.is-active {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.quick-search-section,
.content-section,
.page-hero,
.detail-hero-inner {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.quick-search-section {
  margin-top: 28px;
}

.quick-search-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  box-shadow: 0 16px 45px rgba(146, 64, 14, 0.10);
}

.quick-search-card h2,
.section-heading h2,
.side-panel h2,
.info-panel h2,
.article-card h2 {
  margin: 12px 0 10px;
  letter-spacing: -0.03em;
}

.quick-search-card p,
.section-heading p,
.category-overview-head p,
.page-hero p,
.article-card p,
.info-panel dd,
.movie-card p,
.mini-card p {
  color: var(--muted);
  line-height: 1.78;
}

.quick-search-form,
.page-search-form {
  display: flex;
  gap: 10px;
}

.quick-search-form input,
.page-search-form input {
  flex: 1;
  padding: 15px 18px;
}

.content-section {
  padding-top: 54px;
  padding-bottom: 20px;
}

.alt-section {
  max-width: none;
  padding-left: max(24px, calc((100vw - 1280px) / 2 + 24px));
  padding-right: max(24px, calc((100vw - 1280px) / 2 + 24px));
  background: rgba(255, 255, 255, 0.42);
  border-top: 1px solid rgba(217, 119, 6, 0.10);
  border-bottom: 1px solid rgba(217, 119, 6, 0.10);
}

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

.section-heading h2,
.page-hero h1,
.detail-info h1 {
  font-size: clamp(30px, 4vw, 46px);
  color: #111827;
}

.section-more,
.text-button {
  padding: 10px 16px;
  color: var(--brand-dark);
  background: var(--brand-soft);
}

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

.category-tile {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
  box-shadow: 0 16px 35px rgba(146, 64, 14, 0.12);
}

.category-tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  transition: transform 0.36s ease;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.08), rgba(17, 24, 39, 0.78));
}

.category-tile:hover img {
  transform: scale(1.08);
}

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

.category-tile strong {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.55;
}

.movie-grid,
.ranking-grid,
.category-overview-grid {
  display: grid;
  gap: 22px;
}

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: 0 16px 45px rgba(146, 64, 14, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217, 119, 6, 0.32);
  box-shadow: 0 24px 58px rgba(146, 64, 14, 0.18);
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: #fef3c7;
}

.poster-link img {
  transition: transform 0.35s ease;
}

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

.poster-year,
.rank-mark {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

.poster-year {
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(10px);
}

.rank-mark {
  right: 12px;
  bottom: 12px;
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

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

.movie-meta-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
}

.movie-card h3 {
  margin: 10px 0 8px;
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.movie-card h3 a:hover,
.mini-card h3 a:hover,
.category-overview-head h2 a:hover {
  color: var(--brand);
}

.movie-card p {
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag-row span {
  color: var(--brand-dark);
  border-color: rgba(217, 119, 6, 0.12);
  background: var(--brand-soft);
}

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

.movie-card-small .poster-link {
  aspect-ratio: auto;
  min-height: 180px;
}

.movie-card-small .movie-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 28px;
  align-items: start;
}

.side-panel,
.info-panel,
.article-card,
.category-overview-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 16px 45px rgba(146, 64, 14, 0.10);
}

.side-panel {
  position: sticky;
  top: 98px;
  padding: 24px;
}

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

.mini-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.mini-poster {
  aspect-ratio: 2 / 3;
  border-radius: 16px;
  overflow: hidden;
  background: #fef3c7;
}

.mini-card span {
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 12px;
}

.mini-card h3 {
  margin: 4px 0;
  font-size: 16px;
  line-height: 1.35;
}

.mini-card p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
}

.page-hero {
  padding-top: 52px;
  padding-bottom: 10px;
}

.compact-hero > div,
.search-hero {
  border-radius: 34px;
  padding: 44px;
  background:
    radial-gradient(circle at 85% 15%, rgba(251, 191, 36, 0.26), transparent 26rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 237, 0.78));
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(146, 64, 14, 0.12);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

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

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

.category-overview-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
  padding: 24px;
}

.category-overview-head h2 {
  margin: 12px 0 10px;
  font-size: 30px;
}

.compact .mini-card {
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 248, 237, 0.72);
}

.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.filter-bar input {
  width: min(100%, 520px);
  padding: 14px 18px;
}

.empty-state {
  display: none;
  margin: 26px 0;
  padding: 28px;
  text-align: center;
  border-radius: 22px;
  border: 1px dashed rgba(217, 119, 6, 0.30);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.68);
}

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

[data-filter-card].is-hidden {
  display: none;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  display: grid;
  align-items: center;
  isolation: isolate;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.detail-backdrop img {
  filter: blur(24px) saturate(1.1);
  transform: scale(1.12);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 248, 237, 0.98), rgba(255, 248, 237, 0.86), rgba(255, 248, 237, 0.62)),
    radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.32), transparent 28rem);
}

.detail-hero-inner {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  padding-top: 54px;
  padding-bottom: 54px;
}

.detail-cover {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 30px;
  border: 8px solid rgba(255, 255, 255, 0.82);
  box-shadow: 0 30px 70px rgba(146, 64, 14, 0.24);
}

.detail-info p {
  max-width: 830px;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.85;
}

.detail-tags span {
  color: var(--brand-dark);
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(217, 119, 6, 0.18);
}

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

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #111827;
  box-shadow: 0 26px 70px rgba(17, 24, 39, 0.28);
  aspect-ratio: 16 / 9;
}

.movie-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #111827;
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: #ffffff;
  background: radial-gradient(circle at 50% 42%, rgba(251, 191, 36, 0.32), rgba(17, 24, 39, 0.58));
  cursor: pointer;
  transition: opacity 0.24s ease;
}

.play-overlay span {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.34);
  font-size: 34px;
  padding-left: 5px;
}

.play-overlay strong {
  font-size: 20px;
}

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

.article-card {
  margin-top: 24px;
  padding: 28px;
}

.article-card p {
  margin-bottom: 0;
  font-size: 17px;
}

.detail-sidebar {
  display: grid;
  gap: 22px;
}

.info-panel {
  padding: 22px;
}

.info-panel h2 {
  font-size: 24px;
}

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

.info-panel dt {
  color: var(--brand-dark);
  font-weight: 900;
}

.info-panel dd {
  margin: 0;
}

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

.sidebar-grid .movie-card-small {
  grid-template-columns: 94px minmax(0, 1fr);
}

.sidebar-grid .movie-card-small .poster-link {
  min-height: 140px;
}

.search-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 28px;
  align-items: center;
}

.site-footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

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

.footer-brand {
  font-size: 24px;
}

.footer-inner p {
  color: var(--muted);
  line-height: 1.75;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
  color: #4b5563;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--brand);
}

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

  .mobile-menu-button {
    display: inline-flex;
  }

  .hero-slide,
  .detail-hero-inner,
  .detail-layout,
  .two-column-section,
  .quick-search-card,
  .search-hero {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    display: none;
  }

  .side-panel {
    position: static;
  }

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

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

@media (max-width: 760px) {
  .header-inner,
  .hero,
  .quick-search-section,
  .content-section,
  .page-hero,
  .detail-hero-inner,
  .footer-inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-text em {
    display: none;
  }

  .hero-slider {
    min-height: 540px;
    border-radius: 24px;
  }

  .hero-slide {
    padding: 28px;
  }

  .hero-content p,
  .detail-info p {
    font-size: 16px;
  }

  .quick-search-form,
  .page-search-form,
  .filter-bar,
  .section-heading,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
    display: flex;
  }

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

  .movie-card-small,
  .sidebar-grid .movie-card-small {
    grid-template-columns: 1fr;
  }

  .movie-card-small .poster-link,
  .sidebar-grid .movie-card-small .poster-link {
    min-height: auto;
    aspect-ratio: 2 / 3;
  }

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

  .compact-hero > div,
  .search-hero,
  .article-card,
  .info-panel {
    padding: 24px;
    border-radius: 24px;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

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

  .mobile-nav {
    grid-template-columns: 1fr;
  }
}
