:root {
  --brand-orange: #f97316;
  --brand-red: #ef4444;
  --brand-pink: #ec4899;
  --brand-blue: #0ea5e9;
  --text-main: #111827;
  --text-muted: #6b7280;
  --page-bg: #f9fafb;
  --card-bg: #ffffff;
  --line: #e5e7eb;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.10);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text-main);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img {
  display: block;
  width: 100%;
  height: auto;
  background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.narrow-container {
  width: min(920px, calc(100% - 32px));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(229, 231, 235, 0.92);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

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

.site-logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
}

.site-logo-icon {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-red));
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.28);
}

.site-logo-text {
  font-size: 1.25rem;
  line-height: 1;
  background: linear-gradient(135deg, #ea580c, #dc2626);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

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

.nav-link {
  position: relative;
  color: #374151;
  font-weight: 700;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  transform: scaleX(0);
  transform-origin: center;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-orange), var(--brand-red));
  transition: transform 0.25s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ea580c;
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

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

.header-search input,
.mobile-search input,
.search-page-form input,
.filter-bar input,
.filter-bar select {
  min-height: 42px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #ffffff;
  color: var(--text-main);
  outline: none;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.header-search input {
  width: 220px;
  padding: 0 16px;
}

.header-search input:focus,
.mobile-search input:focus,
.search-page-form input:focus,
.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.16);
}

.header-search button,
.mobile-search button,
.search-page-form button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-red));
  box-shadow: 0 10px 22px rgba(239, 68, 68, 0.25);
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: #f3f4f6;
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: #111827;
}

.mobile-panel {
  display: none;
  padding: 14px 16px 18px;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

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

.mobile-search {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

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

.mobile-nav-link,
.mobile-category-link {
  display: block;
  padding: 10px 4px;
  color: #374151;
  font-weight: 700;
}

.hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316 0%, #ef4444 48%, #ec4899 100%);
}

.hero-background-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(14px);
  opacity: 0.28;
  background: #ffffff;
}

.hero-orb-one {
  width: 340px;
  height: 340px;
  left: -110px;
  top: 20px;
}

.hero-orb-two {
  width: 260px;
  height: 260px;
  right: 7%;
  bottom: -70px;
}

.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 70px 0 58px;
}

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

.hero-slide {
  display: none;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.7fr);
  gap: 52px;
  align-items: center;
}

.hero-slide.is-active {
  display: grid;
}

.hero-copy h1 {
  max-width: 820px;
  margin: 12px 0 12px;
  font-size: clamp(2.1rem, 5vw, 4.7rem);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.hero-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  font-weight: 900;
}

.hero-copy p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.90);
  font-size: 1.1rem;
}

.hero-eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff7ed;
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-kicker {
  color: #ea580c;
}

.hero-tags,
.movie-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags {
  margin: 22px 0 28px;
}

.hero-tags span,
.movie-card-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-tags span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.20);
}

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

.primary-button,
.ghost-button,
.section-link,
.rank-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-button {
  min-height: 46px;
  padding: 0 24px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-red));
  box-shadow: 0 16px 28px rgba(239, 68, 68, 0.28);
}

.primary-button.light {
  color: #ea580c;
  background: #ffffff;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.18);
}

.ghost-button {
  min-height: 46px;
  padding: 0 22px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.13);
}

.primary-button:hover,
.ghost-button:hover,
.section-link:hover {
  transform: translateY(-2px);
}

.hero-poster {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 28px;
  box-shadow: 0 30px 70px rgba(69, 10, 10, 0.38);
  transform: rotate(1deg);
}

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

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.76));
}

.hero-poster strong {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  font-size: 1.35rem;
}

.hero-dots {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.hero-dot {
  width: 38px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
}

.hero-dot.is-active {
  background: #ffffff;
}

.hero-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 30px;
}

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

.section-white {
  background: #ffffff;
}

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

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

.compact-heading {
  margin-bottom: 20px;
}

.section-heading h2 {
  margin: 6px 0 0;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.15;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.section-link {
  min-height: 40px;
  padding: 0 15px;
  color: #ea580c;
  background: #fff7ed;
}

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

.category-tile {
  min-height: 190px;
  padding: 24px;
  overflow: hidden;
  color: #ffffff;
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
}

.category-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.22);
  margin-bottom: 16px;
}

.category-tile strong,
.category-tile em,
.category-tile p {
  display: block;
}

.category-tile strong {
  font-size: 1.25rem;
  font-weight: 950;
}

.category-tile em {
  margin: 4px 0 10px;
  font-style: normal;
  opacity: 0.88;
}

.category-tile p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
}

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

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

.cat-blue {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
}

.cat-purple {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.cat-indigo {
  background: linear-gradient(135deg, #6366f1, #312e81);
}

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

.cat-green {
  background: linear-gradient(135deg, #22c55e, #15803d);
}

.cat-cyan {
  background: linear-gradient(135deg, #06b6d4, #0f766e);
}

.movie-grid,
.movie-list-grid {
  display: grid;
  gap: 22px;
}

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

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

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

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

.movie-card {
  display: block;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid rgba(229, 231, 235, 0.86);
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(249, 115, 22, 0.32);
  box-shadow: var(--shadow-card);
}

.movie-cover {
  position: relative;
  overflow: hidden;
  background: #111827;
}

.movie-cover img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.play-hover {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.92);
  transform: translate(-50%, -50%) scale(0.72);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

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

.rank-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  min-width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #ffffff;
  font-weight: 950;
  background: rgba(17, 24, 39, 0.78);
}

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

.movie-card-body h3 {
  margin: 0 0 8px;
  font-size: 1.03rem;
  line-height: 1.35;
  font-weight: 950;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.movie-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 12px;
  color: #6b7280;
  font-size: 0.82rem;
}

.movie-card-meta span {
  padding: 2px 8px;
  border-radius: 999px;
  background: #f3f4f6;
}

.movie-card-tags span {
  color: #ea580c;
  background: #fff7ed;
}

.movie-card-list {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
}

.movie-card-list .movie-cover img {
  height: 100%;
  aspect-ratio: auto;
}

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

.ranking-panel,
.detail-card,
.search-panel,
.aside-poster-card {
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.88);
  border-radius: 22px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.ranking-panel {
  overflow: hidden;
}

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

.ranking-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-red));
}

