:root {
  --bg: #ffffff;
  --ink: #1f2937;
  --muted: #6b7280;
  --soft: #f9fafb;
  --line: #f1f5f9;
  --pink: #ec4899;
  --pink-dark: #be185d;
  --orange: #f97316;
  --amber: #f59e0b;
  --rose: #fb7185;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  --small-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  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;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 14px 22px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: #111827;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  box-shadow: 0 10px 24px rgba(236, 72, 153, 0.3);
}

.brand-text {
  white-space: nowrap;
  font-size: 1.12rem;
}

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

.nav-link {
  position: relative;
  padding: 10px 13px;
  border-radius: 999px;
  color: #4b5563;
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 0.25s ease, background 0.25s ease;
}

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

.nav-search,
.mobile-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #f5d0e3;
  border-radius: 999px;
  background: #ffffff;
  padding: 5px;
}

.nav-search input,
.mobile-search input,
.search-panel input {
  min-width: 0;
  border: 0;
  outline: 0;
  color: #111827;
  background: transparent;
}

.nav-search input {
  width: 190px;
  padding: 8px 8px 8px 14px;
}

.nav-search button,
.mobile-search button,
.search-panel button {
  border: 0;
  color: #ffffff;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  cursor: pointer;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.22);
}

.nav-search button,
.mobile-search button {
  padding: 8px 15px;
}

.mobile-menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: #fdf2f8;
  cursor: pointer;
}

.mobile-menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: var(--pink-dark);
}

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

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

.mobile-search {
  margin-top: 8px;
}

.mobile-search input {
  width: 100%;
  padding: 10px 10px 10px 14px;
}

.hero-shell {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: linear-gradient(135deg, #fce7f3 0%, #fff7ed 48%, #fef3c7 100%);
}

.hero-shell::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 150px;
  background: linear-gradient(0deg, #ffffff, rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  opacity: 0.18;
  filter: blur(38px);
  animation: pulse-orb 5s ease-in-out infinite;
}

.orb-one {
  top: 70px;
  left: 8%;
  width: 150px;
  height: 150px;
  background: var(--pink);
}

.orb-two {
  right: 10%;
  bottom: 150px;
  width: 210px;
  height: 210px;
  background: var(--orange);
  animation-delay: 0.9s;
}

.orb-three {
  top: 42%;
  left: 42%;
  width: 170px;
  height: 170px;
  background: var(--amber);
  animation-delay: 1.7s;
}

@keyframes pulse-orb {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.14);
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1220px;
  margin: 0 auto;
  padding: 72px 22px 96px;
}

.hero-slide {
  display: none;
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: 58px;
  min-height: 500px;
}

.hero-slide.is-active {
  display: grid;
  animation: fade-up 0.55s ease both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-kicker,
.sub-hero-inner span,
.section-heading span,
.category-card-body span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #7c2d12;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--small-shadow);
  font-size: 0.88rem;
  font-weight: 800;
}

.hero-copy h1,
.hero-title-like {
  max-width: 760px;
  margin: 0 0 12px;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 1.04;
  font-weight: 950;
  letter-spacing: -0.06em;
  background: linear-gradient(120deg, var(--pink-dark), var(--orange), var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title-like {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

.hero-copy h2 {
  margin: 0 0 18px;
  color: #111827;
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  line-height: 1.1;
  font-weight: 900;
}

.hero-copy p {
  max-width: 680px;
  margin: 0 0 22px;
  color: #4b5563;
  font-size: 1.12rem;
}

.hero-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 28px;
}

.hero-tags span,
.detail-tags span {
  padding: 7px 12px;
  border-radius: 999px;
  color: #9f1239;
  background: #fff1f2;
  font-size: 0.86rem;
  font-weight: 700;
}

.hero-actions,
.section-more {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

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

.primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  box-shadow: 0 16px 30px rgba(236, 72, 153, 0.28);
}

.secondary-button,
.outline-button {
  color: #1f2937;
  border: 2px solid #f1f5f9;
  background: #ffffff;
}

.primary-button:hover,
.secondary-button:hover,
.outline-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--small-shadow);
}

.hero-poster {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  border: 12px solid rgba(255, 255, 255, 0.76);
  border-radius: 36px;
  background: linear-gradient(135deg, #fdf2f8, #ffedd5);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
}

.hero-poster img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.hero-poster span {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  font-weight: 800;
}

.hero-controls {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: -30px;
}

.hero-arrow,
.hero-dot {
  border: 0;
  cursor: pointer;
}

.hero-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #9f1239;
  background: #ffffff;
  box-shadow: var(--small-shadow);
  font-size: 1.8rem;
  line-height: 1;
}

.hero-dots {
  display: inline-flex;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--small-shadow);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #f9a8d4;
  transition: width 0.25s ease, background 0.25s ease;
}

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

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 50px 22px 28px;
}

