:root {
  --cyan-50: #ecfeff;
  --cyan-100: #cffafe;
  --cyan-500: #06b6d4;
  --cyan-600: #0891b2;
  --cyan-700: #0e7490;
  --blue-600: #2563eb;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --white: #ffffff;
  --shadow-sm: 0 6px 18px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 40px rgba(15, 23, 42, 0.14);
  --shadow-lg: 0 28px 80px rgba(15, 23, 42, 0.22);
  --radius-lg: 18px;
  --radius-xl: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--slate-800);
  background: linear-gradient(180deg, var(--slate-50) 0%, var(--white) 42%, var(--white) 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06), 0 10px 30px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--cyan-600), var(--blue-600));
  box-shadow: 0 10px 20px rgba(8, 145, 178, 0.22);
  font-size: 13px;
}

.brand-name {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1;
  background: linear-gradient(90deg, var(--cyan-600), var(--blue-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link,
.mobile-link {
  color: var(--slate-700);
  font-weight: 650;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-link:hover,
.mobile-link.is-active {
  color: var(--cyan-600);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--slate-100);
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--slate-700);
  border-radius: 99px;
}

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

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

.page {
  min-height: 70vh;
}

.hero-section {
  padding: 32px 0 24px;
}

.hero-slider {
  position: relative;
  height: 500px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  background: var(--slate-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 5s ease;
}

.hero-slide.is-active .hero-bg {
  transform: scale(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 22%, rgba(6, 182, 212, 0.35), transparent 30%),
    linear-gradient(180deg, rgba(15, 23, 42, 0.06) 0%, rgba(15, 23, 42, 0.44) 36%, rgba(0, 0, 0, 0.86) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  max-width: 760px;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(28px, 5vw, 56px);
  color: var(--white);
}

.hero-badge,
.badge,
.card-category {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  font-weight: 700;
}

.hero-badge,
.card-category {
  padding: 7px 12px;
  background: var(--cyan-600);
  color: var(--white);
  font-size: 13px;
  box-shadow: 0 10px 20px rgba(8, 145, 178, 0.24);
}

.hero-content h1 {
  max-width: 720px;
  margin: 16px 0;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-content p {
  max-width: 660px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.75;
}

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

.hero-tags span {
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  font-size: 13px;
}

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

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

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

.btn-primary {
  background: var(--cyan-600);
  color: var(--white);
  box-shadow: 0 14px 24px rgba(8, 145, 178, 0.22);
}

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

.btn-glass {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.hero-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.48);
  font-size: 32px;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.68);
}

.hero-prev {
  left: 18px;
}

.hero-next {
  right: 18px;
}

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

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

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

.section-block,
.hot-section,
.showcase-wrap,
.detail-wrap,
.ranking-list-page {
  padding: 46px 0;
}

.section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.section-head h2 {
  margin: 0;
  color: var(--slate-800);
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.2;
}

.section-head p {
  width: 100%;
  margin: 6px 0 0;
  color: var(--slate-500);
  line-height: 1.7;
}

.section-head-between {
  align-items: flex-end;
  justify-content: space-between;
}

.section-head-between > div {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
}

.section-head-between p {
  grid-column: 2;
}

.slim-head h2 {
  font-size: 28px;
}

.section-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  background: var(--cyan-50);
  color: var(--cyan-600);
  font-weight: 900;
}

.section-more {
  color: var(--cyan-600);
  font-weight: 750;
}

.grid {
  display: grid;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

.card-cover,
.horizontal-cover,
.ranking-cover {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--slate-200);
}

.card-cover {
  height: 224px;
}

.movie-card-large .card-cover {
  height: 288px;
}

.movie-card-small .card-cover {
  height: 178px;
}

.card-cover img,
.horizontal-cover img,
.ranking-cover img,
.category-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.movie-card:hover img,
.category-tile:hover img,
.ranking-card:hover img {
  transform: scale(1.09);
}

.cover-shade {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.62));
  transition: opacity 0.25s ease;
}

.movie-card:hover .cover-shade {
  opacity: 1;
}

.card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.52);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.92);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

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

.card-category {
  position: absolute;
  top: 12px;
  right: 12px;
}

.card-body {
  padding: 16px;
}

.card-body h3,
.horizontal-body h3,
.ranking-body h2 {
  margin: 0;
  color: var(--slate-800);
  line-height: 1.35;
}

