:root {
  --primary-50: #fef6ee;
  --primary-100: #fdecd8;
  --primary-300: #f6b87d;
  --primary-400: #f29148;
  --primary-600: #e0561b;
  --primary-700: #ba4118;
  --accent-50: #f0fdf4;
  --accent-600: #16a34a;
  --secondary-50: #f7f7f5;
  --secondary-100: #e8e6df;
  --secondary-200: #d1cec0;
  --secondary-300: #b4af9b;
  --secondary-400: #9a947b;
  --secondary-500: #887f64;
  --secondary-600: #6f6753;
  --secondary-700: #5a5345;
  --secondary-800: #4c463c;
  --secondary-900: #413d35;
  --white: #ffffff;
  --black: #000000;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.10), 0 4px 6px -4px rgba(0, 0, 0, 0.10);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.12);
  --radius-lg: 12px;
  --radius-xl: 18px;
  --radius-2xl: 26px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--secondary-900);
  background: linear-gradient(180deg, var(--secondary-50), var(--white));
  line-height: 1.6;
}

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

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

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: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--secondary-100);
  backdrop-filter: blur(12px);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700));
  box-shadow: 0 8px 20px rgba(224, 86, 27, 0.28);
  font-size: 14px;
}

.brand-text {
  font-size: 20px;
}

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

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--secondary-700);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--primary-700);
  background: var(--primary-50);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--secondary-100);
  border-radius: 12px;
  background: var(--white);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--secondary-900);
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--secondary-100);
  padding: 12px 16px 18px;
  background: rgba(255, 255, 255, 0.98);
}

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

.hero-slider {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: var(--secondary-900);
}

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

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

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

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 24%, rgba(224, 86, 27, 0.28), transparent 34%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.18) 56%, rgba(0, 0, 0, 0.28));
}

.hero-content {
  position: absolute;
  left: max(16px, calc((100vw - 1180px) / 2));
  bottom: 96px;
  width: min(640px, calc(100% - 32px));
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.eyebrow.light {
  color: var(--white);
  background: rgba(224, 86, 27, 0.95);
}

.eyebrow.dark {
  color: var(--primary-700);
  background: var(--primary-50);
}

.hero-content .eyebrow {
  margin-bottom: 16px;
  background: var(--primary-600);
}

.hero-content h1,
.hero-content h2 {
  margin: 0 0 18px;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.05;
  font-weight: 900;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
}

.hero-content p {
  margin: 0 0 24px;
  color: var(--secondary-100);
  font-size: clamp(16px, 2vw, 20px);
  max-width: 60ch;
}

.hero-meta,
.detail-meta,
.ranking-meta,
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta {
  margin-bottom: 28px;
}

.hero-meta span,
.detail-meta span,
.ranking-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 14px;
  backdrop-filter: blur(6px);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 12px;
  padding: 0 20px;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  color: var(--white);
  background: var(--primary-600);
  box-shadow: 0 12px 24px rgba(224, 86, 27, 0.25);
}

.btn-primary:hover {
  background: var(--primary-700);
}

.btn-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
}

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

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

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

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  bottom: 34px;
  left: 50%;
  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, 0.56);
  transition: width 0.2s ease, background-color 0.2s ease;
}

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

.hero-category-links {
  position: absolute;
  right: max(16px, calc((100vw - 1180px) / 2));
  bottom: 84px;
  z-index: 4;
  display: grid;
  gap: 10px;
  width: min(260px, calc(100% - 32px));
}

.hero-category-links a {
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(8px);
  font-weight: 700;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-category-links a:hover {
  transform: translateX(-3px);
  background: rgba(224, 86, 27, 0.72);
}

.section {
  padding: 58px 0;
}

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

.section-heading h2,
.section-heading h3 {
  margin: 10px 0 0;
  color: var(--secondary-900);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}

.section-heading > a,
.small-heading > a {
  color: var(--primary-700);
  font-weight: 800;
}

.section-heading.invert h2,
.section-heading.invert a {
  color: var(--white);
}

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

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

.all-library-grid {
  margin-top: 24px;
}

.movie-card {
  overflow: hidden;
  border: 1px solid var(--secondary-100);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.movie-card:hover {
  border-color: var(--primary-300);
  box-shadow: var(--shadow-xl);
  transform: translateY(-3px);
}

.movie-card a {
  display: block;
  height: 100%;
}

.poster-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--secondary-100);
}

