:root {
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --pink-500: #ec4899;
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;
  --orange-500: #f97316;
  --orange-600: #ea580c;
  --yellow-500: #eab308;
  --slate-950: #020617;
  --gray-900: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-200: #e5e7eb;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(244, 63, 94, 0.16);
  --shadow-card: 0 14px 35px rgba(15, 23, 42, 0.10);
  --radius-xl: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-800);
  background: linear-gradient(180deg, var(--rose-50), #ffffff 40%, var(--orange-50));
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

body.no-scroll {
  overflow: hidden;
}

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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(255, 241, 242, 0.94), rgba(253, 242, 248, 0.94), rgba(255, 247, 237, 0.94));
  border-bottom: 1px solid rgba(244, 63, 94, 0.12);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(18px);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  font-weight: 800;
  white-space: nowrap;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose-500), var(--pink-500), var(--orange-500));
  box-shadow: 0 12px 24px rgba(244, 63, 94, 0.28);
}

.logo-mark svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(90deg, var(--rose-600), var(--pink-500), var(--orange-500));
  -webkit-background-clip: text;
  background-clip: text;
}

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

.nav-links a {
  color: var(--gray-700);
  font-weight: 650;
  transition: color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--rose-600);
}

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

.search-form input {
  width: 210px;
  height: 42px;
  border: 1px solid rgba(244, 63, 94, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  outline: none;
  padding: 0 48px 0 18px;
  transition: width 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.search-form input:focus {
  width: 252px;
  border-color: rgba(244, 63, 94, 0.62);
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.12);
}

.search-form button {
  position: absolute;
  right: 4px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
  cursor: pointer;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(244, 63, 94, 0.10);
  color: var(--rose-600);
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
}

.mobile-panel {
  display: none;
  padding: 0 0 18px;
}

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

.mobile-panel a {
  display: block;
  padding: 12px 0;
  color: var(--gray-700);
  font-weight: 650;
  border-top: 1px solid rgba(244, 63, 94, 0.10);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 70px;
  background: radial-gradient(circle at 20% 12%, rgba(244, 63, 94, 0.25), transparent 28%), radial-gradient(circle at 84% 80%, rgba(249, 115, 22, 0.24), transparent 34%), linear-gradient(90deg, var(--rose-100), #fce7f3, var(--orange-100));
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  filter: blur(56px);
  opacity: 0.28;
  animation: pulseGlow 6s ease-in-out infinite;
}

.hero::before {
  top: -110px;
  left: -80px;
  background: var(--rose-500);
}

.hero::after {
  right: -70px;
  bottom: -140px;
  background: var(--orange-500);
  animation-delay: 1.4s;
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-copy {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 34px;
}

.hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-copy p {
  margin: 8px auto 0;
  color: var(--gray-700);
  font-size: clamp(18px, 2.6vw, 25px);
  font-weight: 300;
}

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

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

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

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--rose-500), var(--pink-500), var(--orange-500));
  box-shadow: 0 16px 30px rgba(244, 63, 94, 0.24);
}

.btn-ghost {
  color: var(--rose-600);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(244, 63, 94, 0.18);
}

.hero-stage {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
}

.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 34px 80px rgba(15, 23, 42, 0.24);
  background: var(--slate-950);
}

.hero-slide {
  display: none;
  position: relative;
  min-height: 490px;
  color: var(--white);
}

.hero-slide.active {
  display: block;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.18), rgba(2, 6, 23, 0.38) 38%, rgba(2, 6, 23, 0.86));
}

.hero-slide-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 34px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(244, 63, 94, 0.92);
  font-size: 14px;
  font-weight: 800;
}

.hero-title {
  margin: 0;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.1;
  font-weight: 900;
}

.hero-desc {
  max-width: 720px;
  margin: 12px 0 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.90);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 700;
}

.hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  pointer-events: none;
}

.hero-dot {
  width: 36px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.25s ease, width 0.25s ease;
}

.hero-dot.active {
  width: 54px;
  background: var(--white);
}

.section {
  padding: 54px 0;
}

