:root {
  color-scheme: dark;
  --bg: #0a0a0a;
  --panel: #171717;
  --panel-soft: #202020;
  --line: #2b2b2b;
  --text: #ffffff;
  --muted: #a3a3a3;
  --muted-dark: #737373;
  --amber: #f59e0b;
  --amber-strong: #d97706;
  --radius: 18px;
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 15% 10%, rgba(245, 158, 11, 0.11), transparent 35%), var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(10, 10, 10, 0.82);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
}

.site-header-inner {
  max-width: 1280px;
  margin: 0 auto;
  min-height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #111111;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  box-shadow: 0 12px 30px rgba(245, 158, 11, 0.28);
}

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

.logo-copy strong,
.footer-logo {
  font-size: 20px;
  letter-spacing: 0.08em;
  font-weight: 800;
}

.logo-copy em {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

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

.desktop-nav a,
.mobile-nav a {
  padding: 10px 14px;
  border-radius: 12px;
  color: #d4d4d4;
  font-size: 14px;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.mobile-nav a:hover,
.mobile-nav a.is-active {
  color: #111111;
  background: var(--amber);
}

.top-search,
.mobile-search,
.hero-search-form,
.inline-search,
.search-page-form {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-search input,
.mobile-search input,
.hero-search-form input,
.inline-search input,
.search-page-form input,
.filter-panel input {
  width: 100%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  outline: none;
  border-radius: 14px;
  padding: 12px 14px;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.top-search input:focus,
.mobile-search input:focus,
.hero-search-form input:focus,
.inline-search input:focus,
.search-page-form input:focus,
.filter-panel input:focus {
  border-color: rgba(245, 158, 11, 0.75);
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.top-search button,
.mobile-search button,
.hero-search-form button,
.inline-search button,
.search-page-form button {
  border: 0;
  border-radius: 14px;
  padding: 12px 18px;
  color: #111111;
  background: var(--amber);
  cursor: pointer;
  font-weight: 800;
}

.top-search {
  width: 310px;
}

.mobile-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

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

.mobile-nav {
  display: none;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 20px;
}

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

.hero {
  position: relative;
  height: min(76vh, 780px);
  min-height: 560px;
  overflow: hidden;
  background: #050505;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.02);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.58) 45%, rgba(0, 0, 0, 0.2)), linear-gradient(0deg, #0a0a0a 0%, rgba(10, 10, 10, 0) 45%);
}

.hero-content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: max(24px, calc((100vw - 1280px) / 2 + 24px));
  transform: translateY(-50%);
  width: min(680px, calc(100vw - 48px));
}

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

.hero-tags span,
.detail-tags span,
.movie-card-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #111111;
  background: rgba(245, 158, 11, 0.94);
  font-size: 12px;
  font-weight: 800;
}

.movie-card-tags span {
  color: #d4d4d4;
  background: #262626;
}

.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.hero p {
  max-width: 620px;
  margin: 0 0 30px;
  color: #d4d4d4;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
}

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

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

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #111111;
  background: var(--amber);
}

.btn-primary:hover {
  background: var(--amber-strong);
}

.btn-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

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

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
  width: 34px;
  background: var(--amber);
}

.quick-search-panel,
.content-section,
.page-main,
.detail-main {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.quick-search-panel {
  margin-top: -58px;
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 28px;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  background: rgba(23, 23, 23, 0.86);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.quick-search-panel h2,
.section-heading h2,
.page-hero h1,
.detail-title-block h1,
.detail-panel h2,
.aside-card h2 {
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.quick-search-panel h2 {
  font-size: clamp(24px, 3vw, 34px);
}

.quick-search-panel p,
.section-heading p,
.page-hero p,
.movie-card-body p,
.detail-panel p,
.footer-grid p,
.category-overview-head em {
  color: var(--muted);
  line-height: 1.7;
}

.content-section {
  padding-top: 72px;
}

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

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

.section-heading p {
  margin: 8px 0 0;
}

.section-heading a {
  color: var(--amber);
  font-weight: 800;
}

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

.category-tile {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: var(--panel);
  isolation: isolate;
}

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

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

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.15));
}

.category-tile span,
.category-tile em {
  position: relative;
  z-index: 2;
  display: block;
  padding: 0 18px;
}

.category-tile span {
  margin-top: 104px;
  font-size: 22px;
  font-weight: 900;
}

.category-tile em {
  margin-top: 8px;
  color: #d4d4d4;
  font-size: 13px;
  font-style: normal;
  line-height: 1.5;
}

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

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

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

.movie-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.7);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

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

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

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

