:root {
  --rose: #f43f5e;
  --rose-dark: #be123c;
  --pink: #ec4899;
  --amber: #f59e0b;
  --slate: #0f172a;
  --muted: #64748b;
  --line: rgba(244, 63, 94, 0.14);
  --glass: rgba(255, 255, 255, 0.78);
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 12px 30px rgba(244, 63, 94, 0.13);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1f2937;
  background:
    radial-gradient(circle at top left, rgba(244, 63, 94, 0.18), transparent 30rem),
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.16), transparent 28rem),
    linear-gradient(135deg, #f8fafc 0%, #fff1f2 48%, #fffbeb 100%);
  min-height: 100vh;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.06);
}

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

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), var(--pink), var(--amber));
  border-radius: 16px;
  box-shadow: 0 14px 34px rgba(244, 63, 94, 0.32);
}

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

.brand-text strong,
.footer-brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(90deg, var(--rose), var(--pink), var(--amber));
  -webkit-background-clip: text;
  color: transparent;
}

.brand-text span {
  font-size: 12px;
  color: #94a3b8;
  margin-top: 4px;
}

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

.nav-link,
.mobile-nav-link {
  padding: 10px 16px;
  border-radius: 14px;
  color: #475569;
  font-weight: 600;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--rose-dark);
  background: rgba(244, 63, 94, 0.1);
}

.top-search,
.mobile-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(244, 63, 94, 0.18);
  background: rgba(255, 255, 255, 0.66);
  border-radius: 999px;
}

.top-search input,
.mobile-search input,
.filter-search input {
  border: 0;
  outline: 0;
  background: transparent;
  color: #334155;
}

.top-search input {
  width: 210px;
  padding: 8px 4px 8px 12px;
}

.top-search button,
.mobile-search button {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), var(--pink));
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: rgba(244, 63, 94, 0.09);
  border-radius: 14px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #475569;
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 18px;
}

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

.mobile-panel nav {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.mobile-search input {
  width: 100%;
  padding: 9px 12px;
}

.hero-section {
  position: relative;
  min-height: 76vh;
  overflow: hidden;
  background: var(--slate);
}

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

.hero-cell {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  animation: floatUp 0.7s ease both;
  animation-delay: var(--delay);
}

.hero-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.75s ease;
}

.hero-cell:hover img {
  transform: scale(1.12);
}

.hero-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.08));
  opacity: 0;
  transition: opacity 0.35s ease;
}

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

.hero-cell span {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 24px;
  z-index: 2;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

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

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.48) 50%, rgba(248, 250, 252, 0.96)),
    radial-gradient(circle at center, rgba(244, 63, 94, 0.24), transparent 34rem);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(960px, calc(100% - 32px));
  min-height: 76vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 84px 0;
}

.hero-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  color: #fb7185;
  font-size: 32px;
  animation: pulseGlow 2.5s ease-in-out infinite;
}

.hero-slider {
  position: relative;
  width: 100%;
  min-height: 310px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--rose-dark);
  background: rgba(255, 241, 242, 0.86);
  border: 1px solid rgba(244, 63, 94, 0.18);
  font-size: 13px;
  font-weight: 800;
}

