:root {
  --amber: #f59e0b;
  --orange: #f97316;
  --yellow: #eab308;
  --text: #1f2937;
  --muted: #64748b;
  --line: #e5e7eb;
  --bg: #fff7ed;
  --card: #ffffff;
  --dark: #111827;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: linear-gradient(180deg, #fffbeb 0%, #fff7ed 44%, #ffffff 100%);
}

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

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

main {
  min-height: 60vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: #ffffff;
  background: linear-gradient(90deg, var(--amber), var(--orange), var(--amber));
  box-shadow: 0 12px 28px rgba(249, 115, 22, 0.24);
}

.header-inner {
  width: min(1280px, calc(100% - 32px));
  height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand {
  flex: 0 0 auto;
  font-size: 22px;
}

.brand-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--amber);
  background: #ffffff;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5);
  transition: transform 0.25s ease;
}

.brand:hover .brand-icon,
.footer-brand:hover .brand-icon {
  transform: scale(1.08) rotate(6deg);
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-weight: 700;
}

.desktop-nav a {
  padding: 9px 0;
  opacity: 0.92;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  opacity: 1;
  border-color: #ffffff;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(340px, 34vw);
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.header-search input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: #ffffff;
  padding: 10px 12px;
  background: transparent;
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.82);
}

.header-search button {
  border: 0;
  border-radius: 999px;
  color: var(--orange);
  font-weight: 800;
  padding: 9px 16px;
  background: #ffffff;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-search button:hover {
  transform: translateY(-1px);
  background: #fff7ed;
}

.mobile-toggle {
  display: none;
  border: 0;
  color: #ffffff;
  font-size: 28px;
  background: transparent;
  cursor: pointer;
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(180, 83, 9, 0.95);
}

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

.mobile-panel nav,
.mobile-hot {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 12px 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 16px;
}

.mobile-panel a {
  display: block;
  padding: 9px 0;
  color: #ffffff;
  font-weight: 700;
}

.mobile-hot {
  padding-top: 0;
  font-size: 14px;
  opacity: 0.9;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: radial-gradient(circle at 25% 15%, rgba(255, 255, 255, 0.28), transparent 28%),
              linear-gradient(115deg, var(--amber), var(--orange) 52%, var(--yellow));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.55) 1.4px, transparent 1.5px);
  background-size: 34px 34px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1280px, calc(100% - 32px));
  min-height: 560px;
  margin: 0 auto;
  padding: 72px 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  align-items: center;
  gap: 48px;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-copy p {
  margin: 0 0 24px;
  max-width: 680px;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 26px 0;
}

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

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

.btn-primary {
  color: var(--orange);
  background: #ffffff;
  box-shadow: 0 16px 35px rgba(120, 53, 15, 0.22);
}

.btn-primary:hover {
  background: #fff7ed;
}

.btn-ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.hero-search {
  display: flex;
  width: min(620px, 100%);
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.hero-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #ffffff;
  font-size: 16px;
  padding: 15px 18px;
  background: transparent;
}

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

.hero-search button {
  border: 0;
  border-radius: 999px;
  color: var(--orange);
  font-weight: 900;
  padding: 0 24px;
  background: #ffffff;
  cursor: pointer;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-pills a {
  color: #ffffff;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-pills a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.28);
}

.hero-slider {
  position: relative;
  min-height: 470px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(28px) scale(0.98);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

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

.hero-card {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  gap: 22px;
  min-height: 430px;
  padding: 20px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 28px 70px rgba(120, 53, 15, 0.28);
  backdrop-filter: blur(14px);
}

.hero-poster {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
}

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

.hero-card-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.hero-card-text strong {
  display: block;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.16;
  margin-bottom: 12px;
}

.hero-card-text p {
  margin: 0 0 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.hero-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 22px;
}

.hero-card-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.18);
}

.hero-dots {
  position: absolute;
  z-index: 3;
  left: 20px;
  bottom: 14px;
  display: flex;
  gap: 9px;
}

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