.movie-card-compact .poster-frame {
  aspect-ratio: 3 / 2;
}

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

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

.card-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 7px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 800;
}

.card-region {
  top: 10px;
  left: 10px;
  color: var(--white);
  background: var(--primary-600);
}

.card-year {
  top: 10px;
  right: 10px;
  color: var(--secondary-900);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
}

.rank-badge {
  left: 10px;
  bottom: 10px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.58);
}

.play-hover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--primary-600);
  background: rgba(0, 0, 0, 0);
  font-size: 34px;
  opacity: 0;
  transition: opacity 0.2s ease, background-color 0.2s ease;
}

.play-hover::before {
  content: "";
  position: absolute;
  width: 66px;
  height: 66px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-lg);
}

.play-hover {
  isolation: isolate;
}

.play-hover::after {
  content: "▶";
  position: relative;
  z-index: 1;
  margin-left: 3px;
}

.play-hover {
  font-size: 0;
}

.movie-card:hover .play-hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.18);
}

.card-body {
  padding: 16px;
}

.card-body h3 {
  display: -webkit-box;
  min-height: 2.7em;
  margin: 0 0 9px;
  overflow: hidden;
  color: var(--secondary-900);
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  transition: color 0.2s ease;
}

.movie-card:hover h3 {
  color: var(--primary-700);
}

.card-meta {
  margin-bottom: 9px;
  color: var(--secondary-600);
  font-size: 12px;
}

.card-body p {
  display: -webkit-box;
  min-height: 3.15em;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--secondary-500);
  font-size: 13px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-line {
  overflow: hidden;
  color: var(--secondary-400);
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.highlight-panel {
  padding: 34px;
  border-radius: var(--radius-2xl);
  background: linear-gradient(120deg, var(--primary-50), var(--accent-50));
}

.dark-panel {
  padding: 34px;
  border-radius: var(--radius-2xl);
  color: var(--white);
  background: var(--secondary-900);
}

.dark-panel .movie-card {
  border-color: rgba(255, 255, 255, 0.12);
}

.category-blocks,
.stacked-sections {
  display: grid;
  gap: 44px;
}

.category-strip {
  min-width: 0;
}

.small-heading {
  align-items: center;
  margin-bottom: 18px;
}

.small-heading > div {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.small-heading h2,
.small-heading h3 {
  margin: 0;
  font-size: 22px;
}

.bar {
  display: inline-block;
  width: 5px;
  height: 26px;
  border-radius: 999px;
  background: var(--primary-600);
}

.filter-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  padding: 16px;
  border: 1px solid var(--secondary-100);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-sm);
}

.search-box {
  flex: 1 1 420px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--secondary-200);
  border-radius: 14px;
  background: var(--white);
}

.search-box span {
  color: var(--primary-600);
  font-weight: 900;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--secondary-900);
}

.select-row {
  display: flex;
  gap: 10px;
}

.select-row select {
  min-height: 46px;
  border: 1px solid var(--secondary-200);
  border-radius: 14px;
  padding: 0 12px;
  color: var(--secondary-800);
  background: var(--white);
  outline: 0;
}

.empty-state {
  flex: 0 0 100%;
  margin: 4px 0 0;
  color: var(--secondary-500);
  font-weight: 700;
}

.page-hero {
  padding: 86px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 20%, rgba(224, 86, 27, 0.35), transparent 30%),
    linear-gradient(135deg, var(--secondary-900), var(--secondary-800));
}

.simple-hero p,
.ranking-hero p {
  width: min(760px, 100%);
  margin: 18px 0 0;
  color: var(--secondary-100);
  font-size: 18px;
}

.page-hero h1 {
  margin: 14px 0 0;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.08;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

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

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

.category-card {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--secondary-100);
  border-radius: var(--radius-2xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-300);
  box-shadow: var(--shadow-xl);
}

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

.category-covers img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  object-fit: cover;
  background: var(--secondary-100);
}

.category-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.category-card p {
  margin: 0 0 12px;
  color: var(--secondary-600);
}

