:root {
  color-scheme: light;
  --color-bg: #fff7ed;
  --color-bg-soft: #fffbeb;
  --color-panel: #ffffff;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-border: #fde68a;
  --color-amber: #d97706;
  --color-orange: #ea580c;
  --color-deep: #7c2d12;
  --shadow-soft: 0 20px 45px rgba(146, 64, 14, 0.13);
  --shadow-card: 0 14px 34px rgba(120, 53, 15, 0.12);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(251, 191, 36, 0.26), transparent 34rem),
    linear-gradient(180deg, #fff7ed 0%, #fffbeb 45%, #ffffff 100%);
  color: var(--color-text);
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 251, 235, 0.92);
  border-bottom: 1px solid rgba(253, 230, 138, 0.86);
  box-shadow: 0 10px 30px rgba(120, 53, 15, 0.10);
  backdrop-filter: blur(18px);
}

.header-shell,
.topic-strip-inner,
.section-shell,
.footer-shell,
.breadcrumb,
.detail-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.header-shell {
  display: flex;
  align-items: center;
  min-height: 72px;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #fff;
  box-shadow: 0 12px 24px rgba(234, 88, 12, 0.25);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  display: block;
  font-size: 1.14rem;
  background: linear-gradient(90deg, #92400e, #ea580c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.brand-copy em {
  margin-top: 4px;
  color: var(--color-amber);
  font-size: 0.74rem;
  font-style: normal;
  white-space: nowrap;
}

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

.nav-link,
.mobile-nav-link {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #78350f;
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link {
  padding: 10px 14px;
  font-size: 0.92rem;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: #fed7aa;
  color: #7c2d12;
  transform: translateY(-1px);
}

.header-search {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid #fcd34d;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 237, 213, 0.9);
}

.header-search input {
  width: min(18vw, 230px);
  min-width: 140px;
  border: 0;
  padding: 10px 12px 10px 16px;
  outline: 0;
}

.header-search button,
.big-search button,
.search-page-form button {
  border: 0;
  padding: 10px 16px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #ffedd5;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: #92400e;
}

.topic-strip {
  border-top: 1px solid rgba(253, 230, 138, 0.66);
}

.topic-strip-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 42px;
  overflow-x: auto;
  color: #92400e;
  font-size: 0.9rem;
  white-space: nowrap;
}

.topic-strip-inner span {
  color: #b45309;
  font-weight: 900;
}

.topic-strip-inner a {
  color: #7c2d12;
  opacity: 0.82;
}

.topic-strip-inner a:hover {
  opacity: 1;
}

.mobile-nav {
  display: none;
  padding: 10px 16px 18px;
  border-top: 1px solid #fde68a;
}

.mobile-nav.open {
  display: grid;
  gap: 8px;
}

.mobile-nav-link {
  padding: 14px 16px;
}

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: #451a03;
}

.hero-slider {
  position: relative;
  min-height: 650px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.55fr);
  align-items: center;
  gap: 44px;
  width: 100%;
  padding: 78px max(32px, calc((100vw - 1240px) / 2)) 92px;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.012);
  transition: opacity 0.58s ease, transform 0.58s ease;
}

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

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: blur(18px) saturate(1.15);
  transform: scale(1.08);
  opacity: 0.45;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 30%, rgba(251, 191, 36, 0.24), transparent 26rem),
    linear-gradient(90deg, rgba(69, 26, 3, 0.95) 0%, rgba(120, 53, 15, 0.80) 50%, rgba(69, 26, 3, 0.64) 100%);
}

.hero-content,
.hero-poster,
.hero-controls {
  position: relative;
  z-index: 2;
}

.hero-eyebrow,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #d97706;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-content h1 {
  max-width: 800px;
  margin: 0 0 20px;
  color: #fff7ed;
  font-size: clamp(2.7rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-content p {
  max-width: 720px;
  margin: 0 0 24px;
  color: #ffedd5;
  font-size: clamp(1rem, 1.7vw, 1.25rem);
  line-height: 1.85;
}

.hero-meta,
.movie-meta-line,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-meta span,
.movie-meta-line span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(251, 191, 36, 0.32);
  border-radius: 999px;
  background: rgba(255, 247, 237, 0.12);
  color: #ffedd5;
  font-size: 0.86rem;
}

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

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