.card-body h3 {
  display: -webkit-box;
  min-height: 48px;
  overflow: hidden;
  font-size: 18px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-body h3 a:hover,
.horizontal-body h3 a:hover,
.ranking-body h2 a:hover {
  color: var(--cyan-600);
}

.card-body p,
.horizontal-body p,
.ranking-body p {
  display: -webkit-box;
  overflow: hidden;
  color: var(--slate-600);
  line-height: 1.65;
  -webkit-box-orient: vertical;
}

.card-body p {
  min-height: 46px;
  margin: 8px 0 14px;
  font-size: 14px;
  -webkit-line-clamp: 2;
}

.card-bottom,
.card-meta,
.detail-meta,
.ranking-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--slate-500);
  font-size: 13px;
}

.card-bottom {
  justify-content: space-between;
}

.tag-list span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 8px;
  padding: 0 8px;
  background: var(--slate-100);
  color: var(--slate-600);
  font-size: 12px;
}

.detail-tags span {
  background: var(--cyan-50);
  color: var(--cyan-700);
}

.hot-section {
  border-radius: var(--radius-xl);
  background: linear-gradient(90deg, rgba(236, 254, 255, 0.94), rgba(239, 246, 255, 0.96));
  padding-inline: 28px;
}

.horizontal-scroll {
  overflow-x: auto;
  padding-bottom: 14px;
}

.scroll-track {
  display: flex;
  width: max-content;
  gap: 18px;
}

.slider-item {
  width: 288px;
  flex: 0 0 auto;
}

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

.vertical-list {
  display: grid;
  gap: 16px;
}

.movie-card-horizontal {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
}

.horizontal-cover {
  min-height: 150px;
}

.horizontal-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
}

.horizontal-body p {
  margin: 8px 0 18px;
  -webkit-line-clamp: 2;
}

.badge {
  padding: 6px 10px;
  background: var(--cyan-50);
  color: var(--cyan-700);
  font-size: 13px;
}

.rank-panel {
  position: sticky;
  top: 94px;
  border-radius: var(--radius-lg);
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.rank-list {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.rank-link {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border-radius: 12px;
  padding: 10px;
  transition: background 0.2s ease;
}

.rank-link:hover {
  background: var(--slate-50);
}

.rank-link span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan-600), var(--blue-600));
  color: var(--white);
  font-weight: 800;
}

.rank-link strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-link em {
  color: var(--slate-500);
  font-style: normal;
  font-size: 13px;
}

.full-btn {
  width: 100%;
}

.panel-section {
  margin-bottom: 36px;
  border-radius: var(--radius-xl);
  padding: 30px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.page-hero {
  margin-top: 32px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 88% 12%, rgba(8, 145, 178, 0.22), transparent 28%),
    linear-gradient(135deg, var(--slate-900), #102640 52%, #164e63);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.small-hero {
  padding: clamp(34px, 6vw, 64px);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.13);
  color: var(--cyan-100);
  font-size: 13px;
  font-weight: 800;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.1;
}

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

.filter-panel {
  margin-top: 28px;
  border-radius: var(--radius-lg);
  padding: 22px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
}

.search-row input,
.filter-row select {
  width: 100%;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  color: var(--slate-700);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-row input {
  min-height: 46px;
  padding: 0 16px;
}

.search-row input:focus,
.filter-row select:focus {
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.12);
}

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

.filter-row label {
  display: grid;
  gap: 7px;
  color: var(--slate-500);
  font-size: 13px;
  font-weight: 700;
}

.filter-row select {
  min-height: 42px;
  padding: 0 12px;
}

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

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

.category-tile {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--slate-900);
  box-shadow: var(--shadow-sm);
}

.tile-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.82));
}

.tile-content {
  position: absolute;
  inset: auto 18px 18px;
  display: grid;
  gap: 8px;
  color: var(--white);
}

.tile-content strong {
  font-size: 24px;
}

.tile-content em {
  color: rgba(255, 255, 255, 0.76);
  font-style: normal;
  line-height: 1.5;
}

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

.ranking-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.ranking-cover {
  min-height: 210px;
}

.ranking-cover span {
  position: absolute;
  top: 12px;
  left: 12px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--cyan-600), var(--blue-600));
  color: var(--white);
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
}

.ranking-body {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px;
}

