:root {
  --purple-950: #2e1065;
  --purple-900: #4c1d95;
  --purple-700: #7e22ce;
  --purple-600: #9333ea;
  --pink-600: #db2777;
  --pink-500: #ec4899;
  --rose-500: #f43f5e;
  --blue-500: #3b82f6;
  --green-500: #10b981;
  --gray-950: #111827;
  --gray-800: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --shadow-sm: 0 8px 24px rgba(17, 24, 39, 0.08);
  --shadow-md: 0 18px 45px rgba(126, 34, 206, 0.14);
  --shadow-xl: 0 25px 80px rgba(76, 29, 149, 0.22);
  --radius-lg: 18px;
  --radius-xl: 26px;
  --header-height: 80px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray-950);
  background: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

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

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

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.85);
  box-shadow: 0 8px 30px rgba(17, 24, 39, 0.04);
}

.nav-shell {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-text {
  font-size: 24px;
  background: linear-gradient(120deg, var(--purple-600), var(--pink-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--purple-700);
  background: linear-gradient(135deg, #f3e8ff, #fce7f3);
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(147, 51, 234, 0.1);
}

.brand-mark.light {
  color: #f5d0fe;
  background: rgba(255, 255, 255, 0.1);
}

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

.nav-link,
.mobile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  color: var(--gray-700);
  border-radius: 12px;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--purple-700);
  background: #faf5ff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: #faf5ff;
  border-radius: 12px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--purple-700);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
  padding: 0 16px 16px;
  border-top: 1px solid var(--gray-200);
}

.mobile-nav.open {
  display: grid;
  gap: 6px;
}

main {
  min-height: 60vh;
}

.hero-section,
.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #faf5ff 0%, #fdf2f8 50%, #faf5ff 100%);
}

.hero-section {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: 56px;
  padding: 76px 0 88px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-badge,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--purple-700);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(147, 51, 234, 0.12);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 750;
  box-shadow: var(--shadow-sm);
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
  margin: 24px 0 18px;
  color: var(--gray-950);
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.06em;
}

.hero-copy h1 span {
  background: linear-gradient(120deg, var(--purple-600), var(--pink-600));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p,
.page-hero p,
.detail-one-line {
  max-width: 650px;
  color: var(--gray-600);
  font-size: 19px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 16px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
  color: var(--white);
  background: linear-gradient(120deg, var(--purple-600), var(--pink-600));
  box-shadow: 0 16px 30px rgba(147, 51, 234, 0.28);
}

.btn.secondary {
  color: var(--purple-700);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-md);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 36px;
}

.hero-stats div {
  display: grid;
  gap: 2px;
}

.hero-stats strong {
  color: var(--purple-700);
  font-size: 30px;
  line-height: 1;
}

.hero-stats span {
  color: var(--gray-600);
  font-size: 14px;
}

.hero-panel {
  position: relative;
  min-height: 640px;
}

.hero-slides {
  position: relative;
  height: 640px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--purple-950);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

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

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.82), rgba(17, 24, 39, 0.1) 58%, rgba(76, 29, 149, 0.3));
}

.hero-slide-content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  color: var(--white);
}

.hero-slide-content span {
  display: inline-flex;
  margin-bottom: 10px;
  color: #f5d0fe;
  font-size: 14px;
  font-weight: 700;
}

.hero-slide-content h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.1;
}

.hero-slide-content p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.86);
}

.hero-slide-content a {
  display: inline-flex;
  padding: 11px 18px;
  border-radius: 13px;
  color: var(--purple-700);
  background: var(--white);
  font-weight: 800;
}

.hero-dots {
  position: absolute;
  left: 28px;
  top: 24px;
  z-index: 4;
  display: flex;
  gap: 9px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
}

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

.hero-floating-card {
  position: absolute;
  left: -24px;
  bottom: 42px;
  z-index: 5;
  display: grid;
  gap: 3px;
  min-width: 190px;
  padding: 18px;
  color: var(--gray-950);
  background: rgba(255, 255, 255, 0.92);
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  animation: float-card 3.8s ease-in-out infinite;
}

.hero-floating-card span {
  color: var(--purple-700);
  font-size: 13px;
  font-weight: 700;
}

.hero-floating-card strong {
  line-height: 1.3;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.18;
  pointer-events: none;
}

.hero-glow-one {
  top: 60px;
  left: 6%;
  width: 300px;
  height: 300px;
  background: var(--purple-600);
}

