:root {
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-200: #fecdd3;
  --rose-400: #fb7185;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --pink-500: #ec4899;
  --amber-50: #fffbeb;
  --amber-400: #fbbf24;
  --amber-500: #f59e0b;
  --slate-50: #f8fafc;
  --slate-900: #0f172a;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --white: #ffffff;
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.12);
  --shadow-md: 0 14px 30px rgba(15, 23, 42, 0.10);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--gray-800);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  background: linear-gradient(135deg, var(--slate-50), var(--rose-50) 48%, var(--amber-50));
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--rose-100);
  box-shadow: 0 4px 20px rgba(244, 63, 94, 0.08);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(100%, var(--max));
  height: 80px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

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

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--rose-500), var(--pink-500), var(--amber-500));
  box-shadow: 0 0 28px rgba(244, 63, 94, 0.32);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

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

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

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

.desktop-nav a,
.mobile-nav a {
  padding: 10px 16px;
  border-radius: 12px;
  color: var(--gray-600);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: var(--rose-600);
  background: var(--rose-50);
  transform: translateY(-1px);
}

.header-search {
  position: relative;
  width: min(280px, 28vw);
}

.header-search input,
.mobile-search input,
.filter-panel input,
.filter-panel select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--rose-200);
  border-radius: 999px;
  color: var(--gray-700);
  background: rgba(255, 255, 255, 0.72);
  outline: none;
  padding: 0 48px 0 18px;
  transition: border 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-search input:focus,
.mobile-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: var(--rose-400);
  box-shadow: 0 0 0 4px rgba(251, 113, 133, 0.18);
  background: white;
}

.header-search button,
.mobile-search button {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  color: white;
  cursor: pointer;
  background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
}

.mobile-menu-button {
  display: none;
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--gray-700);
  cursor: pointer;
  background: var(--rose-50);
}

.mobile-nav {
  display: none;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 16px 24px 22px;
  border-top: 1px solid var(--rose-100);
}

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

.mobile-search {
  position: relative;
  margin-bottom: 8px;
}

.hero-section {
  position: relative;
  min-height: 74vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: var(--slate-900);
}

.hero-collage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.hero-tile {
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.7s ease both;
  animation-delay: var(--delay);
}

.hero-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.hero-tile:hover img {
  transform: scale(1.1);
}

.hero-tile span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  color: white;
  font-weight: 700;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.42);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-tile:hover span {
  opacity: 1;
  transform: translateY(0);
}

.hero-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.12), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hero-tile:hover::after {
  opacity: 1;
}

.hero-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.45) 45%, rgba(248, 250, 252, 0.95));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(880px, 92%);
  padding: 80px 24px;
  text-align: center;
  color: white;
}

.hero-emblem {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--rose-50);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 0 50px rgba(251, 113, 133, 0.55);
  backdrop-filter: blur(12px);
  animation: pulseGlow 2.4s ease-in-out infinite;
}

.hero-content h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.06em;
  background: linear-gradient(90deg, var(--rose-400), #f472b6, var(--amber-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.42));
}

.hero-content p {
  max-width: 720px;
  margin: 24px auto 34px;
  font-size: clamp(16px, 2.2vw, 22px);
  line-height: 1.75;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.55);
}

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

.primary-button,
.ghost-button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: 0 28px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  color: white;
  background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
  box-shadow: 0 18px 35px rgba(244, 63, 94, 0.25);
}

.ghost-button {
  color: white;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
}

.primary-button:hover,
.ghost-button:hover,
.text-link:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 22px 42px rgba(244, 63, 94, 0.22);
}

.text-link {
  color: var(--rose-600);
  background: white;
  border: 1px solid var(--rose-200);
}

.page-section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 72px 24px;
}

.inner-section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.soft-section {
  background: linear-gradient(135deg, rgba(255, 241, 242, 0.78), rgba(255, 251, 235, 0.74));
}

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

.section-heading h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--gray-800);
  line-height: 1.1;
}

.section-heading p {
  margin: 10px 0 0;
  color: var(--gray-600);
}

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

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

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-md);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

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

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

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

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

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.16), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.card-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--rose-500);
  background: rgba(255, 255, 255, 0.92);
  transform: translate(-50%, -50%) scale(0.84);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.movie-card:hover .poster-shade,
.movie-card:hover .card-play {
  opacity: 1;
}

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