.button.primary {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #fff;
  box-shadow: 0 16px 32px rgba(234, 88, 12, 0.24);
}

.button.ghost {
  border: 1px solid rgba(251, 191, 36, 0.36);
  background: rgba(255, 251, 235, 0.12);
  color: #fff7ed;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(146, 64, 14, 0.2);
}

.hero-poster {
  display: block;
  align-self: center;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(255, 237, 213, 0.28);
  border-radius: 34px;
  background: linear-gradient(135deg, #92400e, #451a03);
  box-shadow: 0 38px 80px rgba(0, 0, 0, 0.35);
}

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

.hero-poster span {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #ea580c;
  font-size: 1.45rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.24);
}

.hero-poster:hover img {
  transform: scale(1.05);
}

.hero-controls {
  position: absolute;
  right: max(32px, calc((100vw - 1240px) / 2));
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-arrow {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 247, 237, 0.16);
  color: #fff7ed;
  font-size: 1.7rem;
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 247, 237, 0.44);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.active {
  width: 28px;
  background: #f59e0b;
}

.section-shell {
  padding: 56px 0;
}

.intro-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 460px);
  align-items: center;
  gap: 30px;
  margin-top: -46px;
  padding: 34px;
  border: 1px solid rgba(253, 230, 138, 0.95);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.intro-panel h2,
.section-heading h2,
.page-hero h1,
.content-card h2,
.side-card h2 {
  margin: 0;
  color: #1f2937;
  letter-spacing: -0.04em;
}

.intro-panel h2 {
  font-size: clamp(1.9rem, 4vw, 3.2rem);
}

.intro-panel p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--color-muted);
  line-height: 1.8;
}

.big-search,
.search-page-form {
  display: flex;
  overflow: hidden;
  border: 1px solid #fcd34d;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #ffedd5;
}

.big-search input,
.search-page-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 16px 18px;
  outline: 0;
}

.big-search button,
.search-page-form button {
  padding: 14px 24px;
}

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

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.text-link {
  color: #b45309;
  font-weight: 900;
}

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

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

.category-tile {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: #451a03;
  color: #fff;
  box-shadow: var(--shadow-card);
}

.category-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(69, 26, 3, 0.20), rgba(69, 26, 3, 0.86));
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: transform 0.4s ease;
}

.category-tile span,
.category-tile strong,
.category-tile em {
  position: relative;
  z-index: 2;
  display: block;
}

.category-tile span {
  margin-bottom: 70px;
  color: #fbbf24;
  font-size: 0.82rem;
  font-weight: 900;
}

.category-tile strong {
  font-size: 1.35rem;
}

.category-tile em {
  margin-top: 8px;
  color: #ffedd5;
  font-style: normal;
}

.category-tile:hover img {
  transform: scale(1.08);
}

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

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

.movie-card,
.movie-row-card,
.content-card,
.side-card,
.filter-panel,
.category-overview-card,
.ranking-item {
  border: 1px solid rgba(253, 230, 138, 0.74);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow-card);
}

.movie-card {
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px rgba(120, 53, 15, 0.17);
}

.poster-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #ffedd5, #fed7aa);
}

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

.movie-card:hover .poster-frame img {
  transform: scale(1.055);
}

.poster-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.42));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.movie-card:hover .poster-overlay {
  opacity: 1;
}

.poster-play,
.play-mark {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #ea580c;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.22);
}

.quality-badge,
.score-badge,
.rank-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.quality-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
}

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

.movie-card-kicker,
.movie-card-footer,
.movie-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #b45309;
  font-size: 0.78rem;
  font-weight: 900;
}

.movie-card h3,
.movie-row-card h3 {
  margin: 10px 0 8px;
  font-size: 1.08rem;
  line-height: 1.3;
}

.movie-card h3 a:hover,
.movie-row-card h3:hover {
  color: var(--color-orange);
}

.movie-card p,
.movie-row-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.68;
}

.movie-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}

