:root {
  --stellar-dark: #0a0e27;
  --stellar-deep: #141b3d;
  --stellar-mid: #1e2847;
  --stellar-light: #2a3857;
  --stellar-glow: #4a90e2;
  --stellar-glow-soft: rgba(74, 144, 226, 0.22);
  --text-main: #ffffff;
  --text-muted: #c9d3e8;
  --text-soft: #9da8c4;
  --border: rgba(255, 255, 255, 0.13);
  --shadow: 0 0 20px rgba(74, 144, 226, 0.3);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text-main);
  background: var(--stellar-dark);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 10%, rgba(74, 144, 226, 0.22), transparent 32%),
    radial-gradient(circle at 86% 8%, rgba(126, 87, 194, 0.22), transparent 30%),
    linear-gradient(180deg, var(--stellar-dark), #080b1d 58%, var(--stellar-deep));
  z-index: -2;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 14, 39, 0.94);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.nav-shell {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.site-logo {
  font-size: 21px;
  white-space: nowrap;
}

.logo-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--stellar-glow);
  color: #fff;
  box-shadow: var(--shadow);
  font-size: 13px;
}

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

.nav-link {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}

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

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

.header-search input,
.mobile-search input,
.large-search input,
.listing-controls input,
.listing-controls select {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  background: rgba(30, 40, 71, 0.88);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input {
  width: 220px;
  padding: 10px 14px;
}

.header-search input:focus,
.mobile-search input:focus,
.large-search input:focus,
.listing-controls input:focus,
.listing-controls select:focus {
  border-color: var(--stellar-glow);
  box-shadow: var(--shadow);
}

.header-search button,
.mobile-search button,
.large-search button {
  border: 0;
  border-radius: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--stellar-glow);
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-search button:hover,
.mobile-search button:hover,
.large-search button:hover,
.btn:hover {
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--stellar-mid);
}

.mobile-panel {
  padding: 16px;
  background: rgba(10, 14, 39, 0.98);
  border-top: 1px solid var(--border);
}

.mobile-panel nav {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.mobile-panel .nav-link {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

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

.hero {
  position: relative;
  min-height: 660px;
  height: calc(100vh - 68px);
  overflow: hidden;
  background: #050815;
}

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

.hero-slide {
  opacity: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  transition: opacity 0.7s ease, transform 5s ease;
  transform: scale(1.04);
}

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

.hero-overlay,
.detail-hero-mask,
.page-hero-mask {
  background:
    linear-gradient(90deg, rgba(10, 14, 39, 0.96), rgba(10, 14, 39, 0.76) 42%, rgba(10, 14, 39, 0.24)),
    linear-gradient(0deg, var(--stellar-dark), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding-bottom: 96px;
}

.hero-copy {
  width: min(760px, 100%);
  animation: fadeUp 0.8s ease both;
}

.hero-kicker,
.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero-kicker span,
.meta-line span,
.tag-row span,
.hero-tags span,
.hero-tags a,
.detail-tags a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #eef5ff;
  background: rgba(74, 144, 226, 0.2);
  border: 1px solid rgba(74, 144, 226, 0.32);
}

.hero-kicker span {
  padding: 7px 12px;
  font-size: 14px;
}

.hero h1,
.detail-title-block h1,
.page-hero h1 {
  margin: 18px 0;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero h1 {
  max-width: 880px;
  font-size: clamp(42px, 7vw, 76px);
}

.hero p,
.detail-title-block p,
.page-hero p,
.site-intro p {
  color: var(--text-muted);
  line-height: 1.85;
}

.hero p {
  max-width: 680px;
  margin: 0 0 24px;
  font-size: 19px;
}

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

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

.hero-tags span,
.hero-tags a,
.detail-tags a {
  padding: 7px 12px;
  font-size: 14px;
}

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

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

.btn-primary {
  color: #fff;
  background: var(--stellar-glow);
  box-shadow: var(--shadow);
}

.btn-soft {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-ghost {
  color: var(--text-muted);
  background: rgba(20, 27, 61, 0.7);
  border: 1px solid var(--border);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.42);
  font-size: 38px;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(74, 144, 226, 0.85);
  transform: translateY(-2px);
}

.hero-prev {
  left: 26px;
}

.hero-next {
  right: 26px;
}

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

.hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.2s ease, background 0.2s ease;
}

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

.site-intro {
  padding: 42px 0 20px;
  background: linear-gradient(180deg, var(--stellar-dark), var(--stellar-deep));
}

.intro-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 28px;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(30, 40, 71, 0.62);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.22);
}

