:root {
  --orange: #f97316;
  --pink: #ec4899;
  --rose: #f43f5e;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--slate-900);
  background: linear-gradient(135deg, #fff7ed 0%, #fdf2f8 48%, #fff1f2 100%);
  min-height: 100vh;
}

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: 100;
  background: linear-gradient(90deg, #fb923c, #f472b6, #fb7185);
  box-shadow: 0 12px 35px rgba(244, 63, 94, 0.28);
}

.nav-wrap {
  max-width: 1280px;
  height: 68px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.32);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.1);
}

.brand-name {
  font-size: 1.55rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 650;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.nav-link.active {
  background: #fff;
  color: var(--orange);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}

.nav-toggle {
  display: none;
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  transition: opacity 0.7s ease;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.55fr);
  align-items: center;
  gap: 46px;
  padding: 84px max(24px, calc((100vw - 1280px) / 2 + 24px));
}

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

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 30%, rgba(249, 115, 22, 0.32), transparent 28%),
    radial-gradient(circle at 88% 68%, rgba(236, 72, 153, 0.28), transparent 30%);
}

.hero-copy,
.hero-focus-card {
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-heading span,
.page-hero span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange);
  background: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.88rem;
  font-weight: 750;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.hero-copy h1,
.hero-copy h2 {
  margin: 24px 0 20px;
  max-width: 860px;
  color: #fff;
  font-size: clamp(2.65rem, 6vw, 5.8rem);
  line-height: 1.03;
  letter-spacing: -0.07em;
  font-weight: 900;
}

.hero-copy p {
  max-width: 760px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.04rem, 2vw, 1.35rem);
  line-height: 1.8;
}

.hero-tags,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.tag-list span {
  display: inline-flex;
  padding: 7px 13px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(8px);
  font-size: 0.92rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn.primary {
  color: var(--orange);
  background: #fff;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
}

.btn.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

.hero-focus-card {
  justify-self: end;
  width: min(360px, 100%);
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 65px rgba(2, 6, 23, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px);
  transform: rotate(2deg);
  transition: transform 0.3s ease;
}

.hero-focus-card:hover {
  transform: rotate(0deg) translateY(-5px);
}

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

.hero-focus-card span {
  display: block;
  color: #fff;
  padding: 18px 20px;
  font-size: 1.18rem;
  font-weight: 800;
}

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

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

.hero-dot.active {
  width: 34px;
  background: #fff;
}

.section-wrap,
.search-panel,
.category-section,
.page-main,
.detail-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 64px 24px;
}

.search-panel {
  padding-bottom: 28px;
}

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

.section-heading.centered {
  display: block;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 30px;
}

.section-heading h2,
.page-hero h1 {
  margin: 12px 0 0;
  color: var(--slate-900);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.055em;
  font-weight: 900;
}

.section-heading p,
.page-hero p {
  margin: 12px 0 0;
  color: var(--slate-600);
  line-height: 1.75;
  font-size: 1.05rem;
}

.section-heading a,
.text-link {
  color: var(--orange);
  font-weight: 800;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(140px, 0.28fr) minmax(140px, 0.28fr);
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(14px);
}

.filter-input,
.filter-select {
  width: 100%;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  background: #fff;
  color: var(--slate-800);
  padding: 14px 16px;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.filter-input:focus,
.filter-select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

.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 {
  display: block;
  min-width: 0;
  color: inherit;
}

.poster-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #f1f5f9, #ffe4e6);
  box-shadow: var(--soft-shadow);
}

.card-large .poster-wrap {
  border-radius: 26px;
  aspect-ratio: 16 / 9;
}

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

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

.poster-gradient {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.72));
  transition: opacity 0.3s ease;
}

.movie-card:hover .poster-gradient {
  opacity: 1;
}

