:root {
  color-scheme: dark;
  --bg: #020617;
  --bg-soft: #0f172a;
  --bg-card: #111827;
  --bg-card-2: #1e293b;
  --line: rgba(148, 163, 184, 0.18);
  --text: #f8fafc;
  --muted: #94a3b8;
  --muted-2: #64748b;
  --accent: #f97316;
  --accent-2: #dc2626;
  --accent-soft: rgba(249, 115, 22, 0.16);
  --radius: 22px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --container: min(1180px, calc(100vw - 32px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(249, 115, 22, 0.16), transparent 32rem),
    radial-gradient(circle at 85% 15%, rgba(220, 38, 38, 0.12), transparent 28rem),
    var(--bg);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.96));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 36px rgba(2, 6, 23, 0.28);
}

.site-nav-wrap {
  width: var(--container);
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.site-logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.28);
}

.site-logo-text {
  display: grid;
  line-height: 1.1;
}

.site-logo-text strong {
  font-size: 20px;
  letter-spacing: 0.04em;
}

.site-logo-text small {
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

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

.site-nav-links a {
  color: #cbd5e1;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  transition: 0.2s ease;
}

.site-nav-links a:hover {
  color: white;
  background: rgba(148, 163, 184, 0.14);
}

.site-search {
  position: relative;
  flex: 0 1 240px;
}

.site-search input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  height: 42px;
  color: white;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  padding: 0 14px;
  transition: 0.2s ease;
}

.site-search input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: rgba(249, 115, 22, 0.78);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}

.site-search-results {
  position: absolute;
  top: 50px;
  right: 0;
  width: min(440px, 92vw);
  max-height: 68vh;
  overflow: auto;
  display: none;
  padding: 10px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.98);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.site-search-results.is-open {
  display: grid;
  gap: 8px;
}

.search-result-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(30, 41, 59, 0.65);
  transition: 0.2s ease;
}

.search-result-item:hover {
  background: rgba(51, 65, 85, 0.92);
}

.search-result-item img {
  width: 64px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
}

.search-result-item strong {
  display: block;
  color: white;
  font-size: 14px;
}

.search-result-item small {
  display: block;
  color: var(--muted);
  margin-top: 3px;
}

.site-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  color: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(15, 23, 42, 0.8);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 72vh;
  background: #020617;
}

.hero-stage {
  position: relative;
  height: 72vh;
  min-height: 560px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 900ms 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:
    linear-gradient(90deg, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.72) 40%, rgba(2, 6, 23, 0.2) 100%),
    linear-gradient(0deg, #020617 0%, transparent 34%, transparent 100%);
}

.hero-content {
  position: absolute;
  left: max(16px, calc((100vw - 1180px) / 2));
  top: 50%;
  width: min(680px, calc(100vw - 32px));
  transform: translateY(-50%);
}

.hero-kicker,
.section-heading span,
.page-hero span {
  display: inline-flex;
  align-items: center;
  color: #fed7aa;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-content h1 {
  margin: 14px 0 18px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.05em;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.hero-content p {
  max-width: 620px;
  color: #dbeafe;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.75;
  margin: 0 0 22px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.42);
}

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

.hero-tags span,
.movie-tags span,
.detail-tags span {
  color: #e2e8f0;
  background: rgba(30, 41, 59, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.2);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
}

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

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

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

.btn-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 18px 40px rgba(249, 115, 22, 0.28);
}

.btn-ghost {
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(12px);
}

.btn-wide {
  width: 100%;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-dot {
  width: 28px;
  height: 5px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(203, 213, 225, 0.5);
  cursor: pointer;
  transition: 0.25s ease;
}

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

.hero-strip {
  width: var(--container);
  margin: -64px auto 0;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.hero-thumb {
  min-height: 96px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.86);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
}

.hero-thumb img {
  width: 100%;
  height: 70px;
  object-fit: cover;
}

.hero-thumb span {
  display: block;
  padding: 10px;
  color: white;
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.section {
  width: var(--container);
  margin: 0 auto;
  padding: 74px 0;
}

.section-tight {
  padding-top: 56px;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 34px;
}

.section-heading-left {
  text-align: left;
  margin-left: 0;
}

.section-heading h2,
.page-hero h1 {
  margin: 10px 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading p,
.page-hero p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

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

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.98), rgba(15, 23, 42, 0.98));
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  border-color: rgba(249, 115, 22, 0.52);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.movie-cover-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}