.category-card span {
  color: var(--primary-700);
  font-weight: 800;
}

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

.ranking-item {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  padding: 18px;
  border: 1px solid var(--secondary-100);
  border-radius: var(--radius-2xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.ranking-poster {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--secondary-100);
}

.ranking-poster img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ranking-poster span {
  position: absolute;
  left: 12px;
  top: 12px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: var(--primary-600);
  font-weight: 900;
}

.ranking-info h2 {
  margin: 0 0 10px;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.2;
}

.ranking-info p {
  margin: 14px 0;
  color: var(--secondary-600);
}

.ranking-meta span {
  color: var(--secondary-700);
  background: var(--secondary-50);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--primary-700);
  background: var(--primary-50);
  font-size: 13px;
  font-weight: 700;
}

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

.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px);
  transform: scale(1.04);
  opacity: 0.72;
}

.detail-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 18%, rgba(224, 86, 27, 0.38), transparent 30%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.38));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 56px 0 70px;
}

.detail-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 36px;
  align-items: end;
}

.detail-cover {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-2xl);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.30);
}

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

.detail-intro h1 {
  margin: 18px 0 16px;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.06;
}

.detail-intro p {
  width: min(780px, 100%);
  margin: 0 0 24px;
  color: var(--secondary-100);
  font-size: 19px;
}

.detail-meta {
  margin-bottom: 18px;
}

.detail-intro .tag-list {
  margin-bottom: 24px;
}

.detail-intro .tag-list span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
}

.detail-section {
  padding-bottom: 24px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-2xl);
  background: var(--black);
  box-shadow: var(--shadow-xl);
}

.player-shell video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--black);
}

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--primary-600);
  background: radial-gradient(circle, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.38));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.play-overlay span {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border-radius: 999px;
  color: var(--primary-600);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-xl);
  font-size: 34px;
  padding-left: 5px;
}

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

.detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 20px;
}

.story-card {
  padding: 28px;
  border: 1px solid var(--secondary-100);
  border-radius: var(--radius-2xl);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.story-card h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

.story-card p {
  margin: 0;
  color: var(--secondary-700);
  font-size: 16px;
  line-height: 1.9;
}

.site-footer {
  margin-top: 30px;
  color: var(--secondary-300);
  background: var(--secondary-900);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  padding: 42px 0;
}

.footer-brand {
  color: var(--white);
  font-size: 20px;
}

.footer-inner p {
  max-width: 560px;
  margin: 12px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
  justify-content: flex-end;
}

.footer-links a:hover {
  color: var(--primary-400);
}

.footer-copy {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 16px 26px;
  text-align: center;
  color: var(--secondary-400);
  font-size: 13px;
}

[hidden] {
  display: none !important;
}

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

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

  .hero-category-links {
    display: none;
  }

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

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

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

  .hero-slider {
    height: 620px;
  }

  .hero-content {
    bottom: 88px;
  }

  .hero-arrow {
    display: none;
  }

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

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

  .filter-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .search-box {
    flex-basis: auto;
  }

  .select-row {
    flex-direction: column;
  }

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

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

  .detail-cover {
    width: min(280px, 100%);
  }

  .ranking-item {
    grid-template-columns: 1fr;
  }

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

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

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

  .nav-shell {
    min-height: 64px;
  }

  .brand-text {
    font-size: 18px;
  }

  .hero-slider {
    height: 570px;
  }

  .hero-content {
    bottom: 70px;
  }

  .hero-meta span,
  .detail-meta span,
  .ranking-meta span {
    font-size: 12px;
  }

  .section {
    padding: 38px 0;
  }

  .highlight-panel,
  .dark-panel {
    padding: 22px;
    border-radius: 20px;
  }

  .movie-grid,
  .grid-compact {
    gap: 14px;
  }

  .card-body {
    padding: 12px;
  }

  .card-body h3 {
    font-size: 14px;
  }

  .card-body p,
  .tag-line,
  .card-meta {
    font-size: 11px;
  }

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

  .category-covers {
    max-width: 220px;
  }

  .detail-hero-inner {
    padding-top: 36px;
  }

  .play-overlay span {
    width: 68px;
    height: 68px;
    font-size: 28px;
  }

  .story-card {
    padding: 22px;
  }
}
