:root {
  --amber-50: #fffbeb;
  --amber-100: #fef3c7;
  --amber-200: #fde68a;
  --amber-300: #fcd34d;
  --amber-500: #f59e0b;
  --amber-600: #d97706;
  --amber-700: #b45309;
  --amber-800: #92400e;
  --amber-900: #78350f;
  --orange-100: #ffedd5;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-sm: 0 8px 20px rgba(120, 53, 15, 0.08);
  --shadow-md: 0 14px 34px rgba(120, 53, 15, 0.14);
  --shadow-lg: 0 28px 70px rgba(17, 24, 39, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 235, 0.94);
  border-bottom: 1px solid var(--amber-200);
  box-shadow: 0 10px 28px rgba(146, 64, 14, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--amber-900);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--amber-700), var(--amber-500));
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.26);
}

.brand-text {
  font-size: 1.28rem;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: 6px;
}

.nav-link {
  color: var(--amber-800);
  font-weight: 700;
  transition: color 0.2s ease, transform 0.2s ease;
}

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

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

.header-search {
  display: flex;
  align-items: center;
  margin-left: auto;
  border: 1px solid var(--amber-300);
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.header-search input,
.mobile-search input,
.quick-search input,
.card-filter-input {
  width: 250px;
  border: 0;
  outline: none;
  padding: 12px 14px;
  background: transparent;
  color: var(--gray-800);
}

.header-search button,
.mobile-search button,
.quick-search button {
  border: 0;
  color: var(--white);
  background: var(--amber-600);
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 800;
  transition: background 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.quick-search button:hover {
  background: var(--amber-700);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--amber-100);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--amber-900);
}

.mobile-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 16px;
}

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

.mobile-search {
  display: flex;
  overflow: hidden;
  border: 1px solid var(--amber-300);
  border-radius: 14px;
  background: var(--white);
}

.mobile-search input {
  width: 100%;
  flex: 1;
}

.mobile-links,
.mobile-category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.mobile-category-link,
.mobile-links .nav-link {
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--amber-100);
  color: var(--amber-900);
  font-weight: 700;
}

.hero-slider {
  position: relative;
  height: min(720px, 72vh);
  min-height: 520px;
  overflow: hidden;
  background: var(--gray-900);
}

.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-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.66) 42%, rgba(0, 0, 0, 0.14) 100%);
}

.hero-content {
  position: absolute;
  left: max(24px, calc((100% - 1180px) / 2));
  top: 50%;
  width: min(650px, calc(100% - 48px));
  transform: translateY(-50%);
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 16px;
  color: var(--amber-300);
  font-size: 0.92rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--amber-700);
}

.hero-content h1 {
  margin: 0 0 20px;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-content p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.1rem;
  line-height: 1.75;
}

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

.hero-tags {
  margin-bottom: 30px;
}

.hero-tags span,
.detail-tags span,
.tag-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
}

.hero-tags span {
  padding: 8px 12px;
  color: var(--white);
  background: rgba(245, 158, 11, 0.82);
  backdrop-filter: blur(8px);
}

.detail-tags span,
.tag-row span {
  padding: 6px 10px;
  color: var(--amber-800);
  background: var(--amber-100);
}

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

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 14px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: var(--white);
  background: var(--amber-600);
  box-shadow: 0 16px 30px rgba(217, 119, 6, 0.32);
}

.primary-button:hover {
  background: var(--amber-700);
  transform: translateY(-2px) scale(1.02);
}

.ghost-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.ghost-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.24);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.48);
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(0, 0, 0, 0.72);
  transform: translateY(-50%) scale(1.08);
}

.hero-prev {
  left: 22px;
}

.hero-next {
  right: 22px;
}

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

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

.hero-dot.is-active {
  width: 34px;
  background: var(--amber-500);
}

.quick-panel {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 32px));
  margin: -54px auto 0;
}

.quick-panel-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(253, 230, 138, 0.9);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(16px);
}

.quick-panel h2,
.page-hero h1,
.content-section h2,
.detail-info h1 {
  margin: 0;
  letter-spacing: -0.03em;
}

.quick-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.quick-panel p,
.page-hero p,
.detail-one-line {
  color: var(--gray-600);
  line-height: 1.75;
}

