:root {
  --bg: #fff7fb;
  --panel: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --line: rgba(31, 41, 55, 0.10);
  --pink: #ec4899;
  --red: #ef4444;
  --orange: #f97316;
  --yellow: #facc15;
  --blue: #3b82f6;
  --purple: #a855f7;
  --shadow: 0 20px 40px rgba(31, 41, 55, 0.14);
  --soft-shadow: 0 10px 25px rgba(31, 41, 55, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, #fdf2f8 0%, #ffffff 46%, #eff6ff 100%);
  -webkit-font-smoothing: antialiased;
}

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: 80;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 8px 25px rgba(31, 41, 55, 0.08);
}

.nav-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-weight: 800;
  color: #111827;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink), var(--red), var(--orange));
  box-shadow: 0 14px 28px rgba(239, 68, 68, 0.28);
}

.brand-name {
  font-size: 20px;
  letter-spacing: 0.02em;
}

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

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: #4b5563;
  font-weight: 700;
  transition: all 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: linear-gradient(90deg, var(--pink), var(--red));
  box-shadow: 0 10px 22px rgba(236, 72, 153, 0.24);
}

.site-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(330px, 32vw);
  padding: 6px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(31, 41, 55, 0.08);
}

.site-search input,
.large-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.site-search input {
  padding: 8px 10px;
}

.site-search button,
.large-search button {
  border: 0;
  color: #ffffff;
  font-weight: 800;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--red));
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.site-search button {
  padding: 8px 14px;
}

.site-search button:hover,
.large-search button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(239, 68, 68, 0.22);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  border-radius: 99px;
  background: #111827;
}

.mobile-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 14px;
  padding: 12px;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.mobile-panel a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  font-weight: 700;
}

.mobile-panel a:hover {
  background: #fdf2f8;
  color: var(--red);
}

.hero-section {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  margin-bottom: 64px;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, var(--pink), var(--red), var(--yellow), var(--purple));
  background-size: 260% 260%;
  animation: gradientShift 9s ease-in-out infinite;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.34), transparent 24%),
    radial-gradient(circle at 80% 10%, rgba(59, 130, 246, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(17, 24, 39, 0.18), rgba(17, 24, 39, 0.44));
}

.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: center;
}

.hero-stage {
  position: relative;
  min-height: 460px;
}

.hero-feature {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) 320px;
  gap: 32px;
  align-items: center;
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

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

.hero-copy {
  color: #ffffff;
  text-shadow: 0 10px 30px rgba(17, 24, 39, 0.20);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-copy .eyebrow,
.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.hero-copy h1 {
  margin: 0 0 8px;
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.98;
  font-weight: 900;
}

.hero-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 900;
}

.hero-copy p:not(.eyebrow) {
  max-width: 680px;
  margin: 0 0 28px;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

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

.primary-btn {
  color: var(--red);
  background: #ffffff;
  box-shadow: 0 18px 32px rgba(17, 24, 39, 0.22);
}

.ghost-btn {
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.primary-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px) scale(1.03);
}

.hero-poster {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 32px 80px rgba(17, 24, 39, 0.34);
  transform: rotate(2deg);
}

.hero-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 -120px 100px rgba(0, 0, 0, 0.34);
}

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

.hero-side {
  padding: 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24), var(--shadow);
  backdrop-filter: blur(16px);
}

.side-title {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
}

.compact-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 18px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  transition: transform 0.25s ease, background 0.25s ease;
}

.compact-card:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.24);
}

.compact-card img {
  width: 70px;
  height: 88px;
  object-fit: cover;
  border-radius: 14px;
}

.compact-card strong,
.compact-card em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compact-card strong {
  white-space: nowrap;
  font-size: 15px;
  margin-bottom: 6px;
}

.compact-card em {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
  font-size: 12px;
  line-height: 1.45;
}

.side-more {
  display: block;
  margin-top: 14px;
  padding: 12px;
  border-radius: 16px;
  text-align: center;
  color: var(--red);
  font-weight: 900;
  background: #ffffff;
}

.hero-dots {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  gap: 10px;
}

.hero-dots button {
  width: 34px;
  height: 8px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.42);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.is-active {
  width: 56px;
  background: #ffffff;
}

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

.soft-panel {
  padding: 34px;
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(255, 237, 213, 0.8), rgba(243, 232, 255, 0.72));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.60);
}

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

.section-heading.centered {
  display: block;
  text-align: center;
}

.section-heading p {
  margin: 0 0 6px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1;
  font-weight: 900;
  background: linear-gradient(90deg, var(--orange), var(--red), var(--pink));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-heading a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--red);
  font-weight: 800;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

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

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

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

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

.movie-card-link {
  height: 100%;
  display: block;
  overflow: hidden;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

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

.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.08);
}

.poster-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.70));
  transition: opacity 0.28s ease;
}

.movie-card-link:hover .poster-frame::after {
  opacity: 1;
}

.year-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 18px rgba(17, 24, 39, 0.22);
}

.year-badge {
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  background: rgba(17, 24, 39, 0.70);
  backdrop-filter: blur(10px);
}

.rank-badge {
  top: 12px;
  left: 12px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
}

.hover-play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--red);
  background: #ffffff;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.5);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

.card-body {
  padding: 16px;
}

