:root {
  --teal: #14b8a6;
  --teal-dark: #0f766e;
  --cyan: #0891b2;
  --blue-soft: #e0f2fe;
  --teal-soft: #ccfbf1;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --white: #ffffff;
  --shadow-soft: 0 20px 45px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.10);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--gray-800);
  background: var(--white);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

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

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(18px);
}

.site-nav {
  width: min(100% - 32px, var(--container));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark,
.footer-logo span {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  box-shadow: 0 10px 22px rgba(20, 184, 166, 0.32);
  font-size: 18px;
}

.brand-text {
  display: grid;
  gap: 2px;
}

.brand-name {
  color: var(--gray-900);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

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

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

.nav-link {
  color: var(--gray-700);
  font-size: 15px;
  font-weight: 700;
  padding: 26px 0 22px;
  border-bottom: 3px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--teal-dark);
  border-bottom-color: var(--teal);
}

.nav-search,
.mobile-search,
.hero-search,
.page-filter {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-search {
  width: 278px;
}

.nav-search input,
.mobile-search input,
.hero-search input,
.page-filter input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--gray-200);
  outline: none;
  color: var(--gray-800);
  background: var(--white);
  border-radius: 999px;
  padding: 11px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-search input:focus,
.mobile-search input:focus,
.hero-search input:focus,
.page-filter input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
}

.nav-search button,
.mobile-search button,
.hero-search button,
.page-filter button {
  border: 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(20, 184, 166, 0.28);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--gray-100);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--gray-800);
  border-radius: 99px;
}

.mobile-panel {
  display: none;
  width: min(100% - 32px, var(--container));
  margin: 0 auto 16px;
  padding: 14px;
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

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

.mobile-links {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.mobile-link {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--gray-700);
  font-weight: 700;
}

.mobile-link:hover,
.mobile-link.active {
  color: var(--teal-dark);
  background: rgba(20, 184, 166, 0.10);
}

.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f0fdfa 0%, #ecfeff 52%, #eff6ff 100%);
  padding: 86px 0 92px;
}

.hero-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.18;
}

.hero-glow-a {
  width: 420px;
  height: 420px;
  top: 40px;
  left: 5vw;
  background: var(--teal);
}

.hero-glow-b {
  width: 500px;
  height: 500px;
  right: 0;
  bottom: -120px;
  background: var(--cyan);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  align-items: center;
  gap: 58px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1,
.page-hero h1,
.detail-copy h1 {
  margin: 0;
  color: var(--gray-900);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1.06;
}

.hero-copy h1 {
  max-width: 620px;
  font-size: clamp(42px, 6vw, 72px);
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 28px;
  color: var(--gray-700);
  font-size: 20px;
  line-height: 1.85;
}

.hero-search {
  max-width: 560px;
  margin-bottom: 24px;
  padding: 8px;
  border: 1px solid rgba(20, 184, 166, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: var(--shadow-card);
}

.hero-search input {
  border: 0;
  background: transparent;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.primary-action,
.secondary-action,
.hero-watch,
.text-link,
.rank-action,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-action,
.hero-watch,
.rank-action {
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  box-shadow: 0 14px 28px rgba(20, 184, 166, 0.28);
}

.primary-action {
  padding: 15px 28px;
}

.secondary-action,
.section-more,
.text-link {
  color: var(--teal-dark);
  background: rgba(20, 184, 166, 0.10);
}

.secondary-action {
  padding: 15px 26px;
}

.primary-action:hover,
.secondary-action:hover,
.hero-watch:hover,
.rank-action:hover,
.section-more:hover,
.text-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(20, 184, 166, 0.24);
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pills a {
  padding: 10px 14px;
  border: 1px solid rgba(20, 184, 166, 0.24);
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.56);
  font-size: 14px;
  font-weight: 800;
}

.hero-visual {
  position: relative;
}

.hero-slider {
  position: relative;
  height: 520px;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 28px 65px rgba(15, 23, 42, 0.22);
  background: var(--gray-900);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.82));
}

.hero-card-copy {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  color: var(--white);
}

.hero-kicker {
  margin: 0 0 8px;
  opacity: 0.88;
  font-size: 14px;
  font-weight: 800;
}

.hero-card-copy h2 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.16;
}

.hero-card-copy p:last-of-type {
  display: -webkit-box;
  margin: 0 0 18px;
  max-width: 95%;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hero-watch {
  gap: 8px;
  padding: 11px 18px;
}

.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -28px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.22);
  cursor: pointer;
}

.hero-dot.active {
  width: 30px;
  background: var(--teal);
}