.quick-search {
  align-self: start;
  display: flex;
  overflow: hidden;
  border: 1px solid var(--amber-300);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.quick-search input {
  width: 100%;
  flex: 1;
}

.category-pills {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--amber-900);
  background: var(--amber-100);
  font-weight: 800;
  transition: background 0.2s ease, transform 0.2s ease;
}

.category-pill:hover,
.category-pill.active {
  color: var(--white);
  background: var(--amber-600);
  transform: translateY(-1px);
}

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

.section-heading,
.filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.section-heading h2,
.filter-heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.section-heading a {
  color: var(--amber-700);
  font-weight: 900;
}

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

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

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

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

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

.movie-card a {
  display: block;
  height: 100%;
}

.poster-wrap {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: var(--gray-200);
}

.movie-card-large .poster-wrap {
  height: 360px;
}

.movie-card-rail {
  width: 250px;
  flex: 0 0 250px;
}

.movie-card-rail .poster-wrap {
  height: 300px;
}

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

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

.score-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--white);
  font-weight: 900;
}

.score-badge {
  right: 12px;
  background: var(--amber-600);
}

.rank-badge {
  left: 12px;
  background: rgba(17, 24, 39, 0.82);
}

.play-hover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(0, 0, 0, 0.02);
  font-size: 3.2rem;
  opacity: 0;
  transition: opacity 0.24s ease, background 0.24s ease;
}

.movie-card:hover .play-hover {
  opacity: 1;
  background: rgba(0, 0, 0, 0.34);
}

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

.movie-card-body h2 {
  display: -webkit-box;
  min-height: 48px;
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--gray-900);
  font-size: 1.05rem;
  line-height: 1.38;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card:hover h2 {
  color: var(--amber-700);
}

.movie-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--gray-600);
  font-size: 0.9rem;
}

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

.tag-row span {
  font-size: 0.76rem;
}

.warm-block {
  width: min(1180px, calc(100% - 32px));
  margin-top: 54px;
  padding: 32px;
  border-radius: 28px;
  background: linear-gradient(120deg, var(--amber-100), var(--orange-100));
  box-shadow: var(--shadow-md);
}

.category-rail-section {
  padding-top: 48px;
}

.card-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 2px 2px 18px;
  scroll-snap-type: x proximity;
}

.card-rail .movie-card {
  scroll-snap-align: start;
}

.ranking-section,
.ranking-feature {
  padding-top: 56px;
}

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

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

.compact-card {
  display: grid;
  grid-template-columns: auto 62px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 10px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.compact-card img {
  width: 62px;
  height: 62px;
  border-radius: 12px;
  object-fit: cover;
}

.compact-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gray-900);
}

.compact-card em {
  color: var(--gray-500);
  font-size: 0.86rem;
  font-style: normal;
}

.ranking-index {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: var(--white);
  background: var(--amber-600);
  font-weight: 900;
}

.page-hero {
  color: var(--white);
  background: radial-gradient(circle at 18% 18%, rgba(245, 158, 11, 0.32), transparent 34%), linear-gradient(135deg, var(--gray-900), var(--amber-900));
}

.compact-hero {
  padding: 82px max(24px, calc((100% - 1180px) / 2));
}

.compact-hero > div {
  width: min(760px, 100%);
}

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

.page-hero p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
}

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

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

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

.category-card > a {
  position: relative;
  display: block;
  min-height: 260px;
  overflow: hidden;
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.36s ease;
}

.category-card:hover img {
  transform: scale(1.07);
}

.category-card-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.76));
}

.category-card > a > div {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  color: var(--white);
}

.category-card h2 {
  margin: 0 0 10px;
  font-size: 1.6rem;
}

.category-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.65;
}

.category-samples {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px;
}

