:root {
  --green-950: #052e24;
  --green-900: #064e3b;
  --green-800: #065f46;
  --green-700: #047857;
  --green-600: #059669;
  --green-100: #d1fae5;
  --green-50: #ecfdf5;
  --amber-900: #78350f;
  --amber-500: #f59e0b;
  --amber-100: #fef3c7;
  --amber-50: #fffbeb;
  --gray-950: #030712;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  color: var(--gray-900);
  background: #f8fafc;
  line-height: 1.6;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(5, 150, 105, 0.18);
  background: linear-gradient(90deg, rgba(255, 251, 235, 0.96), rgba(255, 255, 255, 0.98), rgba(236, 253, 245, 0.96));
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  max-width: 1180px;
  min-height: 76px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.brand-mark,
.footer-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  color: var(--white);
  font-weight: 900;
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
  box-shadow: 0 14px 25px rgba(5, 150, 105, 0.26);
}

.brand:hover .brand-mark {
  transform: scale(1.08);
}

.brand-mark {
  transition: transform 0.2s ease;
}

.brand-text strong {
  display: block;
  color: var(--green-800);
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.brand-text small {
  color: var(--green-700);
  font-size: 12px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1 1 auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--gray-700);
  font-weight: 700;
  background: transparent;
  border: 0;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--green-800);
  background: rgba(209, 250, 229, 0.8);
  transform: translateY(-1px);
}

.nav-menu {
  position: relative;
}

.nav-menu-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 230px;
  padding: 12px;
  display: none;
  grid-template-columns: 1fr;
  gap: 6px;
  border: 1px solid rgba(5, 150, 105, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.nav-menu:hover .nav-menu-panel {
  display: grid;
}

.nav-menu-panel a {
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--gray-700);
}

.nav-menu-panel a:hover {
  color: var(--green-800);
  background: var(--green-50);
}

.top-search,
.mobile-search,
.search-hero-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-search input,
.mobile-search input,
.search-hero-form input,
.filter-bar input,
.filter-bar select {
  width: 100%;
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 999px;
  background: var(--white);
  color: var(--gray-900);
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.top-search input {
  width: 215px;
  padding: 10px 16px;
}

.top-search input:focus,
.mobile-search input:focus,
.search-hero-form input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.12);
}

.top-search button,
.mobile-search button,
.search-hero-form button,
.primary-button,
.secondary-button,
.card-action,
.section-more {
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.top-search button,
.mobile-search button,
.search-hero-form button,
.primary-button,
.card-action {
  color: var(--white);
  background: linear-gradient(135deg, var(--green-600), var(--green-800));
  box-shadow: 0 12px 26px rgba(5, 150, 105, 0.22);
}

.top-search button {
  padding: 10px 16px;
}

.top-search button:hover,
.mobile-search button:hover,
.search-hero-form button:hover,
.primary-button:hover,
.card-action:hover,
.section-more:hover {
  transform: translateY(-2px);
}

.mobile-menu-button {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  color: var(--green-800);
  background: rgba(209, 250, 229, 0.7);
  font-size: 24px;
}

.mobile-panel {
  display: none;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 22px 18px;
}

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

.mobile-search {
  margin-bottom: 12px;
}

.mobile-search input {
  padding: 10px 14px;
}

.mobile-search button {
  padding: 10px 16px;
}

.mobile-nav-link {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--gray-700);
  font-weight: 700;
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--green-800);
  background: var(--green-50);
}

main {
  min-height: 70vh;
}

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-950), var(--green-800), var(--amber-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::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  opacity: 0.24;
  transform: scale(1.04);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 40%, rgba(245, 158, 11, 0.36), transparent 32%),
    linear-gradient(90deg, rgba(6, 78, 59, 0.92), rgba(6, 95, 70, 0.72), rgba(120, 53, 15, 0.74));
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  min-height: 650px;
  margin: 0 auto;
  padding: 86px 22px 110px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: center;
}

.hero-kicker,
.section-kicker,
.page-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 7px 14px;
  border-radius: 999px;
  color: #fef08a;
  background: rgba(5, 150, 105, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 800;
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero h1 span {
  color: #86efac;
}

.hero p {
  max-width: 680px;
  margin: 0 0 28px;
  color: #dcfce7;
  font-size: 19px;
}

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

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
}

.secondary-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

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

.hero-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  color: #d1fae5;
  background: rgba(255, 255, 255, 0.12);
}

.hero-poster-card {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
}

