:root {
  color-scheme: light;
  --pink-50: #fff1f5;
  --pink-100: #ffe4ee;
  --pink-200: #fecddf;
  --pink-500: #ec4899;
  --pink-600: #db2777;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --yellow-500: #f59e0b;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-lg: 0 20px 45px rgba(17, 24, 39, 0.12);
  --shadow-md: 0 12px 24px rgba(17, 24, 39, 0.08);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--gray-800);
  background: linear-gradient(180deg, #ffffff 0%, var(--gray-50) 100%);
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80px;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
  font-size: 22px;
  background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
  box-shadow: 0 12px 24px rgba(236, 72, 153, 0.28);
  transition: transform 0.25s ease;
}

.brand:hover .brand-mark,
.footer-brand:hover .brand-mark {
  transform: scale(1.08);
}

.brand-text {
  display: grid;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--pink-500), var(--rose-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text small {
  margin-top: 4px;
  color: var(--gray-500);
  font-size: 12px;
}

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

.nav-link {
  position: relative;
  color: var(--gray-700);
  font-weight: 700;
  transition: color 0.2s ease;
}

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

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--pink-500), var(--rose-500));
  content: "";
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  opacity: 1;
  transform: translateY(0);
}

.header-search {
  position: relative;
  flex: 0 1 320px;
}

.header-search input {
  width: 100%;
  height: 42px;
  padding: 0 48px 0 18px;
  color: var(--gray-700);
  background: #ffffff;
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  outline: none;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.header-search input:focus {
  border-color: var(--pink-500);
  box-shadow: 0 0 0 4px rgba(236, 72, 153, 0.12);
}

.header-search button {
  position: absolute;
  top: 50%;
  right: 6px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  color: var(--gray-700);
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  cursor: pointer;
}

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

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

.mobile-nav a,
.mobile-nav button {
  padding: 12px 14px;
  color: var(--gray-700);
  font-weight: 700;
  background: var(--pink-50);
  border: 0;
  border-radius: 14px;
}

.mobile-nav form {
  display: grid;
  gap: 10px;
}

.mobile-nav input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 14px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  background: linear-gradient(135deg, var(--pink-100) 0%, #ffffff 48%, var(--pink-50) 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(236, 72, 153, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(236, 72, 153, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  content: "";
  opacity: 0.55;
}

.hero::after {
  position: absolute;
  right: -12%;
  bottom: -32%;
  width: 58%;
  height: 90%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.28), transparent 68%);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 620px;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 54px;
  padding: 56px 0;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 14px;
  color: var(--pink-600);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(236, 72, 153, 0.18);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
}

.hero h1,
.page-hero h1,
.detail-title h1 {
  margin: 0;
  color: transparent;
  font-weight: 900;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--pink-500), var(--rose-500));
  -webkit-background-clip: text;
  background-clip: text;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.05;
}

.hero-copy p {
  margin: 22px 0 0;
  color: var(--gray-600);
  font-size: 18px;
  line-height: 1.85;
}

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

.button-primary,
.button-secondary,
.button-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  font-weight: 800;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.button-secondary {
  color: var(--pink-600);
  background: #ffffff;
  border: 1px solid rgba(236, 72, 153, 0.18);
}

.button-soft {
  color: var(--gray-700);
  background: var(--pink-50);
  border: 1px solid var(--pink-100);
}

.button-primary:hover,
.button-secondary:hover,
.button-soft:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(17, 24, 39, 0.12);
}

.hero-stats {
  display: grid;
  max-width: 540px;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.hero-stat {
  padding: 18px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.hero-stat strong {
  display: block;
  color: var(--gray-900);
  font-size: 28px;
  line-height: 1;
}

.hero-stat span {
  display: block;
  margin-top: 8px;
  color: var(--gray-500);
  font-size: 13px;
}

.hero-slider {
  position: relative;
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(14px);
}

.hero-frame {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  border-radius: 24px;
  background: var(--gray-900);
}

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

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

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

.hero-slide-content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 38px;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.92), rgba(17, 24, 39, 0.24) 72%, transparent);
}

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