.hero-dot.active {
  width: 26px;
  background: #ffffff;
}

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

.section-tight {
  padding: 36px 0;
}

.section-alt {
  background: linear-gradient(90deg, #ffedd5, #fef3c7);
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.1;
}

.section-title p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-link {
  color: #d97706;
  font-weight: 900;
}

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

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

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

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

.poster-link {
  display: block;
}

.poster-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 2 / 3;
  background: linear-gradient(135deg, #fef3c7, #fed7aa);
}

.movie-grid.featured .poster-frame {
  aspect-ratio: 16 / 10;
}

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

.movie-card:hover .movie-img,
.rank-row:hover img {
  transform: scale(1.08);
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.52);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.88);
  transition: all 0.25s ease;
}

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

.rating-pill,
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  background: var(--amber);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.rating-pill {
  right: 12px;
}

.rank-badge {
  left: 12px;
  background: #111827;
}

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

.movie-title {
  display: block;
  min-height: 48px;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 900;
  transition: color 0.2s ease;
}

.movie-card:hover .movie-title {
  color: #d97706;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
  color: var(--muted);
  font-size: 13px;
}

.movie-meta span {
  padding: 4px 9px;
  border-radius: 999px;
  background: #f8fafc;
}

.movie-line {
  min-height: 44px;
  margin: 0 0 12px;
  color: #475569;
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.tag {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 5px 9px;
  border-radius: 999px;
  color: #b45309;
  font-size: 12px;
  font-weight: 800;
  background: #ffedd5;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 46px 68px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.07);
  transition: transform 0.2s ease, background 0.2s ease;
}

.rank-row:hover {
  transform: translateX(4px);
  background: #fff7ed;
}

.rank-num {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber), var(--orange));
}

.rank-thumb {
  width: 68px;
  height: 68px;
  overflow: hidden;
  border-radius: 14px;
  background: #fef3c7;
}

.rank-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.rank-info {
  min-width: 0;
}

.rank-info strong,
.rank-info small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-info small {
  margin-top: 5px;
  color: var(--muted);
}

.rank-score {
  color: #d97706;
  font-weight: 900;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  border-radius: 28px;
  padding: 26px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.category-card::after {
  content: "▶";
  position: absolute;
  right: -10px;
  bottom: -30px;
  font-size: 120px;
  line-height: 1;
  opacity: 0.12;
}

.category-card h2,
.category-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
}

.category-card p {
  margin: 0 0 20px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.category-card span {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.18);
}

.page-hero {
  color: #ffffff;
  background: linear-gradient(115deg, var(--amber), var(--orange), var(--yellow));
}

.page-hero-inner {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 62px 0;
}

.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 58px);
}

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

.filter-panel {
  width: min(1280px, calc(100% - 32px));
  margin: 32px auto 0;
  padding: 22px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.filter-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px 180px 180px;
  gap: 14px;
}

.filter-row input,
.filter-row select,
.search-page-box input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: 0;
  padding: 13px 14px;
  color: var(--text);
  background: #ffffff;
}

.filter-row input:focus,
.filter-row select:focus,
.search-page-box input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.14);
}

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

.detail-layout {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 30px;
}

.breadcrumb {
  width: min(1280px, calc(100% - 32px));
  margin: 24px auto 0;
  color: var(--muted);
  font-weight: 700;
}

.breadcrumb a {
  color: #d97706;
}

.player-card,
.detail-card,
.side-card {
  overflow: hidden;
  border-radius: 26px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.player-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000000;
  cursor: pointer;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.58));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.player-button {
  width: 86px;
  height: 86px;
  border: 0;
  border-radius: 999px;
  color: var(--orange);
  font-size: 30px;
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.player-button:hover {
  transform: scale(1.08);
}

.player-title {
  padding: 24px 28px 28px;
}

.player-title h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 44px);
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.detail-card {
  margin-top: 24px;
  padding: 28px;
}

.detail-card h2 {
  margin: 0 0 16px;
  font-size: 24px;
}

