html {
  background: #0d1117;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(0, 115, 230, 0.16), transparent 34rem),
    linear-gradient(180deg, #0d1117 0%, #111820 42%, #0d1117 100%);
  color: #f8f9fa;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  width: 100%;
}

.site-container {
  width: min(1280px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 17, 23, 0.94);
  border-bottom: 1px solid rgba(52, 58, 64, 0.85);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 4.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: #f8f9fa;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, #1a8cff, #005ab3);
  color: white;
  box-shadow: 0 16px 35px rgba(0, 115, 230, 0.28);
}

.brand-text {
  font-size: 1.18rem;
}

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

.nav-link,
.mobile-nav-link {
  display: inline-flex;
  align-items: center;
  color: #dee2e6;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link {
  padding: 0.55rem 0.9rem;
  font-size: 0.95rem;
}

.nav-link:hover,
.nav-link.is-active,
.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: #4da6ff;
  background: rgba(0, 115, 230, 0.16);
}

.nav-search,
.mobile-search,
.search-page-form,
.hero-search-panel form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-search input,
.mobile-search input,
.search-page-form input,
.hero-search-panel input {
  min-width: 0;
  border: 1px solid #343a40;
  background: rgba(33, 37, 41, 0.86);
  color: #f8f9fa;
  border-radius: 0.85rem;
  outline: none;
  transition: border 0.2s ease, background 0.2s ease;
}

.nav-search input {
  width: 16rem;
  padding: 0.72rem 0.95rem;
}

.nav-search button,
.mobile-search button,
.search-page-form button,
.hero-search-panel button {
  border-radius: 0.85rem;
  background: #0073e6;
  color: #ffffff;
  font-weight: 700;
  transition: transform 0.2s ease, background 0.2s ease;
}

.nav-search button {
  padding: 0.72rem 1rem;
}

.nav-search button:hover,
.mobile-search button:hover,
.search-page-form button:hover,
.hero-search-panel button:hover,
.primary-button:hover {
  background: #005ab3;
  transform: translateY(-1px);
}

.mobile-menu-button {
  display: none;
  margin-left: auto;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.75rem;
  color: #f8f9fa;
  background: rgba(33, 37, 41, 0.92);
}

.mobile-nav {
  display: none;
  padding: 0 1rem 1rem;
  border-top: 1px solid rgba(52, 58, 64, 0.78);
  background: rgba(13, 17, 23, 0.98);
}

.mobile-nav.is-open {
  display: grid;
  gap: 0.75rem;
}

.mobile-nav-link {
  padding: 0.75rem 0.9rem;
}

.mobile-search input {
  flex: 1;
  padding: 0.72rem 0.95rem;
}

.mobile-search button {
  padding: 0.72rem 1rem;
}

.page-home,
.page-shell {
  padding: 2rem 0 4rem;
}

.hero-carousel {
  position: relative;
  min-height: 70vh;
  overflow: hidden;
  border-radius: 1.2rem;
  background: #212529;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

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

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 17, 23, 0.96) 0%, rgba(13, 17, 23, 0.78) 42%, rgba(13, 17, 23, 0.22) 100%),
    linear-gradient(0deg, rgba(13, 17, 23, 0.75), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(640px, 92%);
  height: 100%;
  padding: 4rem;
}

.hero-pill,
.tag-chip {
  display: inline-flex;
  align-items: center;
  width: max-content;
  border: 1px solid rgba(0, 115, 230, 0.5);
  background: rgba(0, 115, 230, 0.22);
  color: #80bfff;
  border-radius: 999px;
  font-weight: 700;
}

.hero-pill {
  padding: 0.42rem 0.9rem;
  margin-bottom: 1.1rem;
  font-size: 0.9rem;
}

.hero-content h1 {
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.03;
  font-weight: 900;
  margin-bottom: 1rem;
  color: #f8f9fa;
  text-shadow: 0 14px 38px rgba(0, 0, 0, 0.45);
}

.hero-content p {
  color: #dee2e6;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.85;
  max-width: 56ch;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.35rem 0 1.75rem;
  color: #ced4da;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(33, 37, 41, 0.72);
  border: 1px solid rgba(73, 80, 87, 0.82);
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.88rem 1.3rem;
  border-radius: 0.9rem;
  font-weight: 800;
  transition: transform 0.2s ease, background 0.2s ease, border 0.2s ease;
}

.primary-button {
  background: #0073e6;
  color: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 115, 230, 0.27);
}