.hero-slide-content p {
  max-width: 560px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.hero-tags span {
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 13px;
}

.hero-slide-content .button-primary {
  min-height: 42px;
  margin-top: 18px;
  padding: 0 18px;
}

.hero-dots {
  position: absolute;
  right: 32px;
  bottom: 28px;
  z-index: 5;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  background: rgba(255, 255, 255, 0.6);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dot.is-active {
  width: 28px;
  background: #ffffff;
}

.section {
  padding: 68px 0;
}

.section-soft {
  background: linear-gradient(180deg, #ffffff 0%, var(--pink-50) 100%);
}

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

.section-heading h2,
.sidebar-card h2,
.content-panel h2 {
  margin: 0;
  color: var(--gray-800);
  font-size: clamp(28px, 4vw, 42px);
}

.section-heading p {
  max-width: 620px;
  margin: 8px 0 0;
  color: var(--gray-500);
  line-height: 1.7;
}

.section-heading a {
  color: var(--pink-600);
  font-weight: 800;
}

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

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

.movie-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.84);
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.movie-card:hover {
  border-color: rgba(236, 72, 153, 0.28);
  box-shadow: 0 22px 52px rgba(17, 24, 39, 0.14);
  transform: translateY(-6px);
}

.movie-poster {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--gray-100);
}

.movie-card-compact .movie-poster {
  aspect-ratio: 16 / 10;
}

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

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

.movie-poster::after {
  position: absolute;
  inset: auto 0 0 0;
  height: 48%;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.64), transparent);
  content: "";
}

.movie-type,
.rank-badge {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
}

.movie-type {
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  background: rgba(236, 72, 153, 0.92);
}

.rank-badge {
  top: 12px;
  left: 12px;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--yellow-500), #ef4444);
  box-shadow: 0 10px 22px rgba(239, 68, 68, 0.25);
}

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

.movie-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--gray-500);
  font-size: 13px;
}

.movie-meta-line span:first-child {
  color: var(--yellow-500);
  font-weight: 800;
}

.movie-card h2 {
  margin: 0 0 10px;
  font-size: 19px;
  line-height: 1.35;
}

.movie-card h2 a {
  transition: color 0.2s ease;
}

.movie-card:hover h2 a {
  color: var(--pink-600);
}

.movie-card p {
  display: -webkit-box;
  min-height: 50px;
  margin: 0;
  overflow: hidden;
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 16px;
  color: var(--gray-500);
  font-size: 13px;
}

.card-foot a {
  color: var(--pink-600);
  font-weight: 800;
}

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

.tag-row {
  margin-top: 12px;
}

.tag-row span,
.keyword-cloud a,
.tag-link {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  color: var(--pink-600);
  background: var(--pink-50);
  border: 1px solid var(--pink-100);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

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

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 210px;
  padding: 26px;
  background: #ffffff;
  border: 1px solid rgba(229, 231, 235, 0.84);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card::after {
  position: absolute;
  right: -40px;
  bottom: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.18), transparent 68%);
  border-radius: 999px;
  content: "";
}

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

.category-card strong {
  display: block;
  color: var(--gray-900);
  font-size: 24px;
}

.category-card p {
  margin: 14px 0 0;
  color: var(--gray-600);
  line-height: 1.7;
}

.category-card span {
  display: inline-flex;
  margin-top: 18px;
  color: var(--pink-600);
  font-weight: 800;
}

.page-hero {
  padding: 60px 0 44px;
  background: linear-gradient(135deg, var(--pink-50), #ffffff);
  border-bottom: 1px solid var(--gray-200);
}

.page-hero h1 {
  font-size: clamp(36px, 5vw, 58px);
}

.page-hero p {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--gray-600);
  font-size: 17px;
  line-height: 1.8;
}

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

.breadcrumb a:hover {
  color: var(--pink-600);
}

.filter-panel {
  margin-bottom: 28px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.filter-row {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 14px;
}

.filter-row input,
.filter-row select,
.search-hero-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  background: #ffffff;
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  outline: none;
}

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

.filter-empty {
  display: none;
  padding: 34px;
  color: var(--gray-500);
  text-align: center;
  background: #ffffff;
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius-xl);
}

.filter-empty.is-visible {
  display: block;
}

.feature-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 24px;
}

