/*
  Static movie site styles.
  Visual language follows the uploaded source bundle: warm stone background,
  amber accents, glass navigation, tall hero carousel, rounded poster cards,
  soft shadows, hover zoom, and responsive grid layouts.
*/

:root {
  --stone-950: #1c1917;
  --stone-900: #292524;
  --stone-800: #44403c;
  --stone-700: #57534e;
  --stone-600: #78716c;
  --stone-300: #d6d3d1;
  --stone-200: #e7e5e4;
  --stone-100: #f5f5f4;
  --stone-50: #fafaf9;
  --amber-700: #b45309;
  --amber-600: #d97706;
  --amber-500: #f59e0b;
  --amber-200: #fde68a;
  --amber-100: #fef3c7;
  --white: #ffffff;
  --black: #000000;
  --shadow-soft: 0 18px 45px rgba(41, 37, 36, 0.14);
  --shadow-card: 0 10px 25px rgba(41, 37, 36, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--stone-800);
  background: linear-gradient(180deg, var(--stone-50) 0%, rgba(254, 243, 199, 0.3) 100%);
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
  background: linear-gradient(135deg, var(--stone-200), var(--amber-100));
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 250, 249, 0.78);
  border-bottom: 1px solid rgba(214, 211, 209, 0.65);
  backdrop-filter: blur(18px);
}

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

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--stone-900);
  white-space: nowrap;
}

.logo-mark {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-600), var(--stone-900));
  box-shadow: 0 10px 20px rgba(217, 119, 6, 0.25);
}

.logo-text {
  letter-spacing: -0.02em;
}

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

.nav-link {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--stone-700);
  font-size: 14px;
  transition: 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--stone-950);
  background: rgba(245, 158, 11, 0.16);
}

.header-search {
  display: flex;
  align-items: center;
  width: min(300px, 28vw);
  overflow: hidden;
  border: 1px solid rgba(214, 211, 209, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
}

.header-search input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 0;
  outline: 0;
  color: var(--stone-800);
  background: transparent;
}

.header-search button {
  border: 0;
  padding: 10px 14px;
  color: var(--white);
  background: var(--amber-600);
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 13px;
  background: rgba(245, 158, 11, 0.14);
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 4px;
  background: var(--stone-900);
}

.mobile-panel {
  display: none;
  padding: 12px 16px 18px;
  border-top: 1px solid rgba(214, 211, 209, 0.7);
  background: rgba(250, 250, 249, 0.97);
}

.mobile-panel a {
  display: block;
  padding: 13px 4px;
  color: var(--stone-800);
  border-bottom: 1px solid rgba(231, 229, 228, 0.8);
}

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

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

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

.hero-slide > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 24%, rgba(245, 158, 11, 0.32), transparent 26%),
    linear-gradient(90deg, rgba(28, 25, 23, 0.88) 0%, rgba(28, 25, 23, 0.58) 44%, rgba(28, 25, 23, 0.2) 100%),
    linear-gradient(0deg, rgba(28, 25, 23, 0.95) 0%, rgba(28, 25, 23, 0.12) 52%, rgba(28, 25, 23, 0.1) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: min(720px, 100%);
  color: var(--white);
  padding-top: 48px;
}

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

.hero-copy .eyebrow {
  color: var(--amber-200);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(40px, 7vw, 86px);
  line-height: 0.96;
  letter-spacing: -0.07em;
  text-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.hero-summary {
  width: min(680px, 100%);
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
}

.hero-tags,
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.hero-tags span,
.card-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  color: var(--amber-100);
  border: 1px solid rgba(253, 230, 138, 0.35);
  border-radius: 999px;
  background: rgba(28, 25, 23, 0.35);
  backdrop-filter: blur(8px);
}

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

.primary-button,
.ghost-button,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-600), var(--amber-500));
  box-shadow: 0 14px 28px rgba(217, 119, 6, 0.25);
}

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

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