.hero-slide h1,
.page-hero h1 {
  margin: 18px 0 8px;
  font-size: clamp(44px, 8vw, 86px);
  line-height: 0.95;
  letter-spacing: -0.08em;
  background: linear-gradient(90deg, #fb7185, #f472b6, #fbbf24);
  -webkit-background-clip: text;
  color: transparent;
  filter: drop-shadow(0 22px 32px rgba(0, 0, 0, 0.28));
}

.hero-slide h2 {
  margin: 0 0 14px;
  font-size: clamp(26px, 5vw, 46px);
  letter-spacing: -0.04em;
  text-shadow: 0 12px 26px rgba(0, 0, 0, 0.38);
}

.hero-slide p {
  width: min(780px, 100%);
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.8;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.hero-actions,
.detail-copy .primary-button {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.primary-button,
.ghost-button,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.primary-button {
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), var(--pink));
  box-shadow: 0 18px 36px rgba(244, 63, 94, 0.3);
}

.ghost-button {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(16px);
}

.primary-button:hover,
.ghost-button:hover,
.section-more:hover {
  transform: translateY(-2px) scale(1.02);
}

.hero-dots {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

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

.hero-dot.active {
  width: 34px;
  background: linear-gradient(90deg, var(--rose), var(--amber));
}

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

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

.section-heading h2,
.ranking-panel-head h2,
.movie-article h2 {
  margin: 0;
  color: #1e293b;
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.04em;
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.section-more {
  min-height: 40px;
  padding: 10px 16px;
  color: var(--rose-dark);
  background: rgba(244, 63, 94, 0.09);
}

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

.movie-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-lg);
  box-shadow: var(--soft-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(244, 63, 94, 0.22);
}

.poster-wrap {
  position: relative;
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #fee2e2;
}

.compact-card .poster-wrap {
  aspect-ratio: 1 / 1;
}

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

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

.poster-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.68), rgba(0, 0, 0, 0.06), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.duration-badge,
.rank-badge {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 800;
}

.rank-badge {
  left: 12px;
  right: auto;
  background: linear-gradient(135deg, var(--rose), var(--amber));
}

.play-hover {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--rose);
  background: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.72);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

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

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

.movie-card-body h3 {
  margin: 0 0 10px;
  color: #1e293b;
  font-size: 17px;
  line-height: 1.45;
  transition: color 0.25s ease;
}

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

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

.movie-meta-line,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: #64748b;
  font-size: 13px;
}

.movie-meta-line span,
.detail-meta span {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(244, 63, 94, 0.08);
}

.tag-list,
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.tag-list span,
.detail-tags span {
  padding: 5px 9px;
  color: var(--rose-dark);
  background: #fff1f2;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.soft-section {
  background: linear-gradient(135deg, rgba(255, 241, 242, 0.86), rgba(253, 242, 248, 0.86), rgba(255, 251, 235, 0.88));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.in-soft {
  padding: 64px 0;
}

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

.category-card {
  min-height: 246px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.76);
  box-shadow: var(--soft-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.category-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.12), rgba(245, 158, 11, 0.14));
  font-size: 24px;
}

.category-card h2 {
  margin: 16px 0 8px;
  color: #1e293b;
  font-size: 21px;
}

.category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.category-card > span {
  margin-top: auto;
  color: var(--rose-dark);
  font-weight: 800;
}

.category-thumbs {
  display: flex;
  margin: 16px 0;
}

.category-thumbs img {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border: 3px solid #ffffff;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.category-thumbs img + img {
  margin-left: -12px;
}

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

.ranking-panel {
  position: sticky;
  top: 96px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--soft-shadow);
}

.ranking-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.ranking-panel-head a {
  color: var(--rose-dark);
  font-weight: 800;
}

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

.horizontal-item {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 86px;
  padding: 10px;
  border-radius: 18px;
  background: rgba(255, 241, 242, 0.55);
  transition: transform 0.25s ease, background 0.25s ease;
}

.horizontal-item:hover {
  transform: translateX(4px);
  background: rgba(255, 241, 242, 0.95);
}

.horizontal-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 16px;
}

.horizontal-item strong {
  display: block;
  color: #1e293b;
  font-size: 15px;
  line-height: 1.4;
}

.horizontal-item p {
  margin: 4px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.horizontal-item span {
  color: #94a3b8;
  font-size: 12px;
}

.mini-rank {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--rose), var(--amber));
  border-radius: 10px;
  font-weight: 900;
}

.page-hero,
.detail-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(136, 19, 55, 0.86), rgba(120, 53, 15, 0.82));
  color: #ffffff;
}

.page-hero {
  padding: 86px 0;
}

.page-hero > div {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

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

.compact-hero,
.category-hero,
.search-hero,
.ranking-hero {
  isolation: isolate;
}

.compact-hero::before,
.category-hero::before,
.search-hero::before,
.ranking-hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(251, 113, 133, 0.42), transparent 68%);
  z-index: -1;
}

.filter-panel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
}

