* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #1f2937;
  background: linear-gradient(180deg, #faf5ff 0%, #fdf2f8 38%, #ffffff 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(126, 34, 206, 0.96), rgba(219, 39, 119, 0.94), rgba(147, 51, 234, 0.96));
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(88, 28, 135, 0.28);
  backdrop-filter: blur(14px);
}

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

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

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
}

.brand-text {
  font-size: 20px;
  white-space: nowrap;
}

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

.nav-link,
.mobile-nav-link {
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.2s ease, transform 0.2s ease;
}

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

.header-search {
  display: flex;
  align-items: center;
  position: relative;
}

.header-search input,
.mobile-search input {
  width: 200px;
  border: 0;
  outline: 0;
  border-radius: 999px;
  color: #ffffff;
  padding: 10px 42px 10px 16px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  transition: width 0.25s ease, background 0.25s ease;
}

.header-search input::placeholder,
.mobile-search input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.header-search input:focus {
  width: 260px;
  background: rgba(255, 255, 255, 0.24);
}

.header-search button {
  position: absolute;
  right: 5px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  background: transparent;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.16);
}

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

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-bottom: 12px;
}

.mobile-search input {
  width: 100%;
}

.mobile-search button {
  border: 0;
  border-radius: 999px;
  color: #7e22ce;
  background: #ffffff;
  padding: 0 18px;
}

.mobile-nav-link {
  display: block;
  padding: 10px 2px;
}

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #111827;
}

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

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

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

.hero-shade,
.detail-bg-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.9), rgba(88, 28, 135, 0.55) 48%, rgba(15, 23, 42, 0.16));
}

.hero-content {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -44%);
  color: #ffffff;
}

.hero-content h1 {
  max-width: 820px;
  margin: 14px 0;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.04;
  font-weight: 900;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.36);
}

.hero-content p {
  max-width: 720px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
  padding: 7px 16px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(190, 24, 93, 0.22);
}

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

.hero-meta {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-meta span,
.detail-meta span,
.movie-meta span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  padding: 5px 11px;
}

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

.primary-button,
.glass-button,
.section-more,
.panel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(90deg, #7c3aed, #db2777);
  padding: 14px 26px;
  box-shadow: 0 16px 38px rgba(190, 24, 93, 0.34);
}

.primary-button:hover,
.glass-button:hover,
.section-more:hover,
.panel-link:hover {
  transform: translateY(-2px);
}

.glass-button {
  color: #ffffff;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
}

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

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

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

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

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

.intro-search-panel {
  position: relative;
  z-index: 7;
  margin-top: -42px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  padding: 22px;
  box-shadow: 0 24px 70px rgba(126, 34, 206, 0.18);
  backdrop-filter: blur(18px);
}

.big-search {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.big-search input,
.filter-panel input,
.filter-panel select {
  min-height: 50px;
  border: 1px solid #e9d5ff;
  border-radius: 999px;
  outline: 0;
  padding: 0 20px;
  background: #ffffff;
  color: #374151;
}

.big-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.18);
  border-color: #c084fc;
}

.big-search button,
.filter-panel button {
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  font-weight: 800;
  padding: 0 24px;
  background: linear-gradient(90deg, #7c3aed, #db2777);
}

.quick-links,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.quick-links a,
.chip,
.tag-row span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  color: #7e22ce;
  background: #f3e8ff;
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 700;
}

.chip.active,
.chip:hover,
.quick-links a:hover {
  color: #ffffff;
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
}

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

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

.section-heading > div:first-child {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center;
}

.section-heading h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.1;
  font-weight: 900;
}

.section-heading p {
  grid-column: 2;
  margin: 4px 0 0;
  color: #6b7280;
}

.section-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  box-shadow: 0 14px 26px rgba(168, 85, 247, 0.22);
}

.section-more,
.panel-link {
  flex: 0 0 auto;
  color: #7e22ce;
  background: #ffffff;
  padding: 10px 16px;
  box-shadow: 0 8px 22px rgba(126, 34, 206, 0.12);
}

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

