:root {
  --color-orange: #f97316;
  --color-orange-dark: #ea580c;
  --color-pink: #ec4899;
  --color-rose: #f43f5e;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-line: #e5e7eb;
  --shadow-card: 0 18px 50px rgba(31, 41, 55, 0.12);
  --shadow-soft: 0 10px 26px rgba(249, 115, 22, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--color-text);
  background: linear-gradient(135deg, #fff7ed 0%, #fdf2f8 52%, #fffbeb 100%);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.6;
}

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: linear-gradient(90deg, rgba(255, 247, 237, 0.94), rgba(253, 242, 248, 0.94));
  border-bottom: 1px solid rgba(249, 115, 22, 0.14);
  box-shadow: 0 8px 24px rgba(31, 41, 55, 0.08);
  backdrop-filter: blur(18px);
}

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

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
  box-shadow: var(--shadow-soft);
}

.brand-text {
  font-size: 24px;
  background: linear-gradient(90deg, var(--color-orange), var(--color-pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
  scrollbar-width: none;
}

.desktop-nav::-webkit-scrollbar {
  display: none;
}

.nav-link {
  position: relative;
  color: #374151;
  font-weight: 650;
  padding: 22px 0;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 15px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-orange);
  transition: right 0.22s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--color-orange);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  right: 0;
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-search input,
.mobile-search input,
.search-panel input {
  border: 1px solid #fed7aa;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-text);
  outline: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.header-search input {
  width: 210px;
  padding: 10px 16px;
}

.header-search input:focus,
.mobile-search input:focus,
.search-panel input:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
}

.header-search button,
.mobile-search button,
.search-panel button {
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--color-orange), var(--color-pink));
  padding: 10px 18px;
  cursor: pointer;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}

.mobile-menu-button {
  display: none;
  border: 0;
  background: transparent;
  color: #374151;
  font-size: 30px;
  cursor: pointer;
}

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

.mobile-nav nav {
  display: grid;
  gap: 8px;
  padding: 12px 0;
}

.mobile-nav .nav-link {
  display: block;
  padding: 10px 0;
}

.mobile-search {
  display: flex;
  gap: 8px;
}

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

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

.hero-carousel {
  position: relative;
  height: 520px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-card);
  background: #111827;
}

.hero-stage,
.hero-slide,
.hero-slide img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transform: scale(1.04);
  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-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.54) 48%, rgba(0, 0, 0, 0.08) 100%);
}

.hero-content {
  position: absolute;
  left: clamp(28px, 6vw, 72px);
  top: 50%;
  transform: translateY(-50%);
  max-width: 680px;
  color: #ffffff;
}

.hero-kicker,
.page-hero span:first-child {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  color: #ffffff;
  background: var(--color-orange);
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 750;
  box-shadow: var(--shadow-soft);
}

.hero-content h1 {
  margin: 18px 0 14px;
  font-size: clamp(36px, 6vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-content p {
  max-width: 620px;
  margin: 0 0 22px;
  color: #e5e7eb;
  font-size: 18px;
}

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

.hero-tags span {
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.primary-button,
.outline-button,
.white-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(90deg, var(--color-orange), var(--color-pink));
  padding: 13px 24px;
  box-shadow: var(--shadow-soft);
}

.primary-button:hover,
.white-button:hover,
.outline-button:hover {
  transform: translateY(-2px) scale(1.02);
}

.primary-button.slim {
  padding: 10px 18px;
  font-size: 14px;
}

.outline-button {
  border: 1px solid #fed7aa;
  color: var(--color-orange);
  background: #ffffff;
  padding: 12px 18px;
}

.white-button {
  color: var(--color-orange);
  background: #ffffff;
  padding: 13px 24px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font-size: 38px;
  line-height: 1;
  transform: translateY(-50%);
}

.hero-prev {
  left: 18px;
}

.hero-next {
  right: 18px;
}

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

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

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

.content-section,
.category-overview,
.feature-panel,
.split-section,
.category-summary-grid,
.ranking-list-page {
  margin-top: 64px;
}

.no-margin {
  margin-top: 0;
}

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

.section-heading h2 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.15;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--color-muted);
}

.section-heading > a {
  color: var(--color-orange);
  font-weight: 800;
  white-space: nowrap;
}

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

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

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

.movie-card {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  color: var(--color-text);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(31, 41, 55, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.movie-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111827;
}

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

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

.category-badge,
.duration-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  padding: 7px 10px;
}

.category-badge {
  left: 10px;
  top: 10px;
  background: var(--color-orange);
}

.duration-badge {
  right: 10px;
  bottom: 10px;
  background: rgba(0, 0, 0, 0.72);
}