.intro-card span,
.page-hero span,
.section-heading span {
  color: var(--stellar-glow);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.intro-card h1 {
  margin: 8px 0 10px;
  font-size: clamp(28px, 4vw, 44px);
}

.large-search input {
  min-width: 0;
  flex: 1;
  padding: 15px 16px;
}

.large-search button {
  padding: 15px 22px;
}

.content-section {
  padding: 72px 0;
  background: linear-gradient(180deg, rgba(10, 14, 39, 0.96), rgba(20, 27, 61, 0.78));
}

.deep-section {
  background: var(--stellar-deep);
}

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

.section-heading h2 {
  margin: 6px 0 0;
  font-size: clamp(26px, 4vw, 38px);
}

.text-link {
  color: var(--stellar-glow);
  font-weight: 800;
}

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

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

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

.movie-card {
  border-radius: 18px;
  overflow: hidden;
  background: var(--stellar-mid);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(74, 144, 226, 0.42);
  box-shadow: var(--shadow), 0 24px 62px rgba(0, 0, 0, 0.34);
}

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

.poster-wrap {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--stellar-light);
}

.movie-card-wide .poster-wrap {
  aspect-ratio: 16 / 9;
}

.movie-card-compact .poster-wrap {
  aspect-ratio: 2 / 3;
}

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

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

.poster-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.08) 56%, transparent);
}

.play-dot,
.big-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: rgba(74, 144, 226, 0.92);
  box-shadow: var(--shadow);
}

.play-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.9);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.poster-meta {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.poster-meta span,
.rank-badge {
  padding: 5px 8px;
  border-radius: 8px;
  color: #fff;
  background: rgba(0, 0, 0, 0.62);
  font-size: 12px;
  font-weight: 700;
}

.rank-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: rgba(74, 144, 226, 0.92);
}

.card-content {
  padding: 15px;
}

.card-content h3 {
  margin: 0 0 9px;
  font-size: 18px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-content p {
  min-height: 48px;
  margin: 0 0 12px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tag-row span {
  padding: 4px 8px;
  color: var(--text-muted);
  font-size: 12px;
}

.rail-section {
  margin-top: 36px;
}

.rail-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.rail-title h3,
.year-block h3 {
  margin: 0;
  font-size: 24px;
}

.rail-title a {
  color: var(--stellar-glow);
  font-weight: 800;
}

.movie-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 190px;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-color: var(--stellar-glow) var(--stellar-mid);
}

.year-block {
  margin-top: 28px;
}

.year-block h3 {
  margin-bottom: 16px;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.page-hero {
  min-height: 360px;
}

.small-hero {
  background:
    radial-gradient(circle at top left, rgba(74, 144, 226, 0.24), transparent 34%),
    linear-gradient(135deg, var(--stellar-dark), var(--stellar-deep));
}

.small-hero .container {
  padding-top: 86px;
  padding-bottom: 64px;
}

.page-hero-mask,
.detail-hero-mask {
  position: absolute;
  inset: 0;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 92px;
  padding-bottom: 64px;
}

.page-hero h1 {
  max-width: 820px;
  font-size: clamp(36px, 5vw, 60px);
}

.page-hero p {
  max-width: 760px;
  font-size: 18px;
}

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

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

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

.category-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
}

.category-card a,
.category-card-mask {
  position: absolute;
  inset: 0;
}

.category-card-mask {
  background: linear-gradient(90deg, rgba(10, 14, 39, 0.94), rgba(10, 14, 39, 0.3));
}

.category-card-content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
}

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

.category-card p {
  max-width: 560px;
  color: var(--text-muted);
  line-height: 1.7;
}