.movie-card-small .movie-cover-link,
.related-card .movie-cover-link {
  aspect-ratio: 16 / 9;
}

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

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

.movie-cover-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 26%, rgba(0, 0, 0, 0.74));
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.movie-play-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%) scale(0.78);
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  opacity: 0;
  transition: 0.25s ease;
  box-shadow: 0 18px 42px rgba(249, 115, 22, 0.36);
}

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

.movie-year,
.movie-type {
  position: absolute;
  top: 10px;
  z-index: 3;
  padding: 5px 9px;
  border-radius: 10px;
  color: white;
  font-size: 12px;
  font-weight: 800;
}

.movie-year {
  left: 10px;
  background: var(--accent);
}

.movie-type {
  right: 10px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(10px);
}

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

.movie-card-body h2,
.movie-card-body h3 {
  margin: 0 0 10px;
  color: white;
  font-size: 16px;
  line-height: 1.36;
}

.movie-card-body p {
  min-height: 44px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.66;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.movie-meta span {
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.74);
  border: 1px solid var(--line);
  padding: 5px 8px;
  border-radius: 10px;
  font-size: 12px;
}

.split-section {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 24px;
  align-items: start;
}

.latest-panel,
.side-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: rgba(15, 23, 42, 0.8);
  box-shadow: var(--shadow);
}

.latest-panel h2,
.side-card h2 {
  margin: 0 0 18px;
  font-size: 22px;
}

.latest-list,
.ranking-list {
  display: grid;
  gap: 12px;
}

.ranking-item {
  display: grid;
  grid-template-columns: 56px 98px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(30, 41, 59, 0.72);
  transition: 0.2s ease;
}

.ranking-item:hover {
  border-color: rgba(249, 115, 22, 0.48);
  background: rgba(51, 65, 85, 0.9);
  transform: translateX(4px);
}

.ranking-item-compact {
  grid-template-columns: 40px 68px 1fr;
  padding: 9px;
}

.ranking-number {
  color: var(--accent);
  font-size: 24px;
  font-weight: 900;
  text-align: center;
}

.ranking-item img {
  width: 98px;
  height: 64px;
  border-radius: 14px;
  object-fit: cover;
}

.ranking-item-compact img {
  width: 68px;
  height: 46px;
  border-radius: 10px;
}

.ranking-info strong,
.ranking-info small,
.ranking-info em {
  display: block;
}

.ranking-info strong {
  color: white;
  margin-bottom: 4px;
}

.ranking-info small {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.ranking-info em {
  color: var(--muted-2);
  font-style: normal;
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.45;
}

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

.category-tile {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

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

.category-tile:hover img,
.category-overview-card:hover .category-image img {
  transform: scale(1.08);
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.92));
}

.category-tile span {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 16px;
}

.category-tile strong,
.category-tile small {
  display: block;
}

.category-tile strong {
  font-size: 20px;
}

.category-tile small {
  color: #cbd5e1;
  margin-top: 6px;
  line-height: 1.55;
}

.page-hero {
  position: relative;
  width: var(--container);
  margin: 32px auto 0;
  min-height: 310px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(15, 23, 42, 0.94)),
    var(--bg-card);
  box-shadow: var(--shadow);
  padding: 44px;
}

.page-hero-compact {
  min-height: 240px;
}

.category-page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}

.category-page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(2, 6, 23, 0.56));
}

.page-hero > div {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  margin-top: 20px;
}

.breadcrumb a:hover,
.inline-link:hover {
  color: var(--accent);
}

.filter-bar {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

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

.category-overview-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: rgba(15, 23, 42, 0.78);
}