.detail-card p {
  margin: 0 0 18px;
  color: #334155;
  font-size: 16px;
  line-height: 1.9;
}

.review-box {
  padding: 22px;
  border-left: 5px solid var(--amber);
  border-radius: 18px;
  background: linear-gradient(90deg, #fffbeb, #fff7ed);
}

.side-card {
  padding: 22px;
}

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

.info-list {
  display: grid;
  gap: 0;
  margin-bottom: 24px;
}

.info-list div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.info-list dt {
  color: var(--muted);
}

.info-list dd {
  margin: 0;
  text-align: right;
  font-weight: 900;
}

.side-recommend {
  display: grid;
  gap: 12px;
}

.side-recommend a {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: #f8fafc;
  transition: background 0.2s ease, transform 0.2s ease;
}

.side-recommend a:hover {
  transform: translateX(4px);
  background: #fff7ed;
}

.side-recommend img {
  width: 58px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
  background: #fef3c7;
}

.side-recommend strong,
.side-recommend small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.side-recommend small {
  margin-top: 4px;
  color: var(--muted);
}

.related-section {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 64px;
}

.search-page-box {
  width: min(860px, calc(100% - 32px));
  margin: 34px auto 0;
  padding: 22px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.search-page-box form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.search-page-box button {
  border: 0;
  border-radius: 14px;
  padding: 0 24px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(90deg, var(--amber), var(--orange));
  cursor: pointer;
}

.search-results {
  width: min(1280px, calc(100% - 32px));
  margin: 36px auto 64px;
}

.empty-state {
  padding: 50px 20px;
  border-radius: 24px;
  color: var(--muted);
  text-align: center;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.site-footer {
  color: #ffffff;
  background: linear-gradient(180deg, #1f2937, #111827);
}

.footer-grid {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0 34px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 36px;
}

.footer-brand .brand-icon {
  color: #ffffff;
  background: var(--amber);
}

.site-footer p {
  color: #cbd5e1;
  line-height: 1.8;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #fbbf24;
}

.site-footer a {
  display: block;
  margin: 9px 0;
  color: #cbd5e1;
  transition: color 0.2s ease;
}

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

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

.footer-bottom {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  color: #94a3b8;
  text-align: center;
}

@media (max-width: 1180px) {
  .movie-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

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

  .hero-slider {
    min-height: 470px;
  }

  .detail-layout {
    gap: 24px;
  }
}

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

  .mobile-toggle {
    display: block;
    margin-left: auto;
  }

  .hero-inner {
    padding: 54px 0;
  }

  .hero-card {
    grid-template-columns: 150px minmax(0, 1fr);
  }

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

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

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

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

  .rank-score {
    display: none;
  }
}

@media (max-width: 640px) {
  .header-inner {
    width: min(100% - 22px, 1280px);
    height: 62px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-icon {
    width: 32px;
    height: 32px;
  }

  .hero-inner {
    width: min(100% - 24px, 1280px);
    min-height: auto;
    padding: 42px 0;
  }

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

  .hero-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-poster img {
    min-height: auto;
    aspect-ratio: 16 / 10;
  }

  .hero-slider {
    min-height: 580px;
  }

  .hero-dots {
    left: 50%;
    transform: translateX(-50%);
  }

  .section,
  .filter-panel,
  .detail-layout,
  .breadcrumb,
  .related-section,
  .search-results,
  .search-page-box {
    width: min(100% - 24px, 1280px);
  }

  .section {
    padding: 42px 0;
  }

  .section-header {
    align-items: start;
    flex-direction: column;
  }

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

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

  .movie-title {
    min-height: 42px;
    font-size: 15px;
  }

  .movie-line {
    display: none;
  }

  .filter-row,
  .search-page-box form {
    grid-template-columns: 1fr;
  }

  .page-hero-inner {
    width: min(100% - 24px, 1280px);
    padding: 46px 0;
  }

  .player-title,
  .detail-card,
  .side-card {
    padding: 20px;
  }

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