:root {
  --red-950: #3f0a0a;
  --red-900: #5f1212;
  --red-800: #7f1d1d;
  --red-700: #991b1b;
  --amber-900: #78350f;
  --amber-700: #b45309;
  --amber-100: #fef3c7;
  --paper: #fffaf0;
  --ink: #1f1b16;
  --muted: #766b60;
  --line: rgba(127, 29, 29, 0.16);
  --shadow: 0 24px 70px rgba(69, 10, 10, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(252, 211, 77, 0.22), transparent 34rem),
    linear-gradient(180deg, #fff7ed 0%, #ffffff 42%, #fffaf0 100%);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body.menu-open {
  overflow: hidden;
}

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

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

main {
  min-height: 70vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(254, 242, 242, 0.96), rgba(255, 251, 235, 0.96));
  backdrop-filter: blur(20px);
  border-bottom: 4px solid var(--red-800);
  box-shadow: 0 10px 28px rgba(127, 29, 29, 0.12);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--red-800), var(--amber-700));
  box-shadow: 0 14px 28px rgba(127, 29, 29, 0.22);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 24px;
  letter-spacing: 0.02em;
  background: linear-gradient(90deg, var(--red-800), var(--amber-700));
  -webkit-background-clip: text;
  color: transparent;
}

.brand-text em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.nav-link {
  padding: 10px 13px;
  border-radius: 12px;
  color: #51463d;
  font-size: 15px;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red-800);
  background: rgba(127, 29, 29, 0.08);
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: rgba(127, 29, 29, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--red-800);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mobile-nav a {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--red-900);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(127, 29, 29, 0.12);
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  color: #ffffff;
  background: linear-gradient(120deg, var(--red-950), var(--red-800) 48%, var(--amber-900));
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(255,255,255,0.08) 51px), repeating-linear-gradient(90deg, transparent, transparent 90px, rgba(255,255,255,0.05) 91px);
  pointer-events: none;
}

.hero-slider {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 650px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  gap: 52px;
  opacity: 0;
  transform: translateX(36px);
  transition: opacity 0.58s ease, transform 0.58s ease;
  pointer-events: none;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: -80px calc(45% - 40px) -80px -120px;
  background-image: linear-gradient(90deg, rgba(63, 10, 10, 0.88), rgba(63, 10, 10, 0.58)), var(--hero-image);
  background-size: cover;
  background-position: center;
  filter: blur(2px) saturate(1.08);
  opacity: 0.55;
  transform: scale(1.08);
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #fde68a;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-shadow: 0 18px 44px rgba(0, 0, 0, 0.3);
}

.hero-copy p {
  max-width: 700px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.8;
}

.hero-tags {
  margin-top: 24px;
}

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

.primary-btn,
.ghost-btn,
.inline-search button,
.hero-search button,
.wide-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-btn,
.inline-search button,
.hero-search button,
.wide-link {
  color: #ffffff;
  background: linear-gradient(135deg, #dc2626, #d97706);
  box-shadow: 0 18px 34px rgba(153, 27, 27, 0.28);
}

.ghost-btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.primary-btn:hover,
.ghost-btn:hover,
.inline-search button:hover,
.hero-search button:hover,
.wide-link:hover {
  transform: translateY(-2px);
}

.hero-poster {
  display: block;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transform: rotate(2deg);
}

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

.hero-control {
  position: absolute;
  left: 50%;
  bottom: 34px;
  width: min(1180px, calc(100% - 32px));
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.hero-dots {
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 42px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
}

.hero-dot.active {
  background: #fde68a;
}

.hero-search,
.inline-search {
  display: flex;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-search input,
.inline-search input {
  width: min(360px, 52vw);
  border: 0;
  outline: 0;
  color: #ffffff;
  background: transparent;
  padding: 0 12px;
  font-size: 15px;
}

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

.quick-panel {
  width: min(1180px, calc(100% - 32px));
  margin: -34px auto 0;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.quick-panel a {
  min-height: 112px;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-panel a:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 80px rgba(69, 10, 10, 0.22);
}

.quick-panel strong {
  display: block;
  color: var(--red-800);
  font-size: 22px;
}

.quick-panel span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

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

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

.section-heading > div {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-heading h2 {
  margin: 0;
  color: #211917;
  font-size: clamp(26px, 3vw, 36px);
}

.section-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--red-800), var(--amber-700));
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(127, 29, 29, 0.2);
}

.section-heading i {
  height: 4px;
  flex: 1;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(127, 29, 29, 0.55), transparent);
}

.section-more {
  color: var(--red-800);
  font-weight: 800;
}

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

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

.movie-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(127, 29, 29, 0.12);
  box-shadow: 0 18px 50px rgba(69, 10, 10, 0.12);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 70px rgba(69, 10, 10, 0.2);
}

.poster {
  position: relative;
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, var(--red-900), var(--amber-900));
}

.poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.poster-gradient {
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.58), transparent);
}

.rank-badge,
.small-rank {
  position: absolute;
  left: 12px;
  top: 12px;
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, #dc2626, #f59e0b);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.card-body {
  padding: 18px 18px 20px;
}

.meta-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
}

.meta-line a {
  color: var(--red-800);
  font-weight: 800;
}

.movie-card h3 {
  margin: 0;
  min-height: 56px;
  color: #1c1613;
  font-size: 19px;
  line-height: 1.45;
}

.movie-card h3 a:hover {
  color: var(--red-800);
}

.movie-card p {
  min-height: 72px;
  margin: 10px 0 0;
  color: #655a50;
  font-size: 14px;
  line-height: 1.72;
}

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

.card-body .tag-row {
  margin-top: 14px;
}

.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--red-800);
  background: rgba(127, 29, 29, 0.08);
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span,
.detail-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: start;
}