.ranking-panel-head span {
  font-size: 1.2rem;
  font-weight: 950;
}

.ranking-panel-head a {
  font-weight: 800;
  opacity: 0.92;
}

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

.ranking-list.compact {
  padding: 14px;
}

.rank-row {
  display: grid;
  grid-template-columns: 42px 56px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: #ffffff;
  transition: background 0.25s ease, transform 0.25s ease;
}

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

.rank-number {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 12px;
  font-weight: 950;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-red));
}

.rank-row img {
  width: 56px;
  height: 74px;
  border-radius: 10px;
  object-fit: cover;
}

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

.rank-info strong,
.rank-info em {
  display: block;
}

.rank-info strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
}

.rank-info em {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-style: normal;
}

.rank-action {
  padding: 6px 10px;
  color: #ea580c;
  background: #fff7ed;
  font-size: 0.82rem;
}

.cta-section,
.page-hero {
  color: #ffffff;
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-red), var(--brand-pink));
}

.cta-inner,
.page-hero .container {
  text-align: center;
}

.cta-inner {
  padding: 64px 0;
}

.cta-inner h2,
.page-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  font-weight: 950;
}

.cta-inner p,
.page-hero p {
  max-width: 760px;
  margin: 0 auto 26px;
  color: rgba(255, 255, 255, 0.92);
}

.small-hero .container,
.ranking-hero .container {
  padding: 58px 0;
}

.category-preview + .category-preview {
  margin-top: 54px;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 180px;
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  padding: 0 16px;
}

.search-panel {
  padding: 24px;
}

.search-page-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 12px;
  margin-bottom: 14px;
}

.search-page-form input {
  width: 100%;
  padding: 0 18px;
}

.search-meta {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-weight: 800;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #111827;
}

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.28;
}

.detail-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(12px) saturate(1.25);
  transform: scale(1.06);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.84), rgba(17, 24, 39, 0.88));
}

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

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

.breadcrumb a:hover {
  color: #ffffff;
}

.detail-title-block h1 {
  max-width: 880px;
  margin: 10px 0 12px;
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 1.06;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.detail-title-block p {
  max-width: 840px;
  margin: 0;
  color: rgba(255, 255, 255, 0.90);
  font-size: 1.12rem;
}

.detail-section {
  padding-top: 34px;
}

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

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #000000;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.25);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.52));
}

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

.player-overlay span {
  width: 84px;
  height: 84px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.94);
  box-shadow: 0 20px 42px rgba(249, 115, 22, 0.36);
  font-size: 2rem;
}

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

.detail-card h2 {
  margin: 0 0 12px;
  font-size: 1.45rem;
  font-weight: 950;
}

.detail-card p {
  margin: 0;
  color: #374151;
  font-size: 1.02rem;
}

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

.movie-info-list div {
  padding: 12px;
  border-radius: 14px;
  background: #f9fafb;
}

.movie-info-list dt {
  margin: 0 0 4px;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.movie-info-list dd {
  margin: 0;
  font-weight: 850;
}

.detail-aside {
  display: grid;
  gap: 22px;
}

.aside-poster-card {
  padding: 18px;
}

.aside-poster-card img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
}

.aside-poster-card h2 {
  margin: 16px 0 6px;
  font-size: 1.3rem;
  font-weight: 950;
}

.aside-poster-card p {
  margin: 0 0 16px;
  color: var(--text-muted);
}

.site-footer {
  color: #d1d5db;
  background: #111827;
}

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

.footer-brand p,
.footer-column p,
.footer-column a {
  color: #9ca3af;
}

.footer-logo {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.footer-column h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 950;
}

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

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

.footer-bottom {
  padding: 18px 16px;
  color: #9ca3af;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

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

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

  .hero-slide,
  .two-column-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .hero-poster {
    max-width: 420px;
  }

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

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

  .site-footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .site-header-inner {
    height: 62px;
  }

  .site-logo-text {
    font-size: 1.08rem;
  }

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

  .hero-carousel {
    min-height: 0;
  }

  .hero-slide.is-active {
    display: block;
  }

  .hero-poster {
    margin-top: 28px;
    transform: none;
  }

  .hero-featured-grid,
  .category-grid,
  .movie-grid,
  .movie-grid.three-columns,
  .movie-grid.four-columns,
  .movie-list-grid,
  .filter-bar,
  .search-page-form,
  .movie-info-list,
  .site-footer-inner {
    grid-template-columns: 1fr;
  }

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

  .section-heading {
    display: block;
  }

  .section-link {
    margin-top: 14px;
  }

  .movie-card-list {
    grid-template-columns: 120px minmax(0, 1fr);
  }

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

  .rank-action {
    display: none;
  }

  .player-overlay span {
    width: 66px;
    height: 66px;
    font-size: 1.55rem;
  }
}