.card-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.card-title {
  margin: 0 0 10px;
  min-height: 44px;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 900;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-desc {
  margin: 0 0 12px;
  min-height: 58px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.48;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-tags,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.card-tags span,
.detail-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  color: #db2777;
  background: #fce7f3;
  font-size: 12px;
  font-weight: 800;
}

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

.category-pill {
  display: block;
  padding: 20px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.category-pill strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.category-pill span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.page-main,
.detail-main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 0;
}

.page-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 40px;
  padding: clamp(32px, 6vw, 64px);
  border-radius: 34px;
  color: #ffffff;
  background: linear-gradient(120deg, var(--purple), var(--pink), var(--red), var(--orange));
  box-shadow: var(--shadow);
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -120px;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.page-hero h1 {
  position: relative;
  margin: 0 0 14px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1;
  font-weight: 900;
}

.page-hero p:not(.eyebrow) {
  position: relative;
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.90);
  font-size: 18px;
  line-height: 1.8;
}

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

.category-card {
  overflow: hidden;
  border-radius: 28px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.category-card-head {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.category-card-head > span {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 18px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink), var(--red));
}

.category-card h2 {
  margin: 0 0 6px;
  font-size: 24px;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.category-card-links a {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding: 10px 12px;
  border-radius: 12px;
  color: #4b5563;
  background: #f9fafb;
  font-size: 14px;
  font-weight: 700;
}

.category-card-links a:hover {
  color: var(--red);
  background: #fdf2f8;
}

.rank-leads {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.rank-lead {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 18px;
  border-radius: 24px;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.rank-lead img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.rank-lead::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.76));
}

.rank-lead-num,
.rank-lead strong,
.rank-lead em {
  position: relative;
  z-index: 1;
}

.rank-lead-num {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 999px;
  color: var(--red);
  background: #ffffff;
  font-weight: 900;
}

.rank-lead strong {
  font-size: 21px;
  margin-bottom: 8px;
}

.rank-lead em {
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
  line-height: 1.55;
}

.large-search {
  position: relative;
  z-index: 1;
  max-width: 760px;
  display: flex;
  gap: 10px;
  margin-top: 24px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
}

.large-search input {
  padding: 12px 16px;
}

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

.filter-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.filter-row button {
  border: 0;
  padding: 9px 14px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
  cursor: pointer;
  font-weight: 800;
}

.filter-row button.is-active {
  color: var(--red);
  background: #ffffff;
}

.empty-state {
  padding: 40px;
  border-radius: 24px;
  text-align: center;
  color: var(--muted);
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 14px;
}

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

.detail-hero {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  margin-bottom: 36px;
  padding: 28px;
  border-radius: 34px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.detail-cover {
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 3 / 4;
  box-shadow: 0 24px 50px rgba(17, 24, 39, 0.18);
}

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

.detail-info .eyebrow {
  color: var(--orange);
}

.detail-info h1 {
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1;
}

.detail-one-line {
  margin: 0 0 18px;
  color: #374151;
  font-size: 19px;
  line-height: 1.75;
}

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

.detail-meta span,
.detail-meta a {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  color: #374151;
  background: #f3f4f6;
  font-weight: 800;
  font-size: 13px;
}

.detail-info .primary-btn {
  margin-top: 20px;
  color: #ffffff;
  background: linear-gradient(90deg, var(--pink), var(--red));
}

.player-section {
  margin-bottom: 34px;
}

.video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 34px;
  background: #000000;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

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

.player-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: #000000;
}

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

.player-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.66;
}

.player-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.62));
}

.play-badge {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--red);
  background: #ffffff;
  font-size: 32px;
  transform: translate(-50%, -50%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease;
}

.player-cover:hover .play-badge {
  transform: translate(-50%, -50%) scale(1.08);
}

.detail-copy {
  padding: 34px;
  margin-bottom: 50px;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.detail-copy h2 {
  margin: 0 0 14px;
  font-size: 28px;
}

.detail-copy p {
  margin: 0 0 26px;
  color: #374151;
  font-size: 17px;
  line-height: 1.95;
}

.detail-copy p:last-child {
  margin-bottom: 0;
}

.site-footer {
  margin-top: 64px;
  padding: 42px 0;
  color: #ffffff;
  background: linear-gradient(135deg, #111827, #1f2937);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.footer-brand {
  font-size: 22px;
  font-weight: 900;
}

.footer-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

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

.footer-links a {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  font-weight: 700;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

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

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 38px 0;
  }

  .hero-section,
  .hero-inner {
    min-height: 720px;
  }

  .hero-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .side-title,
  .side-more {
    grid-column: 1 / -1;
  }

  .movie-grid,
  .catalog-grid,
  .ranking-grid,
  .ranking-page-grid,
  .related-grid,
  .category-cloud {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

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

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

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

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

  .hero-poster {
    display: none;
  }

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

  .hero-section,
  .hero-inner {
    min-height: 760px;
  }

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

  .movie-grid,
  .catalog-grid,
  .ranking-grid,
  .ranking-page-grid,
  .related-grid,
  .category-cloud,
  .category-overview,
  .rank-leads {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .soft-panel,
  .detail-copy {
    padding: 22px;
  }

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

@media (max-width: 560px) {
  .nav-wrap,
  .content-section,
  .page-main,
  .detail-main,
  .footer-inner,
  .hero-inner,
  .mobile-panel {
    width: min(100% - 22px, 1180px);
  }

  .brand-name {
    font-size: 17px;
  }

  .hero-section,
  .hero-inner {
    min-height: 720px;
  }

  .hero-side {
    display: block;
  }

  .movie-grid,
  .catalog-grid,
  .ranking-grid,
  .ranking-page-grid,
  .related-grid,
  .category-cloud,
  .category-overview,
  .rank-leads {
    grid-template-columns: 1fr;
  }

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

  .card-body {
    padding: 13px;
  }

  .card-title {
    font-size: 15px;
  }

  .card-desc {
    font-size: 12px;
  }

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

  .large-search {
    border-radius: 24px;
    flex-direction: column;
  }

  .large-search button {
    min-height: 44px;
  }
}