.movie-cover-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.76), transparent 55%);
}

.movie-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.68);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.movie-badge-left {
  left: 12px;
}

.movie-badge-right {
  right: 12px;
}

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

.movie-card-meta {
  margin-bottom: 8px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
}

.movie-card h3 {
  margin: 0 0 10px;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.25;
  font-weight: 850;
}

.movie-card h3 a:hover,
.ranking-card-large h2 a:hover {
  color: var(--amber);
}

.movie-card-body p {
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 3.4em;
  font-size: 14px;
}

.movie-card-compact .movie-card-body p {
  -webkit-line-clamp: 2;
}

.movie-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
}

.movie-scroll::-webkit-scrollbar {
  height: 8px;
}

.movie-scroll::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #404040;
}

.scroll-card {
  flex: 0 0 306px;
  scroll-snap-align: start;
}

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

.ranking-item {
  display: grid;
  grid-template-columns: 42px 84px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  min-height: 96px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: var(--panel);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.ranking-item:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.65);
}

.ranking-number {
  color: var(--amber);
  font-size: 24px;
  font-weight: 950;
}

.ranking-item img {
  width: 84px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
}

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

.ranking-info strong,
.ranking-info em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.ranking-info em {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.page-main {
  padding-top: 48px;
  padding-bottom: 90px;
}

.page-hero {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 460px);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(23, 23, 23, 0.94) 50%, rgba(10, 10, 10, 0.98));
  box-shadow: var(--shadow);
}

.compact-page-hero {
  display: block;
}

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

.page-hero p {
  max-width: 760px;
  margin: 14px 0 0;
}

.filter-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  background: rgba(23, 23, 23, 0.82);
}

.filter-panel input {
  max-width: 420px;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-buttons button {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 8px 14px;
  color: #d4d4d4;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.filter-buttons button.is-active,
.filter-buttons button:hover {
  color: #111111;
  background: var(--amber);
  border-color: var(--amber);
}

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

.category-overview-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: var(--panel);
}

.category-overview-head {
  position: relative;
  display: block;
  min-height: 220px;
  overflow: hidden;
}

.category-overview-head img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  opacity: 0.58;
}

.category-overview-head::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.84), transparent 60%);
}

.category-overview-head span {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 20px;
}

.category-overview-head strong,
.category-overview-head em {
  display: block;
}

.category-overview-head strong {
  font-size: 28px;
  font-weight: 900;
}

.category-overview-head em {
  margin-top: 8px;
  font-style: normal;
}

.category-overview-samples {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
}

.category-overview-samples .movie-card-body p,
.category-overview-samples .movie-card-tags,
.category-overview-samples .movie-card-meta {
  display: none;
}

.category-overview-samples .movie-card-body {
  padding: 12px;
}

.category-overview-samples .movie-card h3 {
  margin: 0;
  font-size: 14px;
}

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

.ranking-card-large {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: var(--panel);
}

.ranking-card-cover {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 16 / 10;
}

.ranking-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ranking-card-cover span {
  position: absolute;
  left: 12px;
  bottom: 10px;
  color: var(--amber);
  font-size: 34px;
  font-weight: 950;
  text-shadow: 0 2px 10px #000000;
}

.ranking-card-large h2 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 900;
}

.ranking-card-large p {
  color: var(--muted);
  line-height: 1.7;
}

.ranking-card-meta {
  margin: 0 0 8px;
  color: var(--amber) !important;
  font-size: 14px;
  font-weight: 800;
}

.detail-main {
  padding-top: 36px;
  padding-bottom: 90px;
}

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

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

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

.detail-primary,
.detail-aside {
  min-width: 0;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background: #000000;
  box-shadow: var(--shadow);
}

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