.category-tile,
.category-overview-card {
  border-radius: 24px;
  background: linear-gradient(135deg, #f3e8ff, #fce7f3);
  padding: 22px;
  box-shadow: 0 16px 40px rgba(126, 34, 206, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-tile:hover,
.category-overview-card:hover,
.movie-card:hover,
.ranking-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 54px rgba(126, 34, 206, 0.18);
}

.category-orb {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(90deg, #7c3aed, #db2777);
  margin-bottom: 14px;
}

.category-tile strong {
  display: block;
  font-size: 18px;
  color: #111827;
  margin-bottom: 8px;
}

.category-tile small,
.category-overview-card p {
  color: #6b7280;
  line-height: 1.7;
}

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

.movie-grid-two {
  grid-template-columns: repeat(2, 1fr);
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(88, 28, 135, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card-wide {
  display: grid;
  grid-template-columns: 160px 1fr;
}

.movie-card-compact .movie-card-body p {
  display: none;
}

.movie-poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #581c87, #be185d);
}

.movie-card-wide .movie-poster {
  aspect-ratio: auto;
  min-height: 190px;
}

.movie-poster img,
.detail-poster img,
.ranking-poster img,
.related-item img,
.category-preview-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #7e22ce;
  background: rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.75);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

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

.poster-badge {
  position: absolute;
  left: 12px;
  top: 12px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}

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

.movie-title,
.ranking-title {
  display: block;
  color: #111827;
  font-weight: 900;
  line-height: 1.35;
  margin-bottom: 8px;
}

.movie-title:hover,
.ranking-title:hover {
  color: #7c3aed;
}

.movie-card-body p,
.ranking-card p,
.content-card p {
  color: #4b5563;
  line-height: 1.75;
}

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

.movie-meta {
  gap: 7px;
  margin-bottom: 10px;
}

.movie-meta span {
  color: #6b21a8;
  background: #f3e8ff;
  font-size: 12px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span {
  padding: 5px 9px;
  font-size: 12px;
}

.two-column-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
  align-items: start;
}

.ranking-panel {
  position: sticky;
  top: 92px;
  border-radius: 26px;
  color: #ffffff;
  background: linear-gradient(180deg, #581c87, #831843);
  padding: 22px;
  box-shadow: 0 24px 60px rgba(88, 28, 135, 0.28);
}

.ranking-head span {
  color: #f0abfc;
  letter-spacing: 0.2em;
  font-weight: 900;
}

.ranking-head h2 {
  margin: 4px 0 16px;
  font-size: 28px;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 36px 56px 1fr auto;
  gap: 10px;
  align-items: center;
  border-radius: 16px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.rank-row:hover {
  background: rgba(255, 255, 255, 0.14);
}

.rank-number {
  font-weight: 900;
  color: #f9a8d4;
}

.rank-row img {
  width: 56px;
  height: 42px;
  object-fit: cover;
  border-radius: 10px;
}

.rank-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 700;
}

.rank-year {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

.ranking-panel .panel-link {
  width: 100%;
  margin-top: 16px;
  color: #581c87;
}

.inner-hero {
  color: #ffffff;
  background: radial-gradient(circle at top left, rgba(236, 72, 153, 0.8), transparent 36%), linear-gradient(90deg, #6d28d9, #db2777, #9333ea);
  padding: 72px 0;
}

.inner-hero h1 {
  margin: 14px 0 10px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
  font-weight: 900;
}

.inner-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.8;
}

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

.category-overview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.category-overview-head span {
  color: #111827;
  font-size: 24px;
  font-weight: 900;
}

.category-overview-head a {
  color: #7e22ce;
  font-weight: 800;
}

.category-preview-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.category-preview-strip a {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 3 / 4;
  background: #581c87;
}

.category-preview-strip span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent);
  padding: 24px 8px 8px;
  font-size: 12px;
  font-weight: 700;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 180px auto;
  gap: 12px;
  margin: 24px 0;
  padding: 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(88, 28, 135, 0.1);
}

.empty-state,
.search-status {
  border-radius: 20px;
  color: #6b21a8;
  background: #f3e8ff;
  padding: 18px;
  text-align: center;
  font-weight: 800;
}

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

.ranking-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  border-radius: 22px;
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 14px 34px rgba(88, 28, 135, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ranking-poster {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  background: #581c87;
}

.ranking-index {
  position: absolute;
  z-index: 2;
  left: 8px;
  top: 8px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(90deg, #7c3aed, #db2777);
  padding: 5px 10px;
  font-weight: 900;
}

.archive-page {
  display: grid;
  gap: 24px;
}

.archive-block {
  border-radius: 24px;
  background: #ffffff;
  padding: 24px;
  box-shadow: 0 14px 34px rgba(88, 28, 135, 0.1);
}

.archive-block h2 {
  margin: 0 0 14px;
  color: #7e22ce;
}

.archive-links {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px 14px;
}

.archive-links a {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  border-radius: 999px;
  color: #4b5563;
  background: #f9fafb;
  padding: 8px 12px;
}

.archive-links a:hover {
  color: #ffffff;
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
}

.search-page-form {
  max-width: 760px;
  margin-top: 24px;
}

.search-status {
  margin-bottom: 22px;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  min-height: 560px;
  background: #111827;
}

.detail-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(4px) scale(1.04);
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  padding: 32px 0 60px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 28px;
}

.breadcrumb a:hover {
  color: #ffffff;
}

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

.detail-poster {
  overflow: hidden;
  border-radius: 26px;
  aspect-ratio: 3 / 4;
  background: #581c87;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.34);
}

.detail-head-copy h1 {
  margin: 16px 0 14px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.06;
  font-weight: 900;
}

.detail-head-copy p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.8;
}

.detail-meta {
  margin: 18px 0 28px;
}

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

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

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.08));
}

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

