:root {
  --pink: #ec4899;
  --pink-dark: #db2777;
  --purple: #a855f7;
  --purple-dark: #9333ea;
  --blue: #3b82f6;
  --bg-a: #fdf2f8;
  --bg-b: #faf5ff;
  --bg-c: #eff6ff;
  --text: #1f2937;
  --muted: #6b7280;
  --soft: rgba(255, 255, 255, 0.78);
  --line: rgba(236, 72, 153, 0.18);
  --shadow: 0 20px 48px rgba(168, 85, 247, 0.18);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Helvetica, Arial, sans-serif;
  background: linear-gradient(135deg, var(--bg-a) 0%, var(--bg-b) 48%, var(--bg-c) 100%);
}

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 28px rgba(236, 72, 153, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple), var(--blue));
  box-shadow: 0 12px 24px rgba(236, 72, 153, 0.28);
}

.brand-text {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  position: relative;
  color: #374151;
  font-weight: 700;
  transition: color 0.2s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--pink);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.header-search,
.mobile-search,
.local-filter {
  position: relative;
}

.header-search input,
.mobile-search input,
.local-filter input,
.search-hero-form input {
  width: 100%;
  border: 1px solid rgba(236, 72, 153, 0.24);
  border-radius: 999px;
  outline: none;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input {
  width: min(270px, 28vw);
  padding: 11px 48px 11px 18px;
}

.header-search button {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
}

.header-search input:focus,
.mobile-search input:focus,
.local-filter input:focus,
.search-hero-form input:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.15);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  color: var(--pink-dark);
  background: rgba(252, 231, 243, 0.9);
}

.mobile-panel {
  display: none;
  border-top: 1px solid rgba(236, 72, 153, 0.12);
  background: rgba(255, 255, 255, 0.96);
}

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

.mobile-panel nav {
  display: grid;
  gap: 14px;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
}

.mobile-search {
  display: flex;
  gap: 10px;
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto 18px;
}

.mobile-search input {
  padding: 12px 16px;
}

.mobile-search button,
.search-hero-form button,
.primary-button,
.secondary-button {
  border: 0;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--blue));
  box-shadow: 0 12px 26px rgba(236, 72, 153, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-search button:hover,
.search-hero-form button:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 18px 34px rgba(168, 85, 247, 0.28);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 36px 0 28px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  filter: blur(56px);
  opacity: 0.34;
  pointer-events: none;
}

.hero::before {
  top: 30px;
  left: -110px;
  background: var(--pink);
}

.hero::after {
  right: -90px;
  bottom: -70px;
  background: var(--blue);
}

.hero-slider {
  position: relative;
  min-height: 540px;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #111827;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.58fr);
  gap: 30px;
  align-items: center;
  padding: clamp(28px, 5vw, 70px);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.66), rgba(17, 24, 39, 0.42)),
    radial-gradient(circle at 12% 16%, rgba(236, 72, 153, 0.35), transparent 32%),
    radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.32), transparent 28%);
}

.hero-content,
.hero-cover {
  position: relative;
  z-index: 1;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: #fce7f3;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  font-weight: 800;
}

.hero h1 {
  max-width: 820px;
  margin: 20px 0 16px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.hero p {
  max-width: 760px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-tags span,
.tag-row span,
.meta-chip,
.category-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.hero-tags span {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
}

.secondary-button {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.hero-cover {
  justify-self: end;
  width: min(340px, 100%);
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.25);
}

.hero-cover img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 24px;
}

.hero-dots {
  position: absolute;
  z-index: 3;
  left: clamp(28px, 5vw, 70px);
  bottom: 26px;
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 38px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.is-active {
  width: 58px;
  background: #fff;
}

.quick-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 0;
}

.quick-cats a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-cats a:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 30px rgba(168, 85, 247, 0.28);
}

.main-section {
  padding: 46px 0;
}

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

.section-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--pink);
  font-weight: 900;
  letter-spacing: 0.08em;
}

.section-head h1,
.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: -0.04em;
}

.section-head p {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.section-more {
  flex-shrink: 0;
  color: var(--pink-dark);
  font-weight: 900;
}

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

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

.movie-card {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 26px rgba(31, 41, 55, 0.07);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 46px rgba(168, 85, 247, 0.18);
}

.movie-card-link {
  display: block;
  height: 100%;
}

.movie-poster {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fce7f3, #ede9fe);
}

.movie-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.72), transparent 56%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.poster-type,
.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: rgba(236, 72, 153, 0.9);
  backdrop-filter: blur(6px);
}

.rank-badge {
  left: auto;
  right: 12px;
  background: rgba(168, 85, 247, 0.9);
}

.poster-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: #fff;
  background: rgba(236, 72, 153, 0.9);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.25s ease;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

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

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

.movie-card-body h3 {
  min-height: 52px;
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.movie-card:hover h3 {
  color: var(--pink);
}

.movie-card-summary {
  min-height: 48px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.movie-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 800;
}

.movie-meta-row span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #fdf2f8;
}

.movie-genre {
  margin: 0;
  color: var(--purple-dark);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.movie-card-compact .movie-card-body h3 {
  min-height: 44px;
  font-size: 16px;
}

.movie-card-compact .movie-card-summary {
  display: none;
}

.gradient-panel {
  margin: 34px 0;
  padding: 40px 0;
  background: linear-gradient(90deg, rgba(253, 242, 248, 0.88), rgba(250, 245, 255, 0.88), rgba(239, 246, 255, 0.88));
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}

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

.category-box {
  min-height: 190px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 30px rgba(168, 85, 247, 0.11);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 44px rgba(236, 72, 153, 0.16);
}

.category-box h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

.category-box p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.75;
}