.feature-item {
  text-align: center;
  padding: 26px 18px;
  border: 1px solid #f8e4ee;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--small-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-item span {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 999px;
  color: var(--orange);
  background: linear-gradient(135deg, #fce7f3, #ffedd5);
  font-weight: 900;
}

.feature-item strong {
  display: block;
  font-size: 1.3rem;
}

.content-section {
  max-width: 1220px;
  margin: 0 auto;
  padding: 72px 22px;
}

.content-section.tinted {
  max-width: none;
  padding-right: calc((100vw - min(1220px, 100vw)) / 2 + 22px);
  padding-left: calc((100vw - min(1220px, 100vw)) / 2 + 22px);
  background: linear-gradient(135deg, #fff7ed, #fdf2f8);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading.left-heading {
  margin-left: 0;
  text-align: left;
}

.section-heading h2,
.sub-hero h1 {
  margin: 0 0 12px;
  color: #111827;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  font-weight: 950;
  letter-spacing: -0.04em;
}

.section-heading p,
.sub-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

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

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

.movie-card {
  overflow: hidden;
  border: 1px solid #f3f4f6;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  border-color: #fbcfe8;
  box-shadow: var(--shadow);
}

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

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

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

.poster-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.25s ease;
}

.movie-card:hover .poster-link::after {
  background: rgba(0, 0, 0, 0.22);
}

.corner-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  font-size: 0.78rem;
  font-weight: 900;
}

.rank-badge {
  right: 12px;
  left: auto;
  background: rgba(17, 24, 39, 0.82);
}

.play-pip {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .play-pip {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

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

.movie-card-body h3 {
  margin: 5px 0 8px;
  font-size: 1.06rem;
  line-height: 1.25;
}

.movie-card-body h3 a:hover {
  color: var(--pink-dark);
}

.meta-line,
.movie-genre {
  margin: 0;
  color: #9ca3af;
  font-size: 0.82rem;
  font-weight: 700;
}

.movie-genre {
  color: #6b7280;
}

.movie-desc {
  display: -webkit-box;
  min-height: 3.1em;
  margin: 8px 0 0;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: #6b7280;
  font-size: 0.9rem;
}

.section-more {
  justify-content: center;
  margin-top: 34px;
}

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

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

.category-card {
  position: relative;
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  overflow: hidden;
  min-height: 190px;
  border: 1px solid #f3f4f6;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--small-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-card-cover {
  overflow: hidden;
  background: linear-gradient(135deg, #fdf2f8, #ffedd5);
}

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

.category-card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
}

.category-card-body h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  font-weight: 950;
}

.category-card-body p {
  margin: 0;
  color: #6b7280;
}

.accent-pink .category-card-body span,
.sub-hero.accent-pink .sub-hero-inner span {
  color: #9f1239;
  background: #fdf2f8;
}

.accent-orange .category-card-body span,
.sub-hero.accent-orange .sub-hero-inner span {
  color: #9a3412;
  background: #fff7ed;
}

.accent-rose .category-card-body span,
.sub-hero.accent-rose .sub-hero-inner span {
  color: #9f1239;
  background: #fff1f2;
}

.accent-amber .category-card-body span,
.sub-hero.accent-amber .sub-hero-inner span {
  color: #92400e;
  background: #fffbeb;
}

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

.ranking-row {
  display: grid;
  align-items: center;
  grid-template-columns: 46px 62px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 12px;
  border: 1px solid #f3f4f6;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ranking-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--small-shadow);
}

.ranking-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  font-weight: 950;
}

.ranking-row img {
  width: 62px;
  height: 82px;
  border-radius: 14px;
  object-fit: cover;
  background: #fdf2f8;
}

.ranking-info {
  display: grid;
  gap: 3px;
}

.ranking-info strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-info em {
  overflow: hidden;
  color: #6b7280;
  font-size: 0.88rem;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-action {
  color: var(--pink-dark);
  font-weight: 900;
}

.sub-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #fce7f3, #fff7ed 52%, #fef3c7);
}

.sub-hero::before,
.sub-hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  opacity: 0.18;
  filter: blur(36px);
}

.sub-hero::before {
  top: 40px;
  left: 8%;
  width: 160px;
  height: 160px;
  background: var(--pink);
}

.sub-hero::after {
  right: 8%;
  bottom: 30px;
  width: 190px;
  height: 190px;
  background: var(--orange);
}

.sub-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 960px;
  margin: 0 auto;
  padding: 74px 22px;
  text-align: center;
}

.search-panel {
  display: flex;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto 22px;
  padding: 8px;
  border: 1px solid #f5d0e3;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: var(--small-shadow);
}

.search-panel input {
  flex: 1;
  padding: 13px 18px;
}

.search-panel button {
  padding: 0 24px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 32px;
}