.category-image {
  display: block;
  height: 170px;
  overflow: hidden;
  border-radius: 18px;
}

.category-overview-card h2 {
  margin: 4px 0 10px;
}

.category-overview-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 12px;
}

.category-preview-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.category-preview-links a,
.inline-link {
  color: #fed7aa;
  background: var(--accent-soft);
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 13px;
}

.detail-wrap {
  width: var(--container);
  margin: 0 auto;
  padding: 28px 0 10px;
}

.detail-breadcrumb {
  margin: 0 0 24px;
}

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

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: black;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
}

.movie-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background: black;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  gap: 14px;
  cursor: pointer;
  color: white;
  text-align: center;
  background:
    radial-gradient(circle at center, rgba(249, 115, 22, 0.2), transparent 15rem),
    linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.72));
}

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

.player-start {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 18px 50px rgba(249, 115, 22, 0.42);
  font-size: 34px;
  padding-left: 5px;
}

.player-overlay strong {
  font-size: 20px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.52);
}

.player-state {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  color: white;
  background: rgba(15, 23, 42, 0.72);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.player-state.is-visible {
  opacity: 1;
}

.detail-content {
  padding: 24px 0 0;
}

.detail-content h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.detail-one-line {
  color: #cbd5e1;
  font-size: 18px;
  line-height: 1.8;
  margin: 0 0 18px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.detail-meta span {
  color: white;
  background: rgba(30, 41, 59, 0.9);
  border: 1px solid var(--line);
  padding: 9px 12px;
  border-radius: 14px;
}

.detail-block {
  margin-top: 26px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.8);
}

.detail-block h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.detail-block p {
  color: #cbd5e1;
  line-height: 1.9;
  margin: 0;
}

.detail-side {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.detail-poster {
  width: 100%;
  border-radius: 24px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.side-card dl {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 10px;
  margin: 0 0 20px;
}

.side-card dt {
  color: var(--muted-2);
}

.side-card dd {
  margin: 0;
  color: #e2e8f0;
}

.related-section {
  padding-top: 30px;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.78), rgba(2, 6, 23, 0.98));
  margin-top: 60px;
}

.footer-grid {
  width: var(--container);
  margin: 0 auto;
  padding: 46px 0 34px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: var(--muted);
  line-height: 1.8;
}

.footer-grid h3 {
  margin: 0 0 14px;
  color: white;
}

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

.footer-grid a:hover {
  color: var(--accent);
}

.footer-bottom {
  width: var(--container);
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

[hidden] {
  display: none !important;
}

@media (max-width: 1120px) {
  .site-nav-links {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 80px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav-links.is-open {
    display: flex;
  }

  .site-menu-button {
    display: grid;
    place-items: center;
  }

  .site-search {
    margin-left: auto;
  }

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

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

  .detail-side {
    position: static;
    grid-template-columns: 260px 1fr;
  }

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

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

@media (max-width: 760px) {
  :root {
    --container: min(100vw - 24px, 1180px);
  }

  .site-nav-wrap {
    gap: 10px;
    min-height: 66px;
  }

  .site-logo-text small {
    display: none;
  }

  .site-search {
    order: 4;
    flex: 1 0 100%;
    margin: 0 0 10px;
  }

  .site-nav-wrap {
    flex-wrap: wrap;
  }

  .hero-stage {
    height: 68vh;
    min-height: 520px;
  }

  .hero-content {
    top: 46%;
  }

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

  .hero-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 14px;
  }

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

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

  .page-hero {
    padding: 28px;
    min-height: 260px;
  }

  .category-overview-card,
  .footer-grid,
  .detail-side {
    grid-template-columns: 1fr;
  }

  .ranking-item {
    grid-template-columns: 42px 74px 1fr;
    gap: 10px;
  }

  .ranking-item img {
    width: 74px;
    height: 54px;
  }
}

@media (max-width: 520px) {
  .movie-grid,
  .movie-grid-four,
  .category-movie-grid,
  .related-grid,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

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

  .hero-actions {
    display: grid;
  }

  .movie-card-body p {
    min-height: auto;
  }
}
