:root {
  --page-bg: #fff7fb;
  --panel-bg: #ffffff;
  --text-main: #1f2937;
  --text-soft: #6b7280;
  --text-muted: #9ca3af;
  --pink-50: #fdf2f8;
  --pink-100: #fce7f3;
  --pink-200: #fbcfe8;
  --pink-400: #f472b6;
  --pink-500: #ec4899;
  --pink-600: #db2777;
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --amber-100: #fef3c7;
  --blue-100: #dbeafe;
  --green-100: #dcfce7;
  --violet-100: #ede9fe;
  --sky-100: #e0f2fe;
  --slate-100: #f1f5f9;
  --shadow-card: 0 18px 45px rgba(219, 39, 119, 0.12);
  --shadow-soft: 0 10px 28px rgba(31, 41, 55, 0.08);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text-main);
  background: linear-gradient(180deg, var(--pink-50) 0%, #ffffff 42%, var(--rose-50) 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--pink-600);
  color: #ffffff;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--pink-100);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 22px rgba(219, 39, 119, 0.08);
  backdrop-filter: blur(14px);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.logo-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(244, 63, 94, 0.22);
}

.logo-text {
  background: linear-gradient(90deg, var(--pink-500), var(--rose-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 21px;
  line-height: 1;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #374151;
  font-weight: 650;
}

.primary-nav a,
.dropdown-button {
  border: 0;
  background: transparent;
  color: #374151;
  cursor: pointer;
  transition: color 0.2s ease;
}

.primary-nav a:hover,
.dropdown:hover .dropdown-button,
.dropdown-button:focus-visible {
  color: var(--pink-600);
}

.dropdown {
  position: relative;
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 210px;
  padding: 8px;
  border: 1px solid var(--pink-100);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: 0.18s ease;
}

.dropdown:hover .dropdown-panel,
.dropdown:focus-within .dropdown-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-panel a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: #4b5563;
  font-size: 14px;
}

.dropdown-panel a:hover {
  background: var(--pink-50);
}

.site-search {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 260px;
}

.site-search input {
  width: 100%;
  height: 40px;
  padding: 0 44px 0 18px;
  border: 1px solid var(--pink-200);
  border-radius: 999px;
  color: var(--text-main);
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-search input:focus {
  border-color: var(--pink-400);
  box-shadow: 0 0 0 4px rgba(244, 114, 182, 0.18);
}

.site-search button {
  position: absolute;
  right: 5px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
  color: #ffffff;
  cursor: pointer;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: var(--pink-50);
  color: var(--pink-600);
  cursor: pointer;
}

.mobile-panel {
  display: none;
  border-top: 1px solid var(--pink-100);
  background: #ffffff;
}

.mobile-panel.is-open {
  display: block;
  animation: slideDown 0.18s ease;
}

.mobile-panel-inner {
  display: grid;
  gap: 12px;
  padding: 16px 0 20px;
}

.mobile-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.mobile-links a {
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--pink-50);
  color: #4b5563;
  font-weight: 650;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.38) 52%, rgba(0, 0, 0, 0.08));
}

.hero-content-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
}

.hero-content {
  width: min(900px, calc(100% - 44px));
  margin: 0 auto;
  color: #ffffff;
}

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

.hero-title {
  margin: 18px 0 14px;
  font-size: clamp(34px, 6vw, 66px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.hero-desc {
  width: min(780px, 100%);
  margin: 0 auto 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 2vw, 21px);
  line-height: 1.75;
}

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

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

.btn-primary {
  background: linear-gradient(90deg, var(--pink-500), var(--rose-500));
  color: #ffffff;
  box-shadow: 0 16px 28px rgba(244, 63, 94, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 22px 34px rgba(244, 63, 94, 0.34);
}

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

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

.hero-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-control:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.06);
}

.hero-control.prev {
  left: 18px;
}

.hero-control.next {
  right: 18px;
}

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

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

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

.page-main {
  padding: 48px 0 64px;
}

.section {
  margin-bottom: 58px;
}

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

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--pink-600);
  font-weight: 760;
}

.section-title {
  margin: 0;
  color: var(--text-main);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.2;
}

.section-desc {
  margin: 8px 0 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.more-link {
  color: var(--pink-600);
  font-weight: 760;
}

.more-link:hover {
  color: var(--rose-600);
}

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

.category-tile {
  display: grid;
  gap: 8px;
  min-height: 120px;
  align-content: center;
  padding: 18px;
  border: 1px solid rgba(251, 207, 232, 0.72);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover {
  border-color: var(--pink-400);
  box-shadow: var(--shadow-card);
  transform: translateY(-4px) scale(1.01);
}

.category-emoji {
  font-size: 30px;
}

.category-name {
  font-weight: 800;
}

.category-count {
  color: var(--text-soft);
  font-size: 13px;
}

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

.movie-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(251, 207, 232, 0.72);
  border-radius: var(--radius-md);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.poster-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--pink-100), var(--rose-100));
}

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

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

.poster-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.56);
  color: #ffffff;
  font-size: 12px;
  font-weight: 750;
  backdrop-filter: blur(8px);
}

.poster-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(244, 63, 94, 0.28);
}

.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.card-title {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
}

.card-title a:hover {
  color: var(--pink-600);
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--text-soft);
  font-size: 13px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--pink-50);
  color: var(--pink-600);
  font-weight: 700;
}

.card-desc {
  display: -webkit-box;
  flex: 1;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--text-soft);
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
}

.card-tag {
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--slate-100);
  color: #64748b;
  font-size: 12px;
}

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

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

.movie-card.is-list .poster-wrap {
  aspect-ratio: auto;
  height: 100%;
  min-height: 188px;
}

