:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --indigo-600: #4f46e5;
  --purple-700: #7e22ce;
  --purple-900: #581c87;
  --stone-50: #fafaf9;
  --stone-100: #f5f5f4;
  --stone-200: #e7e5e4;
  --stone-500: #78716c;
  --stone-600: #57534e;
  --stone-700: #44403c;
  --stone-800: #292524;
  --white: #ffffff;
  --dark: #0f172a;
  --shadow: 0 24px 60px rgba(37, 99, 235, 0.16);
  --soft-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--stone-800);
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 38%, #eff6ff 100%);
  min-height: 100vh;
}

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

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

button,
input,
select {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, rgba(239, 246, 255, 0.94), rgba(238, 242, 255, 0.94), rgba(250, 245, 255, 0.94));
  border-bottom: 1px solid rgba(37, 99, 235, 0.18);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.12);
  backdrop-filter: blur(16px);
}

.header-main {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

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

.brand-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--blue-600), var(--purple-700));
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand:hover .brand-icon {
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 18px 34px rgba(79, 70, 229, 0.34);
}

.brand-text strong {
  display: block;
  font-size: 24px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: transparent;
  background: linear-gradient(90deg, #1e40af, #7e22ce);
  -webkit-background-clip: text;
  background-clip: text;
}

.brand-text em {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #1d4ed8;
  font-style: normal;
  font-weight: 600;
}

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

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 12px;
  color: #1e3a8a;
  font-weight: 700;
  transition: all 0.22s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #ffffff;
  background: linear-gradient(90deg, var(--blue-600), var(--indigo-600));
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.25);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 12px;
  background: rgba(219, 234, 254, 0.72);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: #1e3a8a;
}

.mobile-nav {
  display: none;
  padding: 0 16px 14px;
}

.mobile-nav .nav-link {
  display: flex;
  margin: 6px auto;
  width: min(100%, 1180px);
}

.quick-cats {
  background: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(37, 99, 235, 0.12);
}

.quick-cats-scroll {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 0;
}

.quick-cats a {
  flex: 0 0 auto;
  padding: 7px 13px;
  border-radius: 999px;
  color: #1e40af;
  background: rgba(219, 234, 254, 0.68);
  font-size: 13px;
  font-weight: 700;
  transition: all 0.22s ease;
}

.quick-cats a:hover {
  color: #ffffff;
  background: linear-gradient(90deg, #3b82f6, #7e22ce);
  transform: translateY(-1px);
}

.hero-section {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: radial-gradient(circle at 15% 20%, rgba(59, 130, 246, 0.4), transparent 30%), linear-gradient(135deg, #172554 0%, #3730a3 48%, #581c87 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.26) 1px, transparent 0);
  background-size: 34px 34px;
}

.hero-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 92px;
  background: linear-gradient(to top, rgba(250, 250, 249, 1), transparent);
}

.hero-shell {
  position: relative;
  min-height: 660px;
  padding: 72px 0 122px;
}

.hero-slide {
  position: absolute;
  inset: 72px 0 112px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) 380px;
  align-items: center;
  gap: 56px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: 18px;
  padding: 9px 16px;
  border: 1px solid rgba(147, 197, 253, 0.45);
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.22);
  color: #bfdbfe;
  font-size: 14px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.hero-content h1 {
  max-width: 850px;
  margin: 0 0 18px;
  color: transparent;
  background: linear-gradient(90deg, #bfdbfe, #faf5ff, #fbcfe8);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.hero-content h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.16;
}

.hero-content p {
  max-width: 680px;
  margin: 0 0 32px;
  color: rgba(219, 234, 254, 0.88);
  font-size: 18px;
  line-height: 1.9;
}

.hero-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.primary-btn,
.ghost-btn,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 14px;
  font-weight: 800;
  transition: all 0.24s ease;
}

.primary-btn {
  color: #ffffff;
  background: linear-gradient(90deg, #3b82f6, #4f46e5);
  box-shadow: 0 16px 34px rgba(37, 99, 235, 0.34);
}

.primary-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 22px 40px rgba(37, 99, 235, 0.42);
}

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

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

.ghost-btn.light {
  color: #1e40af;
  border-color: rgba(37, 99, 235, 0.2);
  background: rgba(239, 246, 255, 0.86);
}

.hero-poster {
  position: relative;
  display: block;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.42);
  transform: rotate(1.5deg);
}

.hero-poster::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 2;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  pointer-events: none;
}

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

.hero-poster:hover img {
  transform: scale(1.06);
}

.hero-nav {
  position: absolute;
  left: 0;
  bottom: 74px;
  z-index: 3;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 42px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: all 0.24s ease;
}

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

.page-section {
  padding: 72px 0;
}