.play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.35);
  font-size: 42px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.movie-card:hover .play-badge {
  opacity: 1;
}

.movie-info {
  display: block;
  padding: 16px;
}

.movie-info strong {
  display: -webkit-box;
  min-height: 48px;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-info em {
  display: -webkit-box;
  min-height: 44px;
  margin-top: 8px;
  overflow: hidden;
  color: var(--color-muted);
  font-size: 14px;
  font-style: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  color: #6b7280;
  font-size: 12px;
}

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

.category-card,
.category-summary-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  color: #ffffff;
  padding: 28px;
  min-height: 170px;
  box-shadow: var(--shadow-card);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-card:hover,
.category-summary-card:hover {
  transform: translateY(-4px) scale(1.01);
}

.category-card strong {
  display: block;
  margin-top: 16px;
  font-size: 25px;
}

.category-card em {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.88);
  font-style: normal;
}

.category-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 22px;
  font-weight: 800;
}

.cat-blue,
.feature-blue {
  background: linear-gradient(135deg, #60a5fa, #06b6d4);
}

.cat-purple {
  background: linear-gradient(135deg, #a78bfa, #ec4899);
}

.cat-orange,
.feature-orange {
  background: linear-gradient(135deg, #f97316, #ec4899);
}

.cat-pink,
.feature-pink {
  background: linear-gradient(135deg, #f9a8d4, #fb7185);
}

.cat-cyan {
  background: linear-gradient(135deg, #22d3ee, #2563eb);
}

.cat-rose {
  background: linear-gradient(135deg, #fb7185, #ef4444);
}

.cat-green {
  background: linear-gradient(135deg, #34d399, #14b8a6);
}

.cat-amber {
  background: linear-gradient(135deg, #fbbf24, #f97316);
}

.feature-panel {
  border-radius: 28px;
  padding: 34px;
  box-shadow: var(--shadow-card);
}

.feature-panel .section-heading h2,
.feature-panel .section-heading p,
.feature-panel .section-heading a,
.center-panel h2,
.center-panel p {
  color: #ffffff;
}

.feature-panel .movie-card {
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.14);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 32px;
  align-items: start;
}

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

.movie-card-horizontal {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 0;
}

.horizontal-thumb {
  height: 100%;
  min-height: 128px;
  aspect-ratio: auto;
}

.rank-panel,
.related-panel,
.detail-card,
.movie-main,
.category-summary-card {
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-card);
}

.rank-panel,
.related-panel {
  padding: 26px;
}

.rank-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.rank-heading span {
  font-size: 30px;
}

.rank-heading h2,
.related-panel h2 {
  margin: 0;
  font-size: 25px;
}

.rank-list {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.rank-row {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
  padding: 12px;
  transition: background 0.2s ease;
}

.rank-row:hover {
  background: #fff7ed;
}

.rank-num {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  font-weight: 800;
}

.rank-row:nth-child(1) .rank-num {
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #f97316);
}

.rank-row:nth-child(2) .rank-num {
  color: #ffffff;
  background: linear-gradient(135deg, #d1d5db, #6b7280);
}

.rank-row:nth-child(3) .rank-num {
  color: #ffffff;
  background: linear-gradient(135deg, #fb923c, #ea580c);
}

.rank-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 650;
}

.rank-views {
  color: var(--color-muted);
  font-size: 13px;
}

.center-panel {
  text-align: center;
}

.large-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: 34px;
}

.center-panel h2 {
  margin: 18px 0 10px;
  font-size: clamp(28px, 4vw, 40px);
}

.center-panel p {
  margin: 0 0 22px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  color: #ffffff;
  background: radial-gradient(circle at 10% 20%, rgba(255, 255, 255, 0.2), transparent 22%), linear-gradient(135deg, #f97316 0%, #ec4899 58%, #7c3aed 100%);
  box-shadow: var(--shadow-card);
}

.small-hero {
  padding: clamp(34px, 6vw, 64px);
}

.page-hero h1 {
  margin: 18px 0 12px;
  max-width: 820px;
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.1;
}

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

.category-summary-card {
  color: var(--color-text);
  min-height: 260px;
}

.category-summary-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.category-summary-head > span {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
  font-weight: 800;
}

.category-summary-card h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.category-summary-card p {
  margin: 0;
  color: var(--color-muted);
}

.category-stats {
  margin: 18px 0;
  color: var(--color-orange);
  font-weight: 800;
}

.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 72px;
  margin-bottom: 18px;
}

.mini-links a,
.tag-list a {
  border-radius: 999px;
  color: var(--color-orange);
  background: #ffedd5;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
}

.category-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
}

.sticky-panel {
  position: sticky;
  top: 96px;
}

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

.ranking-card {
  display: grid;
  grid-template-columns: 54px 150px 1fr;
  align-items: center;
  gap: 20px;
  border-radius: 22px;
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 8px 24px rgba(31, 41, 55, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.ranking-index {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
  font-weight: 900;
}

.ranking-card img {
  width: 150px;
  height: 92px;
  border-radius: 16px;
  object-fit: cover;
}

.ranking-info {
  display: grid;
  gap: 6px;
}

.ranking-info strong {
  font-size: 20px;
}

.ranking-info em {
  display: block;
  color: var(--color-muted);
  font-style: normal;
}

.search-panel {
  display: flex;
  gap: 12px;
  max-width: 720px;
  margin-top: 24px;
}

.search-panel input {
  flex: 1;
  padding: 14px 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--color-muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--color-orange);
  font-weight: 700;
}

.movie-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 0.85fr);
  gap: 32px;
  align-items: start;
}

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000000;
  box-shadow: var(--shadow-card);
}

.movie-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.video-play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 86px;
  height: 86px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--color-orange), var(--color-pink));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  cursor: pointer;
  font-size: 38px;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.video-play-button:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.video-play-button.is-hidden {
  opacity: 0;
  pointer-events: none;
}

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

.detail-title-row h1 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
}

.detail-meta,
.action-row,
.info-grid,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-meta span {
  color: var(--color-muted);
  font-size: 14px;
}

.action-row {
  margin: 22px 0;
  padding: 18px 0;
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}

.action-row button {
  border: 0;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151;
  padding: 11px 18px;
  cursor: pointer;
  font-weight: 750;
}

.action-row button:first-child {
  color: #ffffff;
  background: linear-gradient(90deg, var(--color-orange), var(--color-pink));
}

.detail-section {
  margin-top: 24px;
}

.detail-section h2 {
  margin: 0 0 12px;
  font-size: 21px;
}

.detail-section p {
  margin: 0 0 12px;
  color: #374151;
}

.gradient-box {
  border-radius: 20px;
  background: linear-gradient(90deg, #fff7ed, #fdf2f8);
  padding: 22px;
}

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

.info-grid span {
  border-radius: 16px;
  background: #f9fafb;
  padding: 14px;
  color: #374151;
}

.info-grid strong {
  display: block;
  margin-bottom: 4px;
  color: var(--color-muted);
  font-size: 12px;
}

.related-panel {
  position: sticky;
  top: 96px;
}

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

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

.footer-grid p {
  margin: 14px 0 0;
  color: #d1d5db;
}

.footer-grid h3 {
  margin: 0 0 16px;
  color: #fb923c;
}

.footer-grid a:not(.footer-brand) {
  display: block;
  margin: 9px 0;
  color: #d1d5db;
  transition: color 0.2s ease;
}

.footer-grid a:hover {
  color: #fb923c;
}

.footer-bottom {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0 30px;
  color: #9ca3af;
  font-size: 14px;
}

@media (max-width: 1120px) {
  .header-search {
    display: none;
  }

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

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

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

  .sticky-panel,
  .related-panel {
    position: static;
  }
}

@media (max-width: 820px) {
  .desktop-nav {
    display: none;
  }

  .mobile-menu-button {
    display: inline-flex;
    margin-left: auto;
  }

  .site-header-inner {
    height: 66px;
  }

  .brand-text {
    font-size: 20px;
  }

  .hero-carousel {
    height: 460px;
    border-radius: 22px;
  }

  .hero-content {
    left: 24px;
    right: 24px;
  }

  .hero-arrow {
    display: none;
  }

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

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

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

  .ranking-card {
    grid-template-columns: 44px 105px 1fr;
    gap: 12px;
  }

  .ranking-card img {
    width: 105px;
    height: 70px;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 24px, 1280px);
    padding-top: 20px;
  }

  .hero-carousel {
    height: 420px;
  }

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

  .hero-content p,
  .page-hero p {
    font-size: 15px;
  }

  .movie-grid,
  .category-grid,
  .category-summary-grid,
  .category-movie-grid,
  .six-grid {
    grid-template-columns: 1fr;
  }

  .movie-card-horizontal {
    grid-template-columns: 128px 1fr;
  }

  .movie-info strong {
    min-height: auto;
  }

  .movie-info em {
    min-height: auto;
  }

  .feature-panel,
  .detail-card,
  .rank-panel,
  .related-panel,
  .small-hero {
    padding: 22px;
    border-radius: 22px;
  }

  .search-panel,
  .mobile-search {
    flex-direction: column;
  }

  .ranking-card {
    grid-template-columns: 42px 1fr;
  }

  .ranking-card img {
    display: none;
  }

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