:root {
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-200: #fecdd3;
  --rose-400: #fb7185;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --pink-500: #ec4899;
  --amber-400: #fbbf24;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --shadow-soft: 0 18px 50px rgba(225, 29, 72, 0.12);
  --shadow-card: 0 14px 35px rgba(31, 41, 55, 0.12);
}

body {
  color: var(--gray-800);
  background: linear-gradient(135deg, #fff1f2 0%, #ffffff 48%, #fdf2f8 100%);
}

img {
  object-fit: cover;
}

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

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--rose-600);
  white-space: nowrap;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
  box-shadow: 0 12px 24px rgba(244, 63, 94, 0.28);
  font-size: 0.9rem;
}

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

.nav-link,
.mobile-nav-link {
  color: var(--gray-700);
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.nav-link {
  padding: 0.55rem 0.9rem;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--rose-600);
  background: var(--rose-50);
}

.header-search,
.mobile-search,
.banner-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-search input,
.mobile-search input,
.banner-search input,
.filter-panel input,
.filter-panel select {
  border: 1px solid var(--rose-200);
  background: #fff;
  border-radius: 999px;
  padding: 0.72rem 1rem;
  color: var(--gray-800);
  outline: none;
  transition: all 0.25s ease;
}

.header-search input {
  width: 15rem;
}

.header-search input:focus,
.mobile-search input:focus,
.banner-search input:focus,
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: transparent;
  box-shadow: 0 0 0 3px rgba(253, 164, 175, 0.45);
}

.header-search button,
.mobile-search button,
.banner-search button,
.primary-btn,
.ghost-btn {
  border-radius: 999px;
  font-weight: 800;
  transition: all 0.25s ease;
}

.header-search button,
.mobile-search button,
.banner-search button,
.primary-btn {
  background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
  color: #fff;
  padding: 0.75rem 1.15rem;
  box-shadow: 0 10px 24px rgba(244, 63, 94, 0.24);
}

.header-search button:hover,
.mobile-search button:hover,
.banner-search button:hover,
.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(244, 63, 94, 0.32);
}

.primary-btn.small {
  display: inline-flex;
  padding: 0.6rem 1rem;
  font-size: 0.9rem;
}

.primary-btn.full {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 1.25rem;
}

.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.65);
  color: #fff;
  padding: 0.72rem 1.1rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.ghost-btn:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

.ghost-btn.light {
  border-color: rgba(255, 255, 255, 0.72);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.85rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.3rem;
}

.menu-toggle span {
  width: 1.25rem;
  height: 2px;
  background: var(--gray-700);
  border-radius: 999px;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--rose-100);
  padding: 1rem 1.25rem 1.25rem;
  background: rgba(255, 255, 255, 0.98);
}

.mobile-menu.open {
  display: grid;
  gap: 0.6rem;
}

.mobile-nav-link {
  display: block;
  padding: 0.75rem 1rem;
}

.hero-slider {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  isolation: isolate;
}

.hero-track,
.hero-slide,
.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-bg {
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
}

.hero-slide::after,
.detail-hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.24), transparent 32%), linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.15));
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  min-height: 660px;
  margin: 0 auto;
  padding: 7rem 1.25rem 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.55fr);
  align-items: center;
  gap: 3rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--rose-600);
  background: var(--rose-50);
  border: 1px solid var(--rose-100);
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-text .eyebrow,
.detail-title-wrap .eyebrow,
.page-hero .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.24);
}

.hero-text h1,
.detail-title-wrap h1,
.page-hero h1 {
  margin-top: 1.1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  line-height: 0.98;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.hero-text p,
.detail-title-wrap p,
.page-hero p {
  max-width: 760px;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.14rem;
  line-height: 1.85;
}

.hero-tags,
.tag-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.hero-tags {
  margin-top: 1.35rem;
}

.hero-tags span,
.tag-row span {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.17);
  color: #fff;
  padding: 0.38rem 0.72rem;
  font-size: 0.82rem;
  font-weight: 700;
}

.tag-row span {
  background: var(--rose-50);
  color: var(--rose-600);
}

.hero-actions,
.page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-poster {
  position: relative;
  justify-self: center;
  width: min(360px, 100%);
  aspect-ratio: 3 / 4.15;
  border-radius: 1.65rem;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
  transform: rotate(2deg);
  transition: transform 0.3s ease;
}