.section-soft {
  background: linear-gradient(90deg, rgba(255, 241, 242, 0.74), rgba(255, 247, 237, 0.78));
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--gray-800);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 900;
}

.section-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 15px;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
  box-shadow: 0 14px 28px rgba(244, 63, 94, 0.20);
}

.section-more {
  color: var(--rose-600);
  font-weight: 800;
}

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

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

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

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

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

.movie-card {
  display: block;
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 54px rgba(15, 23, 42, 0.16);
}

.movie-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--rose-100), var(--orange-100));
}

.movie-thumb.poster {
  aspect-ratio: 3 / 4;
}

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

.movie-card:hover .movie-thumb img {
  transform: scale(1.10);
}

.movie-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(2, 6, 23, 0.70));
  opacity: 0;
  transition: opacity 0.28s ease;
}

.movie-card:hover .movie-thumb::after,
.poster-card .movie-thumb::after {
  opacity: 1;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--white);
  background: var(--rose-500);
  font-size: 12px;
  font-weight: 800;
}

.thumb-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
}

.score-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  background: linear-gradient(135deg, var(--yellow-500), var(--orange-500));
}

.movie-body {
  padding: 18px;
}

.movie-title {
  margin: 0 0 8px;
  color: var(--gray-800);
  font-size: 18px;
  font-weight: 850;
  transition: color 0.25s ease;
}

.movie-card:hover .movie-title {
  color: var(--rose-600);
}

.movie-desc {
  margin: 0 0 14px;
  color: var(--gray-600);
  font-size: 14px;
}

.card-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  color: var(--gray-500);
  font-size: 13px;
}

.line-clamp-1,
.line-clamp-2,
.line-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-1 {
  -webkit-line-clamp: 1;
}

.line-clamp-2 {
  -webkit-line-clamp: 2;
}

.line-clamp-3 {
  -webkit-line-clamp: 3;
}

.poster-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  background: var(--white);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.poster-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 46px rgba(15, 23, 42, 0.16);
}

.poster-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 18px;
  color: var(--white);
}

.poster-info h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 850;
}

.poster-info p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
}

.category-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 24px;
  border: 1px solid rgba(244, 63, 94, 0.14);
  border-radius: 22px;
  background: linear-gradient(135deg, #ffffff, rgba(255, 241, 242, 0.92));
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.category-card:hover {
  transform: translateY(-8px);
  border-color: rgba(244, 63, 94, 0.38);
  box-shadow: var(--shadow-soft);
}

.category-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
  box-shadow: 0 16px 34px rgba(244, 63, 94, 0.22);
  font-size: 26px;
}

.category-card h2,
.category-card h3 {
  margin: 0 0 8px;
  color: var(--gray-800);
  font-size: 22px;
  font-weight: 900;
}

.category-card p {
  margin: 0 0 20px;
  color: var(--gray-600);
}

.category-card strong {
  margin-top: auto;
  color: var(--rose-600);
}

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

.rank-item {
  display: grid;
  grid-template-columns: 58px 108px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rank-item:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-soft);
}

.rank-no {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--rose-500), var(--orange-500));
  font-size: 20px;
  font-weight: 900;
}

.rank-cover {
  overflow: hidden;
  width: 108px;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
}

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

.rank-title {
  margin: 0 0 6px;
  color: var(--gray-800);
  font-size: 18px;
  font-weight: 900;
}

.rank-desc {
  margin: 0;
  color: var(--gray-600);
  font-size: 14px;
}

.rank-score {
  color: var(--orange-600);
  font-size: 24px;
  font-weight: 900;
  white-space: nowrap;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 56px 0;
  background: linear-gradient(120deg, var(--rose-100), #fce7f3, var(--orange-100));
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.1;
  font-weight: 900;
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: var(--gray-700);
  font-size: 18px;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) repeat(3, minmax(150px, 200px));
  gap: 12px;
  margin-bottom: 26px;
  padding: 18px;
  border: 1px solid rgba(244, 63, 94, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-card);
}

