:root {
  --bluestone-950: #020617;
  --bluestone-900: #0f172a;
  --bluestone-800: #1e293b;
  --bluestone-700: #334155;
  --bluestone-600: #475569;
  --bluestone-200: #e2e8f0;
  --bluestone-100: #f1f5f9;
  --bluestone-50: #f8fafc;
  --accent-700: #92400e;
  --accent-600: #b45309;
  --accent-500: #d97706;
  --accent-400: #f59e0b;
  --accent-100: #fef3c7;
  --accent-50: #fffbeb;
  --stone-900: #1c1917;
  --stone-800: #292524;
  --stone-700: #44403c;
  --stone-600: #57534e;
  --stone-500: #78716c;
  --stone-300: #d6d3d1;
  --stone-200: #e7e5e4;
  --stone-100: #f5f5f4;
  --stone-50: #fafaf9;
  --white: #ffffff;
  --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, .1), 0 8px 10px -6px rgba(0, 0, 0, .1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--stone-50);
  color: var(--stone-700);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid rgba(226, 232, 240, .9);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--bluestone-900);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--bluestone-700), var(--accent-500));
  color: var(--white);
  font-size: 14px;
  box-shadow: 0 10px 24px rgba(217, 119, 6, .28);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--bluestone-700);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

.desktop-nav a,
.mobile-nav a,
.footer-links a {
  transition: color .2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.footer-links a:hover,
.brand:hover,
.footer-brand:hover {
  color: var(--accent-600);
}

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

.header-search input,
.filter-controls input,
.filter-controls select,
.search-page-form input {
  border: 1px solid var(--stone-300);
  border-radius: 999px;
  padding: 10px 14px;
  color: var(--stone-700);
  background: var(--white);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.header-search input {
  width: 220px;
}

.header-search input:focus,
.filter-controls input:focus,
.filter-controls select:focus,
.search-page-form input:focus {
  border-color: var(--accent-500);
  box-shadow: 0 0 0 4px rgba(217, 119, 6, .14);
}

.header-search button,
.btn-primary {
  border: 0;
  border-radius: 999px;
  background: var(--accent-500);
  color: var(--white);
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 20px rgba(217, 119, 6, .25);
}

.header-search button:hover,
.btn-primary:hover {
  background: var(--accent-600);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(180, 83, 9, .28);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 18px;
  color: var(--white);
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  font-weight: 700;
  backdrop-filter: blur(10px);
  transition: background .2s ease, transform .2s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, .22);
  transform: translateY(-1px);
}

.btn-ghost.light {
  color: var(--bluestone-900);
  background: rgba(255, 255, 255, .72);
}

.mobile-toggle {
  display: none;
  border: 0;
  background: var(--bluestone-900);
  color: var(--white);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  padding: 12px 24px 20px;
  border-top: 1px solid var(--bluestone-200);
  background: var(--white);
}

.mobile-nav a {
  display: block;
  padding: 10px 0;
  color: var(--bluestone-800);
  font-weight: 700;
}

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

.hero {
  position: relative;
  min-height: 500px;
  height: 70vh;
  background: var(--bluestone-900);
  overflow: hidden;
}

.hero-stage,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .52), rgba(0, 0, 0, .08));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero-content h1 {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--white);
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -.05em;
}

.hero-content p {
  max-width: 720px;
  margin: 0 0 24px;
  color: var(--stone-200);
  font-size: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--accent-400);
  font-weight: 800;
  letter-spacing: .04em;
}

.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent-400);
  box-shadow: 0 0 0 6px rgba(245, 158, 11, .14);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 18px;
  color: var(--stone-300);
  font-weight: 600;
}

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

.hero-tags span,
.detail-genres a,
.tag-row span,
.tag-cloud span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, .12);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.small-actions {
  margin-top: 18px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  transform: translateY(-50%);
  color: var(--white);
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(12px);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, .24);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

.hero-dot {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .55);
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}

.hero-dot.is-active {
  width: 34px;
  background: var(--accent-400);
}

.page-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 72px;
}

.home-shell {
  padding-top: 64px;
}

.content-section {
  margin-bottom: 76px;
}

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

.section-heading h2,
.split-side h2,
.side-card h2,
.detail-card h2 {
  margin: 0;
  color: var(--bluestone-900);
  font-weight: 800;
  letter-spacing: -.03em;
}

.section-heading h2 {
  font-size: 34px;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--stone-600);
}

.section-link,
.text-link {
  color: var(--accent-600);
  font-weight: 800;
}

.highlight-section {
  margin-left: -24px;
  margin-right: -24px;
  padding: 42px 24px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--accent-50), #fdf8f6);
}

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

