:root {
  --sunrise-50: #fff3e8;
  --sunrise-100: #ffe8d5;
  --sunrise-400: #ff883c;
  --sunrise-500: #ff6916;
  --sunrise-600: #f04e0c;
  --sunrise-700: #c73a0c;
  --morning-50: #fef6ee;
  --morning-500: #f0601f;
  --dawn-50: #fff9f0;
  --ink-900: #111827;
  --ink-800: #1f2937;
  --ink-700: #374151;
  --ink-600: #4b5563;
  --ink-500: #6b7280;
  --line: #e5e7eb;
  --paper: #ffffff;
  --soft: #f9fafb;
  --shadow: 0 18px 50px rgba(17, 24, 39, 0.12);
  --shadow-soft: 0 10px 30px rgba(17, 24, 39, 0.08);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink-800);
  background: linear-gradient(180deg, var(--dawn-50) 0%, #ffffff 42%, #f9fafb 100%);
  font-family: Inter, "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.lock-scroll {
  overflow: hidden;
}

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

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

main {
  min-height: 68vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(229, 231, 235, 0.75);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
  backdrop-filter: blur(16px);
}

.site-nav {
  width: min(1180px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--sunrise-500), var(--morning-500));
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(255, 105, 22, 0.28);
  font-size: 14px;
}

.brand-text,
.footer-brand {
  font-size: 24px;
  background: linear-gradient(90deg, var(--sunrise-500), var(--morning-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link,
.mobile-link {
  color: var(--ink-700);
  font-size: 15px;
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.mobile-link:hover,
.nav-link.active,
.mobile-link.active {
  color: var(--sunrise-500);
}

.nav-link:hover {
  transform: translateY(-1px);
}

.nav-search {
  width: 230px;
}

.nav-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink-800);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input {
  height: 40px;
  padding: 0 16px;
}

.nav-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--sunrise-400);
  box-shadow: 0 0 0 4px rgba(255, 105, 22, 0.12);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px var(--line);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink-800);
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

.mobile-panel.open {
  display: grid;
  gap: 8px;
}

.mobile-link {
  padding: 12px 14px;
  border-radius: 14px;
  background: #ffffff;
}

.hero-carousel {
  position: relative;
  height: min(720px, 72vh);
  min-height: 520px;
  overflow: hidden;
  background: #0f172a;
}

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

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  filter: saturate(1.1);
}

.hero-slide.is-active .hero-image {
  animation: heroZoom 9s ease forwards;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 20%, rgba(255, 105, 22, 0.28), transparent 30%), linear-gradient(135deg, #111827, #1f2937);
}

.hero-image-wrap.poster-empty::after,
.poster.poster-empty::after,
.detail-cover.poster-empty::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 105, 22, 0.4), rgba(17, 24, 39, 0.95));
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.42) 44%, rgba(0, 0, 0, 0.16) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.92), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  padding-bottom: 96px;
}

.hero-copy {
  max-width: 680px;
  color: #ffffff;
  animation: fadeUp 0.65s ease both;
}

.hero-kicker,
.section-kicker,
.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 13px;
  color: var(--sunrise-600);
  background: var(--sunrise-100);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.hero-kicker {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

.hero-copy h1 {
  margin: 0 0 16px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.06em;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
}

.hero-copy p {
  max-width: 620px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.72;
}

.hero-meta,
.detail-meta,
.tag-list,
.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta span,
.detail-meta span,
.tag-list span,
.quick-links a,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.hero-meta span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

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

.primary-button,
.soft-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--sunrise-500), var(--morning-500));
  box-shadow: 0 16px 30px rgba(255, 105, 22, 0.34);
}

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

.soft-button {
  color: var(--sunrise-700);
  background: var(--sunrise-100);
}

.ghost-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.34);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.hero-control:hover {
  background: rgba(0, 0, 0, 0.58);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

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

.content-section,
.page-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
}

.content-section.tight {
  padding-top: 36px;
}

.section-heading,
.page-heading {
  margin-bottom: 30px;
}

.section-heading h2,
.page-heading h1 {
  margin: 0;
  color: var(--ink-900);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.section-heading p,
.page-heading p {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--ink-600);
  font-size: 17px;
  line-height: 1.8;
}

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

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

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

