:root {
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-400: #fb7185;
  --rose-500: #f43f5e;
  --rose-600: #e11d48;
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --amber-400: #fbbf24;
  --cyan-400: #22d3ee;
  --blue-500: #3b82f6;
  --indigo-600: #4f46e5;
  --violet-500: #8b5cf6;
  --emerald-500: #10b981;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --white: #ffffff;
  --shadow-card: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 14px 35px rgba(244, 63, 94, 0.18);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.header-inner {
  max-width: 1180px;
  height: 68px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.logo-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--rose-500), var(--orange-400));
  box-shadow: var(--shadow-soft);
  transition: transform 0.25s ease;
}

.site-logo:hover .logo-mark {
  transform: scale(1.08) rotate(-2deg);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.18;
}

.logo-text strong {
  font-size: 20px;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--rose-600), var(--orange-500));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-text small {
  color: var(--slate-500);
  font-size: 12px;
}

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

.nav-link,
.mobile-link {
  color: var(--slate-700);
  font-weight: 700;
  transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 12px;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
  background: linear-gradient(90deg, var(--rose-500), var(--orange-400));
  box-shadow: 0 10px 20px rgba(244, 63, 94, 0.2);
  transform: translateY(-1px);
}

.menu-button {
  width: 44px;
  height: 44px;
  display: none;
  border: 0;
  border-radius: 12px;
  background: rgba(244, 63, 94, 0.08);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-button span {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--rose-600);
}

.mobile-nav {
  display: none;
  padding: 10px 18px 16px;
  border-top: 1px solid rgba(244, 63, 94, 0.12);
  background: rgba(255, 255, 255, 0.96);
}

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

.mobile-link {
  padding: 12px 14px;
  border-radius: 12px;
}

.mobile-link:hover,
.mobile-link.is-active {
  color: #fff;
  background: linear-gradient(90deg, var(--rose-500), var(--orange-400));
}

.hero {
  position: relative;
  height: 620px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--rose-500), var(--orange-400));
}

.hero-slides,
.hero-slide,
.hero-slide img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08);
}

.hero-overlay {
  background:
    radial-gradient(circle at 68% 32%, rgba(251, 146, 60, 0.3), transparent 32%),
    linear-gradient(90deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.56) 46%, rgba(15, 23, 42, 0.18) 100%),
    linear-gradient(0deg, rgba(15, 23, 42, 0.76), transparent 46%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px 92px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  color: #fff;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: #fde68a;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-kicker::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #fde68a;
  box-shadow: 0 0 24px #fde68a;
}

.hero h2 {
  max-width: 820px;
  margin: 0 0 18px;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.05em;
}

.hero p {
  max-width: 720px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.8;
}

.hero-meta,
.detail-meta,
.movie-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hero-meta span,
.detail-meta span,
.movie-meta span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-weight: 700;
}

.hero-meta span,
.detail-meta span {
  padding: 6px 12px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
}

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

.primary-button,
.ghost-button,
.strip-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
  min-height: 48px;
  padding: 0 26px;
  color: #fff;
  background: linear-gradient(90deg, var(--rose-500), var(--orange-400));
  box-shadow: var(--shadow-soft);
}

.primary-button:hover,
.ghost-button:hover,
.strip-link:hover {
  transform: translateY(-2px);
}

.primary-button.compact {
  min-height: 42px;
  padding: 0 22px;
}

.ghost-button {
  min-height: 48px;
  padding: 0 24px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(10px);
}

.hero-arrow {
  position: absolute;
  z-index: 4;
  top: 50%;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  font-size: 42px;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-50%) scale(1.06);
}

.hero-prev {
  left: 24px;
}

.hero-next {
  right: 24px;
}

.hero-dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.is-active {
  width: 34px;
  background: #fff;
}

.hero-thumbs {
  position: absolute;
  z-index: 3;
  right: max(22px, calc((100vw - 1180px) / 2 + 20px));
  bottom: 54px;
  width: 310px;
  display: grid;
  gap: 10px;
}