.player-poster {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  border: 0;
  color: #111111;
  background: rgba(0, 0, 0, 0.24);
  cursor: pointer;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.player-poster span {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 20px 50px rgba(245, 158, 11, 0.38);
  font-size: 34px;
  transform: translateX(2px);
}

.player-loading {
  position: absolute;
  z-index: 5;
  top: 50%;
  left: 50%;
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border: 4px solid rgba(255, 255, 255, 0.22);
  border-top-color: var(--amber);
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  animation: spin 0.9s linear infinite;
}

.player-shell.is-loading .player-loading {
  opacity: 1;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.player-controls {
  position: absolute;
  z-index: 6;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 18px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.82), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.player-shell:hover .player-controls,
.player-shell.is-playing .player-controls {
  opacity: 1;
}

.player-controls button {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  color: #111111;
  background: var(--amber);
  cursor: pointer;
  font-weight: 850;
}

.detail-title-block {
  padding: 28px 0 18px;
}

.detail-title-block h1 {
  margin-top: 18px;
  font-size: clamp(32px, 5vw, 54px);
}

.detail-meta {
  margin: 14px 0 0;
  color: var(--muted);
}

.detail-panel,
.aside-card {
  margin-top: 22px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: var(--panel);
}

.detail-panel h2,
.aside-card h2 {
  margin-bottom: 14px;
  font-size: 24px;
}

.detail-panel p {
  margin: 0 0 14px;
}

.lead-text {
  color: #e5e5e5 !important;
  font-size: 18px;
}

.detail-aside {
  align-self: start;
  position: sticky;
  top: 98px;
}

.poster-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 16px;
}

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

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

.related-list .movie-cover-link {
  height: 100%;
  aspect-ratio: auto;
}

.related-list .movie-card-body {
  padding: 12px;
}

.related-list .movie-card-body p,
.related-list .movie-card-tags,
.related-list .movie-card-meta {
  display: none;
}

.related-list .movie-card h3 {
  margin: 0;
  font-size: 15px;
}

.empty-state {
  display: none;
  margin: 30px 0;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  color: var(--muted);
  background: var(--panel);
  text-align: center;
}

.empty-state.is-visible {
  display: block;
}

.site-footer {
  margin-top: 80px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #080808;
}

.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 40px;
  padding: 48px 24px 34px;
}

.footer-logo {
  color: var(--amber);
}

.footer-grid h3 {
  margin: 0 0 14px;
  font-size: 16px;
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-links a {
  color: var(--muted);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--amber);
}

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

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px 34px;
  color: var(--muted-dark);
  font-size: 13px;
}

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

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

  .featured-grid,
  .category-overview-grid,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-aside {
    position: static;
  }
}

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

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

  .hero {
    min-height: 620px;
  }

  .hero-content {
    left: 22px;
    right: 22px;
    width: auto;
  }

  .hero-arrow {
    display: none;
  }

  .quick-search-panel,
  .page-hero,
  .filter-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

  .ranking-card-large {
    grid-template-columns: 138px minmax(0, 1fr);
  }
}

@media (max-width: 620px) {
  .site-header-inner,
  .quick-search-panel,
  .content-section,
  .page-main,
  .detail-main,
  .footer-grid,
  .footer-bottom {
    padding-left: 16px;
    padding-right: 16px;
  }

  .logo-copy em {
    display: none;
  }

  .movie-grid,
  .featured-grid,
  .category-grid,
  .category-overview-samples,
  .ranking-list,
  .footer-category-links {
    grid-template-columns: 1fr;
  }

  .hero {
    height: 72vh;
    min-height: 560px;
  }

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

  .hero-dots {
    bottom: 20px;
  }

  .section-heading,
  .filter-panel,
  .ranking-card-large,
  .related-list .movie-card {
    display: block;
  }

  .section-heading a {
    display: inline-block;
    margin-top: 12px;
  }

  .page-hero {
    padding: 28px;
  }

  .ranking-card-cover {
    margin-bottom: 14px;
  }

  .player-controls {
    opacity: 1;
  }
}