.movie-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.85);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-7px);
  border-color: rgba(255, 105, 22, 0.28);
  box-shadow: var(--shadow);
}

.poster {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, var(--sunrise-100), #111827);
}

.movie-card-wide .poster {
  aspect-ratio: 16 / 9;
}

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

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

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

.type-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  padding: 5px 10px;
  color: #ffffff;
  background: var(--sunrise-500);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(255, 105, 22, 0.28);
}

.movie-card-body {
  display: grid;
  gap: 9px;
  padding: 15px;
}

.movie-title {
  display: -webkit-box;
  min-height: 42px;
  overflow: hidden;
  color: var(--ink-900);
  font-size: 16px;
  line-height: 1.3;
  font-weight: 900;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-card:hover .movie-title {
  color: var(--sunrise-600);
}

.movie-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--ink-500);
  font-size: 12px;
  font-weight: 700;
}

.movie-desc {
  display: -webkit-box;
  min-height: 38px;
  overflow: hidden;
  color: var(--ink-600);
  font-size: 13px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-card-compact {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding: 10px;
  border-radius: 16px;
}

.movie-card-compact .poster {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
}

.movie-card-compact .movie-card-body {
  padding: 0;
  align-content: center;
}

.movie-card-compact .movie-title {
  min-height: auto;
  -webkit-line-clamp: 1;
}

.movie-card-compact .movie-desc {
  min-height: auto;
  -webkit-line-clamp: 1;
}

.strip-section {
  background: linear-gradient(90deg, var(--morning-50), var(--dawn-50));
}

.horizontal-row {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 2px 22px;
  scroll-snap-type: x proximity;
}

.horizontal-row .movie-card {
  width: 190px;
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.category-block {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.category-block h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  color: var(--ink-900);
  font-size: 24px;
  font-weight: 900;
}

.category-block h3 span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.category-block h3 span:first-child::before {
  content: "";
  width: 6px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--sunrise-500), var(--morning-500));
}

.category-block h3 a {
  color: var(--sunrise-600);
  font-size: 14px;
}

.ranking-panel {
  color: #ffffff;
  background: radial-gradient(circle at top left, rgba(255, 105, 22, 0.25), transparent 34%), linear-gradient(135deg, #111827, #1f2937);
}

.ranking-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
}

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

.ranking-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(14px);
}

.rank-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease;
}

.rank-row:last-child {
  border-bottom: 0;
}

.rank-row:hover {
  background: rgba(255, 255, 255, 0.08);
}

.rank-num,
.rank-dot {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--sunrise-500), var(--morning-500));
  border-radius: 999px;
  font-weight: 900;
}

.rank-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ffffff;
}

.rank-info {
  display: grid;
  gap: 4px;
}

.rank-info strong {
  color: inherit;
  font-size: 16px;
}

.rank-info small {
  color: rgba(255, 255, 255, 0.68);
}

.page-hero {
  padding: 70px 0 54px;
  color: #ffffff;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.18), transparent 28%), linear-gradient(135deg, var(--sunrise-500), var(--morning-500));
}

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

.page-hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.page-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.8;
}

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

.category-card {
  display: flex;
  min-height: 122px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.category-card strong {
  color: var(--ink-900);
  font-size: 20px;
  font-weight: 900;
}

.category-card span {
  color: var(--ink-500);
  font-size: 13px;
}

.filter-panel {
  display: grid;
  gap: 18px;
  margin-bottom: 32px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(229, 231, 235, 0.86);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.filter-search-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.filter-panel input,
.filter-panel select {
  height: 46px;
  padding: 0 16px;
}

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

.filter-panel label {
  display: grid;
  gap: 8px;
  color: var(--ink-600);
  font-size: 13px;
  font-weight: 800;
}

.filter-status {
  color: var(--ink-500);
  font-size: 14px;
}

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

.empty-state {
  display: none;
  padding: 36px;
  color: var(--ink-600);
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.empty-state.show {
  display: block;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.pagination a,
.pagination span {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  padding: 0 12px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  color: var(--ink-700);
  font-weight: 800;
}

.pagination .current {
  color: #ffffff;
  background: var(--sunrise-500);
  border-color: var(--sunrise-500);
}

.player-section {
  background: #000000;
}

.player-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
}

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

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

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle at center, rgba(255, 105, 22, 0.22), transparent 30%), rgba(0, 0, 0, 0.54);
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.play-copy {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 24px;
}

.play-circle {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--sunrise-500), var(--morning-500));
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(255, 105, 22, 0.35);
  font-size: 28px;
}