.hero-thumb {
  display: grid;
  grid-template-columns: 66px 1fr;
  align-items: center;
  gap: 12px;
  padding: 9px;
  border-radius: 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-thumb:hover {
  transform: translateX(-4px);
  background: rgba(255, 255, 255, 0.22);
}

.hero-thumb img {
  width: 66px;
  height: 48px;
  object-fit: cover;
  border-radius: 12px;
}

.hero-thumb span {
  overflow: hidden;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.intro-strip,
.content-section,
.footer-inner,
.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.intro-strip {
  margin-top: -34px;
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 26px;
  padding-bottom: 26px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
}

.intro-strip h1 {
  margin: 0 0 6px;
  font-size: clamp(26px, 4vw, 42px);
  letter-spacing: -0.04em;
}

.intro-strip p {
  margin: 0;
  color: var(--slate-600);
}

.strip-link {
  min-width: 128px;
  min-height: 44px;
  color: var(--rose-600);
  background: var(--rose-50);
}

.content-section {
  padding-top: 68px;
  padding-bottom: 28px;
}

.content-section.no-padding {
  padding-top: 0;
  padding-bottom: 0;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.section-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 15px;
  font-size: 18px;
  box-shadow: var(--shadow-soft);
}

.tone-rose .section-icon {
  background: linear-gradient(135deg, var(--rose-500), var(--orange-400));
}

.tone-blue .section-icon {
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
}

.tone-amber .section-icon {
  background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
}

.section-heading h2 {
  margin: 0 0 4px;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 0;
  color: var(--slate-500);
}

.soft-section {
  margin: 50px 0 12px;
  padding: 64px 0;
}

.tone-blue {
  background: linear-gradient(90deg, rgba(236, 254, 255, 0.92), rgba(239, 246, 255, 0.92));
}

.tone-rose {
  background: linear-gradient(135deg, rgba(255, 241, 242, 0.92), rgba(255, 247, 237, 0.92));
}

.card-grid {
  display: grid;
  gap: 22px;
}

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

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

.six-cols {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

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

.movie-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

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

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

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

.year-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
}

.year-badge {
  right: 12px;
  bottom: 12px;
  padding: 5px 10px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  font-size: 12px;
}

.rank-badge {
  left: 12px;
  top: 12px;
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--rose-500), var(--orange-400));
}

.movie-card-content {
  padding: 16px 16px 18px;
}

.movie-meta {
  margin-bottom: 9px;
  gap: 6px;
}

.movie-meta span {
  padding: 4px 8px;
  color: var(--rose-600);
  background: var(--rose-50);
  font-size: 12px;
}

.movie-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

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

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

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-row span {
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--slate-600);
  background: #f8fafc;
  font-size: 12px;
  font-weight: 700;
}

.movie-card.is-minimal .movie-card-content {
  padding: 12px;
}

.movie-card.is-minimal h3 {
  font-size: 15px;
}

.movie-card.is-minimal p,
.movie-card.is-minimal .tag-row,
.movie-card.is-minimal .movie-meta span:nth-child(n+3) {
  display: none;
}

.movie-card.is-horizontal {
  display: grid;
  grid-template-columns: 150px 1fr;
  min-height: 214px;
}

.movie-card.is-horizontal .poster-link {
  height: 100%;
  aspect-ratio: auto;
}

.movie-card.is-horizontal .movie-card-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.movie-card.is-large .poster-link {
  aspect-ratio: 16 / 10;
}

.category-grid,
.category-overview-grid {
  display: grid;
  gap: 22px;
}

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

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

.category-tile,
.category-card-main {
  position: relative;
  overflow: hidden;
  color: #fff;
  border-radius: var(--radius-xl);
  min-height: 170px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

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

.category-tile span,
.category-card-copy h2 {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.category-tile strong {
  display: block;
  margin-bottom: 12px;
  font-size: 16px;
}

.category-tile small,
.category-card-copy p {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
}

.category-card {
  border-radius: var(--radius-xl);
}

.category-card-main {
  display: grid;
  grid-template-columns: 170px 1fr;
  min-height: 230px;
  align-items: center;
  gap: 24px;
}

.category-card-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  transform: rotate(-3deg);
}

.category-card-images img {
  width: 78px;
  height: 106px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.2);
}

.category-card-copy span {
  display: inline-flex;
  margin-top: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--rose-600);
  background: #fff;
  font-weight: 900;
}

.gradient-rose-orange {
  background: linear-gradient(135deg, var(--rose-500), var(--orange-400));
}

.gradient-amber-orange {
  background: linear-gradient(135deg, var(--amber-400), var(--orange-500));
}