.hero-poster-card img {
  height: 430px;
  object-fit: cover;
}

.hero-poster-info {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 16px;
  border-radius: 22px;
  background: rgba(3, 7, 18, 0.68);
  backdrop-filter: blur(14px);
}

.hero-poster-info strong {
  display: block;
  margin-bottom: 4px;
  font-size: 22px;
}

.hero-poster-info small {
  color: #bbf7d0;
}

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

.hero-dots button {
  width: 34px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
}

.hero-dots button.is-active {
  background: var(--white);
}

.section,
.page-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 22px;
}

.section.alt {
  max-width: none;
  background: var(--white);
}

.section.alt > .section-content {
  max-width: 1180px;
  margin: 0 auto;
}

.section-heading,
.page-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 34px;
}

.section-heading h2,
.page-heading h1 {
  margin: 0;
  color: var(--gray-900);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.section-heading p,
.page-heading p {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--gray-600);
}

.section-kicker,
.page-kicker {
  color: var(--green-800);
  background: var(--green-100);
  border: 0;
}

.section-more {
  padding: 12px 18px;
  color: var(--green-800);
  background: var(--green-100);
  white-space: nowrap;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, 0.07);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border 0.24s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(5, 150, 105, 0.28);
  box-shadow: var(--shadow);
}

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

.poster-link img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

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

.play-chip,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}

.play-chip {
  right: 12px;
  bottom: 12px;
  padding: 6px 12px;
  background: rgba(5, 150, 105, 0.92);
}

.rank-badge {
  left: 12px;
  top: 12px;
  padding: 6px 10px;
  background: linear-gradient(135deg, var(--amber-500), #ef4444);
  font-size: 12px;
}

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

.card-meta-line,
.detail-meta,
.list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--gray-500);
  font-size: 13px;
}

.card-meta-line span,
.detail-meta span,
.list-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--gray-100);
}

.movie-card h3 {
  margin: 10px 0 8px;
  color: var(--gray-900);
  font-size: 18px;
  line-height: 1.25;
}

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

.movie-card p {
  min-height: 70px;
  margin: 0 0 14px;
  color: var(--gray-600);
  font-size: 14px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.card-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--green-800);
  background: var(--green-50);
  font-size: 12px;
  font-weight: 800;
}

.card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  font-size: 14px;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  padding: 24px;
  border-radius: 24px;
  color: var(--white);
  background: linear-gradient(135deg, var(--green-900), var(--green-700) 55%, var(--amber-900));
  box-shadow: var(--shadow);
}

.category-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -45px;
  bottom: -50px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.category-card strong {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
}

.category-card p {
  margin: 0 0 18px;
  color: #dcfce7;
}

.category-card span {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--green-950);
  background: #fef08a;
  font-weight: 900;
}

.rank-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 28px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 54px 62px minmax(0, 1fr) 24px;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: var(--white);
  border: 1px solid rgba(17, 24, 39, 0.07);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

.rank-row:hover {
  border-color: rgba(5, 150, 105, 0.28);
  transform: translateX(4px);
}

.rank-number {
  color: var(--green-800);
  font-size: 22px;
  font-weight: 900;
}

.rank-row img {
  width: 62px;
  height: 82px;
  border-radius: 12px;
  object-fit: cover;
}

.rank-info strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gray-900);
}

.rank-info small {
  color: var(--gray-500);
}

.rank-arrow {
  color: var(--green-700);
  font-size: 28px;
}

.feature-panel {
  position: sticky;
  top: 104px;
  overflow: hidden;
  border-radius: 26px;
  color: var(--white);
  background: linear-gradient(145deg, var(--green-900), var(--amber-900));
  box-shadow: var(--shadow);
}

.feature-panel img {
  height: 300px;
  object-fit: cover;
  opacity: 0.72;
}

.feature-panel-body {
  padding: 24px;
}

.feature-panel h3 {
  margin: 0 0 10px;
  font-size: 28px;
}

.feature-panel p {
  margin: 0 0 20px;
  color: #dcfce7;
}

.page-hero {
  color: var(--white);
  background:
    radial-gradient(circle at 76% 30%, rgba(245, 158, 11, 0.26), transparent 30%),
    linear-gradient(135deg, var(--green-950), var(--green-800), var(--amber-900));
}

.page-heading {
  max-width: 1180px;
  margin: 0 auto;
  padding: 74px 22px;
  align-items: center;
}

