:root {
  --purple-950: #2e1065;
  --purple-900: #4c1d95;
  --purple-800: #5b21b6;
  --purple-700: #6d28d9;
  --purple-600: #7c3aed;
  --purple-100: #ede9fe;
  --purple-50: #f5f3ff;
  --rose-500: #ec4899;
  --taro-500: #c084fc;
  --ink: #1f2937;
  --muted: #6b7280;
  --line: #eadcff;
  --paper: #ffffff;
  --soft: #fbf7ff;
  --shadow: 0 20px 55px rgba(76, 29, 149, 0.16);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, var(--soft) 52%, #fff 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(237, 233, 254, 0.9);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1240px, calc(100% - 32px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 900;
  white-space: nowrap;
  background: linear-gradient(90deg, var(--purple-700), var(--rose-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--purple-600);
  border-radius: 12px;
  background: var(--purple-50);
  box-shadow: 0 0 28px rgba(168, 85, 247, 0.42);
  animation: floatPulse 3.8s ease-in-out infinite;
}

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

.nav-link,
.main-nav > a,
.nav-dropdown > a {
  font-weight: 700;
  color: #4b5563;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.main-nav > a:hover,
.nav-dropdown:hover > a {
  color: var(--purple-700);
}

.nav-dropdown {
  position: relative;
  padding: 26px 0;
}

.dropdown-panel {
  position: absolute;
  top: 70px;
  left: 50%;
  width: 280px;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: 0.2s ease;
}

.nav-dropdown:hover .dropdown-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.dropdown-panel a {
  padding: 10px 12px;
  border-radius: 12px;
  color: #4b5563;
}

.dropdown-panel a:hover {
  color: var(--purple-800);
  background: linear-gradient(135deg, #f5efff, #fde7f4);
}

.top-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-search input,
.search-page-form input,
.filter-bar input,
.filter-bar select,
.search-page-form select {
  border: 1px solid #ddd6fe;
  border-radius: 999px;
  background: var(--purple-50);
  color: var(--ink);
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.top-search input {
  width: 250px;
  padding: 10px 16px;
}

.top-search input:focus,
.search-page-form input:focus,
.filter-bar input:focus,
.filter-bar select:focus,
.search-page-form select:focus {
  border-color: var(--purple-500, #8b5cf6);
  box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.top-search button,
.search-page-form button,
.home-search-panel button,
.clear-filter {
  border: 0;
  cursor: pointer;
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--purple-700), var(--rose-500));
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.24);
}

.top-search button {
  padding: 10px 16px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--purple-50);
  border-radius: 14px;
  padding: 10px;
}

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

.hero-carousel {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--purple-950), var(--purple-700), #db2777);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.55s ease;
}

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

.hero-backdrop {
  position: absolute;
  inset: 0;
}

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

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 32%, rgba(236, 72, 153, 0.48), transparent 32%),
    linear-gradient(0deg, rgba(46, 16, 101, 0.98), rgba(76, 29, 149, 0.54), rgba(46, 16, 101, 0.4));
}

.hero-content {
  position: relative;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  max-width: 720px;
  margin-left: max(16px, calc((100% - 1240px) / 2));
  animation: slideUp 0.65s ease both;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  margin-bottom: 16px;
  color: var(--purple-800);
  font-weight: 900;
  border-radius: 999px;
  background: linear-gradient(135deg, #f5efff, #fde7f4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.52);
}

.hero-content h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.04em;
}

.hero-content p {
  max-width: 680px;
  margin: 0 0 26px;
  color: #efe7ff;
  font-size: clamp(17px, 2.3vw, 22px);
  line-height: 1.75;
}

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

.hero-tags span,
.detail-meta span,
.tag-list span {
  padding: 8px 13px;
  color: #fff;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

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

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-btn {
  color: var(--purple-700);
  background: #fff;
  box-shadow: 0 18px 36px rgba(255, 255, 255, 0.24);
}

.ghost-btn {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.12);
}

.primary-btn:hover,
.ghost-btn:hover,
.movie-card:hover,
.category-card:hover {
  transform: translateY(-3px);
}

.hero-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 999px;
  color: var(--purple-700);
  background: rgba(255, 255, 255, 0.86);
  cursor: pointer;
  font-size: 34px;
  line-height: 1;
  box-shadow: var(--shadow);
}

.hero-arrow.prev {
  left: 26px;
}

.hero-arrow.next {
  right: 26px;
}

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

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

.hero-dot.active {
  width: 36px;
  background: #fff;
}