.service-strip {
  width: min(100% - 32px, var(--container));
  margin: -34px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-item {
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 138px;
  padding: 22px;
  text-align: center;
  border: 1px solid rgba(20, 184, 166, 0.12);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.service-item span {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-dark);
  background: linear-gradient(135deg, #f0fdfa, #ecfeff);
  border-radius: 18px;
  font-size: 20px;
}

.service-item strong {
  color: var(--gray-900);
  font-size: 18px;
}

.service-item em {
  color: var(--gray-500);
  font-size: 13px;
  font-style: normal;
}

.content-section {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 78px 0;
}

.light-section {
  width: 100%;
  padding-left: max(16px, calc((100% - var(--container)) / 2));
  padding-right: max(16px, calc((100% - var(--container)) / 2));
  background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
}

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

.section-heading h2 {
  margin: 0 0 10px;
  color: var(--gray-900);
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -0.05em;
}

.section-heading p {
  margin: 0;
  color: var(--gray-500);
  font-size: 17px;
  line-height: 1.7;
}

.section-more,
.text-link {
  padding: 12px 18px;
  white-space: nowrap;
}

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

.movie-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.88);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.movie-cover {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, var(--teal-soft), var(--blue-soft));
}

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

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

.movie-type,
.movie-score {
  position: absolute;
  top: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.movie-type {
  left: 12px;
  background: rgba(20, 184, 166, 0.88);
}

.movie-score {
  right: 12px;
  background: rgba(15, 23, 42, 0.78);
}

.movie-body {
  padding: 18px;
}

.movie-body h3 {
  margin: 0 0 8px;
  color: var(--gray-900);
  font-size: 18px;
  line-height: 1.35;
}

.movie-body h3 a:hover {
  color: var(--teal-dark);
}

.movie-meta,
.movie-desc {
  margin: 0;
  color: var(--gray-500);
  line-height: 1.65;
}

.movie-meta {
  font-size: 13px;
}

.movie-desc {
  display: -webkit-box;
  min-height: 52px;
  margin-top: 8px;
  overflow: hidden;
  font-size: 14px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.tag-list,
.detail-tags,
.keyword-cloud,
.overview-chips,
.rank-meta,
.hero-pills {
  display: flex;
  flex-wrap: wrap;
}

.tag-list {
  gap: 6px;
  margin-top: 14px;
}

.tag-list span,
.detail-tags span,
.keyword-cloud a,
.overview-chips span,
.rank-meta span {
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(20, 184, 166, 0.10);
  font-size: 12px;
  font-weight: 800;
}

.tag-list span {
  padding: 5px 8px;
}

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

.category-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-card);
  background: var(--gray-900);
}

.category-card img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.category-card:hover img {
  transform: scale(1.08);
}

.category-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.76));
}

.category-copy {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: grid;
  gap: 8px;
  color: var(--white);
}

.category-copy strong {
  font-size: 24px;
}

.category-copy em {
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-style: normal;
  line-height: 1.6;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 72px 86px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(229, 231, 235, 0.88);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.rank-number {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: var(--white);
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  font-size: 22px;
  font-weight: 900;
}

.rank-thumb {
  display: block;
  width: 86px;
  height: 112px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--gray-100);
}

.rank-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rank-info h3 {
  margin: 0 0 8px;
  color: var(--gray-900);
  font-size: 20px;
}

.rank-info h3 a:hover {
  color: var(--teal-dark);
}

.rank-info p {
  display: -webkit-box;
  margin: 0 0 12px;
  overflow: hidden;
  color: var(--gray-500);
  line-height: 1.65;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.rank-meta {
  gap: 8px;
}

.rank-meta span {
  padding: 6px 10px;
}

.rank-action {
  padding: 11px 18px;
}

.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f0fdfa, #ecfeff 50%, #eff6ff);
}

.compact-hero {
  width: min(100% - 32px, var(--container));
  margin: 32px auto 0;
  padding: 56px;
  border: 1px solid rgba(20, 184, 166, 0.12);
  border-radius: 34px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.page-hero h1 {
  font-size: clamp(38px, 5vw, 62px);
}

.page-hero p:last-child {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--gray-600);
  font-size: 18px;
  line-height: 1.8;
}

.page-filter {
  width: min(100%, 460px);
  flex: 0 0 auto;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

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

.overview-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(229, 231, 235, 0.88);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.overview-cover {
  min-height: 250px;
  background: var(--gray-100);
}

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

.overview-body {
  padding: 28px;
}

.overview-body h2 {
  margin: 0 0 12px;
  color: var(--gray-900);
  font-size: 26px;
}

.overview-body p {
  margin: 0 0 18px;
  color: var(--gray-500);
  line-height: 1.8;
}

.overview-chips {
  gap: 8px;
  margin-bottom: 18px;
}

.overview-chips span,
.keyword-cloud a {
  padding: 7px 10px;
}

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

.detail-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  filter: blur(3px);
  transform: scale(1.04);
}

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

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.94), rgba(15, 23, 42, 0.74), rgba(15, 23, 42, 0.32));
}

.detail-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  padding: 40px 0 68px;
}

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

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

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

.detail-poster {
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.35);
}

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