.rail-scroll {
  display: flex;
  gap: 18px;
  margin: 0 -16px;
  padding: 0 16px 14px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.rail-scroll .movie-card {
  width: 285px;
  min-width: 285px;
  scroll-snap-align: start;
}

.panel-gradient {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(100deg, var(--pink-100), var(--rose-100));
  box-shadow: var(--shadow-soft);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud a {
  padding: 9px 14px;
  border: 2px solid var(--pink-200);
  border-radius: 999px;
  background: #ffffff;
  color: #4b5563;
  font-weight: 700;
  transition: all 0.18s ease;
}

.tag-cloud a:hover {
  border-color: var(--pink-400);
  background: var(--pink-50);
  color: var(--pink-600);
}

.page-hero {
  padding: 56px 0 34px;
  background: radial-gradient(circle at top left, rgba(244, 114, 182, 0.22), transparent 36%), linear-gradient(180deg, var(--pink-50), transparent);
}

.page-hero-card {
  padding: 34px;
  border: 1px solid rgba(251, 207, 232, 0.72);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
}

.page-title {
  margin: 0;
  font-size: clamp(30px, 5vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--text-soft);
  font-size: 14px;
}

.breadcrumb a {
  color: var(--pink-600);
  font-weight: 700;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 190px 170px;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  border: 1px solid var(--pink-100);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--pink-200);
  border-radius: 12px;
  background: #ffffff;
  color: var(--text-main);
  outline: none;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: var(--pink-400);
  box-shadow: 0 0 0 4px rgba(244, 114, 182, 0.18);
}

.result-note {
  margin: 0 0 18px;
  color: var(--text-soft);
}

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

.ranking-item {
  display: grid;
  grid-template-columns: 56px 128px minmax(0, 1fr) 120px;
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(251, 207, 232, 0.72);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.ranking-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
  color: #ffffff;
  font-weight: 850;
}

.ranking-cover {
  height: 76px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--pink-50);
}

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

.ranking-score {
  color: var(--pink-600);
  font-weight: 800;
  text-align: right;
}

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

.player-shell {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #09090b;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.3);
}

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

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

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #111827;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.player-cover.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.58;
}

.player-cover::after {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.72));
}

.player-button {
  position: relative;
  z-index: 2;
  display: grid;
  width: 86px;
  height: 86px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
  color: #ffffff;
  cursor: pointer;
  font-size: 34px;
  box-shadow: 0 20px 42px rgba(244, 63, 94, 0.42);
}

.player-status {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-size: 13px;
  backdrop-filter: blur(8px);
}

.detail-card,
.sidebar-card {
  padding: 24px;
  border: 1px solid rgba(251, 207, 232, 0.72);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.detail-card + .detail-card,
.sidebar-card + .sidebar-card {
  margin-top: 20px;
}

.detail-card h2,
.sidebar-card h2 {
  margin: 0 0 16px;
  font-size: 24px;
}

.detail-card p {
  margin: 0 0 16px;
  color: #4b5563;
  line-height: 1.85;
}

.info-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  display: flex;
  gap: 8px;
  color: #4b5563;
}

.info-list strong {
  min-width: 58px;
  color: var(--text-main);
}

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

.detail-tags a,
.detail-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  background: var(--pink-50);
  color: var(--pink-600);
  font-size: 13px;
  font-weight: 750;
}

.sidebar-poster {
  overflow: hidden;
  border-radius: 18px;
  background: var(--pink-50);
}

.sidebar-poster img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

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

.mini-list {
  display: grid;
  gap: 12px;
}

.mini-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.mini-item img {
  width: 72px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
}

.mini-item strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-item span {
  color: var(--text-soft);
  font-size: 13px;
}

.static-content {
  display: grid;
  gap: 20px;
  color: #4b5563;
  line-height: 1.85;
}

.site-footer {
  border-top: 2px solid var(--pink-100);
  background: linear-gradient(135deg, var(--pink-50), var(--rose-50));
}

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

.footer-title {
  margin: 0 0 12px;
  color: var(--pink-600);
  font-size: 18px;
}

.footer-text,
.footer-links a {
  color: var(--text-soft);
  line-height: 1.75;
  font-size: 14px;
}

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

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

.footer-bottom {
  padding: 18px 0;
  border-top: 1px solid var(--pink-100);
  color: var(--text-soft);
  font-size: 13px;
  text-align: center;
}

.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
  color: #ffffff;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(244, 63, 94, 0.32);
}

.empty-state {
  display: none;
  padding: 34px;
  border: 1px dashed var(--pink-200);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-soft);
  text-align: center;
}

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

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 900px) {
  .hero {
    height: 600px;
  }
}

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

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

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

@media (max-width: 860px) {
  .primary-nav,
  .header-inner > .site-search {
    display: none;
  }

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

  .hero-control {
    width: 42px;
    height: 42px;
  }

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

  .movie-card.is-list {
    grid-template-columns: 1fr;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .ranking-item {
    grid-template-columns: 44px 88px minmax(0, 1fr);
  }

  .ranking-score {
    grid-column: 3;
    text-align: left;
  }

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

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

  .logo-text {
    font-size: 18px;
  }

  .hero {
    height: 540px;
  }

  .hero-control {
    display: none;
  }

  .hero-desc {
    -webkit-line-clamp: 4;
  }

  .page-main {
    padding-top: 34px;
  }

  .section-head {
    display: block;
  }

  .category-grid,
  .movie-grid,
  .related-grid {
    grid-template-columns: 1fr;
  }

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

  .page-hero-card,
  .panel-gradient,
  .detail-card,
  .sidebar-card {
    padding: 20px;
  }

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

  .ranking-cover {
    display: none;
  }

  .ranking-score {
    grid-column: 2;
  }
}