.duration {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  color: white;
  font-size: 12px;
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(8px);
}

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

.movie-title {
  display: -webkit-box;
  min-height: 48px;
  margin-bottom: 9px;
  overflow: hidden;
  color: var(--gray-800);
  font-size: 17px;
  line-height: 1.42;
  font-weight: 800;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.movie-title:hover {
  color: var(--rose-600);
}

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

.movie-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--gray-500);
  font-size: 12px;
}

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

.tag-row span,
.detail-tags a {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--rose-600);
  font-size: 12px;
  background: var(--rose-100);
}

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

.category-card,
.category-large {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, white, var(--gray-50));
  border: 1px solid var(--gray-100);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.category-card {
  min-height: 158px;
  padding: 24px;
}

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

.category-icon {
  display: block;
  margin-bottom: 12px;
  font-size: 36px;
}

.category-card strong,
.category-large strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gray-800);
  font-size: 20px;
}

.category-card small,
.category-large small {
  color: var(--gray-600);
  line-height: 1.65;
}

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

.category-large {
  min-height: 260px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  color: white;
}

.category-large img,
.category-large-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.category-large img {
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-large:hover img {
  transform: scale(1.06);
}

.category-large-shade {
  background: linear-gradient(to top, rgba(15, 23, 42, 0.88), rgba(15, 23, 42, 0.22));
}

.category-large span,
.category-large strong,
.category-large small,
.category-large em {
  position: relative;
  z-index: 2;
}

.category-large strong {
  color: white;
  font-size: 28px;
}

.category-large small {
  color: rgba(255, 255, 255, 0.82);
}

.category-large em {
  margin-top: 12px;
  font-style: normal;
  color: var(--amber-400);
  font-weight: 700;
}

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

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

.rank-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--rose-100);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.rank-num {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: white;
  font-weight: 900;
  background: linear-gradient(135deg, var(--rose-500), var(--amber-500));
}

.rank-item img {
  width: 76px;
  height: 92px;
  border-radius: 14px;
  object-fit: cover;
}

.rank-copy {
  min-width: 0;
  flex: 1;
}

.rank-copy strong {
  display: block;
  overflow: hidden;
  color: var(--gray-800);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.rank-copy small,
.rank-views {
  display: block;
  margin-top: 5px;
  color: var(--gray-500);
  font-size: 13px;
}

.center-link {
  margin-top: 26px;
  text-align: center;
}

.filter-panel {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 220px 180px;
  gap: 14px;
  margin-bottom: 20px;
}

.filter-panel select {
  padding-right: 20px;
}

.result-count {
  min-height: 24px;
  margin-bottom: 18px;
  color: var(--gray-600);
}

.no-result {
  display: none;
  margin: 28px 0 0;
  padding: 28px;
  border-radius: var(--radius-lg);
  color: var(--gray-600);
  text-align: center;
  background: white;
  border: 1px dashed var(--rose-200);
}

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

.sub-hero,
.category-hero {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--rose-500), var(--pink-500), var(--amber-500));
}

.sub-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.28), transparent 36%), radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.24), transparent 38%);
}

.sub-hero div,
.category-hero-copy {
  position: relative;
  z-index: 2;
  width: min(900px, 92%);
  text-align: center;
}

.sub-hero p,
.category-hero-copy p,
.eyebrow {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sub-hero h1,
.category-hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1;
}

.sub-hero span,
.category-hero-copy span {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.7;
}

.category-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(4px) saturate(1.05);
  transform: scale(1.04);
}

.category-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.76), rgba(244, 63, 94, 0.48));
}

.category-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.category-tabs a {
  min-width: max-content;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--gray-700);
  background: white;
  border: 1px solid var(--rose-200);
}

.category-tabs a.active,
.category-tabs a:hover {
  color: white;
  background: linear-gradient(90deg, var(--rose-500), var(--pink-500));
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: white;
  background: var(--slate-900);
}

.detail-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  filter: blur(8px) saturate(1.1);
  transform: scale(1.06);
  opacity: 0.55;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.66), rgba(15, 23, 42, 0.96));
}

.detail-wrap {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 34px 24px 76px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--amber-400);
}

.detail-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 38px;
  align-items: center;
}

.detail-poster {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
}

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

.detail-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(40px, 6vw, 74px);
  line-height: 1.02;
}