.hero-glow-two {
  right: 4%;
  bottom: 40px;
  width: 400px;
  height: 400px;
  background: var(--pink-600);
}

.content-section {
  padding: 82px 0;
}

.soft-bg {
  background: linear-gradient(180deg, #ffffff, #faf5ff 48%, #ffffff);
}

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

.section-head h2 {
  margin: 14px 0 8px;
  color: var(--gray-950);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-head p {
  max-width: 660px;
  margin: 0;
  color: var(--gray-600);
  font-size: 17px;
}

.section-more,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--purple-700);
  font-weight: 800;
}

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

.feature-card {
  padding: 28px;
  background: linear-gradient(145deg, #ffffff, #fafafa);
  border: 1px solid rgba(229, 231, 235, 0.85);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover,
.movie-card:hover,
.category-card-large:hover,
.support-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--purple-600), var(--pink-600));
  border-radius: 16px;
  font-size: 24px;
}

.feature-card h3,
.movie-card h3,
.category-card-content h2,
.support-card h2,
.detail-article h2,
.detail-table-card h2 {
  margin: 0 0 10px;
  color: var(--gray-950);
  line-height: 1.25;
}

.feature-card p,
.movie-card p,
.category-card-content p,
.support-card p,
.prose-card p,
.detail-article p {
  margin: 0;
  color: var(--gray-600);
}

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

.category-tile {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.category-tile img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.category-tile:hover img {
  transform: scale(1.08);
}

.category-tile-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.78), rgba(17, 24, 39, 0.05));
}

.category-tile-name,
.category-tile-count {
  position: absolute;
  left: 18px;
  right: 18px;
  z-index: 2;
  color: var(--white);
}

.category-tile-name {
  bottom: 46px;
  font-size: 20px;
  font-weight: 850;
}

.category-tile-count {
  bottom: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

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

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

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

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

.movie-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(229, 231, 235, 0.88);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.movie-card.featured {
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 250px;
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #f5f3ff;
}

.movie-card.featured .poster-link {
  height: 100%;
  aspect-ratio: auto;
}

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

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

.poster-gradient {
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.72), transparent);
}

.poster-score {
  position: absolute;
  right: 12px;
  top: 12px;
  padding: 5px 10px;
  color: #78350f;
  background: #fef3c7;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
}

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

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

.movie-meta span,
.detail-meta span {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  background: #f9fafb;
  border-radius: 999px;
}

.movie-card h3 {
  display: -webkit-box;
  min-height: 2.5em;
  margin-top: 12px;
  overflow: hidden;
  font-size: 18px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-card h3 a:hover,
.rank-info h2 a:hover,
.detail-table-card a:hover {
  color: var(--purple-700);
}

.movie-card p {
  display: -webkit-box;
  min-height: 4.8em;
  margin-top: 8px;
  overflow: hidden;
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

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

.tag-pill,
.detail-tags span {
  display: inline-flex;
  padding: 5px 10px;
  color: var(--purple-700);
  background: #faf5ff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.page-hero.compact-hero {
  padding: 68px 0;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(34px, 5vw, 56px);
}

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

.breadcrumb a {
  color: var(--purple-700);
  font-weight: 750;
}

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

.category-card-large {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(229, 231, 235, 0.88);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-covers {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
  height: 180px;
  background: #f5f3ff;
}

.category-covers img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.category-card-content {
  padding: 24px;
}

.category-card-content span {
  color: var(--purple-700);
  font-size: 14px;
  font-weight: 800;
}

.category-card-content h2 {
  margin-top: 8px;
  font-size: 24px;
}

.filter-box {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}

.filter-box.compact-filter {
  max-width: 520px;
}

.filter-box label {
  color: var(--gray-700);
  font-weight: 800;
}

.filter-box input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  color: var(--gray-950);
  background: #f9fafb;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  outline: none;
}

.filter-box input:focus {
  border-color: var(--purple-600);
  box-shadow: 0 0 0 4px rgba(147, 51, 234, 0.1);
}

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

.rank-row {
  display: grid;
  grid-template-columns: 92px 60px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 14px;
  background: var(--white);
  border: 1px solid rgba(229, 231, 235, 0.88);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.rank-cover {
  overflow: hidden;
  width: 92px;
  height: 122px;
  border-radius: 16px;
  background: #f5f3ff;
}

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

.rank-number {
  color: var(--purple-700);
  font-size: 30px;
  font-weight: 900;
  text-align: center;
}

.rank-info h2 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
}

.rank-info p {
  margin: 0 0 12px;
  color: var(--gray-600);
}

.rank-heat {
  display: grid;
  justify-items: end;
  gap: 2px;
  min-width: 82px;
}

.rank-heat strong {
  color: var(--pink-600);
  font-size: 28px;
}

.rank-heat span {
  color: var(--gray-500);
  font-size: 13px;
}

.detail-hero {
  padding: 52px 0 72px;
}

.detail-grid {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-xl);
  background: #f5f3ff;
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.detail-copy h1 {
  font-size: clamp(34px, 5vw, 56px);
}

.detail-meta {
  margin-top: 22px;
}

.rating-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 24px 0 18px;
}

.rating-line strong {
  color: #b45309;
  background: #fef3c7;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 20px;
}

.rating-line span {
  color: var(--gray-600);
}

.detail-tags {
  margin-bottom: 28px;
}

.player-section {
  background: var(--gray-950);
}

.player-card {
  position: relative;
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
  background: #000000;
  border-radius: 28px;
  box-shadow: var(--shadow-xl);
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--white);
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.48), rgba(17, 24, 39, 0.18));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.play-overlay span {
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px;
  color: var(--purple-700);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  font-size: 28px;
  box-shadow: var(--shadow-xl);
}