.gradient-pink-rose,
.gradient-rose-pink {
  background: linear-gradient(135deg, #ec4899, var(--rose-500));
}

.gradient-cyan-blue {
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
}

.gradient-violet-pink {
  background: linear-gradient(135deg, var(--violet-500), #ec4899);
}

.gradient-blue-indigo {
  background: linear-gradient(135deg, var(--blue-500), var(--indigo-600));
}

.gradient-slate-rose {
  background: linear-gradient(135deg, var(--slate-800), var(--rose-600));
}

.gradient-orange-red {
  background: linear-gradient(135deg, var(--orange-500), #ef4444);
}

.gradient-emerald-cyan {
  background: linear-gradient(135deg, var(--emerald-500), var(--cyan-400));
}

.gradient-indigo-violet {
  background: linear-gradient(135deg, var(--indigo-600), var(--violet-500));
}

.gradient-amber-lime {
  background: linear-gradient(135deg, var(--amber-400), #84cc16);
}

.page-hero {
  color: #fff;
  padding: 92px 20px 76px;
  overflow: hidden;
  position: relative;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(2px);
}

.page-hero > div {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}

.page-hero p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 900;
  letter-spacing: 0.12em;
}

.page-hero h1 {
  max-width: 820px;
  margin: 0 0 14px;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.page-hero span {
  display: block;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.8;
}

.filter-panel {
  display: block;
}

.search-box {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.search-box span {
  font-size: 20px;
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--slate-900);
  background: transparent;
  font-size: 16px;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-chip {
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--slate-700);
  background: #fff;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.filter-chip:hover,
.filter-chip.is-active {
  color: #fff;
  background: linear-gradient(90deg, var(--rose-500), var(--orange-400));
  transform: translateY(-2px);
}

[data-card][hidden] {
  display: none;
}

.section-more {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.detail-hero {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  color: #fff;
  background: var(--slate-900);
}

.detail-bg,
.detail-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.detail-bg {
  object-fit: cover;
  filter: blur(6px) saturate(1.08);
  transform: scale(1.04);
}

.detail-hero-overlay {
  background:
    linear-gradient(90deg, rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.58)),
    linear-gradient(0deg, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.1));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 20px 70px;
}

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

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

.detail-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 44px;
  align-items: end;
}

.detail-poster img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.detail-copy h1 {
  margin: 0 0 20px;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.detail-copy p {
  max-width: 760px;
  margin: 24px 0 24px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.9;
}

.detail-tags span {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.watch-section {
  padding: 70px 20px 0;
  background: linear-gradient(180deg, var(--slate-900), #111827);
}

.watch-section h2 {
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(26px, 4vw, 40px);
  letter-spacing: -0.04em;
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.36);
}

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

.play-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  color: #fff;
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.2));
  transition: opacity 0.22s ease, visibility 0.22s ease;
}

.play-overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.play-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose-500), var(--orange-400));
  box-shadow: var(--shadow-soft);
  font-size: 30px;
  transform: translateX(2px);
}

.play-overlay strong {
  font-size: 20px;
}

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

.text-panel {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.text-panel h2 {
  margin: 0 0 14px;
  font-size: 26px;
  letter-spacing: -0.03em;
}

.text-panel p {
  margin: 0;
  color: var(--slate-600);
  font-size: 16px;
  line-height: 1.95;
}

.site-footer {
  margin-top: 80px;
  color: #fff;
  background: linear-gradient(135deg, var(--slate-900), #111827);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-top: 54px;
  padding-bottom: 36px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 18px;
}

.footer-logo span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--rose-500), var(--orange-400));
}

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

.footer-brand p {
  max-width: 360px;
  margin: 0;
  line-height: 1.8;
}

.site-footer h3 {
  margin: 0 0 14px;
  color: #fb7185;
  font-size: 16px;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 10px;
}

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

.footer-bottom {
  padding-top: 20px;
  padding-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

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

  .menu-button {
    display: flex;
  }

  .hero-thumbs {
    display: none;
  }

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

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

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

@media (max-width: 760px) {
  .header-inner {
    height: 64px;
  }

  .logo-text strong {
    font-size: 18px;
  }

  .hero {
    height: 560px;
  }

  .hero-content {
    padding-bottom: 76px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-arrow {
    display: none;
  }

  .intro-strip {
    align-items: flex-start;
    flex-direction: column;
    margin-top: -22px;
  }

  .four-cols,
  .six-cols,
  .three-cols,
  .category-grid,
  .category-overview-grid,
  .rank-grid,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .card-grid {
    gap: 18px;
  }

  .movie-card.is-horizontal {
    grid-template-columns: 118px 1fr;
    min-height: 176px;
  }

  .movie-card.is-horizontal .movie-card-content {
    padding: 12px;
  }

  .movie-card.is-horizontal p,
  .movie-card.is-horizontal .tag-row {
    display: none;
  }

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

  .category-card-images {
    grid-template-columns: repeat(4, 1fr);
    transform: none;
  }

  .category-card-images img {
    width: 100%;
    height: 130px;
  }

  .detail-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

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

  .watch-section {
    padding-left: 12px;
    padding-right: 12px;
  }

  .player-shell {
    border-radius: 18px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero h2,
  .detail-copy h1,
  .page-hero h1 {
    font-size: 34px;
  }

  .content-section {
    padding-top: 48px;
  }

  .movie-card:not(.is-horizontal) .poster-link {
    aspect-ratio: 4 / 5;
  }

  .filter-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .filter-chip {
    white-space: nowrap;
  }
}