.soft-section {
  background: linear-gradient(135deg, #f5f5f4 0%, #eff6ff 100%);
}

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

.section-head h2,
.rank-panel-head h2,
.article-card h2,
.side-card h2,
.player-card h2 {
  margin: 0 0 8px;
  color: var(--stone-800);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.18;
}

.section-head p {
  margin: 0;
  color: var(--stone-600);
  font-size: 16px;
}

.section-more {
  min-height: 42px;
  color: var(--blue-700);
  background: #dbeafe;
}

.section-more:hover {
  color: #ffffff;
  background: linear-gradient(90deg, #3b82f6, #7e22ce);
  transform: translateY(-2px);
}

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

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

.movie-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.movie-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.18);
}

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: linear-gradient(135deg, #e7e5e4, #dbeafe);
}

.poster-link img,
.wide-poster img,
.ranking-poster img,
.detail-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.movie-card:hover img,
.rank-item:hover img,
.ranking-card:hover img {
  transform: scale(1.08);
}

.poster-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.36), transparent);
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.movie-card:hover .poster-shade {
  opacity: 0.92;
}

.corner-badge,
.duration-badge {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 9px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.corner-badge {
  top: 12px;
  left: 12px;
  background: rgba(37, 99, 235, 0.86);
}

.duration-badge {
  right: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.66);
}

.poster-copy {
  position: absolute;
  z-index: 2;
  left: 16px;
  right: 16px;
  bottom: 44px;
  color: #ffffff;
}

.poster-copy strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.25;
}

.poster-copy em {
  display: -webkit-box;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.45;
  font-style: normal;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

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

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

.card-body h2 a:hover,
.movie-title:hover,
.ranking-card h2 a:hover {
  color: var(--blue-600);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--stone-500);
  font-size: 13px;
}

.meta-row span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--stone-100);
}

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

.category-card,
.category-overview-card,
.side-card,
.article-card,
.player-card,
.rank-panel,
.filter-bar,
.ranking-card {
  border: 1px solid rgba(37, 99, 235, 0.10);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--soft-shadow);
}

.category-card {
  position: relative;
  overflow: hidden;
  min-height: 158px;
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(126, 34, 206, 0.12));
  transition: opacity 0.25s ease;
}

.category-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 22px 44px rgba(37, 99, 235, 0.18);
}

.category-card:hover::before {
  opacity: 1;
}

.category-card span,
.category-card p {
  position: relative;
  z-index: 2;
}

.category-card span {
  display: block;
  margin-bottom: 12px;
  color: transparent;
  background: linear-gradient(90deg, #1d4ed8, #7e22ce);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 22px;
  font-weight: 900;
}

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

.two-column-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  align-items: start;
  gap: 36px;
}

.wide-list {
  display: grid;
  gap: 18px;
}

.movie-card-wide {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: stretch;
}

.movie-card-wide:hover {
  transform: translateY(-4px);
}

.wide-poster {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  background: var(--stone-200);
}

.wide-info {
  padding: 22px;
}

.movie-title {
  display: block;
  margin-bottom: 10px;
  color: var(--stone-800);
  font-size: 22px;
  line-height: 1.3;
  font-weight: 900;
}

.wide-info p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 14px;
  color: var(--stone-600);
  line-height: 1.75;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  color: #1d4ed8;
  background: #dbeafe;
  font-size: 12px;
  font-weight: 800;
}

.rank-panel {
  position: sticky;
  top: 112px;
  padding: 24px;
}

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

.rank-panel-head h2 {
  margin: 0;
  font-size: 26px;
}

.rank-panel-head a {
  color: var(--blue-600);
  font-weight: 800;
}

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

.rank-item {
  display: grid;
  grid-template-columns: 34px 76px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 16px;
  transition: background 0.22s ease, transform 0.22s ease;
}

.rank-item:hover {
  background: #eff6ff;
  transform: translateX(3px);
}

.rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #3b82f6, #7e22ce);
  font-weight: 900;
}

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

.rank-info strong,
.rank-info em {
  display: block;
}

.rank-info strong {
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.35;
}

.rank-info em {
  color: var(--stone-500);
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
}

.inner-hero {
  color: #ffffff;
  background: radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.38), transparent 28%), linear-gradient(135deg, #172554, #3730a3 52%, #581c87);
}

.inner-hero .container {
  padding: 76px 0 82px;
}

.inner-hero span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 13px;
  border-radius: 999px;
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.22);
  font-weight: 800;
}

.inner-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.06;
}

.inner-hero p {
  max-width: 780px;
  margin: 0;
  color: rgba(219, 234, 254, 0.88);
  font-size: 18px;
  line-height: 1.85;
}

.filter-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px 180px;
  gap: 16px;
  margin-bottom: 28px;
  padding: 20px;
}

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

