:root {
  --site-bg: #fff7ed;
  --site-bg-soft: #fffbeb;
  --site-text: #111827;
  --site-muted: #6b7280;
  --site-line: #fed7aa;
  --site-primary: #d97706;
  --site-primary-dark: #b45309;
  --site-panel: #ffffff;
  --site-dark: #111827;
  --site-shadow: 0 18px 45px rgba(120, 53, 15, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--site-text);
  background: linear-gradient(180deg, #fff7ed 0%, #ffffff 38%, #fffbeb 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 237, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(251, 191, 36, 0.24);
  box-shadow: 0 12px 35px rgba(146, 64, 14, 0.08);
}

.site-header__inner {
  max-width: 1200px;
  height: 72px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.site-logo__mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 12px 25px rgba(245, 158, 11, 0.36);
  font-size: 15px;
}

.site-logo__text {
  font-size: 25px;
  background: linear-gradient(135deg, #b45309, #ea580c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 700;
  color: #374151;
}

.site-nav a,
.site-nav__drop > a {
  transition: color 0.24s ease;
}

.site-nav a:hover,
.site-nav__drop:hover > a {
  color: var(--site-primary);
}

.site-nav__drop {
  position: relative;
  padding: 24px 0;
}

.site-nav__menu {
  position: absolute;
  top: 64px;
  left: 0;
  min-width: 180px;
  padding: 10px;
  border: 1px solid rgba(251, 191, 36, 0.24);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--site-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s ease;
}

.site-nav__drop:hover .site-nav__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav__menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 12px;
  white-space: nowrap;
}

.site-nav__menu a:hover {
  background: #fff7ed;
}

.site-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.site-search input,
.page-search input,
.page-filter input,
.home-search-panel input {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--site-text);
}

.site-search input {
  width: 220px;
  padding: 8px 10px;
}

.site-search button,
.page-search button,
.home-search-panel button {
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.site-search button {
  padding: 8px 15px;
}

.site-search button:hover,
.page-search button:hover,
.home-search-panel button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(217, 119, 6, 0.22);
}

.site-menu-button {
  display: none;
  margin-left: auto;
  border: 0;
  color: #78350f;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
}

.site-mobile-nav {
  display: none;
  padding: 0 24px 18px;
  background: #ffffff;
  border-top: 1px solid rgba(251, 191, 36, 0.18);
}

.site-mobile-nav.is-open {
  display: grid;
  gap: 12px;
}

.site-mobile-nav a {
  padding: 10px 12px;
  border-radius: 14px;
  color: #374151;
  background: #fff7ed;
  font-weight: 700;
}

.site-main {
  min-height: 60vh;
}

.hero {
  position: relative;
  height: 72vh;
  min-height: 520px;
  overflow: hidden;
  background: #111827;
}

.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-slide__shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 36%, rgba(251, 191, 36, 0.22), transparent 32%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.58) 46%, rgba(0, 0, 0, 0.12) 100%);
}

.hero-slide__content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #ffffff;
}

.hero-kicker,
.eyebrow {
  margin: 0 0 12px;
  color: #d97706;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-kicker {
  color: #fbbf24;
  font-size: 16px;
}

.hero-slide h1 {
  max-width: 760px;
  margin: 0 0 22px;
  font-size: clamp(40px, 7vw, 82px);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.055em;
  text-shadow: 0 16px 40px rgba(0, 0, 0, 0.38);
}

.hero-summary {
  max-width: 680px;
  margin: 0 0 24px;
  color: #f3f4f6;
  font-size: 19px;
  line-height: 1.75;
}

.hero-meta,
.detail-meta,
.rank-item__meta,
.movie-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.hero-meta {
  margin-bottom: 34px;
}

.hero-meta span,
.detail-meta span,
.movie-card__meta span,
.rank-item__meta span,
.rank-item__meta a {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 700;
}

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

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

.btn-primary {
  padding: 13px 28px;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 18px 28px rgba(234, 88, 12, 0.28);
}

.btn-ghost {
  padding: 12px 24px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

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

.hero-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
}

.hero-arrow--prev {
  left: 24px;
}

.hero-arrow--next {
  right: 24px;
}

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

.hero-dot {
  width: 11px;
  height: 11px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: all 0.24s ease;
}

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

.home-search-panel,
.section-block,
.page-wrap,
.detail-page {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.home-search-panel {
  position: relative;
  z-index: 8;
  margin-top: -58px;
  padding-top: 30px;
  padding-bottom: 34px;
  border: 1px solid rgba(251, 191, 36, 0.25);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--site-shadow);
  backdrop-filter: blur(18px);
}