.card-badge,
.duration {
  position: absolute;
  z-index: 1;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.card-badge {
  left: 12px;
  background: rgba(249, 115, 22, 0.92);
}

.duration {
  right: 12px;
  background: rgba(15, 23, 42, 0.72);
}

.play-float,
.play-dot {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(0.92);
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  opacity: 0;
  backdrop-filter: blur(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-content {
  display: block;
  padding: 14px 2px 0;
}

.card-content strong {
  display: -webkit-box;
  overflow: hidden;
  min-height: 1.5em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--slate-900);
  font-size: 1.04rem;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.card-large .card-content strong {
  font-size: 1.22rem;
}

.movie-card:hover .card-content strong {
  color: var(--orange);
}

.card-content span {
  display: -webkit-box;
  overflow: hidden;
  margin-top: 8px;
  color: var(--slate-600);
  line-height: 1.58;
  font-size: 0.94rem;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-content em {
  display: block;
  margin-top: 10px;
  color: var(--slate-500);
  font-style: normal;
  font-size: 0.86rem;
}

.rank-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 22px;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.rank-row {
  display: grid;
  grid-template-columns: 54px 1fr 110px;
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding: 10px;
  border-radius: 18px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rank-row:hover {
  background: #fff7ed;
  transform: translateY(-2px);
}

.rank-num {
  color: var(--orange);
  font-size: 1.8rem;
  font-weight: 900;
  text-align: center;
}

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

.rank-title strong {
  color: var(--slate-900);
  font-weight: 850;
}

.rank-title em {
  margin-top: 4px;
  color: var(--slate-600);
  font-style: normal;
  line-height: 1.45;
  font-size: 0.9rem;
}

.rank-cover {
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  background: var(--slate-100);
}

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

.soft-block {
  max-width: none;
  padding-left: max(24px, calc((100vw - 1280px) / 2 + 24px));
  padding-right: max(24px, calc((100vw - 1280px) / 2 + 24px));
  background: linear-gradient(135deg, rgba(255, 237, 213, 0.8), rgba(252, 231, 243, 0.8));
}

.category-section {
  padding-top: 76px;
}

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

.category-tile,
.category-card {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile {
  display: block;
  padding: 16px;
}

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

.category-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 14px;
}

.category-thumbs img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  background: var(--slate-100);
}

.category-tile strong {
  display: block;
  color: var(--slate-900);
  font-size: 1.08rem;
  font-weight: 850;
}

.category-tile em {
  display: block;
  margin-top: 7px;
  color: var(--slate-600);
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.5;
}

.page-main {
  padding-top: 44px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 36px;
  padding: 64px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.28), transparent 38%),
    radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.22), transparent 34%),
    #fff;
  box-shadow: var(--shadow);
}

.category-list {
  display: grid;
  gap: 22px;
}

.category-card {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
}

.category-cover {
  overflow: hidden;
  border-radius: 18px;
  background: var(--slate-100);
}

.category-cover img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
}

.category-card h2 {
  margin: 4px 0 10px;
  font-size: 1.55rem;
}

.category-card p {
  margin: 0;
  color: var(--slate-600);
  line-height: 1.72;
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.category-samples a {
  color: var(--slate-700);
  background: #fff7ed;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.88rem;
}

.filter-section {
  margin-bottom: 28px;
}

.page-grid {
  align-items: start;
}

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

.ranking-card {
  display: grid;
  grid-template-columns: 64px 130px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 14px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--soft-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.ranking-index {
  color: var(--orange);
  text-align: center;
  font-size: 2rem;
  font-weight: 950;
}

.ranking-card img {
  width: 130px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
  background: var(--slate-100);
}

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

.ranking-info strong {
  color: var(--slate-900);
  font-size: 1.12rem;
  font-weight: 850;
}

.ranking-info em {
  margin-top: 7px;
  color: var(--slate-500);
  font-style: normal;
}

.ranking-info small {
  margin-top: 7px;
  color: var(--slate-600);
  line-height: 1.55;
}

.detail-main {
  padding-top: 34px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--slate-600);
  font-size: 0.95rem;
}

.breadcrumb a {
  color: var(--orange);
  font-weight: 750;
}

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

.player-card,
.detail-panel,
.related-sidebar {
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.player-card {
  overflow: hidden;
  background: #000;
}

.player-shell {
  position: relative;
  background: #000;
}

.video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.62));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-overlay span {
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange), var(--pink));
  box-shadow: 0 18px 35px rgba(249, 115, 22, 0.34);
  font-size: 2rem;
}

