/*
  Static movie site style sheet.
  Visual direction follows the uploaded amber / stone gradient movie layout:
  sticky warm header, 70vh hero carousel, card hover elevation, rounded players,
  light content background, dark footer and mobile-first responsive grids.
*/

:root {
  --color-amber-50: #fffbeb;
  --color-amber-100: #fef3c7;
  --color-amber-200: #fde68a;
  --color-amber-500: #f59e0b;
  --color-amber-600: #d97706;
  --color-amber-700: #b45309;
  --color-amber-800: #92400e;
  --color-amber-900: #78350f;
  --color-orange-800: #9a3412;
  --color-stone-50: #fafaf9;
  --color-stone-100: #f5f5f4;
  --color-stone-200: #e7e5e4;
  --color-stone-300: #d6d3d1;
  --color-stone-500: #78716c;
  --color-stone-600: #57534e;
  --color-stone-700: #44403c;
  --color-stone-800: #292524;
  --color-stone-900: #1c1917;
  --shadow-card: 0 10px 24px rgba(41, 37, 36, 0.12);
  --shadow-card-hover: 0 20px 42px rgba(41, 37, 36, 0.18);
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--color-stone-800);
  background: var(--color-stone-50);
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  color: #ffffff;
  background: linear-gradient(90deg, var(--color-amber-900), var(--color-orange-800), var(--color-amber-900));
  box-shadow: 0 10px 28px rgba(28, 25, 23, 0.22);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  transition: opacity 0.2s ease;
}

.brand:hover {
  opacity: 0.86;
}

.brand__mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  color: var(--color-amber-900);
  background: var(--color-amber-200);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  font-size: 15px;
  font-weight: 900;
}

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

.brand__text strong {
  font-size: 20px;
  letter-spacing: 0.02em;
}

.brand__text small {
  color: var(--color-amber-200);
  font-size: 12px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  font-weight: 600;
}

.main-nav a {
  position: relative;
  color: #fff7ed;
  transition: color 0.2s ease;
}

.main-nav a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  content: "";
  background: var(--color-amber-200);
  transition: width 0.2s ease;
}

.main-nav a:hover {
  color: var(--color-amber-200);
}

.main-nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 12px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero-carousel {
  position: relative;
  height: 70vh;
  min-height: 560px;
  overflow: hidden;
  color: #ffffff;
  background: #000000;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transform: scale(1.025);
  transition: opacity 0.8s ease, visibility 0.8s ease, transform 1.2s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 70% 30%, rgba(245, 158, 11, 0.18), transparent 32%),
    linear-gradient(180deg, transparent 52%, rgba(0, 0, 0, 0.72));
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
}

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

.hero-copy__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  border: 1px solid rgba(253, 230, 138, 0.45);
  border-radius: 999px;
  color: var(--color-amber-100);
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 700;
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.05em;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.hero-copy p {
  max-width: 660px;
  margin: 0 0 28px;
  color: var(--color-stone-200);
  font-size: clamp(17px, 2vw, 22px);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-meta span,
.page-hero__meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 700;
}

.hero-meta span:first-child {
  background: var(--color-amber-600);
}

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

.btn,
.filter-reset,
.player-cover__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 22px;
  border: 0;
  border-radius: 12px;
  color: #ffffff;
  background: var(--color-amber-600);
  box-shadow: 0 12px 26px rgba(180, 83, 9, 0.28);
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.filter-reset:hover,
.player-cover__button:hover {
  background: var(--color-amber-700);
  box-shadow: 0 16px 32px rgba(180, 83, 9, 0.35);
  transform: translateY(-2px);
}

.btn--ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.24);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.48);
  backdrop-filter: blur(8px);
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
  background: rgba(0, 0, 0, 0.72);
  transform: translateY(-50%) scale(1.06);
}

.hero-control--prev {
  left: max(18px, calc((100vw - var(--container)) / 2 - 70px));
}

.hero-control--next {
  right: max(18px, calc((100vw - var(--container)) / 2 - 70px));
}

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

.hero-dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.44);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 34px;
  background: var(--color-amber-500);
}

.section {
  padding: 56px 0;
}

.section--warm {
  background: linear-gradient(180deg, var(--color-amber-50), var(--color-stone-50));
}