.filter-bar label {
  display: grid;
  gap: 8px;
  color: var(--stone-600);
  font-size: 13px;
  font-weight: 800;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  height: 48px;
  border: 2px solid var(--stone-200);
  border-radius: 14px;
  padding: 0 14px;
  color: var(--stone-800);
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-bar input:focus,
.filter-bar select:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.result-line {
  min-height: 24px;
  margin-bottom: 20px;
  color: var(--stone-500);
  font-weight: 700;
}

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

.category-overview-card {
  padding: 26px;
}

.category-overview-title {
  display: block;
  margin-bottom: 12px;
  color: transparent;
  background: linear-gradient(90deg, #1d4ed8, #7e22ce);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 24px;
  font-weight: 900;
}

.category-overview-card p {
  margin: 0 0 18px;
  color: var(--stone-600);
  line-height: 1.75;
}

.mini-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.mini-links a {
  padding: 7px 10px;
  border-radius: 999px;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 12px;
  font-weight: 800;
}

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

.ranking-card {
  display: grid;
  grid-template-columns: 142px minmax(0, 1fr);
  gap: 22px;
  padding: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ranking-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16);
}

.ranking-poster {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 3 / 4;
  background: var(--stone-200);
}

.ranking-poster span {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #3b82f6, #7e22ce);
  font-weight: 900;
}

.ranking-card h2 {
  margin: 8px 0 12px;
  font-size: 24px;
}

.ranking-card p {
  margin: 0 0 16px;
  color: var(--stone-600);
  line-height: 1.75;
}

.detail-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background: #111827;
}

.detail-bg {
  position: absolute;
  inset: 0;
}

.detail-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(24px) saturate(1.08);
  transform: scale(1.1);
  opacity: 0.35;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(30, 41, 59, 0.70), rgba(88, 28, 135, 0.72));
}

.detail-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 42px;
  align-items: center;
  padding: 72px 0;
}

.detail-poster {
  overflow: hidden;
  border-radius: 28px;
  aspect-ratio: 3 / 4;
  background: var(--stone-200);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 20px;
  color: #bfdbfe;
  font-weight: 800;
}

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

.detail-info h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.08;
}

.detail-one-line {
  max-width: 840px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.85;
}

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

.detail-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 800;
  backdrop-filter: blur(8px);
}

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

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

.detail-main {
  display: grid;
  gap: 24px;
}

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

.player-card h2,
.article-card h2,
.side-card h2 {
  font-size: 26px;
}

.video-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 16 / 9;
  background: #020617;
}

.movie-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #020617;
}

.play-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  border: 0;
  color: #ffffff;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.22));
  cursor: pointer;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

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

.play-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  padding-left: 6px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #3b82f6, #7e22ce);
  font-size: 34px;
  box-shadow: 0 18px 44px rgba(59, 130, 246, 0.38);
}

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

.side-card {
  position: sticky;
  top: 112px;
}

.side-card dl {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 12px 14px;
  margin: 0;
}

.side-card dt {
  color: var(--stone-500);
  font-weight: 800;
}

.side-card dd {
  margin: 0;
  color: var(--stone-800);
  line-height: 1.6;
}

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

.site-footer {
  color: rgba(255, 255, 255, 0.86);
  background: linear-gradient(135deg, #0f172a, #172554 58%, #312e81);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  padding: 52px 0;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 14px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
}

.site-footer p {
  max-width: 430px;
  margin: 0;
  color: rgba(219, 234, 254, 0.78);
  line-height: 1.8;
}

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

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

.footer-links a {
  padding: 8px 11px;
  border-radius: 999px;
  color: #dbeafe;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 700;
}

.footer-links a:hover {
  color: #ffffff;
  background: rgba(59, 130, 246, 0.42);
}

.footer-bottom {
  padding: 18px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  color: rgba(219, 234, 254, 0.72);
  text-align: center;
  font-size: 14px;
}

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

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

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

  .hero-slide {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 32px;
  }

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

  .rank-panel,
  .side-card {
    position: static;
  }
}

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

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

  .mobile-nav.is-open {
    display: block;
  }

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

  .hero-shell {
    min-height: 760px;
    padding-top: 46px;
  }

  .hero-slide {
    inset: 46px 0 96px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-poster {
    width: min(280px, 78vw);
    margin: 0 auto;
  }

  .hero-nav {
    bottom: 52px;
  }

  .movie-grid,
  .featured-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

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

  .detail-hero-grid {
    grid-template-columns: 1fr;
    padding: 44px 0;
  }

  .detail-poster {
    width: min(280px, 76vw);
  }

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

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

  .header-main {
    height: 68px;
  }

  .quick-cats-scroll {
    padding-left: 0;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .hero-content p,
  .inner-hero p,
  .detail-one-line {
    font-size: 16px;
  }

  .hero-actions,
  .detail-actions {
    flex-direction: column;
  }

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

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

  .movie-card-wide,
  .ranking-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .wide-poster {
    min-height: 160px;
  }

  .wide-info,
  .ranking-card {
    padding: 14px;
  }

  .movie-title,
  .ranking-card h2 {
    font-size: 18px;
  }

  .poster-copy strong {
    font-size: 17px;
  }

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

  .play-circle {
    width: 66px;
    height: 66px;
    font-size: 26px;
  }
}