.page-heading h1,
.page-heading p {
  color: var(--white);
}

.page-heading p {
  color: #dcfce7;
  font-size: 18px;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px 180px;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.filter-bar input,
.filter-bar select {
  min-height: 46px;
  padding: 0 16px;
}

.no-results {
  display: none;
  padding: 28px;
  border-radius: 18px;
  color: var(--gray-600);
  background: var(--white);
  text-align: center;
}

.no-results.is-visible {
  display: block;
}

.detail-hero {
  color: var(--white);
  background:
    radial-gradient(circle at 72% 24%, rgba(245, 158, 11, 0.30), transparent 30%),
    linear-gradient(135deg, var(--green-950), var(--green-800), var(--amber-900));
}

.detail-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 22px;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.detail-cover {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.32);
}

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

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: #bbf7d0;
  font-size: 14px;
}

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

.detail-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.detail-hero p {
  max-width: 780px;
  margin: 0 0 22px;
  color: #dcfce7;
  font-size: 18px;
}

.detail-meta span {
  color: #dcfce7;
  background: rgba(255, 255, 255, 0.13);
}

.detail-tags {
  margin: 18px 0 0;
}

.player-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 54px 22px 24px;
}

.video-frame {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000000;
  box-shadow: var(--shadow);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--white);
  border: 0;
  background: linear-gradient(180deg, rgba(3, 7, 18, 0.32), rgba(3, 7, 18, 0.72));
}

.player-overlay span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  color: var(--green-950);
  background: #fef08a;
  font-size: 34px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.32);
}

.player-overlay strong {
  font-size: 22px;
}

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

.detail-content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 22px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
}

.article-panel,
.side-panel {
  padding: 28px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.article-panel h2,
.side-panel h2 {
  margin: 0 0 16px;
  color: var(--green-900);
  font-size: 26px;
}

.article-panel p {
  margin: 0 0 22px;
  color: var(--gray-700);
  font-size: 17px;
}

.side-panel {
  align-self: start;
  position: sticky;
  top: 104px;
}

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

.related-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: var(--gray-100);
}

.related-item:hover {
  background: var(--green-50);
}

.related-item img {
  width: 72px;
  height: 96px;
  border-radius: 12px;
  object-fit: cover;
}

.related-item strong {
  display: block;
  margin-bottom: 4px;
}

.related-item small {
  color: var(--gray-500);
}

.search-panel {
  max-width: 850px;
  margin: 0 auto 32px;
  padding: 24px;
  border-radius: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.search-hero-form input {
  min-height: 54px;
  padding: 0 18px;
  border-radius: 18px;
}

.search-hero-form button {
  min-height: 54px;
  padding: 0 24px;
}

.search-results {
  display: grid;
  gap: 16px;
}

.search-result-card {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.search-result-card img {
  width: 120px;
  height: 160px;
  border-radius: 16px;
  object-fit: cover;
}

.search-result-card h2 {
  margin: 0 0 8px;
  color: var(--gray-900);
}

.search-result-card p {
  margin: 0 0 14px;
  color: var(--gray-600);
}

.pagination-note {
  margin-top: 22px;
  color: var(--gray-500);
  text-align: center;
}

@media (max-width: 1080px) {
  .desktop-nav,
  .top-search {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .hero-inner,
  .rank-layout,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .hero-poster-card,
  .feature-panel,
  .side-panel {
    position: static;
  }

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

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

@media (max-width: 760px) {
  .nav-wrap {
    min-height: 68px;
    padding: 0 16px;
  }

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

  .brand-text small {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    padding: 56px 16px 92px;
    gap: 28px;
  }

  .hero-poster-card img {
    height: 340px;
  }

  .section,
  .page-section {
    padding: 48px 16px;
  }

  .section-heading,
  .page-heading {
    display: block;
  }

  .section-more {
    margin-top: 18px;
  }

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

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

  .movie-card p {
    min-height: 62px;
  }

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

  .detail-hero-inner {
    grid-template-columns: 1fr;
    padding: 36px 16px;
  }

  .detail-cover {
    max-width: 260px;
  }

  .player-section,
  .detail-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .article-panel,
  .side-panel {
    padding: 20px;
  }

  .search-result-card {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .search-result-card img {
    width: 90px;
    height: 120px;
  }
}

@media (max-width: 460px) {
  .movie-grid,
  .movie-grid.compact-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .search-hero-form {
    display: grid;
  }

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

  .rank-arrow {
    display: none;
  }
}