.primary-button.small {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

.hero-dots {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 98px;
  z-index: 4;
  display: flex;
  gap: 10px;
}

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

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

.hero-search {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 5;
  width: min(760px, calc(100% - 32px));
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  padding: 18px 22px;
  border: 0;
  outline: 0;
  color: var(--white);
  background: transparent;
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.hero-search button {
  min-width: 130px;
  border: 0;
  color: var(--white);
  background: var(--amber-600);
  font-weight: 800;
}

.stats-strip {
  transform: translateY(-28px);
  position: relative;
  z-index: 8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stats-grid div {
  padding: 20px;
  border: 1px solid rgba(214, 211, 209, 0.7);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.stats-grid strong {
  display: block;
  color: var(--stone-900);
  font-size: 30px;
  line-height: 1;
}

.stats-grid span {
  display: block;
  margin-top: 8px;
  color: var(--stone-600);
}

.content-section,
.page-main {
  padding: 56px 0;
}

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

.section-heading h2,
.page-title-block h1,
.detail-info h1 {
  margin: 0;
  color: var(--stone-900);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-more {
  color: var(--stone-900);
  background: var(--amber-100);
}

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

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

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

.poster-link {
  display: block;
  height: 100%;
}

.poster-frame {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--stone-200), var(--amber-100));
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-link:hover .poster-frame {
  transform: translateY(-5px) scale(1.015);
  box-shadow: 0 18px 42px rgba(41, 37, 36, 0.24);
}

.poster-link:hover .poster-frame img {
  transform: scale(1.08);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.08) 42%, rgba(0, 0, 0, 0.86) 100%);
}

.type-badge,
.rank-badge {
  position: absolute;
  top: 10px;
  z-index: 2;
  padding: 4px 8px;
  color: var(--white);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.type-badge {
  right: 10px;
  background: rgba(217, 119, 6, 0.92);
}

.rank-badge {
  left: 10px;
  background: rgba(28, 25, 23, 0.82);
}

.poster-info {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  color: var(--white);
}

.poster-info h3 {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 15px;
  line-height: 1.35;
}

.poster-info p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.card-body {
  padding: 12px 2px 0;
}

.card-body h3 {
  margin: 0;
  color: var(--stone-900);
  font-size: 15px;
  line-height: 1.35;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

.card-body p {
  margin: 6px 0 0;
  color: var(--stone-600);
  font-size: 13px;
  line-height: 1.55;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-meta {
  margin-top: 7px;
  color: var(--amber-700);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.category-tile {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid rgba(214, 211, 209, 0.75);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 88% 12%, rgba(245, 158, 11, 0.24), transparent 34%),
    rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-tile p,
.category-tile h3 {
  margin: 0;
}

.category-tile p {
  color: var(--stone-600);
  font-size: 13px;
}

.category-tile h3 {
  margin-top: 8px;
  color: var(--stone-900);
  font-size: 24px;
  letter-spacing: -0.03em;
}

.category-tile strong {
  color: var(--amber-600);
  font-size: 34px;
}

.category-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.category-preview span {
  max-width: 100%;
  padding: 4px 8px;
  overflow: hidden;
  color: var(--stone-700);
  border-radius: 999px;
  background: var(--stone-100);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.page-title-block {
  max-width: 760px;
  margin-bottom: 28px;
}

.page-title-block p {
  color: var(--stone-600);
  line-height: 1.8;
}

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

.breadcrumb a {
  color: var(--amber-700);
}

.category-overview-card {
  margin: 0 0 38px;
  padding: 24px;
  border: 1px solid rgba(214, 211, 209, 0.75);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-card);
}

.category-overview-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.category-overview-head h2,
.category-overview-head p {
  margin: 0;
}

.category-overview-head h2 {
  color: var(--stone-900);
  font-size: 30px;
}

.filter-panel {
  position: sticky;
  top: 88px;
  z-index: 20;
  margin: 0 0 26px;
  padding: 18px;
  border: 1px solid rgba(214, 211, 209, 0.75);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.filter-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 14px;
}

.filter-grid label span {
  display: block;
  margin-bottom: 6px;
  color: var(--stone-600);
  font-size: 13px;
}

.filter-grid input,
.filter-grid select {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: var(--stone-800);
  border: 1px solid var(--stone-200);
  border-radius: 12px;
  background: var(--white);
  outline: 0;
}

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

.filter-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  color: var(--stone-600);
  font-size: 14px;
}

.filter-result button {
  border: 0;
  color: var(--amber-700);
  background: transparent;
  font-weight: 800;
}

.empty-state {
  display: none;
  padding: 48px;
  text-align: center;
  color: var(--stone-600);
  border: 1px dashed var(--stone-300);
  border-radius: var(--radius-lg);
}

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

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

.ranking-row a {
  display: grid;
  grid-template-columns: 82px 82px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border: 1px solid rgba(214, 211, 209, 0.75);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.ranking-number {
  color: var(--amber-600);
  font-size: 24px;
}

.ranking-row img {
  width: 82px;
  height: 110px;
  object-fit: cover;
  border-radius: 14px;
}

.ranking-row h2,
.ranking-row p {
  margin: 0;
}

.ranking-row h2 {
  color: var(--stone-900);
  font-size: 21px;
}

.ranking-row p {
  margin-top: 6px;
  color: var(--stone-600);
  line-height: 1.6;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.ranking-row span {
  display: inline-block;
  margin-top: 8px;
  color: var(--amber-700);
  font-size: 13px;
}

.ranking-row em {
  padding: 8px 12px;
  color: var(--white);
  border-radius: 999px;
  background: var(--amber-600);
  font-style: normal;
  font-weight: 800;
}

.detail-main {
  background: linear-gradient(180deg, var(--stone-950) 0, var(--stone-900) 680px, var(--stone-50) 681px, rgba(254, 243, 199, 0.28) 100%);
}

.detail-hero {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  color: var(--white);
}

.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(14px) saturate(1.05);
  transform: scale(1.08);
  opacity: 0.45;
}

.detail-bg-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 18%, rgba(245, 158, 11, 0.32), transparent 28%),
    linear-gradient(0deg, var(--stone-950) 0%, rgba(28, 25, 23, 0.58) 46%, rgba(28, 25, 23, 0.86) 100%);
}

.detail-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 44px;
  align-items: center;
  min-height: 660px;
  padding: 56px 0;
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.38);
}

.detail-info .breadcrumb {
  color: rgba(255, 255, 255, 0.74);
}

.detail-info .breadcrumb a {
  color: var(--amber-200);
}

.detail-info .eyebrow {
  color: var(--amber-200);
}

.detail-info h1 {
  color: var(--white);
  font-size: clamp(40px, 6vw, 72px);
}

.detail-one-line {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 19px;
  line-height: 1.8;
}

.player-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 22px;
  margin-top: -80px;
  position: relative;
  z-index: 4;
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--black);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35);
}