.home-search-panel h2 {
  margin: 0 0 10px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.home-search-panel p {
  max-width: 780px;
  color: var(--site-muted);
  font-size: 16px;
  line-height: 1.8;
}

.home-search-panel form,
.page-search {
  max-width: 760px;
  margin: 24px 0;
  display: flex;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 999px;
  background: #fff7ed;
}

.home-search-panel input,
.page-search input {
  flex: 1;
  padding: 12px 16px;
  min-width: 0;
}

.home-search-panel button,
.page-search button {
  padding: 12px 24px;
}

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

.quick-categories a {
  min-height: 96px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid rgba(251, 191, 36, 0.24);
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff, #fff7ed);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.quick-categories a:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(146, 64, 14, 0.1);
}

.quick-categories strong {
  color: #92400e;
}

.quick-categories span {
  color: var(--site-muted);
  font-size: 13px;
  line-height: 1.55;
}

.section-block {
  padding-top: 78px;
}

.section-block--soft {
  margin-top: 78px;
  padding-top: 34px;
  padding-bottom: 34px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 247, 237, 0.9), rgba(255, 255, 255, 0.85));
  box-shadow: 0 12px 36px rgba(146, 64, 14, 0.08);
}

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

.section-heading h2,
.page-hero h1,
.detail-hero h1 {
  margin: 0;
  color: #111827;
  font-weight: 900;
  letter-spacing: -0.045em;
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 42px);
}

.section-link {
  padding: 10px 18px;
  color: #92400e;
  background: #ffedd5;
}

.movie-grid {
  display: grid;
  gap: 24px;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(120, 53, 15, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 45px rgba(120, 53, 15, 0.14);
}

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

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

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

.movie-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.58) 100%);
  opacity: 0.82;
}

.movie-card__play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  transform: translate(-50%, -50%) scale(0.9);
  opacity: 0;
  transition: all 0.25s ease;
}

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

.movie-card__badge,
.card-rank {
  position: absolute;
  z-index: 3;
  top: 12px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
}

.movie-card__badge {
  right: 12px;
  padding: 6px 10px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
}

.card-rank {
  left: 12px;
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: rgba(17, 24, 39, 0.78);
}

.movie-card__body {
  padding: 18px;
}

.movie-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.28;
  font-weight: 900;
}

.movie-card h3 a:hover,
.rank-item h3 a:hover,
.category-card h2 a:hover,
.detail-side a:hover {
  color: var(--site-primary);
}

.movie-card p,
.rank-item p,
.category-card p,
.page-hero p,
.detail-one-line,
.detail-article p {
  color: var(--site-muted);
  line-height: 1.75;
}

.movie-card p {
  margin: 0 0 14px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card__meta span {
  background: #fff7ed;
  color: #92400e;
}

.movie-card--feature:nth-child(1),
.movie-card--feature:nth-child(2) {
  grid-column: span 1;
}

.section-rank {
  padding-bottom: 10px;
}

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

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

.rank-item {
  display: grid;
  grid-template-columns: 54px 112px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 22px rgba(120, 53, 15, 0.06);
}

.rank-item__number {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  font-weight: 900;
}

.rank-item__poster {
  aspect-ratio: 16 / 11;
  border-radius: 16px;
  overflow: hidden;
  background: #111827;
}

.rank-item__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-item h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 900;
}

.rank-item p {
  margin: 0 0 10px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rank-item__meta span,
.rank-item__meta a {
  background: #fff7ed;
  color: #92400e;
}

.page-wrap {
  padding-top: 54px;
  padding-bottom: 78px;
}

.page-hero {
  margin-bottom: 34px;
  padding: 42px;
  border: 1px solid rgba(251, 191, 36, 0.26);
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(251, 191, 36, 0.2), transparent 35%),
    linear-gradient(135deg, #ffffff, #fff7ed);
  box-shadow: var(--site-shadow);
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 58px);
}

.page-hero p {
  max-width: 820px;
  margin-bottom: 0;
  font-size: 17px;
}

.page-filter {
  max-width: 680px;
  margin-top: 28px;
  padding: 13px 18px;
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 999px;
  background: #ffffff;
}

.page-filter input {
  width: 100%;
  font-size: 16px;
}

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

.category-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 22px;
  padding: 18px;
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(120, 53, 15, 0.08);
}

.category-card__media {
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #111827;
}

.category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card h2 {
  margin: 0 0 10px;
  font-size: 25px;
  font-weight: 900;
}