.movie-tags span,
.detail-tags span {
  padding: 6px 9px;
  border-radius: 999px;
  background: #ffedd5;
  color: #92400e;
  font-size: 0.76rem;
  font-weight: 800;
}

.movie-card-footer {
  margin-top: 14px;
  color: #6b7280;
  font-weight: 700;
}

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

.movie-row-card {
  overflow: hidden;
}

.movie-row-link {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  min-height: 186px;
}

.movie-row-poster {
  position: relative;
  overflow: hidden;
  background: #ffedd5;
}

.movie-row-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-mark {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
}

.movie-row-content {
  padding: 18px;
}

.rank-badge {
  padding: 5px 9px;
  background: #fef3c7;
  color: #92400e;
}

.score-badge {
  padding: 5px 9px;
  background: #dcfce7;
  color: #166534;
}

.movie-row-card .movie-meta-line span,
.ranking-item .movie-meta-line span {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #92400e;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #78350f, #ea580c);
  color: #fff;
}

.slim-hero,
.category-page-hero {
  padding: 82px 0;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(251, 191, 36, 0.38), transparent 22rem),
    radial-gradient(circle at 80% 0%, rgba(255, 247, 237, 0.22), transparent 26rem);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.page-hero h1 {
  color: #fff7ed;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
}

.page-hero p {
  max-width: 780px;
  color: #ffedd5;
  font-size: 1.12rem;
  line-height: 1.8;
}

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

.category-overview-card {
  overflow: hidden;
}

.category-overview-card a {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 210px;
}

.category-preview-stack {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 2px;
  background: #fed7aa;
}

.category-preview-stack img {
  width: 100%;
  height: 100%;
  min-height: 104px;
  object-fit: cover;
}

.category-overview-content {
  padding: 24px;
}

.category-overview-content span {
  color: #d97706;
  font-weight: 900;
}

.category-overview-content h2 {
  margin: 8px 0 10px;
  font-size: 1.8rem;
}

.category-overview-content p {
  color: var(--color-muted);
  line-height: 1.7;
}

.category-overview-content strong {
  color: #92400e;
}

.filter-panel {
  margin-bottom: 26px;
  padding: 22px;
}

.filter-title,
.filter-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.filter-title {
  justify-content: space-between;
  margin-bottom: 16px;
}

.filter-title strong {
  font-size: 1.1rem;
}

.filter-title span {
  color: #b45309;
  font-weight: 900;
}

.filter-controls input,
.filter-controls select,
.filter-controls button {
  min-height: 44px;
  border: 1px solid #fcd34d;
  border-radius: 14px;
  background: #fff;
  color: #1f2937;
}

.filter-controls input {
  flex: 1;
  min-width: 200px;
  padding: 0 14px;
}

.filter-controls select,
.filter-controls button {
  padding: 0 14px;
}

.filter-controls button {
  background: #ffedd5;
  color: #92400e;
  font-weight: 900;
  cursor: pointer;
}

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

.ranking-item {
  overflow: hidden;
}

.ranking-item a {
  display: grid;
  grid-template-columns: 76px 86px minmax(0, 1fr) 74px;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
}

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

.ranking-item img {
  width: 74px;
  height: 96px;
  border-radius: 12px;
  object-fit: cover;
  background: #ffedd5;
}

.ranking-content strong {
  font-size: 1.08rem;
}

.ranking-content p {
  margin: 6px 0 10px;
  color: var(--color-muted);
  line-height: 1.6;
}

.ranking-item em {
  justify-self: end;
  color: #16a34a;
  font-size: 1.2rem;
  font-style: normal;
  font-weight: 900;
}

.search-app {
  display: grid;
  gap: 24px;
}

.search-page-form {
  width: min(760px, 100%);
}

.search-status {
  color: #92400e;
  font-weight: 800;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 0;
  color: #92400e;
  font-size: 0.92rem;
  font-weight: 800;
}

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

.detail-backdrop {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: blur(18px) saturate(1.12);
  opacity: 0.28;
  transform: scale(1.08);
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(69, 26, 3, 0.94), rgba(120, 53, 15, 0.82), rgba(234, 88, 12, 0.45));
}

