:root {
  --color-pink: #ec4899;
  --color-pink-dark: #db2777;
  --color-purple: #9333ea;
  --color-blue: #3b82f6;
  --color-green: #10b981;
  --color-orange: #f97316;
  --color-text: #1f2937;
  --color-muted: #6b7280;
  --color-soft: #f8fafc;
  --color-line: #e5e7eb;
  --shadow-soft: 0 18px 40px rgba(31, 41, 55, 0.10);
  --shadow-hover: 0 24px 58px rgba(236, 72, 153, 0.18);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--color-text);
  background: linear-gradient(135deg, #fdf2f8 0%, #faf5ff 45%, #eff6ff 100%);
  line-height: 1.6;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.ribbon-decoration {
  height: 4px;
  background: linear-gradient(90deg, #f472b6, #a855f7, #60a5fa);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
}

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 24px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--color-pink), var(--color-purple));
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.28);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark {
  transform: rotate(10deg) scale(1.05);
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-text strong,
.footer-brand strong {
  font-size: 20px;
  line-height: 1.1;
  background: linear-gradient(90deg, var(--color-pink), var(--color-purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text small {
  font-size: 12px;
  color: var(--color-muted);
}

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

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

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

.nav-toggle,
.search-toggle {
  border: 0;
  background: transparent;
  color: #374151;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.nav-toggle {
  display: none;
}

.search-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fdf2f8;
  color: var(--color-pink);
}

.header-search,
.mobile-nav {
  display: none;
  border-top: 1px solid var(--color-line);
}

.header-search.is-open,
.mobile-nav.is-open {
  display: block;
}

.mobile-nav {
  padding: 14px 16px;
}

.mobile-nav .nav-link {
  display: block;
  padding: 10px 0;
}

.header-search-form {
  display: flex;
  gap: 12px;
  padding: 16px 0;
}

.header-search input,
.hero-search input,
.search-page-form input,
.toolbar input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  outline: none;
  background: #fff;
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search input,
.search-page-form input,
.toolbar input {
  padding: 12px 18px;
}

.header-search input:focus,
.hero-search input:focus,
.search-page-form input:focus,
.toolbar input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--color-pink);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.header-search button,
.hero-search button,
.search-page-form button,
.button-primary,
.button-soft {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search button,
.hero-search button,
.search-page-form button,
.button-primary {
  padding: 12px 22px;
  color: #fff;
  background: linear-gradient(90deg, var(--color-pink), var(--color-purple));
  box-shadow: 0 12px 30px rgba(147, 51, 234, 0.22);
}

.button-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  color: #374151;
  background: #fff;
  border: 1px solid rgba(229, 231, 235, 0.95);
}

.header-search button:hover,
.hero-search button:hover,
.search-page-form button:hover,
.button-primary:hover,
.button-soft:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 84px 0 72px;
  background:
    radial-gradient(circle at 12% 15%, rgba(244, 114, 182, 0.18), transparent 32%),
    radial-gradient(circle at 88% 20%, rgba(168, 85, 247, 0.17), transparent 30%),
    linear-gradient(135deg, #fdf2f8 0%, #faf5ff 48%, #eff6ff 100%);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(236, 72, 153, 0.07), rgba(59, 130, 246, 0.07));
  pointer-events: none;
}

.hero-ribbon {
  position: absolute;
  border-radius: 999px;
  filter: blur(36px);
  opacity: 0.6;
  animation: floatRibbon 6s ease-in-out infinite;
}

.hero-ribbon-one {
  top: 42px;
  left: 7%;
  width: 150px;
  height: 150px;
  background: rgba(244, 114, 182, 0.45);
}

.hero-ribbon-two {
  right: 8%;
  bottom: 38px;
  width: 190px;
  height: 190px;
  background: rgba(168, 85, 247, 0.42);
  animation-delay: 1.5s;
}

.hero-ribbon-three {
  right: 32%;
  top: 18%;
  width: 110px;
  height: 110px;
  background: rgba(96, 165, 250, 0.35);
  animation-delay: 0.8s;
}

@keyframes floatRibbon {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(12px, -16px, 0);
  }
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 48px;
  align-items: center;
}

.hero-copy {
  max-width: 720px;
}

.hero-badge,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: #374151;
  box-shadow: 0 8px 26px rgba(15, 23, 42, 0.08);
}

.hero-badge span,
.eyebrow {
  color: var(--color-pink);
}

.hero-copy h1 {
  margin: 24px 0 20px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -0.05em;
  background: linear-gradient(90deg, var(--color-pink), var(--color-purple), var(--color-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy p {
  margin: 0 0 26px;
  max-width: 650px;
  font-size: 20px;
  color: #4b5563;
}

.hero-search {
  display: flex;
  max-width: 640px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.hero-search input {
  border: 0;
  padding: 12px 18px;
  background: transparent;
}

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

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  color: #6b7280;
}

.hero-stats span {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
}

.hero-stats strong {
  color: var(--color-pink);
}

.hero-slider {
  position: relative;
  min-height: 560px;
  border-radius: 32px;
  overflow: hidden;
  background: #111827;
  box-shadow: 0 30px 80px rgba(31, 41, 55, 0.24);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.04);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, #fce7f3, #ede9fe, #dbeafe);
}

.hero-slide-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.12), rgba(17, 24, 39, 0.86));
}