.home-search-panel,
.search-panel,
.filter-bar {
  width: min(1120px, calc(100% - 32px));
  margin: -42px auto 46px;
  position: relative;
  z-index: 5;
  padding: 18px;
  border: 1px solid rgba(237, 233, 254, 0.95);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.home-search-panel form,
.search-page-form,
.filter-bar {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.home-search-panel label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.home-search-panel div,
.search-page-form {
  display: flex;
  gap: 12px;
}

.home-search-panel input,
.search-page-form input {
  flex: 1;
  min-width: 0;
  padding: 15px 18px;
  border: 1px solid #ddd6fe;
  border-radius: 999px;
  outline: 0;
  background: var(--purple-50);
}

.home-search-panel button,
.search-page-form button,
.clear-filter {
  padding: 0 26px;
}

.section-block {
  width: min(1240px, calc(100% - 32px));
  margin: 70px auto;
}

.section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 26px;
}

.section-heading span {
  color: var(--rose-500);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-heading h2,
.link-cloud h2,
.detail-text h2,
.ranking-side h2,
.site-footer h2 {
  margin: 8px 0 8px;
  color: #1f2937;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.15;
}

.section-heading p,
.link-cloud p,
.category-copy p,
.site-footer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 14px 35px rgba(76, 29, 149, 0.09);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.movie-card:hover {
  box-shadow: var(--shadow);
}

.large-card {
  grid-column: span 2;
  grid-row: span 2;
}

.poster-link {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #ede9fe, #fce7f3);
}

.large-card .poster-link {
  aspect-ratio: 16 / 11;
}

.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-mask {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.72), transparent 70%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.play-bubble,
.play-ring {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 999px;
  color: var(--purple-700);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.movie-info {
  padding: 18px;
}

.movie-info h3 {
  min-height: 48px;
  margin: 0 0 10px;
  color: #1f2937;
  font-size: 18px;
  line-height: 1.35;
}

.movie-info h3 a:hover {
  color: var(--purple-700);
}

.movie-info p {
  min-height: 48px;
  margin: 0 0 14px;
  color: #6b7280;
  line-height: 1.65;
}

.movie-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #6b7280;
  font-size: 14px;
}

.movie-meta span:first-child {
  padding: 6px 11px;
  color: var(--purple-800);
  font-weight: 900;
  border-radius: 999px;
  background: linear-gradient(135deg, #f5efff, #fde7f4);
}

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

.category-pill {
  min-height: 150px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 8%, rgba(236, 72, 153, 0.18), transparent 32%),
    #fff;
  box-shadow: 0 12px 32px rgba(76, 29, 149, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-pill strong {
  display: block;
  margin-bottom: 12px;
  color: var(--purple-800);
  font-size: 20px;
}

.category-pill span {
  color: #6b7280;
  line-height: 1.7;
}

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

.ranking-item {
  display: grid;
  grid-template-columns: 42px 76px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(76, 29, 149, 0.07);
  transition: transform 0.2s ease;
}

.ranking-item:hover {
  transform: translateX(4px);
}

.rank-number {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--purple-800);
  font-weight: 900;
  background: var(--purple-50);
}

.hot-rank .rank-number {
  color: #fff;
  background: linear-gradient(135deg, var(--purple-700), var(--rose-500));
}

.ranking-item img {
  width: 76px;
  height: 54px;
  object-fit: cover;
  border-radius: 12px;
}

.ranking-copy {
  min-width: 0;
}

.ranking-copy strong,
.ranking-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-copy small {
  margin-top: 4px;
  color: #6b7280;
}

.score {
  color: var(--rose-500);
  font-weight: 900;
}

.page-hero,
.detail-hero {
  position: relative;
  width: min(1240px, calc(100% - 32px));
  margin: 40px auto 0;
  padding: clamp(42px, 6vw, 74px);
  overflow: hidden;
  border-radius: 34px;
  background:
    radial-gradient(circle at 82% 12%, rgba(236, 72, 153, 0.34), transparent 34%),
    linear-gradient(135deg, var(--purple-950), var(--purple-700));
  box-shadow: var(--shadow);
}

.page-hero p {
  max-width: 760px;
  margin: 0;
  color: #efe7ff;
  font-size: 18px;
  line-height: 1.8;
}

.compact-hero,
.category-hero,
.ranking-hero {
  min-height: 280px;
  display: grid;
  align-items: center;
}

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

.category-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(76, 29, 149, 0.1);
  transition: transform 0.2s ease;
}

.category-cover {
  position: relative;
  min-height: 230px;
  overflow: hidden;
}

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

.category-cover span {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 14px;
  color: #fff;
  font-weight: 900;
  border-radius: 999px;
  background: rgba(76, 29, 149, 0.78);
}

.category-copy {
  padding: 24px;
}

.category-copy h2 {
  margin: 0 0 10px;
  color: #1f2937;
}

.category-sample-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.category-sample-links a,
.link-cloud a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--purple-800);
  font-weight: 800;
  background: var(--purple-50);
}