.play-overlay strong {
  font-size: 18px;
}

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

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

.detail-article,
.detail-table-card,
.prose-card,
.support-card {
  padding: 30px;
  background: var(--white);
  border: 1px solid rgba(229, 231, 235, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
}

.detail-article h2,
.prose-card h2 {
  margin: 0 0 14px;
  font-size: 26px;
}

.detail-article h2:not(:first-child),
.prose-card h2:not(:first-child) {
  margin-top: 30px;
}

.detail-article p,
.prose-card p {
  color: var(--gray-700);
  font-size: 17px;
}

.detail-table-card table {
  width: 100%;
  border-collapse: collapse;
}

.detail-table-card th,
.detail-table-card td {
  padding: 13px 0;
  border-bottom: 1px solid var(--gray-200);
  text-align: left;
  vertical-align: top;
}

.detail-table-card th {
  width: 72px;
  color: var(--gray-600);
}

.detail-table-card td {
  color: var(--gray-950);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.site-footer {
  color: #f5f3ff;
  background: linear-gradient(135deg, var(--purple-950), var(--purple-900) 52%, #831843);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 56px 0 36px;
}

.footer-brand {
  margin-bottom: 16px;
  font-size: 22px;
}

.site-footer p,
.site-footer a,
.site-footer li {
  color: rgba(245, 243, 255, 0.78);
}

.site-footer h3 {
  margin: 0 0 16px;
  color: var(--white);
}

.site-footer ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(245, 243, 255, 0.78);
}

.is-hidden {
  display: none !important;
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 1120px) {
  .hero-grid,
  .detail-grid,
  .detail-content-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 560px;
  }

  .hero-slides {
    height: 560px;
  }

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

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

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

@media (max-width: 820px) {
  :root {
    --header-height: 68px;
  }

  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .hero-grid {
    gap: 36px;
    padding: 48px 0 64px;
  }

  .hero-panel,
  .hero-slides {
    min-height: 430px;
    height: 430px;
  }

  .hero-floating-card {
    left: 18px;
    bottom: 18px;
  }

  .section-head {
    display: grid;
  }

  .feature-grid,
  .movie-grid,
  .featured-grid,
  .compact-grid,
  .category-grid,
  .category-movie-grid,
  .category-list-grid,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .rank-row {
    grid-template-columns: 76px 44px 1fr;
  }

  .rank-cover {
    width: 76px;
    height: 104px;
  }

  .rank-heat {
    grid-column: 3;
    justify-items: start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

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

  .hero-copy h1,
  .page-hero h1,
  .detail-copy h1 {
    font-size: 36px;
  }

  .hero-actions,
  .hero-stats,
  .detail-meta,
  .rating-line {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn {
    width: 100%;
  }

  .hero-panel,
  .hero-slides {
    min-height: 360px;
    height: 360px;
  }

  .content-section {
    padding: 58px 0;
  }

  .feature-grid,
  .movie-grid,
  .featured-grid,
  .compact-grid,
  .category-grid,
  .category-movie-grid,
  .category-list-grid,
  .support-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .rank-row {
    grid-template-columns: 70px 1fr;
  }

  .rank-number {
    position: absolute;
    right: 24px;
    top: 22px;
    font-size: 24px;
  }

  .rank-info h2 {
    padding-right: 42px;
  }
}