.hero-slide-content {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 44px;
  display: grid;
  gap: 8px;
  color: #fff;
}

.hero-slide-content strong {
  font-size: 28px;
  line-height: 1.2;
}

.hero-slide-content small,
.hero-slide-content em {
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
}

.hero-dots {
  position: absolute;
  left: 24px;
  bottom: 18px;
  display: flex;
  gap: 8px;
}

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

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

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

.glass-section {
  background: rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(10px);
}

.gradient-strip {
  background: linear-gradient(90deg, rgba(252, 231, 243, 0.88), rgba(237, 233, 254, 0.88), rgba(219, 234, 254, 0.88));
}

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

.section-heading h2,
.category-panel h2,
.tag-section h2,
.story-card h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.2;
  color: #1f2937;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--color-muted);
}

.section-link {
  color: var(--color-pink);
  font-weight: 700;
}

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

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

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

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

.movie-card {
  min-width: 0;
}

.movie-card-link {
  height: 100%;
  display: grid;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.poster-frame {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #fce7f3, #ede9fe, #dbeafe);
}

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

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

.poster-badge,
.poster-play {
  position: absolute;
  z-index: 2;
}

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

.poster-play {
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--color-pink), var(--color-purple));
  box-shadow: 0 12px 26px rgba(147, 51, 234, 0.28);
}

.movie-card-body {
  display: grid;
  gap: 10px;
  padding: 18px;
}

.movie-card-body h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
  color: #111827;
}

.movie-card-body p {
  min-height: 48px;
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.movie-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  color: #6b7280;
  font-size: 13px;
}

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

.tag-row,
.detail-tags,
.footer-tags,
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-row span,
.detail-tags a,
.footer-tags span,
.tag-link {
  padding: 5px 10px;
  border-radius: 999px;
  background: #fdf2f8;
  color: var(--color-pink);
  font-size: 12px;
  font-weight: 700;
}

.movie-card--compact .movie-card-link {
  grid-template-columns: 140px minmax(0, 1fr);
  align-items: stretch;
}

.movie-card--compact .poster-frame {
  aspect-ratio: auto;
  min-height: 180px;
}

.movie-card--compact .movie-card-body {
  align-content: center;
}

.movie-card--minimal .movie-card-body p,
.movie-card--minimal .tag-row {
  display: none;
}

.movie-card--minimal .movie-card-body {
  padding: 14px;
}

.movie-card--minimal .movie-card-body h3 {
  font-size: 15px;
}

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