.catalog-grid {
  align-items: stretch;
}

.movie-card {
  overflow: hidden;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease;
}

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

.movie-cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--stone-200);
}

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

.movie-card:hover .movie-cover img,
.compact-card:hover img,
.ranking-card:hover img,
.podium-card:hover img {
  transform: scale(1.08);
}

.cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, .68), rgba(0, 0, 0, .06));
  opacity: 0;
  transition: opacity .25s ease;
}

.movie-card:hover .cover-shade {
  opacity: 1;
}

.play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(217, 119, 6, .92);
  color: var(--white);
  transform: translate(-50%, -50%) scale(.82);
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
}

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

.card-badge {
  position: absolute;
  right: 10px;
  top: 10px;
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--white);
  background: rgba(15, 23, 42, .72);
  font-weight: 800;
  font-size: 12px;
}

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

.movie-card-body h3 {
  margin: 0 0 8px;
  color: var(--bluestone-900);
  font-size: 19px;
  line-height: 1.3;
}

.movie-card-body h3 a:hover {
  color: var(--accent-600);
}

.movie-card-body p {
  min-height: 48px;
  margin: 0 0 14px;
  color: var(--stone-600);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--stone-500);
  font-size: 13px;
  font-weight: 700;
}

.tag-row span {
  background: var(--accent-50);
  color: var(--accent-700);
}

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

.category-tile {
  position: relative;
  min-height: 168px;
  overflow: hidden;
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  background: var(--bluestone-900);
  box-shadow: var(--shadow-card);
}

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

.category-tile img {
  object-fit: cover;
  transition: transform .5s ease;
}

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

.category-tile-shade {
  background: linear-gradient(0deg, rgba(15, 23, 42, .88), rgba(15, 23, 42, .22));
}

.category-tile strong,
.category-tile em {
  position: relative;
  z-index: 1;
}

.category-tile strong {
  font-size: 22px;
  font-style: normal;
  font-weight: 800;
}

.category-tile em {
  margin-top: 6px;
  color: var(--stone-200);
  font-size: 13px;
  font-style: normal;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, .6fr);
  gap: 32px;
}

.split-main,
.split-side,
.filter-panel,
.detail-card,
.side-card,
.player-card {
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.split-main {
  padding: 28px;
}

.split-side,
.side-card {
  padding: 24px;
}

.rank-list,
.compact-list {
  display: grid;
  gap: 14px;
}

.rank-row,
.compact-card,
.ranking-card {
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: 14px;
  padding: 10px;
  background: var(--stone-50);
  transition: background .2s ease, transform .2s ease;
}

.rank-row:hover,
.compact-card:hover,
.ranking-card:hover {
  background: var(--accent-50);
  transform: translateX(3px);
}

.rank-num,
.ranking-number,
.podium-num {
  color: var(--accent-600);
  font-weight: 900;
}

.rank-row img,
.compact-card img,
.ranking-card img {
  width: 96px;
  height: 62px;
  flex: 0 0 auto;
  border-radius: 10px;
  object-fit: cover;
  background: var(--stone-200);
  transition: transform .35s ease;
}

.rank-info,
.compact-card span,
.ranking-body {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.rank-info strong,
.compact-card strong,
.ranking-body strong {
  color: var(--bluestone-900);
  font-weight: 800;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-info em,
.compact-card em,
.ranking-body em,
.ranking-body span {
  color: var(--stone-500);
  font-size: 13px;
  font-style: normal;
}

.page-hero {
  margin-bottom: 32px;
  padding: 48px;
  border-radius: 28px;
  color: var(--white);
  background: linear-gradient(135deg, var(--bluestone-700), var(--bluestone-900));
  box-shadow: var(--shadow-xl);
}

.compact-hero,
.ranking-hero {
  background: radial-gradient(circle at 12% 20%, rgba(245, 158, 11, .32), transparent 32%), linear-gradient(135deg, var(--bluestone-700), var(--bluestone-950));
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--bluestone-200);
  font-size: 17px;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 22px;
  padding: 20px;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

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

.category-covers img {
  width: 100%;
  height: 86px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--stone-200);
}

.category-overview-card h2 {
  margin: 0 0 8px;
  color: var(--bluestone-900);
}

.category-overview-card p {
  margin: 0 0 14px;
  color: var(--stone-600);
}

.filter-panel {
  margin-bottom: 34px;
  padding: 22px;
}

.filter-title {
  margin-bottom: 14px;
  color: var(--bluestone-900);
  font-weight: 800;
}

.filter-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-controls input {
  min-width: min(100%, 320px);
}

.filter-controls select {
  border-radius: 12px;
}

.filter-status {
  margin: 12px 0 0;
  color: var(--stone-500);
  font-size: 14px;
}

.podium-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 34px;
}

.podium-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 24px;
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  background: var(--bluestone-900);
  box-shadow: var(--shadow-xl);
}