.section--stone {
  background: linear-gradient(180deg, var(--color-stone-100), #ffffff);
}

.section--dark {
  color: #ffffff;
  background: linear-gradient(180deg, var(--color-amber-900), var(--color-orange-800));
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.section-heading__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  color: var(--color-amber-900);
  background: var(--color-amber-100);
  font-weight: 900;
}

.section-heading h2 {
  margin: 0;
  color: var(--color-stone-800);
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.2;
}

.section--dark .section-heading h2,
.section--dark .section-heading p {
  color: #ffffff;
}

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

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

.movie-grid--compact {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.movie-card {
  min-width: 0;
}

.movie-card.is-hidden {
  display: none;
}

.movie-card__link {
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.movie-card__poster {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--color-stone-200);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transition: transform 0.45s ease;
}

.movie-card__poster::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 28%, rgba(0, 0, 0, 0.68));
  opacity: 0.82;
}

.movie-card__link:hover .movie-card__poster {
  transform: scale(1.02);
}

.poster-year,
.poster-rank {
  position: absolute;
  z-index: 2;
  top: 12px;
  border-radius: 999px;
  padding: 5px 10px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 800;
}

.poster-year {
  right: 12px;
}

.poster-rank {
  left: 12px;
  background: var(--color-amber-600);
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(217, 119, 6, 0.88);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-card__body {
  padding: 18px;
}

.movie-card h3 {
  display: -webkit-box;
  min-height: 2.9em;
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--color-stone-800);
  font-size: 18px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 0.2s ease;
}

.movie-card__link:hover h3 {
  color: var(--color-amber-700);
}

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

.movie-card__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  color: var(--color-stone-500);
  font-size: 13px;
}

.movie-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.tag,
.category-tile span,
.stat-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--color-amber-800);
  background: var(--color-amber-100);
  font-size: 13px;
  font-weight: 700;
}

.tag--small {
  padding: 4px 8px;
  color: var(--color-stone-600);
  background: var(--color-stone-100);
  font-size: 12px;
}

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

.category-tile {
  display: flex;
  min-height: 118px;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(231, 229, 228, 0.9);
  border-radius: var(--radius-md);
  padding: 20px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.category-tile:hover {
  border-color: var(--color-amber-200);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.category-tile strong {
  color: var(--color-stone-800);
  font-size: 20px;
}

.category-tile small {
  margin-top: 8px;
  color: var(--color-stone-500);
}

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

.rank-item {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 14px;
  align-items: center;
  border-radius: var(--radius-md);
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-item:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-3px);
}

.rank-num {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  color: var(--color-amber-900);
  background: var(--color-amber-200);
  font-size: 18px;
  font-weight: 900;
}

.rank-item h3 {
  margin: 0 0 4px;
  font-size: 17px;
}

.rank-item p {
  margin: 0;
  color: var(--color-amber-100);
  font-size: 13px;
}

.rank-item__link {
  color: var(--color-amber-200);
  font-weight: 800;
}

.page-hero {
  padding: 64px 0;
  color: #ffffff;
  background:
    radial-gradient(circle at 78% 20%, rgba(245, 158, 11, 0.28), transparent 34%),
    linear-gradient(90deg, var(--color-amber-900), var(--color-orange-800));
}

.page-hero__label {
  display: inline-block;
  margin-bottom: 14px;
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--color-amber-100);
  background: rgba(0, 0, 0, 0.18);
  font-weight: 800;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0 0 12px;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 800px;
  margin: 0;
  color: var(--color-amber-100);
  font-size: 18px;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) repeat(3, minmax(130px, 180px)) auto auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 28px;
  border: 1px solid var(--color-stone-200);
  border-radius: var(--radius-lg);
  padding: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.filter-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
}

.filter-field span {
  color: var(--color-stone-600);
  font-size: 13px;
  font-weight: 800;
}

.filter-field input,
.filter-field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--color-stone-200);
  border-radius: 12px;
  padding: 0 12px;
  color: var(--color-stone-800);
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-field input:focus,
.filter-field select:focus {
  border-color: var(--color-amber-500);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.14);
}

.filter-reset {
  min-height: 44px;
  white-space: nowrap;
}