.category-samples a {
  max-width: 100%;
  padding: 7px 10px;
  overflow: hidden;
  border-radius: 999px;
  color: var(--amber-900);
  background: var(--amber-100);
  font-size: 0.82rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-panel {
  padding-top: 36px;
}

.filter-heading {
  padding: 22px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.card-filter-input {
  width: min(420px, 100%);
  border: 1px solid var(--amber-300);
  border-radius: 14px;
  background: var(--amber-50);
}

.empty-state {
  margin: 30px 0 0;
  padding: 36px;
  border-radius: 22px;
  color: var(--gray-600);
  background: var(--white);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.detail-main {
  background: linear-gradient(180deg, var(--gray-900) 0, var(--gray-800) 520px, var(--amber-50) 521px, var(--white) 100%);
}

.detail-top {
  color: var(--white);
  padding: 46px 0 34px;
}

.detail-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

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

.detail-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 36px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.detail-poster img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

.detail-info h1 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.08;
}

.detail-one-line {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.detail-meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 20px;
}

.detail-meta-grid span {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(245, 158, 11, 0.26);
  font-weight: 900;
}

.player-section {
  padding-top: 36px;
}

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

.movie-player {
  width: 100%;
  height: 100%;
  background: #000;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 14px;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.64));
  cursor: pointer;
}

.play-overlay[hidden] {
  display: none;
}

.play-ring {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: var(--amber-600);
  box-shadow: 0 18px 36px rgba(217, 119, 6, 0.38);
  font-size: 2.3rem;
  text-indent: 6px;
  transition: transform 0.22s ease, background 0.22s ease;
}

.play-overlay:hover .play-ring {
  background: var(--amber-700);
  transform: scale(1.08);
}

.play-overlay strong {
  font-size: 1.1rem;
}

.player-notice {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  margin: 0;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(17, 24, 39, 0.88);
}

.detail-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.detail-copy article {
  padding: 26px;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.detail-copy h2 {
  margin-bottom: 14px;
  font-size: 1.55rem;
}

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

.site-footer {
  margin-top: 70px;
  color: var(--amber-100);
  background: linear-gradient(180deg, var(--amber-900), #4a2507);
}

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

.footer-brand p {
  max-width: 520px;
  color: var(--amber-200);
  line-height: 1.75;
}

.footer-logo .brand-mark {
  background: var(--amber-600);
}

.footer-logo .brand-text,
.footer-column h2 {
  color: var(--amber-100);
}

.footer-column h2 {
  margin: 0 0 16px;
  font-size: 1.05rem;
}

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

.footer-column a {
  color: var(--amber-200);
}

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

.footer-bottom {
  padding: 18px 16px;
  border-top: 1px solid rgba(253, 230, 138, 0.22);
  color: var(--amber-200);
  text-align: center;
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--amber-600);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  font-weight: 900;
}

.back-top.is-visible {
  display: block;
}

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

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

  .quick-panel-inner,
  .detail-copy,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .large-grid,
  .category-overview-grid,
  .ranking-list-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-layout {
    grid-template-columns: 220px 1fr;
  }

  .detail-poster img {
    height: 330px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    width: min(100% - 22px, 1180px);
  }

  .brand-text {
    font-size: 1.08rem;
  }

  .hero-slider {
    height: 660px;
    min-height: 620px;
  }

  .hero-content {
    top: 48%;
    left: 20px;
    width: calc(100% - 40px);
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-arrow {
    display: none;
  }

  .quick-panel {
    margin-top: -34px;
  }

  .quick-panel-inner {
    padding: 22px;
  }

  .quick-search,
  .filter-heading,
  .section-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .content-section,
  .warm-block {
    width: min(100% - 22px, 1180px);
  }

  .warm-block {
    padding: 22px;
  }

  .movie-grid,
  .large-grid,
  .hot-grid,
  .category-overview-grid,
  .ranking-list,
  .ranking-list-wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .poster-wrap,
  .movie-card-large .poster-wrap {
    height: 230px;
  }

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

  .movie-card-body h2 {
    min-height: 43px;
    font-size: 0.96rem;
  }

  .movie-card-body p {
    display: none;
  }

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

  .detail-poster {
    width: 210px;
  }

  .detail-poster img {
    height: 300px;
  }

  .player-card {
    border-radius: 18px;
  }

  .compact-card {
    grid-template-columns: auto 52px 1fr;
  }

  .compact-card img {
    width: 52px;
    height: 52px;
  }
}

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

  .ranking-list,
  .ranking-list-wide {
    grid-template-columns: 1fr;
  }

  .poster-wrap,
  .movie-card-large .poster-wrap {
    height: 330px;
  }
}
