:root {
  --teal: #0f766e;
  --teal-bright: #14b8a6;
  --cyan: #0891b2;
  --blue: #2563eb;
  --orange: #ea580c;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 10px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.18);
  --radius: 1.25rem;
  --radius-lg: 1.75rem;
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--gray-800);
  background: linear-gradient(180deg, var(--gray-50), var(--gray-100));
}

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

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

button,
input {
  font: inherit;
}

.container,
.nav-wrap,
.content-section,
.footer-inner,
.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  color: var(--white);
  background: linear-gradient(90deg, var(--teal), var(--cyan), var(--blue));
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.22);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.logo-icon {
  width: 34px;
  height: 34px;
}

.nav-panel {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  gap: 22px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-link {
  font-weight: 600;
  opacity: 0.94;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-link:hover {
  color: #ccfbf1;
  opacity: 1;
}

.search-form {
  display: flex;
  align-items: center;
  height: 42px;
  padding: 0 12px 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.search-form input {
  width: 180px;
  color: var(--white);
  border: 0;
  outline: 0;
  background: transparent;
}

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

.search-form button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  color: var(--white);
  border: 0;
  background: transparent;
  cursor: pointer;
}

.search-form svg {
  width: 22px;
  height: 22px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  border-radius: 999px;
}

.hero-carousel {
  position: relative;
  min-height: 620px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  padding: 32px max(16px, calc((100vw - 1180px) / 2)) 28px;
  overflow: hidden;
}

.hero-stage {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow-lg);
  background: linear-gradient(90deg, #14b8a6, #0891b2, #2563eb);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 0.7s ease;
  pointer-events: none;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.22), transparent 32%), linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.45));
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  align-items: center;
  gap: 34px;
  padding: 56px;
  color: var(--white);
}

.hero-text h1 {
  margin: 0 0 18px;
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.hero-text p {
  max-width: 720px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.12rem;
  line-height: 1.85;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  color: #ecfeff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  font-weight: 700;
}

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

.hero-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--teal);
  background: #ccfbf1;
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-tags span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
}

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

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

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

.btn-light {
  color: var(--teal);
  background: var(--white);
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.25);
}

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(90deg, var(--teal), var(--blue));
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.22);
}

.btn-outline {
  color: var(--teal);
  border: 1px solid rgba(15, 118, 110, 0.3);
  background: var(--white);
}

.btn.full {
  width: 100%;
  margin-top: 10px;
}

.hero-poster {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 2 / 3;
  background: rgba(255, 255, 255, 0.16);
}

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

.hero-poster span {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  padding: 10px 20px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(15, 118, 110, 0.88);
  font-weight: 800;
}

.hero-dots {
  position: absolute;
  left: 56px;
  bottom: 34px;
  z-index: 4;
  display: flex;
  gap: 10px;
}

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

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

.hero-side-panel {
  min-height: 560px;
  padding: 24px;
  border-radius: 32px;
  color: var(--white);
  background: linear-gradient(180deg, #0f172a, #111827);
  box-shadow: var(--shadow-lg);
}

.hero-side-panel h2 {
  margin: 0 0 18px;
  font-size: 1.4rem;
}

.hero-side-list,
.ranking-list,
.side-list {
  display: grid;
  gap: 14px;
}

.compact-card {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  color: inherit;
  background: rgba(255, 255, 255, 0.12);
  transition: transform 0.2s ease, background 0.2s ease;
}

.compact-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.2);
}

.compact-card img {
  width: 64px;
  height: 86px;
  object-fit: cover;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
}

.compact-card strong,
.compact-card em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compact-card strong {
  margin-bottom: 6px;
  color: inherit;
  white-space: nowrap;
}

.compact-card em {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-style: normal;
}

.rank-num {
  position: absolute;
  left: 6px;
  top: 6px;
  z-index: 2;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), #f59e0b);
  font-size: 0.78rem;
  font-weight: 900;
}

.content-section {
  padding: 56px 0;
}

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

.section-head.slim {
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  color: var(--gray-800);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--gray-500);
}