.detail-copy h1 {
  color: var(--white);
  font-size: clamp(38px, 6vw, 68px);
}

.detail-lead {
  max-width: 820px;
  margin: 22px 0 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 20px;
  line-height: 1.8;
}

.detail-tags {
  gap: 10px;
  margin-bottom: 26px;
}

.detail-tags span {
  padding: 9px 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
}

.player-section {
  background: linear-gradient(135deg, var(--gray-900), #0f172a);
  padding: 48px max(16px, calc((100% - var(--container)) / 2));
}

.player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 28px;
  background: #000;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.32);
}

.movie-player {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.player-cover {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  color: var(--white);
  background: radial-gradient(circle at center, rgba(20, 184, 166, 0.12), rgba(0, 0, 0, 0.42) 45%, rgba(0, 0, 0, 0.76));
  cursor: pointer;
}

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

.play-circle {
  width: 86px;
  height: 86px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--cyan));
  box-shadow: 0 18px 42px rgba(20, 184, 166, 0.42);
  font-size: 32px;
}

.play-text {
  font-size: 20px;
  font-weight: 900;
}

.detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.story-card {
  border: 1px solid rgba(229, 231, 235, 0.88);
  border-radius: 28px;
  background: var(--white);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.story-card h2 {
  margin: 0 0 16px;
  color: var(--gray-900);
  font-size: 28px;
}

.story-card p {
  margin: 0;
  color: var(--gray-700);
  line-height: 1.95;
}

.detail-meta-card {
  grid-column: 1 / -1;
}

.detail-meta-card dl {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}

.detail-meta-card dl div {
  padding: 16px;
  border-radius: 18px;
  background: var(--gray-50);
}

.detail-meta-card dt {
  margin-bottom: 8px;
  color: var(--gray-500);
  font-size: 13px;
  font-weight: 800;
}

.detail-meta-card dd {
  margin: 0;
  color: var(--gray-900);
  font-weight: 900;
}

.keyword-cloud {
  gap: 8px;
}

.related-grid .movie-card.compact .movie-desc {
  min-height: auto;
}

.empty-state {
  display: none;
  margin: 28px 0 0;
  padding: 24px;
  border-radius: 20px;
  color: var(--gray-500);
  background: var(--white);
  text-align: center;
  font-weight: 800;
}

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

.site-footer {
  color: #d1d5db;
  background: linear-gradient(135deg, #111827, #1f2937 50%, #111827);
}

.footer-inner {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding: 56px 0 36px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--white);
  font-size: 22px;
}

.footer-inner h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 18px;
}

.footer-inner p,
.footer-inner li {
  color: #9ca3af;
  line-height: 1.8;
}

.footer-inner p {
  margin: 0;
}

.footer-inner ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-inner a:hover {
  color: #5eead4;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 16px 28px;
  color: #9ca3af;
  text-align: center;
  font-size: 14px;
}

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

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

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

  .hero-visual {
    max-width: 640px;
  }

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

  .compact-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .page-filter {
    width: 100%;
  }

  .detail-meta-card dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 760px) {
  .site-nav {
    min-height: 68px;
  }

  .brand-mark,
  .footer-logo span {
    width: 40px;
    height: 40px;
  }

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

  .hero-section {
    padding: 54px 0 70px;
  }

  .hero-inner {
    gap: 34px;
  }

  .hero-search,
  .page-filter,
  .mobile-search {
    align-items: stretch;
    flex-direction: column;
    border-radius: 22px;
  }

  .hero-search input,
  .hero-search button,
  .page-filter input,
  .page-filter button,
  .mobile-search input,
  .mobile-search button {
    border-radius: 16px;
  }

  .hero-slider {
    height: 430px;
    border-radius: 24px;
  }

  .hero-card-copy h2 {
    font-size: 28px;
  }

  .service-strip,
  .movie-grid,
  .category-grid,
  .overview-grid,
  .detail-content {
    grid-template-columns: 1fr;
  }

  .service-strip {
    margin-top: 18px;
  }

  .content-section {
    padding: 54px 0;
  }

  .light-section {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .rank-row {
    grid-template-columns: 52px 70px minmax(0, 1fr);
    gap: 12px;
  }

  .rank-number {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }

  .rank-thumb {
    width: 70px;
    height: 96px;
  }

  .rank-action {
    grid-column: 2 / -1;
    width: max-content;
  }

  .compact-hero {
    margin-top: 18px;
    padding: 32px 20px;
    border-radius: 24px;
  }

  .overview-card,
  .detail-meta-card dl {
    grid-template-columns: 1fr;
  }

  .overview-cover {
    min-height: 320px;
  }

  .detail-inner {
    padding: 26px 0 48px;
  }

  .detail-poster {
    width: min(100%, 280px);
  }

  .player-section {
    padding: 28px 16px;
  }

  .player-wrap {
    border-radius: 20px;
  }

  .story-card {
    padding: 22px;
  }

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