.category-card__links {
  margin: 14px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-card__links a {
  padding: 7px 10px;
  border-radius: 999px;
  color: #92400e;
  background: #fff7ed;
  font-size: 13px;
  font-weight: 700;
}

.detail-page {
  padding-top: 42px;
  padding-bottom: 78px;
}

.detail-hero {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 36px;
  align-items: center;
  padding: 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 90% 0%, rgba(245, 158, 11, 0.22), transparent 32%),
    linear-gradient(135deg, #ffffff, #fff7ed);
  box-shadow: var(--site-shadow);
}

.detail-hero__poster {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #111827;
  box-shadow: 0 24px 44px rgba(17, 24, 39, 0.18);
}

.detail-hero__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.breadcrumb {
  margin-bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #92400e;
  font-size: 14px;
  font-weight: 800;
}

.detail-hero h1 {
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.04;
}

.detail-one-line {
  max-width: 760px;
  font-size: 18px;
}

.detail-meta {
  margin: 22px 0;
}

.detail-meta span {
  background: #ffedd5;
  color: #92400e;
}

.detail-tags {
  margin: 0 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-tags span {
  padding: 7px 12px;
  border-radius: 999px;
  color: #92400e;
  background: #ffffff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(120, 53, 15, 0.08);
}

.player-section {
  margin-top: 34px;
}

.player-box {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #000000;
  box-shadow: 0 24px 52px rgba(17, 24, 39, 0.24);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #ffffff;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.46));
  cursor: pointer;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.player-overlay span {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 18px 38px rgba(245, 158, 11, 0.38);
  font-size: 32px;
  text-indent: 5px;
}

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

.detail-content {
  margin-top: 44px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
}

.detail-article,
.detail-side {
  padding: 30px;
  border: 1px solid rgba(251, 191, 36, 0.22);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(120, 53, 15, 0.08);
}

.detail-article h2,
.detail-side h2 {
  margin: 0 0 16px;
  font-size: 26px;
  font-weight: 900;
}

.detail-article p {
  margin: 0 0 26px;
  font-size: 16px;
}

.detail-side dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

.detail-side dt {
  color: #92400e;
  font-size: 13px;
  font-weight: 900;
}

.detail-side dd {
  margin: -8px 0 8px;
  color: #374151;
}

.search-empty {
  padding: 24px;
  border-radius: 22px;
  color: var(--site-muted);
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(120, 53, 15, 0.08);
}

.site-footer {
  margin-top: 84px;
  color: #f9fafb;
  background: linear-gradient(135deg, #111827, #1f2937);
}

.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 46px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 36px;
}

.site-logo--footer .site-logo__text {
  color: #ffffff;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.site-footer__brand p {
  max-width: 640px;
  color: #d1d5db;
  line-height: 1.8;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  gap: 10px;
}

.site-footer__links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #fed7aa;
  background: rgba(255, 255, 255, 0.06);
  font-weight: 700;
}

.site-footer__copy {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 32px;
  color: #9ca3af;
}

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

  .site-menu-button {
    display: block;
  }

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

  .rank-list--home,
  .category-grid,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    grid-template-columns: 280px 1fr;
  }
}

@media (max-width: 720px) {
  .site-header__inner {
    height: 64px;
    padding: 0 16px;
  }

  .site-logo__text {
    font-size: 20px;
  }

  .hero {
    height: 82vh;
    min-height: 620px;
  }

  .hero-slide__content {
    padding: 72px 20px 96px;
    justify-content: end;
  }

  .hero-summary {
    font-size: 16px;
  }

  .hero-arrow {
    top: auto;
    bottom: 28px;
  }

  .hero-arrow--prev {
    left: 20px;
  }

  .hero-arrow--next {
    right: 20px;
  }

  .home-search-panel,
  .section-block,
  .page-wrap,
  .detail-page {
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-search-panel {
    margin-top: 0;
    border-radius: 0;
  }

  .home-search-panel form,
  .page-search {
    border-radius: 24px;
    flex-direction: column;
  }

  .quick-categories,
  .movie-grid--featured,
  .movie-grid--compact,
  .movie-grid--catalog {
    grid-template-columns: 1fr;
  }

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

  .rank-item {
    grid-template-columns: 44px 88px 1fr;
    gap: 12px;
  }

  .rank-item p {
    -webkit-line-clamp: 1;
  }

  .category-card,
  .detail-hero,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    padding: 20px;
  }

  .detail-hero__poster {
    max-width: 260px;
  }

  .detail-content {
    gap: 20px;
  }
}