.ghost-button {
  color: #f8f9fa;
  border: 1px solid rgba(206, 212, 218, 0.22);
  background: rgba(33, 37, 41, 0.64);
}

.ghost-button:hover {
  transform: translateY(-1px);
  border-color: rgba(77, 166, 255, 0.75);
  color: #80bfff;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: rgba(33, 37, 41, 0.82);
  color: #dee2e6;
  font-size: 2rem;
  transform: translateY(-50%);
  backdrop-filter: blur(12px);
  transition: background 0.2s ease, color 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(52, 58, 64, 0.9);
  color: white;
}

.hero-arrow--left {
  left: 1rem;
}

.hero-arrow--right {
  right: 1rem;
}

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

.hero-dot {
  width: 1rem;
  height: 0.26rem;
  border-radius: 999px;
  background: #6c757d;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 2.1rem;
  background: #1a8cff;
}

.hero-search-panel {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  z-index: 7;
  width: min(430px, calc(100% - 4rem));
  padding: 1rem;
  border: 1px solid rgba(73, 80, 87, 0.72);
  border-radius: 1rem;
  background: rgba(13, 17, 23, 0.74);
  backdrop-filter: blur(18px);
}

.hero-search-panel input {
  flex: 1;
  padding: 0.85rem 1rem;
}

.hero-search-panel button,
.search-page-form button {
  padding: 0.85rem 1.1rem;
}

.hero-chip-row,
.page-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.hero-chip-row a,
.page-chip-row a {
  display: inline-flex;
  padding: 0.44rem 0.75rem;
  border-radius: 999px;
  background: rgba(52, 58, 64, 0.72);
  color: #dee2e6;
  font-size: 0.88rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.hero-chip-row a:hover,
.page-chip-row a:hover {
  background: rgba(0, 115, 230, 0.32);
  color: #80bfff;
}

.content-section {
  margin-top: 4rem;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  color: #f8f9fa;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 900;
}

.section-heading > span {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(0, 115, 230, 0.6), transparent);
}

.section-heading--with-action {
  justify-content: space-between;
}

.text-link {
  color: #80bfff;
  font-weight: 700;
}

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

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

.movie-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(52, 58, 64, 0.88);
  border-radius: 1rem;
  background: rgba(33, 37, 41, 0.88);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s ease, border 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 115, 230, 0.72);
  box-shadow: 0 22px 55px rgba(0, 115, 230, 0.14);
}

.movie-card__poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #212529;
}

.movie-card__poster img,
.wide-card__image img,
.detail-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.movie-card__poster img,
.wide-card__image img {
  transition: transform 0.5s ease;
}

.movie-card:hover .movie-card__poster img,
.wide-card:hover .wide-card__image img {
  transform: scale(1.08);
}

.movie-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(13, 17, 23, 0.84), transparent 48%);
}

.movie-card__play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: rgba(0, 115, 230, 0.88);
  color: white;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.86);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.movie-card__year {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  padding: 0.32rem 0.55rem;
  border-radius: 0.5rem;
  background: rgba(13, 17, 23, 0.78);
  color: #f8f9fa;
  font-size: 0.78rem;
  font-weight: 800;
}

.movie-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem;
}

.movie-card__meta,
.wide-card__cat,
.movie-card__info {
  color: #80bfff;
  font-size: 0.78rem;
  font-weight: 700;
}