.category-card span {
  display: inline-flex;
  margin-top: 16px;
  color: var(--stellar-glow);
  font-weight: 800;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.quick-links a {
  padding: 9px 13px;
  border-radius: 999px;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
}

.quick-links a:hover {
  color: #fff;
  background: var(--stellar-glow);
}

.listing-controls {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 180px 180px;
  gap: 14px;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(30, 40, 71, 0.72);
}

.listing-controls input,
.listing-controls select {
  width: 100%;
  padding: 12px 13px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 64px 90px minmax(0, 1fr) 80px;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(30, 40, 71, 0.78);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.rank-row:hover {
  transform: translateX(5px);
  border-color: rgba(74, 144, 226, 0.55);
}

.rank-number {
  color: var(--stellar-glow);
  font-size: 24px;
  font-weight: 900;
}

.rank-row img {
  width: 90px;
  height: 58px;
  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;
}

.rank-info em {
  margin-top: 3px;
  color: var(--text-soft);
  font-style: normal;
  font-size: 13px;
}

.rank-watch {
  color: var(--stellar-glow);
  font-weight: 800;
}

.detail-hero {
  min-height: 560px;
}

.detail-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 74px;
  padding-bottom: 54px;
}

.detail-layout-top {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 36px;
  align-items: end;
}

.detail-poster {
  width: 260px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}

.detail-title-block h1 {
  font-size: clamp(36px, 5vw, 62px);
}

.detail-title-block p {
  max-width: 820px;
  margin: 0 0 22px;
  font-size: 18px;
}

.player-section {
  padding: 36px 0 22px;
  background: var(--stellar-dark);
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #000;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.44), var(--shadow);
}

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

.player-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.46);
  transition: opacity 0.25s ease, visibility 0.25s ease;
  z-index: 3;
}

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

.big-play {
  width: 86px;
  height: 86px;
  font-size: 30px;
}

.player-cover strong {
  font-size: clamp(24px, 4vw, 40px);
}

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

.detail-main-card,
.detail-side-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(30, 40, 71, 0.84);
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.23);
}

.detail-main-card {
  padding: 30px;
}

.detail-main-card h2,
.detail-side-card h2 {
  margin: 0 0 18px;
  font-size: 28px;
}

.detail-main-card h3 {
  margin: 28px 0 10px;
  color: #fff;
  font-size: 20px;
}

.detail-main-card p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.95;
  white-space: pre-line;
}

.meta-line {
  margin-bottom: 22px;
}

.meta-line span {
  padding: 6px 10px;
  font-size: 13px;
}

.detail-tags {
  margin-top: 10px;
}

.detail-side-card {
  position: sticky;
  top: 92px;
  align-self: start;
  padding: 22px;
}

.side-recommend {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.side-recommend img {
  width: 112px;
  height: 72px;
  border-radius: 12px;
  object-fit: cover;
}

.side-recommend strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
}

.side-recommend em {
  display: block;
  margin-top: 6px;
  color: var(--text-soft);
  font-style: normal;
  font-size: 13px;
}

.search-status {
  margin-bottom: 22px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  background: rgba(30, 40, 71, 0.76);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--stellar-deep);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding: 50px 0 34px;
}

.footer-grid h2 {
  margin: 0 0 14px;
  font-size: 17px;
}

.footer-grid p,
.footer-grid a {
  color: var(--text-soft);
  line-height: 1.8;
}

.footer-grid a {
  display: block;
  margin: 8px 0;
}

.footer-grid a:hover {
  color: var(--stellar-glow);
}

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

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--stellar-glow);
  box-shadow: var(--shadow);
}

.back-top.is-visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .header-search {
    display: none;
  }
}

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

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

  .intro-card,
  .detail-layout-top,
  .detail-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .listing-controls {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    width: min(260px, 70vw);
  }

  .detail-side-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .site-logo {
    font-size: 18px;
  }

  .hero {
    min-height: 620px;
    height: auto;
  }

  .hero-content {
    align-items: center;
    padding-top: 80px;
    padding-bottom: 86px;
  }

  .hero-arrow {
    display: none;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p,
  .page-hero p,
  .detail-title-block p {
    font-size: 16px;
  }

  .site-intro,
  .content-section {
    padding: 46px 0;
  }

  .intro-card,
  .detail-main-card {
    padding: 22px;
  }

  .movie-grid,
  .featured-grid,
  .catalog-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }

  .movie-rail {
    grid-auto-columns: 168px;
  }

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

  .rank-row img {
    width: 72px;
    height: 52px;
  }

  .rank-watch {
    display: none;
  }

  .side-recommend {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .side-recommend img {
    width: 96px;
    height: 64px;
  }

  .footer-grid {
    gap: 18px;
  }
}