.filter-button {
  border: 1px solid #f8d7e8;
  border-radius: 999px;
  padding: 9px 15px;
  color: #7c2d12;
  background: #ffffff;
  cursor: pointer;
  font-weight: 800;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.filter-button:hover,
.filter-button.is-active {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--pink), var(--orange));
}

.no-results {
  display: none;
  margin: 40px auto 0;
  max-width: 520px;
  text-align: center;
  color: #6b7280;
  font-weight: 800;
}

.no-results.is-visible {
  display: block;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  color: #6b7280;
  font-size: 0.92rem;
}

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

.detail-layout {
  max-width: 1220px;
  margin: 0 auto;
  padding: 34px 22px 78px;
}

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

.watch-area,
.detail-sidebar,
.related-section {
  min-width: 0;
}

.player-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  background: #030712;
  box-shadow: var(--shadow);
}

.movie-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(3, 7, 18, 0.22), rgba(3, 7, 18, 0.68));
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.big-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), var(--orange));
  box-shadow: 0 18px 45px rgba(236, 72, 153, 0.42);
  font-size: 2rem;
}

.play-label {
  font-weight: 900;
}

.detail-content,
.info-card,
.related-section {
  margin-top: 24px;
  border: 1px solid #f3f4f6;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--small-shadow);
}

.detail-content {
  padding: 30px;
}

.detail-content h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: -0.04em;
}

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

.detail-meta span {
  padding: 8px 13px;
  border-radius: 999px;
  color: #7c2d12;
  background: #fff7ed;
  font-size: 0.9rem;
  font-weight: 800;
}

.detail-content h2 {
  margin: 26px 0 10px;
  font-size: 1.35rem;
  font-weight: 900;
}

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

.detail-content .lead-text {
  color: #111827;
  font-size: 1.08rem;
  font-weight: 700;
}

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

.info-card {
  position: sticky;
  top: 92px;
  padding: 18px;
}

.info-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  object-fit: cover;
  background: #fdf2f8;
}

.info-card h2 {
  margin: 20px 0 12px;
  font-size: 1.35rem;
}

.info-card dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.info-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid #f3f4f6;
}

.info-card dl div:last-child {
  border-bottom: 0;
}

.info-card dt {
  color: #6b7280;
}

.info-card dd {
  margin: 0;
  text-align: right;
  font-weight: 800;
}

.info-card dd a {
  color: var(--pink-dark);
}

.related-section {
  padding: 30px;
}

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

.site-footer {
  border-top: 1px solid #f3f4f6;
  background: #111827;
  color: #d1d5db;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  max-width: 1220px;
  margin: 0 auto;
  padding: 36px 22px;
}

.footer-brand {
  color: #ffffff;
  font-size: 1.2rem;
}

.footer-inner p {
  max-width: 560px;
  margin: 10px 0 0;
  color: #9ca3af;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  padding: 8px 12px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

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

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

  .hero-slide {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 34px;
  }
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

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

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

  .hero-poster {
    min-height: 360px;
    transform: none;
  }

  .hero-poster img {
    min-height: 360px;
  }

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

  .category-grid,
  .full-category-grid,
  .ranking-list {
    grid-template-columns: 1fr;
  }

  .info-card {
    position: static;
  }
}

@media (max-width: 680px) {
  .nav-wrap {
    padding: 12px 16px;
  }

  .brand-text {
    font-size: 1rem;
  }

  .hero-inner {
    padding: 54px 16px 82px;
  }

  .hero-shell {
    min-height: auto;
  }

  .hero-slide {
    min-height: auto;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .hero-actions,
  .section-more {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button,
  .outline-button {
    width: 100%;
  }

  .hero-controls {
    margin-top: 20px;
  }

  .feature-strip,
  .movie-grid,
  .compact-grid,
  .ranking-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .content-section,
  .content-section.tinted {
    padding: 52px 16px;
  }

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

  .movie-desc {
    display: none;
  }

  .category-card {
    grid-template-columns: 116px minmax(0, 1fr);
    min-height: 162px;
  }

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

  .category-card-body h2 {
    font-size: 1.18rem;
  }

  .category-card-body p {
    font-size: 0.9rem;
  }

  .search-panel {
    align-items: stretch;
    flex-direction: column;
    border-radius: 24px;
  }

  .search-panel button {
    min-height: 46px;
  }

  .detail-layout {
    padding: 26px 16px 54px;
  }

  .detail-content,
  .related-section {
    padding: 22px;
  }

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

@media (max-width: 430px) {
  .feature-strip,
  .movie-grid,
  .compact-grid,
  .ranking-grid {
    grid-template-columns: 1fr;
  }

  .hero-poster,
  .hero-poster img {
    min-height: 310px;
  }

  .ranking-row {
    grid-template-columns: 38px 54px minmax(0, 1fr);
  }

  .ranking-action {
    display: none;
  }
}