.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--teal);
  background: #ccfbf1;
  font-weight: 800;
}

.category-strip {
  padding-top: 28px;
}

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

.category-card,
.category-overview-card {
  position: relative;
  overflow: hidden;
  min-height: 150px;
  padding: 24px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-card::after,
.category-overview-card::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.16), rgba(37, 99, 235, 0.16));
}

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

.category-card span,
.category-overview-card h2 {
  position: relative;
  z-index: 1;
  display: block;
  margin: 0 0 10px;
  color: var(--gray-800);
  font-size: 1.3rem;
  font-weight: 900;
}

.category-card p,
.category-overview-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--gray-500);
  line-height: 1.7;
}

.category-overview-card {
  min-height: 320px;
}

.category-overview-card ul {
  position: relative;
  z-index: 1;
  margin: 18px 0 20px;
  padding-left: 18px;
  color: var(--gray-700);
  line-height: 1.9;
}

.category-title-link:hover h2 {
  color: var(--teal);
}

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

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

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

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

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

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, var(--teal), var(--blue));
}

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

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

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

.play-pill {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(15, 118, 110, 0.9);
  font-size: 0.86rem;
  font-weight: 800;
}

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

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--gray-500);
  font-size: 0.82rem;
}

.movie-meta-line span:not(:last-child)::after {
  content: "·";
  margin-left: 8px;
  color: var(--gray-500);
}

.movie-card h3 {
  margin: 10px 0 8px;
  color: var(--gray-800);
  font-size: 1.12rem;
  line-height: 1.35;
}

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

.movie-card p {
  min-height: 50px;
  margin: 0 0 14px;
  color: var(--gray-500);
  line-height: 1.65;
  font-size: 0.94rem;
}

.movie-card-large .poster-link {
  aspect-ratio: 16 / 10;
}

.soft-panel {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 38px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow-sm);
}

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

.ranking-panel,
.side-card {
  padding: 24px;
  border-radius: 28px;
  background: var(--gray-900);
  color: var(--white);
  box-shadow: var(--shadow-lg);
}

.ranking-panel .section-head h2,
.ranking-panel .section-head p {
  color: var(--white);
}

.ranking-panel .section-head p {
  color: rgba(255, 255, 255, 0.7);
}

.page-hero {
  padding: 54px 0;
  color: var(--white);
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

.page-hero h1 {
  margin: 14px 0 12px;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
}

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

.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
  padding: 16px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.local-filter,
.search-page-form input {
  flex: 1;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  outline: 0;
}

.local-filter:focus,
.search-page-form input:focus {
  border-color: var(--teal-bright);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.14);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: var(--gray-700);
  background: var(--gray-100);
  cursor: pointer;
  font-weight: 800;
}

.filter-chip.is-active {
  color: var(--white);
  background: linear-gradient(90deg, var(--teal), var(--blue));
}

.search-page-form {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  padding: 18px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.search-result-title {
  margin: 0 0 20px;
  color: var(--gray-700);
  font-weight: 800;
}

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

.ranking-row {
  display: grid;
  grid-template-columns: 56px 96px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.ranking-index {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), #f59e0b);
  font-size: 1.05rem;
  font-weight: 900;
}

.ranking-cover img {
  width: 96px;
  height: 128px;
  object-fit: cover;
  border-radius: 16px;
}

.ranking-info h2 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.ranking-info h2 a:hover {
  color: var(--teal);
}

.ranking-info p {
  margin: 0 0 10px;
  color: var(--gray-500);
  line-height: 1.7;
}

.movie-detail-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.detail-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.12), rgba(17, 24, 39, 0.78));
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  padding: 44px 0 54px;
}

.detail-title-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  align-items: end;
  gap: 32px;
  margin-top: 22px;
}

.detail-title-grid h1 {
  margin: 0 0 18px;
  font-size: clamp(2.3rem, 5vw, 4.7rem);
  line-height: 1.08;
}

.detail-title-grid p {
  max-width: 820px;
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  line-height: 1.85;
}