.filter-summary {
  margin: 0;
  color: var(--color-stone-600);
  font-size: 14px;
  white-space: nowrap;
}

.filter-summary strong {
  color: var(--color-amber-700);
}

.player-section {
  padding: 34px 0 56px;
  background: var(--color-stone-900);
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #000000;
  box-shadow: 0 26px 52px rgba(0, 0, 0, 0.42);
}

.movie-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #ffffff;
  background-color: #000000;
  background-position: center;
  background-size: cover;
  text-align: center;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-cover::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.78));
}

.player-cover__inner {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 620px;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 26px;
}

.player-cover__play {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border-radius: 999px;
  background: var(--color-amber-600);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
  font-size: 30px;
}

.player-cover h2 {
  margin: 0;
  font-size: clamp(24px, 5vw, 42px);
}

.player-cover p {
  margin: 0;
  color: var(--color-stone-200);
}

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

.player-status {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  border-radius: 999px;
  padding: 7px 12px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(8px);
  font-size: 13px;
}

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

.detail-card,
.info-card {
  border-radius: var(--radius-lg);
  padding: 28px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.detail-card h1 {
  margin: 0 0 14px;
  color: var(--color-stone-800);
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.15;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.detail-meta span {
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--color-stone-700);
  background: var(--color-stone-100);
  font-size: 14px;
  font-weight: 700;
}

.detail-card h2,
.info-card h2 {
  margin: 24px 0 12px;
  color: var(--color-stone-800);
  font-size: 22px;
}

.detail-card h2:first-child,
.info-card h2:first-child {
  margin-top: 0;
}

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

.detail-card .lead {
  color: var(--color-stone-800);
  font-size: 18px;
  font-weight: 700;
}

.info-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.info-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--color-stone-100);
  padding-bottom: 10px;
}

.info-list dt {
  color: var(--color-stone-500);
}

.info-list dd {
  margin: 0;
  color: var(--color-stone-800);
  font-weight: 800;
  text-align: right;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.site-footer {
  color: var(--color-stone-200);
  background: linear-gradient(180deg, var(--color-stone-800), var(--color-stone-900));
}

.site-footer__inner {
  padding: 48px 0 28px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 30px;
}

.footer-brand strong {
  color: #ffffff;
  font-size: 22px;
}

.footer-brand p {
  max-width: 560px;
  margin: 6px 0 0;
  color: var(--color-stone-300);
}

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

.footer-columns h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 16px;
}

.footer-columns a,
.footer-columns span {
  display: block;
  margin: 7px 0;
  color: var(--color-stone-300);
  font-size: 14px;
}

.footer-columns a:hover {
  color: var(--color-amber-200);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 0;
  padding-top: 24px;
  color: var(--color-stone-500);
  font-size: 13px;
  text-align: center;
}

.pagination-note {
  margin-top: 26px;
  border-radius: var(--radius-md);
  padding: 18px;
  color: var(--color-stone-600);
  background: var(--color-stone-100);
  text-align: center;
}

.no-results {
  display: none;
  border-radius: var(--radius-md);
  padding: 32px;
  color: var(--color-stone-500);
  background: #ffffff;
  box-shadow: var(--shadow-card);
  text-align: center;
}

.no-results.is-visible {
  display: block;
}

@media (max-width: 1120px) {
  .hero-control--prev {
    left: 18px;
  }

  .hero-control--next {
    right: 18px;
  }

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

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

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

@media (max-width: 860px) {
  .site-header__inner {
    min-height: 62px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 18px;
    background: var(--color-amber-800);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.25);
  }

  body.nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 13px 0;
  }

  .main-nav a::after {
    display: none;
  }

  .hero-carousel {
    min-height: 620px;
  }

  .hero-slide {
    align-items: flex-end;
    padding-bottom: 76px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-control {
    top: auto;
    bottom: 26px;
    transform: none;
  }

  .hero-control:hover {
    transform: scale(1.04);
  }

  .hero-dots {
    bottom: 86px;
  }

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

  .rank-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 42px 0;
  }

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

  .movie-card__poster {
    aspect-ratio: 16 / 9;
  }

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

  .filter-summary {
    white-space: normal;
  }

  .page-hero {
    padding: 46px 0;
  }

  .detail-card,
  .info-card {
    padding: 22px;
  }
}