.play-copy strong {
  font-size: 24px;
  font-weight: 900;
}

.play-copy span:last-child {
  color: rgba(255, 255, 255, 0.78);
}

.player-message {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 4;
  max-width: min(520px, calc(100% - 32px));
  padding: 12px 16px;
  color: #ffffff;
  background: rgba(17, 24, 39, 0.84);
  border-radius: 14px;
  transform: translateX(-50%);
}

.player-message[hidden] {
  display: none;
}

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

.detail-card,
.sidebar-card,
.review-card {
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.88);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
}

.detail-card,
.review-card {
  padding: clamp(22px, 4vw, 34px);
}

.detail-title {
  margin: 0 0 18px;
  color: var(--ink-900);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.detail-meta span,
.tag-list span,
.pill {
  color: var(--ink-700);
  background: #f3f4f6;
}

.detail-meta span:first-child {
  color: var(--sunrise-700);
  background: var(--sunrise-100);
}

.detail-card h2,
.review-card h2,
.sidebar-card h2 {
  margin: 28px 0 12px;
  color: var(--ink-900);
  font-size: 22px;
  font-weight: 900;
}

.detail-card p,
.review-card p {
  color: var(--ink-700);
  font-size: 16px;
  line-height: 1.9;
}

.lead-text {
  padding-left: 18px;
  border-left: 4px solid var(--sunrise-500);
  color: var(--ink-700);
  font-size: 19px;
  font-style: italic;
}

.sidebar-card {
  position: sticky;
  top: 92px;
  padding: 18px;
}

.sidebar-card h2 {
  margin-top: 6px;
}

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

.detail-cover {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--sunrise-100), #111827);
}

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

.quick-links {
  margin-top: 24px;
}

.quick-links a {
  color: var(--sunrise-700);
  background: var(--sunrise-100);
}

.not-found {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
}

.site-footer {
  color: #d1d5db;
  background: linear-gradient(135deg, #111827, #1f2937);
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 54px 0 38px;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 30px;
}

.site-footer p {
  max-width: 420px;
  color: #9ca3af;
  line-height: 1.8;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 17px;
}

.site-footer a:not(.footer-brand) {
  display: block;
  margin: 9px 0;
  color: #9ca3af;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--sunrise-400);
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #9ca3af;
  text-align: center;
  font-size: 14px;
}

@keyframes heroZoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.12);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

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

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

  .sidebar-card {
    position: static;
  }
}

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

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

  .site-nav {
    gap: 12px;
  }

  .hero-carousel {
    min-height: 580px;
    height: 78vh;
  }

  .hero-content {
    padding-bottom: 84px;
  }

  .hero-control {
    top: auto;
    bottom: 24px;
  }

  .hero-prev {
    left: 18px;
  }

  .hero-next {
    right: 18px;
  }

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

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

@media (max-width: 620px) {
  .brand-text {
    font-size: 20px;
  }

  .content-section,
  .page-section {
    width: min(100% - 24px, 1180px);
    padding: 48px 0;
  }

  .hero-content,
  .site-nav,
  .mobile-panel,
  .page-hero-inner,
  .footer-grid,
  .footer-bottom {
    width: min(100% - 24px, 1180px);
  }

  .hero-copy h1 {
    font-size: 40px;
  }

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

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .ghost-button,
  .soft-button {
    width: 100%;
  }

  .movie-grid,
  .movie-grid.large,
  .movie-grid.medium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .category-grid,
  .filter-grid,
  .footer-grid,
  .filter-search-row {
    grid-template-columns: 1fr;
  }

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

  .movie-title {
    font-size: 15px;
  }

  .player-frame {
    aspect-ratio: 16 / 10;
  }
}