.movie-player,
.player-cover,
.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.movie-player {
  z-index: 1;
  background: var(--black);
}

.player-cover {
  z-index: 2;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--white);
  background: var(--black);
}

.player-cover.is-hidden {
  display: none;
}

.player-cover img {
  object-fit: cover;
  opacity: 0.42;
}

.play-circle {
  position: relative;
  z-index: 3;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  margin-top: 20px;
  padding-left: 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--amber-600), var(--amber-500));
  box-shadow: 0 18px 42px rgba(217, 119, 6, 0.36);
  font-size: 30px;
}

.player-cover strong,
.player-cover small {
  position: relative;
  z-index: 3;
}

.player-cover strong {
  margin-top: -20px;
  font-size: 22px;
}

.player-cover small {
  color: rgba(255, 255, 255, 0.72);
}

.player-status {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 5;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
}

.source-panel {
  padding: 22px;
  border: 1px solid rgba(214, 211, 209, 0.72);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
}

.source-panel h2,
.source-panel p {
  margin: 0;
}

.source-panel p {
  margin-top: 14px;
  color: var(--stone-600);
  line-height: 1.7;
}

.source-button {
  width: 100%;
  min-height: 44px;
  margin-top: 16px;
  border: 0;
  border-radius: 13px;
  color: var(--white);
  background: var(--amber-600);
  font-weight: 800;
}

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

.detail-article,
.detail-side {
  padding: 26px;
  border: 1px solid rgba(214, 211, 209, 0.75);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-card);
}

.detail-article h2,
.detail-side h2 {
  margin: 0 0 14px;
  color: var(--stone-900);
  font-size: 26px;
}

.detail-article p {
  margin: 0 0 26px;
  color: var(--stone-700);
  font-size: 17px;
  line-height: 2;
  white-space: pre-wrap;
}

.detail-side dl {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px 14px;
  margin: 0;
}

.detail-side dt {
  color: var(--stone-600);
}

.detail-side dd {
  margin: 0;
  color: var(--stone-900);
  font-weight: 700;
}

.detail-side a {
  color: var(--amber-700);
}

.site-footer {
  margin-top: 72px;
  padding: 44px 0;
  color: rgba(255, 255, 255, 0.74);
  background: var(--stone-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 28px;
}

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

.site-footer p {
  max-width: 560px;
  line-height: 1.8;
}

.site-footer h3 {
  margin: 0 0 12px;
  color: var(--white);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.74);
}

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

@media (min-width: 900px) {
  .hero {
    height: 85vh;
  }
}

@media (max-width: 1100px) {
  .movie-grid,
  .ranking-grid,
  .compact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .player-section,
  .detail-content-grid {
    grid-template-columns: 1fr;
  }
}

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

  .mobile-menu-button {
    display: block;
    margin-left: auto;
  }

  body.menu-open .mobile-panel {
    display: block;
  }

  .hero {
    min-height: 620px;
  }

  .hero-copy {
    padding-top: 0;
  }

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

  .hero-dots {
    left: 16px;
    right: auto;
    bottom: 104px;
  }

  .hero-search {
    border-radius: 20px;
  }

  .hero-search button {
    min-width: 100px;
  }

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

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

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

  .detail-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

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

  .ranking-row a {
    grid-template-columns: 56px 70px 1fr;
  }

  .ranking-row em {
    display: none;
  }

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

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .logo-text {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: 680px;
  }

  .hero-search {
    display: grid;
    border-radius: 18px;
  }

  .hero-search button {
    min-height: 46px;
  }

  .stats-grid,
  .category-grid,
  .filter-grid {
    grid-template-columns: 1fr;
  }

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

  .section-heading,
  .category-overview-head,
  .filter-result {
    align-items: flex-start;
    flex-direction: column;
  }

  .filter-panel {
    position: static;
  }

  .ranking-row a {
    grid-template-columns: 44px 62px 1fr;
    gap: 12px;
  }

  .ranking-number {
    font-size: 18px;
  }

  .ranking-row img {
    width: 62px;
    height: 88px;
  }

  .ranking-row h2 {
    font-size: 17px;
  }

  .detail-content-grid {
    padding-top: 28px;
  }
}