.hero-poster:hover {
  transform: translateY(-6px) rotate(0deg);
}

.hero-poster img,
.detail-cover,
.category-cover img,
.poster-frame img,
.rank-item img,
.ranking-link img {
  width: 100%;
  height: 100%;
}

.hero-poster span {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.62);
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  font-weight: 900;
}

.hero-controls {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.hero-arrow,
.hero-dot {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.25s ease;
}

.hero-arrow {
  width: 2.65rem;
  height: 2.65rem;
  border-radius: 999px;
  font-size: 1.8rem;
  line-height: 1;
}

.hero-dot {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
}

.hero-dot.active,
.hero-dot:hover,
.hero-arrow:hover {
  background: #fff;
  color: var(--rose-600);
}

.hero-dots {
  display: flex;
  gap: 0.45rem;
}

.section-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 4.5rem 1.25rem;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2.2rem;
  text-align: center;
}

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

.section-heading.compact {
  margin-bottom: 1rem;
}

.section-heading.with-link {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  max-width: none;
}

.section-heading h2 {
  margin-top: 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: var(--gray-800);
}

.section-heading p {
  margin-top: 0.7rem;
  color: var(--gray-500);
  line-height: 1.8;
}

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

.category-tile {
  position: relative;
  min-height: 178px;
  border-radius: 1.4rem;
  overflow: hidden;
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.category-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(136, 19, 55, 0.86));
}

.category-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.category-tile span,
.category-tile em {
  position: relative;
  z-index: 1;
  color: #fff;
}

.category-tile span {
  font-size: 1.24rem;
  font-weight: 900;
}

.category-tile em {
  margin-top: 0.3rem;
  font-size: 0.86rem;
  opacity: 0.86;
  font-style: normal;
  line-height: 1.45;
}

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

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

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 1.5rem;
  align-items: start;
}

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

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

.movie-card {
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--rose-100);
  overflow: hidden;
  box-shadow: 0 8px 26px rgba(244, 63, 94, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card[hidden] {
  display: none;
}

.movie-card-link {
  display: flex;
  height: 100%;
  flex-direction: column;
}

.poster-frame {
  position: relative;
  aspect-ratio: 3 / 4.08;
  overflow: hidden;
  background: linear-gradient(135deg, var(--rose-50), #fff);
}

.poster-frame img {
  transition: transform 0.45s ease;
}

.duration-badge,
.type-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.duration-badge {
  right: 0.65rem;
  bottom: 0.65rem;
  background: rgba(0, 0, 0, 0.68);
  padding: 0.34rem 0.58rem;
}

.type-badge {
  left: 0.65rem;
  top: 0.65rem;
  background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
  padding: 0.34rem 0.62rem;
}

.rank-badge {
  right: 0.65rem;
  top: 0.65rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.72);
}

.movie-card-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.movie-card-meta,
.card-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  color: var(--gray-500);
  font-size: 0.82rem;
}

.movie-card-meta span:first-child {
  color: var(--rose-600);
  font-weight: 800;
}

.movie-card h3 {
  margin-top: 0.5rem;
  font-size: 1.04rem;
  font-weight: 900;
  color: var(--gray-800);
  line-height: 1.42;
  transition: color 0.25s ease;
}

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

.movie-card p {
  margin-top: 0.55rem;
  color: var(--gray-500);
  font-size: 0.9rem;
  line-height: 1.65;
  flex: 1;
}

.card-stats {
  margin-top: 0.8rem;
  font-weight: 700;
}

.card-stats span:first-child {
  color: var(--amber-400);
}

.movie-card .tag-row {
  margin-top: 0.75rem;
}

.side-card,
.content-card,
.category-card-large,
.filter-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--rose-100);
  border-radius: 1.4rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.side-card,
.content-card {
  padding: 1.35rem;
}

.side-card h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--gray-800);
  margin-bottom: 1rem;
}

.rank-list {
  display: grid;
  gap: 0.75rem;
}

.rank-item {
  display: grid;
  grid-template-columns: 2rem 4rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rose-100);
}

.rank-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.rank-number {
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
  font-weight: 900;
}