.ranking-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.ranking-body h2 {
  font-size: 24px;
}

.ranking-body p {
  margin: 0;
  -webkit-line-clamp: 2;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin-bottom: 18px;
  color: var(--slate-500);
  font-size: 14px;
}

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

.detail-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: var(--shadow-md);
}

.player-card {
  position: relative;
  overflow: hidden;
  background: #020617;
}

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

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle at center, rgba(8, 145, 178, 0.24), rgba(2, 6, 23, 0.52));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-ring {
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border-radius: 999px;
  background: rgba(8, 145, 178, 0.88);
  box-shadow: 0 20px 50px rgba(8, 145, 178, 0.34);
  font-size: 30px;
  transform: translateY(12px);
}

.play-title {
  margin-top: 18px;
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(15, 23, 42, 0.52);
  font-weight: 800;
  letter-spacing: 0.04em;
  transform: translateY(-34px);
}

.detail-info {
  padding: clamp(22px, 4vw, 36px);
}

.detail-title-row {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
}

.detail-title-row h1 {
  margin: 0;
  color: var(--slate-800);
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.12;
}

.strong-badge {
  flex: 0 0 auto;
  margin-top: 6px;
  background: var(--cyan-600);
  color: var(--white);
}

.detail-meta {
  margin: 18px 0 20px;
}

.detail-meta span,
.ranking-meta span {
  border-radius: 8px;
  padding: 6px 9px;
  background: var(--slate-100);
}

.detail-tags {
  margin-bottom: 22px;
}

.one-line-box {
  border-radius: 14px;
  margin: 0 0 26px;
  padding: 18px;
  background: var(--cyan-50);
}

.one-line-box p {
  margin: 0;
  color: var(--slate-800);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.75;
}

.article-content {
  display: grid;
  gap: 16px;
}

.article-content h2 {
  margin: 18px 0 0;
  color: var(--slate-800);
  font-size: 26px;
}

.article-content p {
  margin: 0;
  color: var(--slate-700);
  font-size: 17px;
  line-height: 1.95;
  white-space: pre-line;
}

.related-block {
  padding-bottom: 0;
}

.site-footer {
  margin-top: 64px;
  padding: 48px 0 26px;
  background: var(--slate-900);
  color: var(--slate-300);
}

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

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

.footer-main p {
  max-width: 560px;
  color: var(--slate-400);
  line-height: 1.85;
}

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

.site-footer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a:hover {
  color: var(--cyan-500);
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  margin-top: 32px;
  padding-top: 22px;
  color: var(--slate-500);
  text-align: center;
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1024px) {
  .movies-grid,
  .featured-grid,
  .all-movies-grid,
  .compact-grid,
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .rank-panel {
    position: static;
  }
}

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

  .menu-button {
    display: block;
  }

  .hero-slider {
    height: 540px;
  }

  .hero-arrow {
    top: auto;
    bottom: 58px;
    transform: none;
  }

  .movies-grid,
  .featured-grid,
  .all-movies-grid,
  .compact-grid,
  .category-grid,
  .filter-row,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .search-row {
    grid-template-columns: 1fr;
  }

  .movie-card-horizontal,
  .ranking-card {
    grid-template-columns: 140px minmax(0, 1fr);
  }

  .horizontal-cover,
  .ranking-cover {
    min-height: 150px;
  }

  .ranking-body {
    padding: 16px;
  }

  .ranking-title-row {
    display: grid;
  }

  .detail-title-row {
    display: grid;
  }
}

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

  .hero-section {
    padding-top: 18px;
  }

  .hero-slider {
    height: 560px;
    border-radius: 18px;
  }

  .hero-content {
    padding: 28px 22px 70px;
  }

  .hero-content h1 {
    font-size: 34px;
  }

  .movies-grid,
  .featured-grid,
  .all-movies-grid,
  .compact-grid,
  .category-grid,
  .filter-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-cover,
  .movie-card-large .card-cover {
    height: 260px;
  }

  .movie-card-horizontal,
  .ranking-card {
    grid-template-columns: 1fr;
  }

  .horizontal-cover,
  .ranking-cover {
    height: 220px;
  }

  .hot-section,
  .panel-section {
    padding-inline: 18px;
  }

  .section-head-between {
    display: grid;
    gap: 14px;
  }

  .footer-grid {
    gap: 24px;
  }
}