.category-box strong {
  color: var(--pink-dark);
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin: 0 0 26px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 28px rgba(168, 85, 247, 0.1);
}

.local-filter input {
  padding: 13px 18px;
}

.result-count {
  color: var(--muted);
  font-weight: 800;
}

.ranking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 56px 96px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 26px rgba(31, 41, 55, 0.06);
}

.rank-num {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink), var(--purple));
}

.rank-item img {
  width: 96px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 14px;
}

.rank-item h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.rank-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rank-score {
  color: var(--pink-dark);
  font-size: 22px;
  font-weight: 900;
}

.sidebar-panel {
  position: sticky;
  top: 98px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 36px rgba(168, 85, 247, 0.14);
}

.sidebar-panel h2 {
  margin: 0 0 16px;
}

.mini-card {
  position: relative;
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mini-card:hover {
  background: #fdf2f8;
  transform: translateX(3px);
}

.mini-card img {
  width: 62px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 12px;
}

.mini-info strong,
.mini-info em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-info strong {
  margin-bottom: 6px;
  font-size: 15px;
}

.mini-info em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.mini-rank {
  position: absolute;
  right: 10px;
  top: 10px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  background: var(--pink);
}

.breadcrumb {
  margin: 24px 0;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--pink-dark);
  font-weight: 800;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 340px;
  gap: 30px;
  align-items: start;
  margin-bottom: 34px;
}

.player-card {
  overflow: hidden;
  border-radius: 30px;
  background: #111827;
  box-shadow: 0 24px 52px rgba(17, 24, 39, 0.25);
}

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

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

.play-mask {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  color: #fff;
  background: linear-gradient(0deg, rgba(2, 6, 23, 0.54), rgba(2, 6, 23, 0.12));
  z-index: 2;
}

.play-mask span {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  font-size: 38px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease;
}

.play-mask:hover span {
  transform: scale(1.08);
}

.player-card.is-playing .play-mask {
  display: none;
}

.player-caption {
  padding: 22px;
  color: #fff;
  background: linear-gradient(90deg, rgba(236, 72, 153, 0.18), rgba(168, 85, 247, 0.18));
}

.player-caption h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 40px);
}

.player-caption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.8;
}

.detail-cover {
  padding: 14px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 38px rgba(168, 85, 247, 0.16);
}

.detail-cover img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 20px;
}

.detail-meta {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.meta-chip {
  justify-content: flex-start;
  color: #4b5563;
  background: #fdf2f8;
}

.detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  align-items: start;
}

.article-panel,
.related-panel,
.search-panel {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(168, 85, 247, 0.12);
}

.article-panel h2,
.related-panel h2,
.search-panel h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

.article-panel p {
  margin: 0 0 20px;
  color: #374151;
  font-size: 17px;
  line-height: 2;
}

.tag-row {
  margin-top: 8px;
}

.tag-row span,
.category-chip {
  color: var(--pink-dark);
  background: #fce7f3;
}

.related-panel {
  position: sticky;
  top: 98px;
}

.search-hero {
  padding: 58px 0 32px;
}

.search-panel {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

.search-panel h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 54px);
}

.search-panel p {
  margin: 0 0 24px;
  color: var(--muted);
  line-height: 1.8;
}

.search-hero-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 130px;
  gap: 12px;
}

.search-hero-form input {
  padding: 15px 20px;
}

.search-hero-form button {
  border: 0;
}

.empty-message {
  padding: 28px;
  border-radius: 22px;
  color: var(--muted);
  text-align: center;
  background: rgba(255, 255, 255, 0.75);
}

.site-footer {
  margin-top: 52px;
  background: linear-gradient(90deg, #fce7f3, #f3e8ff, #dbeafe);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  padding: 42px 0;
}

.site-footer h2 {
  margin: 0 0 14px;
  font-size: 20px;
}

.site-footer p,
.site-footer li {
  color: #4b5563;
  line-height: 1.85;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a:hover {
  color: var(--pink-dark);
}

.footer-bottom {
  padding: 18px 0 26px;
  color: #6b7280;
  text-align: center;
  border-top: 1px solid rgba(236, 72, 153, 0.14);
}

[hidden] {
  display: none !important;
}

@media (max-width: 1120px) {
  .movie-grid,
  .movie-grid.compact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .sidebar-panel,
  .related-panel {
    position: static;
  }
}

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

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

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

  .hero-slider {
    min-height: 680px;
  }

  .hero-slide {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .hero-cover {
    justify-self: start;
    width: min(220px, 62vw);
  }

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

  .detail-cover {
    max-width: 360px;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 22px, 1280px);
  }

  .hero {
    padding-top: 18px;
  }

  .hero-slider {
    min-height: 720px;
    border-radius: 24px;
  }

  .hero-slide {
    padding: 24px;
  }

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

  .hero-dots {
    left: 24px;
  }

  .section-head,
  .filter-bar {
    align-items: stretch;
    grid-template-columns: 1fr;
    flex-direction: column;
  }

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

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

  .movie-card-body h3 {
    min-height: 44px;
    font-size: 15px;
  }

  .movie-card-summary {
    min-height: 42px;
    font-size: 13px;
  }

  .rank-item {
    grid-template-columns: 42px 74px minmax(0, 1fr);
  }

  .rank-score {
    grid-column: 3;
    font-size: 16px;
  }

  .rank-num {
    width: 38px;
    height: 38px;
  }

  .rank-item img {
    width: 74px;
  }

  .article-panel,
  .related-panel,
  .search-panel {
    padding: 20px;
    border-radius: 22px;
  }

  .search-hero-form {
    grid-template-columns: 1fr;
  }

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