.detail-one-line {
  max-width: 860px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.8;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.detail-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

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

.player-section {
  padding-top: 52px;
  padding-bottom: 28px;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: black;
  box-shadow: 0 28px 72px rgba(15, 23, 42, 0.26);
}

.player-shell video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: black;
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent 48%, rgba(0, 0, 0, 0.18));
  opacity: 1;
  transition: opacity 0.24s ease;
}

.player-shell.is-playing .player-overlay {
  opacity: 0;
}

.player-shell:hover .player-overlay,
.player-shell:focus-within .player-overlay {
  opacity: 1;
}

.big-play {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: white;
  cursor: pointer;
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.big-play:hover {
  transform: scale(1.08);
  background: rgba(255, 255, 255, 0.28);
}

.player-control-panel {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto auto auto;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
}

.player-control-panel button {
  min-height: 36px;
  border: 0;
  border-radius: 999px;
  color: white;
  cursor: pointer;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.16);
}

.player-control-panel span {
  min-width: 110px;
  color: white;
  font-size: 13px;
}

.player-control-panel input {
  accent-color: var(--rose-500);
}

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

.article-card,
.side-card {
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: var(--shadow-md);
}

.article-card {
  padding: 34px;
}

.article-card h2,
.side-card h2 {
  margin: 0 0 16px;
  color: var(--gray-800);
  font-size: 26px;
}

.article-card h2:not(:first-child) {
  margin-top: 32px;
}

.article-card p {
  margin: 0;
  color: var(--gray-700);
  font-size: 17px;
  line-height: 2;
}

.side-card {
  align-self: start;
  padding: 28px;
}

.side-card dl {
  margin: 0;
}

.side-card dt {
  margin-top: 14px;
  color: var(--gray-500);
  font-size: 13px;
}

.side-card dd {
  margin: 4px 0 0;
  color: var(--gray-800);
  font-weight: 700;
  line-height: 1.6;
}

.side-card a {
  color: var(--rose-600);
}

.site-footer {
  color: rgba(255, 255, 255, 0.82);
  background: var(--slate-900);
}

.footer-grid {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 54px 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 34px;
}

.footer-brand {
  margin-bottom: 16px;
  color: white;
  font-size: 20px;
  font-weight: 800;
}

.site-footer p {
  max-width: 460px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.8;
}

.site-footer h2 {
  margin: 0 0 16px;
  color: var(--rose-200);
  font-size: 18px;
}

.site-footer a:not(.footer-brand) {
  display: block;
  margin: 9px 0;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a:hover {
  color: var(--rose-400);
}

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

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

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

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.88;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

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

  .three-column-list {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .mobile-menu-button {
    display: inline-flex;
  }

  .hero-collage {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-tile:nth-child(n + 4) {
    display: none;
  }

  .category-grid,
  .category-large-grid,
  .movie-grid,
  .library-grid,
  .related-grid,
  .three-column-list,
  .footer-grid,
  .content-layout,
  .detail-grid {
    grid-template-columns: 1fr 1fr;
  }

  .detail-grid {
    align-items: start;
  }

  .detail-poster {
    max-width: 240px;
  }

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

  .player-control-panel {
    grid-template-columns: auto 1fr auto;
  }

  .player-control-panel button[data-mute-toggle],
  .player-control-panel button[data-fullscreen] {
    display: none;
  }
}

@media (max-width: 640px) {
  .header-inner {
    height: 68px;
    padding: 0 16px;
  }

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

  .brand-subtitle {
    display: none;
  }

  .hero-section {
    min-height: 66vh;
  }

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

  .hero-tile:nth-child(n + 3) {
    display: none;
  }

  .page-section,
  .inner-section {
    padding: 48px 16px;
  }

  .movie-grid,
  .library-grid,
  .related-grid,
  .category-grid,
  .category-large-grid,
  .three-column-list,
  .footer-grid,
  .content-layout,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .detail-wrap {
    padding: 24px 16px 56px;
  }

  .detail-poster {
    max-width: 220px;
  }

  .article-card,
  .side-card {
    padding: 24px;
  }

  .rank-item {
    align-items: flex-start;
  }

  .rank-views {
    display: none;
  }

  .player-control-panel {
    left: 10px;
    right: 10px;
    bottom: 10px;
    grid-template-columns: auto 1fr;
  }

  .player-control-panel span {
    display: none;
  }
}