.rank-item img {
  aspect-ratio: 3 / 4;
  border-radius: 0.7rem;
}

.rank-info {
  min-width: 0;
}

.rank-info strong,
.rank-info em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-info strong {
  font-weight: 900;
}

.rank-info em {
  margin-top: 0.25rem;
  color: var(--gray-500);
  font-size: 0.82rem;
  font-style: normal;
}

.more-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  color: var(--rose-600);
  font-weight: 900;
}

.scroll-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 250px);
  gap: 1rem;
  overflow-x: auto;
  padding: 0.25rem 0.1rem 1.2rem;
  scroll-snap-type: x mandatory;
}

.scroll-row .movie-card {
  scroll-snap-align: start;
}

.search-banner {
  margin-bottom: 4rem;
  border-radius: 1.75rem;
  background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
  color: #fff;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  gap: 1.5rem;
  align-items: center;
  box-shadow: 0 24px 60px rgba(244, 63, 94, 0.22);
}

.search-banner .eyebrow {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.14);
}

.search-banner h2 {
  margin-top: 0.75rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
}

.search-banner p {
  margin-top: 0.65rem;
  color: rgba(255, 255, 255, 0.85);
}

.banner-search input {
  flex: 1;
  min-width: 0;
}

.banner-search button {
  background: #fff;
  color: var(--rose-600);
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
}

.page-hero {
  padding: 5.5rem 1.25rem;
  text-align: center;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.9rem);
}

.page-hero p {
  margin-left: auto;
  margin-right: auto;
}

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

.category-card-large {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 1.1rem;
  overflow: hidden;
  padding: 1rem;
}

.category-cover {
  min-height: 230px;
  border-radius: 1rem;
  overflow: hidden;
}

.category-card-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.45rem 0.25rem;
}

.category-card-content h2 {
  margin-top: 0.55rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  font-weight: 900;
}

.category-card-content p {
  margin-top: 0.6rem;
  color: var(--gray-500);
  line-height: 1.75;
}

.category-preview-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.9rem 0 1rem;
}

.category-preview-links a {
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  color: var(--rose-600);
  background: var(--rose-50);
  font-size: 0.82rem;
  font-weight: 700;
}

.filter-panel {
  padding: 1rem;
  margin-bottom: 1.4rem;
  display: grid;
  grid-template-columns: 1.4fr repeat(4, minmax(150px, 1fr));
  gap: 0.8rem;
}

.filter-panel label {
  display: grid;
  gap: 0.42rem;
}

.filter-panel span {
  color: var(--gray-500);
  font-weight: 800;
  font-size: 0.82rem;
}

.filter-panel input,
.filter-panel select {
  width: 100%;
  border-radius: 0.9rem;
}

.empty-state {
  display: none;
  padding: 3rem 1rem;
  text-align: center;
  color: var(--gray-500);
  font-weight: 800;
}

.empty-state.show {
  display: block;
}

.ranking-list {
  display: grid;
  gap: 0.75rem;
}

.ranking-row {
  border-radius: 1.15rem;
}

.ranking-link {
  display: grid;
  grid-template-columns: 3.4rem 5rem minmax(0, 1fr) minmax(110px, 150px);
  align-items: center;
  gap: 1rem;
  padding: 0.85rem;
}

.ranking-index {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
}

.ranking-link img {
  aspect-ratio: 3 / 4;
  border-radius: 0.8rem;
}

.ranking-main {
  min-width: 0;
}

.ranking-main strong,
.ranking-main em,
.ranking-main small,
.ranking-score,
.ranking-score small {
  display: block;
}

.ranking-main strong {
  font-size: 1.1rem;
  font-weight: 900;
}

.ranking-main em {
  margin-top: 0.35rem;
  color: var(--gray-500);
  font-style: normal;
  line-height: 1.6;
}

.ranking-main small {
  margin-top: 0.35rem;
  color: var(--rose-600);
  font-weight: 800;
}

.ranking-score {
  justify-self: end;
  text-align: right;
  color: var(--amber-400);
  font-size: 1.05rem;
  font-weight: 900;
}

.ranking-score small {
  margin-top: 0.35rem;
  color: var(--gray-500);
  font-size: 0.82rem;
}