.podium-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .68;
  transition: transform .5s ease;
}

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

.podium-card strong,
.podium-card em,
.podium-num {
  position: relative;
  z-index: 1;
}

.podium-card strong {
  font-size: 24px;
  font-weight: 900;
}

.podium-card em {
  color: var(--stone-200);
  font-style: normal;
}

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

.ranking-card {
  padding: 14px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.ranking-card img {
  width: 150px;
  height: 92px;
}

.ranking-body em {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-page-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.search-page-form input {
  min-width: min(100%, 420px);
  border-radius: 999px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  color: var(--stone-500);
  font-size: 14px;
}

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

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

.detail-main {
  display: grid;
  gap: 24px;
}

.player-card {
  overflow: hidden;
  background: var(--bluestone-950);
}

.player-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: var(--white);
  background: linear-gradient(0deg, rgba(15, 23, 42, .7), rgba(15, 23, 42, .25));
  cursor: pointer;
  transition: opacity .2s ease, visibility .2s ease;
}

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

.player-icon {
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent-500);
  font-size: 30px;
  box-shadow: 0 20px 40px rgba(217, 119, 6, .36);
  transition: transform .2s ease;
}

.player-overlay:hover .player-icon {
  transform: scale(1.06);
}

.player-title {
  padding: 0 24px;
  text-align: center;
  font-size: 20px;
  font-weight: 800;
}

.detail-card {
  padding: 28px;
}

.detail-card h1 {
  margin: 0 0 16px;
  color: var(--bluestone-900);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -.04em;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  color: var(--stone-600);
  font-weight: 700;
}

.detail-meta span {
  border-radius: 999px;
  background: var(--stone-100);
  padding: 6px 12px;
}

.detail-genres {
  margin-bottom: 24px;
}

.detail-genres a {
  background: var(--accent-50);
  color: var(--accent-700);
}

.detail-card h2 {
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: 24px;
}

.detail-card p {
  margin: 0;
  color: var(--stone-700);
}

.tag-cloud span {
  background: var(--stone-100);
  color: var(--stone-700);
}

.side-cover {
  overflow: hidden;
  border-radius: 20px;
  background: var(--stone-200);
  box-shadow: var(--shadow-card);
}

.side-cover img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.detail-side {
  display: grid;
  align-content: start;
  gap: 20px;
}

.sticky-side {
  position: sticky;
  top: 92px;
}

.related-block {
  margin-bottom: 0;
}

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

.site-footer {
  background: var(--bluestone-900);
  color: var(--stone-300);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 42px 24px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand {
  color: var(--white);
}

.site-footer p {
  max-width: 520px;
  margin: 12px 0 0;
  color: var(--stone-400);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
  max-width: 520px;
}

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

  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header-search {
    margin-left: auto;
  }

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

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

  .detail-side {
    grid-template-columns: 280px minmax(0, 1fr);
  }

  .sticky-side {
    position: static;
  }
}

@media (max-width: 820px) {
  .header-inner {
    height: auto;
    min-height: 64px;
    padding: 12px 16px;
    flex-wrap: wrap;
  }

  .header-search {
    order: 3;
    width: 100%;
  }

  .header-search input {
    flex: 1;
    width: auto;
  }

  .hero {
    height: 640px;
  }

  .hero-overlay {
    background: linear-gradient(0deg, rgba(0, 0, 0, .86), rgba(0, 0, 0, .22));
  }

  .hero-content {
    justify-content: flex-end;
    padding-bottom: 86px;
  }

  .hero-arrow {
    display: none;
  }

  .page-shell {
    padding: 32px 16px 56px;
  }

  .page-hero {
    padding: 34px 24px;
  }

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

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

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

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

  .footer-inner {
    flex-direction: column;
  }

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

@media (max-width: 560px) {
  .brand span:last-child {
    font-size: 18px;
  }

  .hero-content h1 {
    font-size: 38px;
  }

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

  .hero-meta {
    gap: 10px;
    font-size: 14px;
  }

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

  .highlight-section {
    border-radius: 20px;
  }

  .rank-row img,
  .compact-card img,
  .ranking-card img {
    width: 82px;
    height: 56px;
  }

  .ranking-card {
    align-items: flex-start;
  }

  .ranking-card img {
    width: 92px;
    height: 64px;
  }

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

  .filter-controls input,
  .filter-controls select,
  .search-page-form input,
  .search-page-form button {
    width: 100%;
  }
}