.detail-cover {
  width: 230px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

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

.detail-main,
.detail-side {
  min-width: 0;
}

.player-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #020617;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 9;
}

.movie-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #020617;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--white);
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.15), rgba(2, 6, 23, 0.45));
  cursor: pointer;
  transition: opacity 0.2s ease;
}

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

.player-start {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  box-shadow: 0 18px 48px rgba(37, 99, 235, 0.45);
}

.player-start svg {
  width: 42px;
  height: 42px;
  margin-left: 5px;
}

.detail-section {
  margin-top: 28px;
  padding: 28px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.detail-section h2,
.side-card h2 {
  margin: 0 0 14px;
  color: var(--gray-800);
  font-size: 1.45rem;
}

.detail-section p {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.95;
}

.review-box {
  background: linear-gradient(135deg, #ecfeff, #eff6ff);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.info-grid div {
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--gray-50);
}

.info-grid dt {
  margin-bottom: 6px;
  color: var(--gray-500);
  font-size: 0.86rem;
}

.info-grid dd {
  margin: 0;
  color: var(--gray-800);
  font-weight: 800;
}

.info-grid a {
  color: var(--teal);
}

.tag-row.wide {
  margin-top: 10px;
}

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

.side-card {
  background: var(--white);
  color: var(--gray-800);
}

.side-card .compact-card {
  color: var(--gray-800);
  background: var(--gray-50);
}

.side-card .compact-card:hover {
  background: #ecfeff;
}

.side-card .compact-card em {
  color: var(--gray-500);
}

.related-wide {
  display: none;
}

.card-hidden {
  display: none !important;
}

@media (max-width: 1100px) {
  .hero-carousel,
  .split-section,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-side-panel {
    min-height: auto;
  }

  .hero-side-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-side {
    position: static;
  }
}

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

  .menu-toggle {
    display: block;
  }

  .nav-panel {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 74px;
    display: none;
    padding: 18px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--teal), var(--blue));
    box-shadow: var(--shadow-lg);
  }

  .nav-panel.is-open {
    display: block;
  }

  .main-nav {
    display: grid;
    gap: 14px;
    margin-bottom: 16px;
  }

  .search-form input {
    width: 100%;
  }

  .hero-carousel {
    min-height: auto;
    padding-top: 18px;
  }

  .hero-stage,
  .hero-content {
    min-height: 620px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 34px;
  }

  .hero-poster {
    width: min(240px, 70vw);
  }

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

  .soft-panel {
    padding: 28px;
  }

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

  .detail-cover {
    width: 190px;
  }

  .ranking-row {
    grid-template-columns: 42px 80px minmax(0, 1fr);
  }

  .ranking-row .btn {
    grid-column: 2 / -1;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .container,
  .nav-wrap,
  .content-section,
  .footer-inner,
  .footer-bottom,
  .soft-panel {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    font-size: 1.18rem;
  }

  .hero-carousel {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero-stage,
  .hero-content {
    min-height: 590px;
  }

  .hero-content {
    padding: 26px;
  }

  .hero-text h1 {
    font-size: 2.35rem;
  }

  .hero-dots {
    left: 26px;
    bottom: 22px;
  }

  .hero-side-list,
  .category-grid,
  .category-overview-grid,
  .movie-grid,
  .featured-grid,
  .compact-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .section-head,
  .filter-bar,
  .search-page-form {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-buttons {
    width: 100%;
  }

  .filter-chip {
    flex: 1;
  }

  .detail-section {
    padding: 22px;
  }

  .ranking-row {
    grid-template-columns: 38px 72px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .ranking-cover img {
    width: 72px;
    height: 96px;
  }

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

.site-footer {
  margin-top: 40px;
  padding: 44px 0 20px;
  color: var(--white);
  background: linear-gradient(90deg, var(--gray-900), #1f2937, var(--gray-900));
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 30px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: #5eead4;
  font-size: 1.18rem;
}

.site-footer p,
.site-footer li,
.footer-bottom {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a:hover {
  color: #5eead4;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