.detail-hero {
  min-height: 520px;
}

.detail-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
}

.detail-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 1.25rem 3rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 700;
}

.breadcrumb a:hover {
  color: #fff;
}

.detail-title-wrap {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: end;
  gap: 2rem;
}

.detail-title-wrap h1 {
  font-size: clamp(2.5rem, 6vw, 5.2rem);
}

.detail-meta-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.detail-meta-line span {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.42rem 0.78rem;
  font-weight: 800;
}

.detail-cover {
  aspect-ratio: 3 / 4.15;
  border-radius: 1.35rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: start;
  gap: 1.3rem;
}

.detail-main {
  display: grid;
  gap: 1.2rem;
}

.player-shell {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 1.35rem;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.28);
}

.movie-player {
  width: 100%;
  height: 100%;
  background: #0f172a;
}

.player-cover {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 0.8rem;
  color: #fff;
  background: radial-gradient(circle at center, rgba(244, 63, 94, 0.22), rgba(15, 23, 42, 0.62));
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.play-icon {
  width: 4.8rem;
  height: 4.8rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-left: 0.25rem;
  background: linear-gradient(135deg, var(--rose-500), var(--pink-500));
  box-shadow: 0 20px 44px rgba(244, 63, 94, 0.4);
  font-size: 2rem;
}

.player-cover strong {
  font-size: 1.05rem;
}

.content-card p {
  color: var(--gray-700);
  line-height: 1.9;
  font-size: 1rem;
}

.detail-side {
  min-width: 0;
}

.sticky-card {
  position: sticky;
  top: 6.25rem;
}

.info-list {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 0.65rem 0.85rem;
}

.info-list dt {
  color: var(--gray-500);
  font-weight: 900;
}

.info-list dd {
  min-width: 0;
  color: var(--gray-800);
  font-weight: 700;
}

.detail-tags {
  margin-top: 1.2rem;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--rose-100);
  background: linear-gradient(135deg, var(--rose-50), #fff, #fdf2f8);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 3rem 1.25rem;
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 1.2fr;
  gap: 2rem;
}

.footer-inner p {
  margin-top: 0.7rem;
  color: var(--gray-500);
  line-height: 1.75;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-content: start;
}

.footer-links a {
  color: var(--gray-700);
  background: #fff;
  border: 1px solid var(--rose-100);
  border-radius: 999px;
  padding: 0.42rem 0.75rem;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--rose-600);
  background: var(--rose-50);
}

.footer-copy {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.25rem 2rem;
  color: var(--gray-500);
  font-size: 0.9rem;
}

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

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

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

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

  .side-ranking,
  .detail-side {
    order: 2;
  }

  .sticky-card {
    position: static;
  }

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

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

  .menu-toggle {
    display: inline-flex;
  }

  .hero-slider,
  .hero-content {
    min-height: 720px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 4.5rem;
  }

  .hero-poster {
    width: min(280px, 78vw);
    justify-self: start;
  }

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

  .category-card-large {
    grid-template-columns: 1fr;
  }

  .category-cover {
    min-height: 220px;
  }

  .search-banner,
  .footer-inner,
  .detail-title-wrap {
    grid-template-columns: 1fr;
  }

  .detail-cover {
    width: min(240px, 72vw);
  }

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

  .ranking-score {
    grid-column: 3;
    justify-self: start;
    text-align: left;
  }

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

  .section-heading.with-link {
    display: block;
  }
}

@media (max-width: 560px) {
  .header-inner {
    padding: 0.75rem 1rem;
  }

  .brand {
    font-size: 1.2rem;
  }

  .brand-mark {
    width: 2rem;
    height: 2rem;
  }

  .section-wrap {
    padding: 3rem 1rem;
  }

  .hero-text h1,
  .detail-title-wrap h1,
  .page-hero h1 {
    font-size: 2.45rem;
  }

  .movie-grid,
  .category-grid,
  .compact-grid,
  .category-large-grid {
    grid-template-columns: 1fr;
  }

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

  .filter-category-field {
    display: block;
  }

  .ranking-link {
    grid-template-columns: 2.4rem 3.8rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .ranking-main em {
    display: none;
  }

  .page-hero,
  .detail-hero-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-controls {
    bottom: 1rem;
  }
}