.player-overlay span {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #7e22ce;
  background: rgba(255, 255, 255, 0.92);
  font-size: 36px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
  transition: transform 0.2s ease;
}

.player-overlay:hover span {
  transform: scale(1.08);
}

.content-card {
  border-radius: 24px;
  background: #ffffff;
  padding: 24px;
  margin-top: 22px;
  box-shadow: 0 14px 34px rgba(88, 28, 135, 0.1);
}

.content-card h2 {
  margin: 0 0 14px;
  color: #111827;
  font-size: 24px;
  font-weight: 900;
}

.content-card p {
  margin: 0;
  text-align: justify;
}

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

.sticky-card {
  position: sticky;
  top: 92px;
  margin-top: 0;
}

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

.related-item {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 12px;
  align-items: center;
  border-radius: 16px;
  padding: 8px;
  background: #faf5ff;
}

.related-item:hover {
  background: #f3e8ff;
}

.related-item img {
  width: 108px;
  height: 72px;
  border-radius: 12px;
  background: #581c87;
}

.related-item span {
  display: block;
  color: #111827;
  font-weight: 800;
  line-height: 1.35;
}

.related-item small {
  color: #6b7280;
}

.site-footer {
  margin-top: 70px;
  color: #ffffff;
  background: linear-gradient(180deg, #581c87, #2e1065);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 34px;
  padding: 46px 0 30px;
}

.footer-logo {
  font-size: 22px;
  margin-bottom: 14px;
}

.footer-brand p,
.footer-links a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.72);
}

.footer-brand p {
  max-width: 420px;
  line-height: 1.8;
}

.site-footer h3 {
  margin: 0 0 16px;
}

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

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

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

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

  .hero {
    height: 540px;
  }

  .category-grid,
  .movie-grid-four,
  .movie-grid-five,
  .ranking-grid,
  .category-overview-grid,
  .two-column-showcase,
  .detail-layout,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .movie-grid-three,
  .movie-grid-two {
    grid-template-columns: 1fr 1fr;
  }

  .two-column-showcase,
  .detail-layout {
    display: block;
  }

  .ranking-panel,
  .sticky-card {
    position: static;
    margin-top: 26px;
  }

  .detail-head-grid {
    grid-template-columns: 200px 1fr;
  }

  .archive-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .brand-text {
    font-size: 17px;
  }

  .hero {
    height: 560px;
  }

  .hero-content {
    transform: translate(-50%, -46%);
  }

  .hero-arrow {
    display: none;
  }

  .big-search,
  .filter-panel,
  .footer-bottom,
  .detail-head-grid,
  .ranking-card,
  .related-item,
  .movie-card-wide {
    grid-template-columns: 1fr;
  }

  .category-grid,
  .movie-grid-four,
  .movie-grid-five,
  .movie-grid-three,
  .movie-grid-two,
  .ranking-grid,
  .category-overview-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .category-preview-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .archive-links {
    grid-template-columns: 1fr;
  }

  .detail-poster {
    width: min(260px, 100%);
  }

  .detail-head-copy p {
    font-size: 16px;
  }

  .related-item img {
    width: 100%;
    height: 150px;
  }
}