.movie-card__meta {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.movie-card strong,
.wide-card strong {
  color: #f8f9fa;
  font-size: 1rem;
  line-height: 1.45;
}

.movie-card__line {
  display: -webkit-box;
  overflow: hidden;
  min-height: 2.8em;
  color: #ced4da;
  font-size: 0.88rem;
  line-height: 1.55;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.movie-card__info {
  margin-top: auto;
  color: #adb5bd;
  font-weight: 500;
}

.horizontal-section {
  position: relative;
}

.horizontal-scroll {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x proximity;
}

.horizontal-scroll::-webkit-scrollbar {
  height: 0.45rem;
}

.wide-card {
  display: flex;
  flex: 0 0 23rem;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem;
  border: 1px solid rgba(52, 58, 64, 0.88);
  border-radius: 1rem;
  background: rgba(33, 37, 41, 0.82);
  scroll-snap-align: start;
  transition: border 0.2s ease, transform 0.2s ease;
}

.wide-card:hover {
  border-color: rgba(0, 115, 230, 0.7);
  transform: translateY(-2px);
}

.wide-card__image {
  flex: 0 0 8rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 0.8rem;
  background: #343a40;
}

.wide-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.wide-card__body span:last-child {
  color: #adb5bd;
  font-size: 0.85rem;
}

.scroll-actions {
  display: flex;
  gap: 0.5rem;
}

.scroll-actions button {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(33, 37, 41, 0.9);
  color: #f8f9fa;
  font-size: 1.35rem;
}

.feature-banner {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  overflow: hidden;
  border: 1px solid rgba(52, 58, 64, 0.8);
  border-radius: 1.35rem;
  background: linear-gradient(135deg, rgba(19, 29, 39, 0.96), rgba(33, 37, 41, 0.92));
}

.feature-banner__image {
  min-height: 26rem;
}

.feature-banner__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-banner__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
}

.feature-banner h2 {
  margin-bottom: 1rem;
  color: #f8f9fa;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
}

.feature-banner p {
  color: #dee2e6;
  line-height: 1.85;
}

.rank-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.rank-row,
.ranking-table__row {
  display: grid;
  align-items: center;
  border: 1px solid rgba(52, 58, 64, 0.84);
  background: rgba(33, 37, 41, 0.82);
  transition: border 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.rank-row {
  grid-template-columns: 3.5rem 1fr auto;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 0.9rem;
}

.rank-row:hover,
.ranking-table__row:hover {
  border-color: rgba(0, 115, 230, 0.72);
  background: rgba(33, 37, 41, 1);
  transform: translateX(2px);
}

.rank-no,
.ranking-table__no {
  color: #4da6ff;
  font-weight: 900;
}

.rank-title,
.ranking-table__title {
  min-width: 0;
  overflow: hidden;
  color: #f8f9fa;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-meta,
.ranking-table__meta,
.ranking-table__cat {
  color: #adb5bd;
  font-size: 0.88rem;
}

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

.category-card,
.overview-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(52, 58, 64, 0.86);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(33, 37, 41, 0.92), rgba(13, 17, 23, 0.9));
}

.category-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 12rem;
  padding: 1.25rem;
  transition: transform 0.2s ease, border 0.2s ease;
}

.category-card:hover,
.overview-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 115, 230, 0.72);
}

.category-card__name,
.overview-card h2 {
  color: #f8f9fa;
  font-size: 1.35rem;
  font-weight: 900;
}

.category-card__desc,
.overview-card p {
  color: #ced4da;
  line-height: 1.72;
}

.category-card__samples {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: auto;
}

.category-card__samples a,
.overview-card li a {
  color: #80bfff;
  font-size: 0.9rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: 1.4rem;
  color: #adb5bd;
  font-size: 0.92rem;
}

.breadcrumbs a {
  color: #80bfff;
}

.breadcrumbs span::before,
.breadcrumbs a + a::before,
.breadcrumbs a + span::before {
  content: "/";
  margin-right: 0.55rem;
  color: #495057;
}

.compact-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 4rem);
  border: 1px solid rgba(52, 58, 64, 0.84);
  border-radius: 1.25rem;
  background:
    radial-gradient(circle at top right, rgba(0, 115, 230, 0.24), transparent 26rem),
    linear-gradient(135deg, rgba(33, 37, 41, 0.94), rgba(13, 17, 23, 0.95));
}

.compact-hero h1 {
  margin-bottom: 0.9rem;
  color: #f8f9fa;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.08;
}

.compact-hero p {
  max-width: 72ch;
  color: #dee2e6;
  font-size: 1.05rem;
  line-height: 1.8;
}

.overview-card {
  padding: 1.35rem;
  transition: transform 0.2s ease, border 0.2s ease;
}

.overview-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
}

.overview-card__head span {
  color: #80bfff;
  font-weight: 700;
}

.overview-card ul {
  display: grid;
  gap: 0.42rem;
  margin-top: 1rem;
}

.ranking-table {
  display: grid;
  gap: 0.55rem;
}

.ranking-table__row {
  grid-template-columns: 4rem minmax(0, 1fr) minmax(8rem, 0.22fr) minmax(12rem, 0.35fr);
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0.8rem;
}

.search-page-form {
  margin-top: 1.5rem;
  max-width: 620px;
}

.search-page-form input {
  flex: 1;
  padding: 0.95rem 1rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.7fr);
  gap: 1.5rem;
  align-items: start;
}