.category-tile {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 26px 18px;
  text-align: center;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-tile span:first-child {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  font-size: 22px;
}

.category-tile--pink span:first-child {
  background: linear-gradient(135deg, var(--color-pink), #f472b6);
}

.category-tile--purple span:first-child {
  background: linear-gradient(135deg, var(--color-purple), #c084fc);
}

.category-tile--blue span:first-child {
  background: linear-gradient(135deg, var(--color-blue), #93c5fd);
}

.category-tile--green span:first-child {
  background: linear-gradient(135deg, var(--color-green), #6ee7b7);
}

.category-tile strong {
  color: #111827;
}

.category-tile small {
  color: var(--color-muted);
}

.tag-section {
  text-align: center;
  background: linear-gradient(135deg, rgba(253, 242, 248, 0.92), rgba(250, 245, 255, 0.92));
}

.tag-section h2 {
  margin-bottom: 22px;
}

.tag-cloud {
  justify-content: center;
}

.tag-link {
  background: #fff;
  color: #374151;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
  transition: all 0.2s ease;
}

.tag-link:hover {
  color: #fff;
  background: linear-gradient(90deg, var(--color-pink), var(--color-purple));
  transform: translateY(-2px);
}

.page-main {
  min-height: 60vh;
}

.page-hero {
  padding: 72px 0;
  text-align: center;
  background:
    radial-gradient(circle at 18% 20%, rgba(244, 114, 182, 0.18), transparent 28%),
    radial-gradient(circle at 82% 10%, rgba(96, 165, 250, 0.18), transparent 28%),
    linear-gradient(135deg, #fff, #faf5ff 50%, #eff6ff);
}

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

.page-hero h1 {
  margin: 16px 0 10px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.12;
  color: #111827;
}

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

.page-stack,
.info-layout,
.sitemap-layout {
  display: grid;
  gap: 28px;
}

.category-panel,
.story-card {
  padding: 30px;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.category-panel h2,
.story-card h2 {
  margin-bottom: 18px;
}

.story-card p {
  margin: 0;
  color: #4b5563;
  white-space: pre-line;
}

.story-card--wide {
  grid-column: 1 / -1;
}

.toolbar,
.result-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.toolbar input {
  max-width: 520px;
}

.result-line {
  justify-content: flex-start;
  color: var(--color-muted);
}

.result-line strong {
  color: var(--color-pink);
  font-size: 24px;
}

.filter-panel {
  display: grid;
  grid-template-columns: 1.5fr repeat(4, 1fr) auto;
  gap: 14px;
  align-items: end;
  padding: 18px;
  margin-bottom: 18px;
  border-radius: var(--radius-xl);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.filter-panel label {
  display: grid;
  gap: 8px;
  color: #374151;
  font-weight: 700;
}

.filter-panel input,
.filter-panel select {
  min-height: 46px;
  padding: 0 14px;
  border-radius: var(--radius-md);
}

.search-page-form {
  max-width: 780px;
  display: flex;
  gap: 12px;
  margin: 0 auto 24px;
  padding: 10px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.search-page-form input {
  border: 0;
  padding-left: 18px;
}

.rank-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.rank-tab {
  border: 0;
  padding: 10px 18px;
  border-radius: 999px;
  color: #374151;
  background: #fff;
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.rank-tab.is-active {
  color: #fff;
  background: linear-gradient(90deg, var(--color-pink), var(--color-purple));
}

.rank-panel {
  display: none;
}

.rank-panel.is-active {
  display: block;
}

.rank-card-wrap {
  position: relative;
}

.rank-number {
  position: absolute;
  top: -10px;
  left: -10px;
  z-index: 4;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, #facc15, var(--color-orange));
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.32);
}

.detail-main {
  padding: 34px 0 70px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--color-muted);
}

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

.detail-hero {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 28px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-soft);
}

.detail-poster {
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(135deg, #fce7f3, #ede9fe, #dbeafe);
  box-shadow: 0 22px 48px rgba(31, 41, 55, 0.18);
}

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

.detail-info h1 {
  margin: 18px 0 12px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.12;
  color: #111827;
}

.detail-lead {
  margin: 0 0 20px;
  color: #4b5563;
  font-size: 20px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.detail-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  background: #f3f4f6;
  color: #4b5563;
  font-weight: 700;
}

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

.player-section {
  padding: 48px 0 22px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  background: #020617;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.32);
}

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

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  border: 0;
  color: #fff;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.28), rgba(15, 23, 42, 0.78));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-large {
  width: 82px;
  height: 82px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-pink), var(--color-purple));
  box-shadow: 0 18px 42px rgba(147, 51, 234, 0.36);
  font-size: 30px;
}

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

.player-overlay small,
.player-status {
  color: rgba(255, 255, 255, 0.78);
}

.player-status {
  position: absolute;
  left: 18px;
  bottom: 12px;
  margin: 0;
  font-size: 13px;
  pointer-events: none;
}

.detail-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.related-section {
  padding-bottom: 0;
}

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

.link-list--columns {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 20px;
}

.link-list li {
  min-width: 0;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f3f4f6;
}

.link-list a {
  color: #111827;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.link-list a:hover {
  color: var(--color-pink);
}

.link-list span {
  flex: 0 0 auto;
  color: var(--color-muted);
  font-size: 13px;
}

.site-footer {
  background: linear-gradient(135deg, #f9fafb, #f3f4f6);
  border-top: 1px solid rgba(229, 231, 235, 0.75);
}

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

.footer-grid h3 {
  margin: 0 0 14px;
  color: #111827;
}

.footer-grid p {
  margin: 14px 0 0;
  color: var(--color-muted);
}

.footer-grid a {
  display: block;
  margin: 9px 0;
  color: #4b5563;
}

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

.footer-note {
  color: var(--color-pink) !important;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 0 26px;
  border-top: 1px solid rgba(229, 231, 235, 0.9);
  color: var(--color-muted);
  font-size: 14px;
}

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

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

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

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

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

  .filter-panel {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .header-inner {
    gap: 14px;
  }

  .brand-text strong {
    font-size: 17px;
  }

  .hero-section {
    padding: 54px 0;
  }

  .hero-search,
  .search-page-form,
  .header-search-form,
  .toolbar,
  .section-heading,
  .footer-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-copy p,
  .page-hero p,
  .detail-lead {
    font-size: 16px;
  }

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

  .movie-grid,
  .movie-grid--featured,
  .ranking-grid,
  .category-grid,
  .detail-content-grid,
  .footer-grid,
  .link-list--columns {
    grid-template-columns: 1fr;
  }

  .movie-card--compact .movie-card-link {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .movie-card--compact .poster-frame {
    min-height: 150px;
  }

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

  .detail-hero {
    padding: 18px;
  }

  .detail-poster {
    max-width: 280px;
    margin: 0 auto;
  }
}

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

  .hero-copy h1,
  .page-hero h1,
  .detail-info h1 {
    letter-spacing: -0.03em;
  }

  .hero-slider {
    min-height: 320px;
    border-radius: 22px;
  }

  .category-panel,
  .story-card {
    padding: 22px;
  }

  .poster-play {
    width: 36px;
    height: 36px;
  }
}