.detail-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: center;
  gap: 42px;
  padding: 64px 0;
}

.detail-poster {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 30px;
  background: #ffedd5;
  box-shadow: 0 38px 70px rgba(0, 0, 0, 0.35);
}

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

.detail-info h1 {
  margin: 0 0 18px;
  color: #fff7ed;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.detail-one-line {
  max-width: 860px;
  color: #ffedd5;
  font-size: 1.15rem;
  line-height: 1.85;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

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

.detail-main,
.detail-side {
  display: grid;
  align-content: start;
  gap: 24px;
}

.player-section,
.movie-player {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

.movie-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111827;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.2);
}

.movie-player video {
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: contain;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.16), rgba(0, 0, 0, 0.72));
  color: #fff;
  cursor: pointer;
}

.player-overlay span {
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 18px 44px rgba(234, 88, 12, 0.32);
}

.player-overlay strong {
  font-size: 1.12rem;
}

.movie-player.playing .player-overlay {
  display: none;
}

.content-card,
.side-card {
  padding: 26px;
}

.content-card h2,
.side-card h2 {
  margin-bottom: 14px;
  font-size: 1.45rem;
}

.content-card p {
  margin: 0;
  color: #374151;
  font-size: 1rem;
  line-height: 2;
}

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

.side-card dt {
  color: #b45309;
  font-weight: 900;
}

.side-card dd {
  margin: 0 0 8px;
  color: #374151;
  line-height: 1.6;
}

.side-card a {
  color: #ea580c;
  font-weight: 900;
}

.site-footer {
  margin-top: 40px;
  background: linear-gradient(135deg, #7c2d12, #451a03);
  color: #ffedd5;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(160px, 0.6fr) minmax(220px, 1fr);
  gap: 34px;
  padding: 48px 0;
}

.footer-brand-logo .brand-copy strong {
  color: #fff7ed;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.footer-brand-logo .brand-copy em {
  color: #fcd34d;
}

.footer-brand p {
  max-width: 560px;
  color: #fed7aa;
  line-height: 1.8;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h3 {
  margin: 0 0 10px;
  color: #fff7ed;
}

.footer-column a {
  color: #fed7aa;
}

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

.footer-categories h3 {
  grid-column: 1 / -1;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(146, 64, 14, 0.25);
  cursor: pointer;
}

.back-to-top.show {
  display: grid;
  place-items: center;
}

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

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

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

  .hero-slide {
    grid-template-columns: minmax(0, 1fr) 280px;
  }

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

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

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

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

  .brand-copy em {
    display: none;
  }

  .hero,
  .hero-slider {
    min-height: 760px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 28px;
    padding-top: 48px;
  }

  .hero-poster {
    width: min(280px, 70vw);
    justify-self: center;
  }

  .hero-controls {
    left: 32px;
    right: auto;
  }

  .intro-panel,
  .detail-shell,
  .footer-shell,
  .category-overview-card a {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    width: min(320px, 80vw);
  }

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

  .filter-title,
  .filter-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-controls input,
  .filter-controls select,
  .filter-controls button {
    width: 100%;
  }

  .ranking-item a {
    grid-template-columns: 52px 74px minmax(0, 1fr);
  }

  .ranking-item em {
    display: none;
  }
}

@media (max-width: 560px) {
  .header-shell,
  .section-shell,
  .breadcrumb,
  .detail-shell {
    width: min(100% - 22px, 1240px);
  }

  .hero-content h1,
  .detail-info h1,
  .page-hero h1 {
    font-size: 2.35rem;
  }

  .hero,
  .hero-slider {
    min-height: 720px;
  }

  .hero-slide {
    padding-left: 16px;
    padding-right: 16px;
  }

  .category-grid,
  .movie-grid,
  .compact-grid,
  .category-overview-grid,
  .row-card-grid {
    grid-template-columns: 1fr;
  }

  .movie-row-link {
    grid-template-columns: 118px minmax(0, 1fr);
  }

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

  .big-search,
  .search-page-form {
    border-radius: 22px;
    flex-direction: column;
  }

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