.player-card,
.detail-info,
.prose-section {
  border: 1px solid rgba(52, 58, 64, 0.84);
  border-radius: 1.2rem;
  background: rgba(33, 37, 41, 0.86);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.player-card {
  overflow: hidden;
}

.movie-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.movie-player video {
  width: 100%;
  height: 100%;
  background: #000000;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.16)),
    radial-gradient(circle, rgba(0, 115, 230, 0.2), transparent 45%);
  color: white;
  text-align: center;
  cursor: pointer;
}

.player-overlay.is-hidden {
  display: none;
  pointer-events: none;
}

.player-overlay__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 999px;
  background: rgba(0, 115, 230, 0.92);
  box-shadow: 0 18px 50px rgba(0, 115, 230, 0.32);
  font-size: 2rem;
}

.player-overlay__title {
  font-size: clamp(1.25rem, 4vw, 2.2rem);
  font-weight: 900;
  text-shadow: 0 10px 35px rgba(0, 0, 0, 0.45);
}

.detail-info {
  overflow: hidden;
}

.detail-cover {
  aspect-ratio: 3 / 4;
  background: #343a40;
}

.detail-info__body {
  padding: 1.2rem;
}

.detail-info h1 {
  margin-bottom: 0.8rem;
  color: #f8f9fa;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  font-weight: 900;
  line-height: 1.18;
}

.detail-one-line {
  color: #dee2e6;
  line-height: 1.72;
}

.meta-list {
  display: grid;
  gap: 0.65rem;
  margin: 1.15rem 0;
}

.meta-list div {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 0.75rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid rgba(52, 58, 64, 0.7);
}

.meta-list dt {
  color: #adb5bd;
}

.meta-list dd {
  color: #f8f9fa;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-chip {
  padding: 0.32rem 0.65rem;
  font-size: 0.82rem;
}

.prose-section {
  padding: 1.35rem;
}

.prose-section p {
  color: #dee2e6;
  font-size: 1.05rem;
  line-height: 1.95;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid rgba(52, 58, 64, 0.86);
  background: rgba(13, 17, 23, 0.96);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 2rem;
  padding: 3rem 0 2rem;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-desc {
  max-width: 56ch;
  color: #adb5bd;
  line-height: 1.8;
}

.footer-title {
  margin-bottom: 1rem;
  color: #f8f9fa;
  font-size: 1rem;
  font-weight: 900;
}

.footer-links {
  display: grid;
  gap: 0.65rem;
}

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

.footer-links a {
  color: #ced4da;
}

.footer-links a:hover {
  color: #80bfff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0 1.6rem;
  border-top: 1px solid rgba(52, 58, 64, 0.72);
  color: #6c757d;
  font-size: 0.92rem;
}

[hidden] {
  display: none !important;
}

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

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

  .hero-search-panel {
    left: 2rem;
    right: auto;
  }
}

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

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

  .hero-carousel {
    min-height: 760px;
  }

  .hero-content {
    justify-content: flex-start;
    width: 100%;
    padding: 4rem 1.25rem 9rem;
  }

  .hero-search-panel {
    left: 1rem;
    right: 1rem;
    bottom: 4.2rem;
    width: auto;
  }

  .hero-arrow {
    top: auto;
    bottom: 0.8rem;
    transform: none;
  }

  .hero-arrow--left {
    left: 1rem;
  }

  .hero-arrow--right {
    right: 1rem;
  }

  .movie-grid,
  .movie-grid--large,
  .category-grid,
  .overview-grid,
  .rank-panel,
  .footer-grid,
  .detail-layout,
  .feature-banner {
    grid-template-columns: 1fr;
  }

  .ranking-table__row {
    grid-template-columns: 3rem minmax(0, 1fr);
  }

  .ranking-table__cat,
  .ranking-table__meta {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-container {
    width: min(100% - 1rem, 1280px);
  }

  .brand-text {
    font-size: 1rem;
  }

  .hero-carousel {
    border-radius: 0.85rem;
  }

  .hero-content h1 {
    font-size: 2.15rem;
  }

  .hero-search-panel form,
  .search-page-form,
  .mobile-search {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-search-panel button,
  .search-page-form button,
  .mobile-search button {
    width: 100%;
  }

  .movie-grid,
  .movie-grid--large {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .movie-card__body {
    padding: 0.8rem;
  }

  .movie-card strong {
    font-size: 0.92rem;
  }

  .wide-card {
    flex-basis: 19rem;
  }
}