.filter-search {
  flex: 1 1 240px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(244, 63, 94, 0.16);
  border-radius: 999px;
  background: #ffffff;
  color: var(--rose-dark);
  font-weight: 800;
}

.filter-search input {
  width: 100%;
  min-width: 0;
}

.filter-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  border: 0;
  padding: 10px 14px;
  border-radius: 999px;
  color: #64748b;
  background: rgba(244, 63, 94, 0.08);
  font-weight: 800;
  cursor: pointer;
}

.filter-chip.active,
.filter-chip:hover {
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), var(--pink));
}

.result-count {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

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

.podium-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 18px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.podium-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 18px;
}

.podium-rank {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 2;
  padding: 8px 12px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--rose), var(--amber));
  border-radius: 999px;
  font-weight: 900;
}

.podium-card strong {
  color: #1e293b;
  font-size: 22px;
}

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

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

.detail-bg {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  filter: blur(14px);
  transform: scale(1.08);
}

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

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.46), rgba(15, 23, 42, 0.92));
}

.detail-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0 72px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

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

.detail-hero-grid {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.detail-poster {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4);
}

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

.detail-copy h1 {
  margin: 18px 0 18px;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

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

.detail-meta span {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.12);
}

.detail-tags span {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.detail-copy .primary-button {
  width: max-content;
  margin-top: 24px;
}

.watch-section {
  padding-top: 54px;
}

.player-card {
  padding: 16px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.player-shell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: #020617;
  aspect-ratio: 16 / 9;
}

.movie-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #020617;
  object-fit: contain;
  z-index: 1;
}

.player-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.1), rgba(15, 23, 42, 0.68)),
    radial-gradient(circle at center, rgba(244, 63, 94, 0.3), rgba(15, 23, 42, 0.55));
  cursor: pointer;
}

.player-overlay.is-hidden {
  display: none;
}

.player-play {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--rose);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
  font-size: 34px;
}

.player-overlay span:last-child {
  max-width: min(720px, calc(100% - 40px));
  font-size: clamp(20px, 4vw, 34px);
  font-weight: 900;
  text-align: center;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.article-section {
  padding-top: 0;
}

.movie-article {
  padding: 34px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--soft-shadow);
}

.movie-article h2 + p {
  margin-top: 12px;
}

.movie-article p {
  color: #475569;
  font-size: 17px;
  line-height: 2;
}

.site-footer {
  margin-top: 50px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.site-footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 34px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 520px);
  gap: 24px;
  align-items: center;
}

.site-footer p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.footer-links a {
  padding: 8px 12px;
  color: #64748b;
  background: rgba(244, 63, 94, 0.08);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hidden-by-filter {
  display: none !important;
}

@keyframes pulseGlow {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 28px 72px rgba(244, 63, 94, 0.36);
  }
}

@keyframes floatUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

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

@media (max-width: 1080px) {
  .top-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 {
    grid-template-columns: 1fr;
  }

  .ranking-panel {
    position: static;
  }
}

@media (max-width: 820px) {
  .site-header-inner {
    height: 66px;
  }

  .main-nav {
    display: none;
  }

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

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

  .brand-text span {
    display: none;
  }

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

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

  .hero-slider {
    min-height: 360px;
  }

  .hero-actions {
    width: 100%;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }

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

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

  .detail-poster {
    width: min(260px, 78vw);
  }

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

  .footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .site-header-inner,
  .mobile-panel,
  .content-section,
  .category-preview,
  .page-hero > div,
  .detail-hero-inner,
  .site-footer-inner {
    width: min(100% - 22px, 1180px);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 14px;
  }

  .hero-content {
    width: min(100% - 22px, 960px);
    padding: 70px 0;
  }

  .hero-slide h1,
  .page-hero h1 {
    font-size: 46px;
  }

  .hero-slide p,
  .page-hero p,
  .detail-copy p {
    font-size: 16px;
  }

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

  .filter-panel {
    align-items: stretch;
  }

  .filter-actions,
  .filter-search {
    width: 100%;
  }

  .filter-chip {
    flex: 1 1 auto;
  }

  .movie-article {
    padding: 24px;
  }
}