.rank-panel {
  position: sticky;
  top: 106px;
  padding: 24px;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(127, 29, 29, 0.95), rgba(120, 53, 15, 0.95));
  color: #ffffff;
  box-shadow: 0 28px 70px rgba(69, 10, 10, 0.28);
}

.rank-panel h2 {
  margin: 0 0 18px;
  font-size: 26px;
}

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

.horizontal-card {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 82px;
  padding: 8px 42px 8px 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease, transform 0.2s ease;
}

.horizontal-card:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateX(4px);
}

.horizontal-card img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 14px;
}

.horizontal-body {
  min-width: 0;
}

.horizontal-body strong,
.horizontal-body em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.horizontal-body strong {
  font-size: 15px;
}

.horizontal-body em {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-style: normal;
}

.small-rank {
  left: auto;
  top: 50%;
  right: 8px;
  width: 28px;
  height: 28px;
  min-width: 28px;
  transform: translateY(-50%);
  font-size: 12px;
}

.wide-link {
  width: 100%;
  margin-top: 18px;
}

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

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

.category-tile {
  position: relative;
  min-height: 154px;
  padding: 22px;
  overflow: hidden;
  border-radius: 24px;
  color: #ffffff;
  background: linear-gradient(135deg, rgba(63, 10, 10, 0.88), rgba(120, 53, 15, 0.74)), var(--tile-image);
  background-size: cover;
  background-position: center;
  box-shadow: 0 18px 46px rgba(69, 10, 10, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 70px rgba(69, 10, 10, 0.24);
}

.category-tile span,
.category-tile strong {
  position: relative;
  z-index: 1;
  display: block;
}

.category-tile span {
  font-size: 24px;
  font-weight: 900;
}

.category-tile strong {
  margin-top: 12px;
  max-width: 440px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.75;
}

.page-hero,
.detail-hero {
  position: relative;
  color: #ffffff;
  overflow: hidden;
  background: linear-gradient(120deg, var(--red-950), var(--red-800), var(--amber-900));
}

.compact-hero {
  width: min(1180px, calc(100% - 32px));
  margin: 34px auto 0;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 38px;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.compact-hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
}

.compact-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
  line-height: 1.8;
}

.compact-hero .inline-search {
  flex-shrink: 0;
}

.inline-search {
  background: rgba(255, 255, 255, 0.12);
}

.filter-status {
  margin: -12px 0 24px;
  color: var(--muted);
}

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

.detail-hero {
  min-height: 610px;
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(63, 10, 10, 0.95), rgba(63, 10, 10, 0.7), rgba(63, 10, 10, 0.86)), var(--detail-image);
  background-size: cover;
  background-position: center;
  filter: saturate(1.08);
  transform: scale(1.04);
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 70px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: #fde68a;
}

.detail-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  margin-top: 50px;
}

.detail-poster {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 32px 86px rgba(0, 0, 0, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

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

.detail-copy h1 {
  margin: 0;
  max-width: 860px;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.lead {
  max-width: 860px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.8;
}

.detail-tags {
  margin-top: 24px;
}

.player-section {
  width: min(1180px, calc(100% - 32px));
  margin: -80px auto 0;
  position: relative;
  z-index: 4;
}

.player-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #080606;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.movie-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #080606;
  cursor: pointer;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.46));
  cursor: pointer;
}

.play-overlay span {
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  padding-left: 6px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 34px;
  background: linear-gradient(135deg, #dc2626, #d97706);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.42);
}

.player-wrap.is-playing .play-overlay {
  opacity: 0;
  pointer-events: none;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 24px;
}

.article-card {
  padding: 30px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(127, 29, 29, 0.12);
  box-shadow: 0 18px 50px rgba(69, 10, 10, 0.11);
}

.article-card h2 {
  margin: 0 0 16px;
  color: var(--red-800);
  font-size: 26px;
}

.article-card p {
  margin: 0 0 14px;
  color: #4f463e;
  font-size: 17px;
  line-height: 1.9;
}

.article-card p:last-child {
  margin-bottom: 0;
}

.site-footer {
  margin-top: 80px;
  padding: 44px 0;
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(120deg, var(--red-950), var(--red-800), var(--amber-900));
}

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

.footer-brand {
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

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

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

  .menu-toggle {
    display: block;
  }

  body.menu-open .mobile-nav {
    display: grid;
  }

  body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-slide {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 32px;
  }

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

  .rank-panel {
    position: static;
  }

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

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

@media (max-width: 820px) {
  .nav-wrap {
    min-height: 68px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

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

  .hero-section,
  .hero-slider {
    min-height: 760px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: center;
    padding: 44px 0 120px;
  }

  .hero-slide::before {
    inset: -80px;
  }

  .hero-poster {
    width: min(260px, 76vw);
    transform: none;
  }

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

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

  .hero-dots {
    justify-content: center;
  }

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

  .hero-search input,
  .inline-search input {
    width: 100%;
  }

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

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

  .compact-hero {
    flex-direction: column;
    align-items: stretch;
    padding: 28px;
  }

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

  .detail-poster {
    width: min(280px, 80vw);
  }

  .player-section {
    margin-top: -40px;
  }

  .article-card {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .content-section {
    padding-top: 52px;
  }

  .mobile-nav {
    grid-template-columns: 1fr;
  }

  .hero-section,
  .hero-slider {
    min-height: 790px;
  }

  .hero-actions,
  .detail-actions {
    flex-direction: column;
  }

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

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

  .section-heading {
    align-items: flex-start;
  }

  .section-heading i {
    display: none;
  }

  .movie-card h3 {
    min-height: 0;
  }

  .movie-card p {
    min-height: 0;
  }
}