.filter-bar {
  grid-template-columns: minmax(0, 1fr) 180px auto;
  margin-top: 28px;
}

.filter-bar input,
.filter-bar select,
.search-page-form select {
  width: 100%;
  padding: 14px 16px;
}

.link-cloud {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
}

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

.breadcrumb {
  width: min(1240px, calc(100% - 32px));
  margin: 26px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: #6b7280;
}

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

.detail-hero {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 42px;
  align-items: center;
}

.detail-cover {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

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

.detail-copy .lead-text {
  margin: 0 0 22px;
  color: #f3e8ff;
  font-size: 19px;
  line-height: 1.85;
}

.detail-copy .tag-list {
  margin-top: 16px;
}

.detail-copy .primary-btn {
  margin-top: 26px;
}

.player-section {
  margin-top: 46px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  background: #020617;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.25);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(0deg, rgba(46, 16, 101, 0.82), rgba(15, 23, 42, 0.18));
}

.player-overlay[hidden] {
  display: none;
}

.detail-text {
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(76, 29, 149, 0.08);
}

.detail-text h2 {
  font-size: 28px;
}

.detail-text p {
  color: #4b5563;
  font-size: 18px;
  line-height: 2;
}

.ranking-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 26px;
}

.wide-ranking {
  grid-template-columns: 1fr;
  align-content: start;
}

.ranking-side {
  position: sticky;
  top: 98px;
  align-self: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.side-grid {
  display: grid;
  gap: 16px;
}

.search-panel {
  margin-top: 28px;
}

.search-page-form {
  grid-template-columns: minmax(0, 1fr) 190px auto;
}

.site-footer {
  position: relative;
  margin-top: 100px;
  padding-top: 50px;
  background: linear-gradient(180deg, var(--purple-50), #fff);
}

.wave-shape {
  position: absolute;
  top: -32px;
  left: 0;
  width: 100%;
  height: 64px;
  color: #ede9fe;
  background:
    radial-gradient(80px 30px at 8% 100%, currentColor 0%, transparent 70%),
    radial-gradient(100px 34px at 24% 100%, currentColor 0%, transparent 72%),
    radial-gradient(120px 36px at 45% 100%, currentColor 0%, transparent 72%),
    radial-gradient(96px 34px at 70% 100%, currentColor 0%, transparent 72%),
    radial-gradient(120px 38px at 90% 100%, currentColor 0%, transparent 72%);
}

.footer-inner {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 34px;
}

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

.footer-links a {
  color: #5b5569;
}

.footer-links a:hover {
  color: var(--purple-700);
}

.footer-bottom {
  width: min(1240px, calc(100% - 32px));
  margin: 34px auto 0;
  padding: 24px 0;
  color: #6b7280;
  border-top: 1px solid #e9d5ff;
}

.no-results {
  grid-column: 1 / -1;
  padding: 46px;
  text-align: center;
  color: #6b7280;
  border: 1px dashed #d8b4fe;
  border-radius: 24px;
  background: #fff;
}

@keyframes floatPulse {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .top-search {
    display: none;
  }

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

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

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

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

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

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .main-nav {
    position: fixed;
    top: 68px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a,
  .nav-dropdown > a {
    padding: 13px 12px;
  }

  .nav-dropdown {
    padding: 0;
  }

  .dropdown-panel {
    position: static;
    width: auto;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
  }

  .hero-carousel {
    height: 620px;
  }

  .hero-content {
    width: calc(100% - 32px);
    margin: 0 auto;
  }

  .hero-arrow {
    display: none;
  }

  .home-search-panel div,
  .search-page-form,
  .filter-bar {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .large-card {
    grid-column: span 2;
  }

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

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

@media (max-width: 560px) {
  .brand {
    font-size: 18px;
  }

  .hero-carousel {
    height: 680px;
  }

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

  .section-block {
    margin: 50px auto;
  }

  .movie-grid,
  .featured-grid,
  .ranking-list,
  .category-pills,
  .category-card-grid {
    grid-template-columns: 1fr;
  }

  .large-card {
    grid-column: span 1;
  }

  .ranking-item {
    grid-template-columns: 34px 64px 1fr;
  }

  .ranking-item .score {
    display: none;
  }

  .page-hero,
  .detail-hero {
    padding: 28px;
    border-radius: 24px;
  }

  .detail-meta span,
  .tag-list span,
  .hero-tags span {
    font-size: 13px;
  }
}