.player-overlay strong {
  font-size: 1.05rem;
}

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

.detail-panel {
  margin-top: 22px;
  padding: 26px;
}

.title-panel h1 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.16;
  letter-spacing: -0.045em;
}

.detail-meta,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-meta span,
.pill-link,
.like-btn {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--slate-700);
  background: var(--slate-100);
  font-size: 0.92rem;
  font-weight: 700;
}

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

.like-btn {
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.like-btn.active {
  color: #fff;
  background: linear-gradient(90deg, var(--orange), var(--pink));
}

.detail-panel h2,
.related-sidebar h2 {
  margin: 0 0 14px;
  color: var(--slate-900);
  font-size: 1.28rem;
}

.detail-panel p {
  margin: 0 0 12px;
  color: var(--slate-700);
  line-height: 1.82;
}

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

.info-grid div {
  padding: 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff7ed, #fdf2f8);
}

.info-grid span,
.info-grid strong {
  display: block;
}

.info-grid span {
  color: var(--slate-500);
  font-size: 0.82rem;
}

.info-grid strong {
  margin-top: 5px;
  color: var(--slate-900);
  font-size: 0.95rem;
}

.tag-panel .tag-list span {
  color: var(--orange);
  background: linear-gradient(90deg, #ffedd5, #fce7f3);
  border: 0;
}

.review-panel {
  background: linear-gradient(135deg, #fff7ed, #fdf2f8);
}

.related-sidebar {
  position: sticky;
  top: 92px;
  padding: 22px;
}

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

.card-compact {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 16px;
  transition: background 0.2s ease;
}

.card-compact:hover {
  background: #fff7ed;
}

.compact-cover {
  position: relative;
  overflow: hidden;
  display: block;
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  background: var(--slate-100);
}

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

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

.compact-info strong {
  color: var(--slate-900);
  line-height: 1.4;
  font-size: 0.96rem;
}

.compact-info em {
  margin-top: 6px;
  color: var(--slate-500);
  font-style: normal;
  font-size: 0.82rem;
}

.site-footer {
  color: #fff;
  background: linear-gradient(135deg, #0f172a, #1e293b 55%, #0f172a);
  margin-top: 36px;
}

.footer-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.65fr 1.25fr;
  gap: 34px;
}

.footer-brand h2 {
  margin: 0 0 12px;
  color: transparent;
  background: linear-gradient(90deg, #fb923c, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 1.45rem;
}

.footer-brand p,
.footer-links a,
.footer-bottom {
  color: var(--slate-300);
}

.footer-brand p {
  margin: 0;
  line-height: 1.75;
}

.footer-links h3 {
  margin: 0 0 14px;
  color: #fb923c;
  font-size: 1rem;
}

.footer-links a {
  display: block;
  margin: 8px 0;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #fff;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding: 18px 24px;
  text-align: center;
}

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

@media (max-width: 1080px) {
  .hero-slide {
    grid-template-columns: 1fr;
    padding-top: 64px;
    padding-bottom: 88px;
  }

  .hero-focus-card {
    display: none;
  }

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

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

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

  .related-sidebar {
    position: static;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fb923c, #f472b6, #fb7185);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    text-align: center;
  }

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

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

  .section-heading {
    display: block;
  }

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

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

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

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

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

@media (max-width: 560px) {
  .brand-name {
    font-size: 1.25rem;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 2.45rem;
  }

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

  .page-hero {
    padding: 36px 24px;
    border-radius: 26px;
  }

  .ranking-card {
    grid-template-columns: 48px 92px minmax(0, 1fr);
  }

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

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

  .card-compact {
    grid-template-columns: 104px minmax(0, 1fr);
  }
}