.sidebar-card,
.content-panel {
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.sidebar-card {
  position: sticky;
  top: 108px;
  align-self: start;
  padding: 22px;
}

.sidebar-card h2 {
  margin-bottom: 18px;
  font-size: 24px;
}

.mini-list {
  display: grid;
  gap: 12px;
}

.mini-link {
  display: grid;
  grid-template-columns: 34px 58px 1fr;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: var(--gray-50);
  border-radius: 16px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mini-link:hover {
  background: var(--pink-50);
  transform: translateX(4px);
}

.mini-link > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
  border-radius: 12px;
}

.mini-link img {
  width: 58px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
}

.mini-link strong {
  display: block;
  color: var(--gray-800);
  font-size: 14px;
  line-height: 1.35;
}

.mini-link small {
  display: block;
  margin-top: 6px;
  color: var(--gray-500);
}

.detail-hero {
  padding: 36px 0;
  background: linear-gradient(135deg, var(--pink-50), #ffffff);
  border-bottom: 1px solid var(--gray-200);
}

.detail-title {
  display: grid;
  grid-template-columns: 156px 1fr;
  gap: 26px;
  align-items: center;
}

.detail-title img {
  width: 156px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

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

.detail-title p {
  max-width: 850px;
  margin: 16px 0 0;
  color: var(--gray-600);
  font-size: 17px;
  line-height: 1.8;
}

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

.detail-meta span {
  padding: 8px 12px;
  color: var(--gray-700);
  background: #ffffff;
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

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

.player-box {
  overflow: hidden;
  margin-bottom: 24px;
  background: #000000;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.video-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.video-shell video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000000;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
  color: #ffffff;
  background: #000000;
  border: 0;
  cursor: pointer;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.player-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

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

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

.play-ring {
  position: relative;
  z-index: 2;
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  padding-left: 6px;
  color: #ffffff;
  font-size: 38px;
  background: linear-gradient(135deg, var(--pink-500), var(--rose-500));
  border: 4px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36);
  transition: transform 0.2s ease;
}

.player-cover:hover .play-ring {
  transform: scale(1.08);
}

.content-panel {
  padding: 28px;
}

.content-panel + .content-panel {
  margin-top: 24px;
}

.content-panel h2 {
  margin-bottom: 16px;
  font-size: 28px;
}

.content-panel p {
  margin: 0;
  color: var(--gray-700);
  font-size: 16px;
  line-height: 1.92;
}

.content-panel p + p {
  margin-top: 14px;
}

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

.related-card {
  overflow: hidden;
  background: var(--gray-50);
  border-radius: 18px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.related-card:hover {
  background: var(--pink-50);
  transform: translateY(-4px);
}

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

.related-card strong {
  display: block;
  padding: 12px 12px 4px;
  color: var(--gray-800);
  line-height: 1.35;
}

.related-card small {
  display: block;
  padding: 0 12px 12px;
  color: var(--gray-500);
}

.search-hero-form {
  display: grid;
  max-width: 760px;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 24px;
}

.search-hero-form button {
  min-width: 112px;
  color: #ffffff;
  font-weight: 800;
  background: linear-gradient(90deg, var(--pink-500), var(--rose-500));
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.site-footer {
  color: #ffffff;
  background: linear-gradient(135deg, var(--gray-900), var(--gray-800));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 32px;
  padding: 54px 0;
}

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

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer p {
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: #ffffff;
  font-size: 18px;
}

.site-footer a {
  display: block;
  margin-top: 10px;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: #ffffff;
}

.site-footer .keyword-cloud a {
  display: inline-flex;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
}

.footer-bottom {
  padding: 18px 16px;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-copy,
.hero-slider,
.movie-card,
.category-card,
.content-panel {
  animation: fadeUp 0.5s ease both;
}

@media (max-width: 1100px) {
  .movie-grid,
  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .sidebar-card {
    position: static;
  }
}

@media (max-width: 860px) {
  .desktop-nav,
  .header-search {
    display: none;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-frame {
    min-height: 390px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: grid;
  }

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

  .filter-row,
  .search-hero-form,
  .detail-title {
    grid-template-columns: 1fr;
  }

  .detail-title img {
    width: 132px;
  }
}

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

  .header-inner {
    min-height: 70px;
  }

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

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .hero-slide-content {
    padding: 24px;
  }

  .hero-dots {
    right: 24px;
    bottom: 20px;
  }

  .movie-grid,
  .category-grid,
  .related-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 48px 0;
  }

  .detail-layout {
    padding-bottom: 46px;
  }

  .content-panel {
    padding: 22px;
  }
}