.filter-bar input,
.filter-bar select {
  height: 46px;
  border: 1px solid rgba(244, 63, 94, 0.20);
  border-radius: 14px;
  background: var(--white);
  outline: none;
  padding: 0 14px;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: rgba(244, 63, 94, 0.62);
  box-shadow: 0 0 0 4px rgba(244, 63, 94, 0.10);
}

.empty-state {
  display: none;
  padding: 46px 16px;
  text-align: center;
  color: var(--gray-600);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.75);
}

.detail-hero {
  padding: 34px 0 46px;
  background: linear-gradient(120deg, var(--rose-100), #fce7f3, var(--orange-100));
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--gray-600);
  font-size: 14px;
}

.breadcrumbs a {
  color: var(--rose-600);
  font-weight: 750;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: end;
}

.detail-title {
  margin: 0 0 14px;
  font-size: clamp(34px, 6vw, 58px);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.03em;
}

.detail-lead {
  margin: 0 0 18px;
  color: var(--gray-700);
  font-size: 18px;
}

.detail-cover {
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 34px 70px rgba(15, 23, 42, 0.24);
  aspect-ratio: 16 / 10;
}

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

.player-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: var(--slate-950);
  box-shadow: 0 32px 68px rgba(15, 23, 42, 0.26);
  aspect-ratio: 16 / 9;
}

.player-wrap video {
  width: 100%;
  height: 100%;
  background: var(--slate-950);
  object-fit: contain;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.36), rgba(2, 6, 23, 0.72));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  border: 0;
  border-radius: 999px;
  color: var(--rose-600);
  background: rgba(255, 255, 255, 0.92);
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease;
}

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

.play-button svg {
  width: 36px;
  height: 36px;
  margin-left: 4px;
  fill: currentColor;
}

.player-overlay strong {
  font-size: 22px;
}

.content-card {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-card);
}

.content-card h2 {
  margin: 0 0 14px;
  color: var(--gray-800);
  font-size: 26px;
  font-weight: 900;
}

.content-card p {
  margin: 0 0 14px;
  color: var(--gray-700);
}

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

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--rose-600);
  background: rgba(244, 63, 94, 0.10);
  font-size: 13px;
  font-weight: 800;
}

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

.side-link {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease;
}

.side-link:hover {
  transform: translateX(5px);
}

.side-link img {
  width: 74px;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  object-fit: cover;
}

.side-link strong {
  display: block;
  color: var(--gray-800);
  font-size: 14px;
}

.side-link span {
  color: var(--gray-500);
  font-size: 12px;
}

.site-footer {
  margin-top: 70px;
  padding: 46px 0 34px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), #f9fafb);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 30px;
}

.footer-title {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 900;
}

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

.footer-links a,
.footer-desc {
  color: var(--gray-600);
  font-size: 14px;
}

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

.copyright {
  margin-top: 30px;
  padding-top: 20px;
  color: var(--gray-500);
  font-size: 13px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

@media (max-width: 1024px) {
  .grid-6,
  .grid-5,
  .grid-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

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

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

  .mobile-toggle {
    display: block;
  }

  .mobile-panel .search-form {
    margin-top: 12px;
  }

  .mobile-panel .search-form input,
  .mobile-panel .search-form input:focus {
    width: 100%;
  }

  .hero {
    padding: 44px 0 52px;
  }

  .hero-slide {
    min-height: 430px;
  }

  .hero-slide-content {
    padding: 24px;
  }

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

  .grid-6,
  .grid-5,
  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .rank-item {
    grid-template-columns: 44px 86px 1fr;
  }

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

  .rank-cover {
    width: 86px;
  }

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

  .content-card {
    padding: 22px;
  }

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

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

  .logo {
    font-size: 20px;
  }

  .hero-copy h1,
  .detail-title,
  .page-hero h1 {
    letter-spacing: -0.02em;
  }

  .hero-slide {
    min-height: 390px;
  }

  .hero-meta {
    gap: 8px;
  }

  .grid-6,
  .grid-5,
  .grid-4,
  .grid-3 {
    grid-template-columns: 1fr;
  }

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