:root {
  --green-950: #052e16;
  --green-900: #064e3b;
  --green-800: #065f46;
  --green-700: #047857;
  --green-600: #059669;
  --green-500: #10b981;
  --emerald-400: #34d399;
  --teal-500: #14b8a6;
  --yellow-300: #fde047;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --shadow-sm: 0 10px 25px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 18px 40px rgba(15, 23, 42, 0.14);
  --shadow-lg: 0 28px 70px rgba(15, 23, 42, 0.22);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --container: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: #111827;
  background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 46%, #f8fafc 100%);
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  color: var(--white);
  background: linear-gradient(90deg, var(--green-800), var(--green-600), var(--teal-500));
  box-shadow: 0 14px 30px rgba(6, 95, 70, 0.25);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  height: 68px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--green-700);
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18);
}

.brand-text {
  font-size: 22px;
}

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

.nav-link {
  padding: 9px 13px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  width: min(330px, 30vw);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(14px);
}

.nav-search input {
  min-width: 0;
  flex: 1;
  color: var(--white);
  background: transparent;
  border: 0;
  outline: 0;
  padding: 8px 12px;
}

.nav-search input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.nav-search button {
  color: var(--green-700);
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 700;
  background: var(--white);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
}

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

.mobile-nav {
  display: grid;
  gap: 2px;
  padding: 8px 16px 16px;
  background: rgba(6, 78, 59, 0.97);
}

.mobile-nav a {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-slider {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(circle at 20% 10%, rgba(253, 224, 71, 0.25), transparent 26%), linear-gradient(135deg, var(--green-800), var(--green-500), var(--teal-500));
}

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

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

.hero-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05);
  opacity: 0.34;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 46, 22, 0.94) 0%, rgba(6, 95, 70, 0.78) 46%, rgba(20, 184, 166, 0.34) 100%),
    radial-gradient(circle at 78% 48%, rgba(255, 255, 255, 0.22), transparent 34%);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 600px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  align-items: center;
  gap: 56px;
}

.hero-copy {
  max-width: 760px;
  animation: fadeIn 0.8s ease both;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-600);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy .eyebrow,
.page-hero .eyebrow,
.detail-info-card .eyebrow {
  color: var(--yellow-300);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.hero-copy h1 span {
  display: block;
  color: var(--yellow-300);
}

.hero-summary {
  max-width: 660px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.8;
}

.hero-tags,
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags {
  margin-top: 24px;
}

.hero-tags span,
.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.hero-tags span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.tag-list span {
  color: var(--green-800);
  background: #dcfce7;
}

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

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

.primary-button {
  color: var(--green-700);
  background: var(--white);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.24);
}

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

.ghost-button {
  color: var(--white);
  background: rgba(6, 95, 70, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(10px);
}

.hero-poster {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
  transition: transform 0.25s ease;
}

.hero-poster:hover {
  transform: rotate(0deg) scale(1.02);
}

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

.hero-poster span {
  position: absolute;
  inset: auto 20px 20px auto;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: var(--green-700);
  background: var(--white);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
}

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

.hero-controls button {
  border: 0;
}

.hero-prev,
.hero-next {
  width: 42px;
  height: 42px;
  color: var(--white);
  font-size: 30px;
  line-height: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.hero-dots button.active {
  width: 28px;
  background: var(--yellow-300);
}

.hero-stats {
  position: absolute;
  z-index: 4;
  right: max(24px, calc((100vw - var(--container)) / 2));
  bottom: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-stats div {
  min-width: 112px;
  padding: 14px 18px;
  text-align: center;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
}

.hero-stats strong {
  display: block;
  font-size: 26px;
}

.hero-stats span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

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

.surface-section {
  background: var(--white);
}

.section-heading {
  margin-bottom: 28px;
}

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

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

.section-heading h2,
.page-hero h1,
.detail-info-card h1 {
  margin: 0;
  color: var(--slate-900);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-heading p:not(.eyebrow),
.page-hero p:not(.eyebrow),
.category-overview-main p {
  color: var(--slate-600);
  line-height: 1.8;
}

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

.category-card,
.category-overview-main {
  position: relative;
  display: block;
  min-height: 190px;
  padding: 24px;
  color: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-600), var(--teal-500));
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-card::after,
.category-overview-main::after {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -40px;
  bottom: -52px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.category-card:hover,
.category-overview-main:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-md);
}

.category-icon,
.category-overview-main span {
  display: inline-flex;
  font-size: 34px;
  margin-bottom: 18px;
}

.category-card strong,
.category-overview-main h2 {
  display: block;
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 900;
}

.category-card em,
.category-overview-main strong {
  display: inline-block;
  margin-bottom: 10px;
  font-style: normal;
  color: var(--yellow-300);
  font-weight: 800;
}

.category-card p,
.category-overview-main p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
}

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

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

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

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

.movie-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.poster-link {
  position: relative;
  display: block;
  overflow: hidden;
  background: #dcfce7;
}

.poster-link img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.poster-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 10px;
  color: var(--white);
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  background: rgba(5, 46, 22, 0.74);
  backdrop-filter: blur(8px);
}

.poster-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--green-700);
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

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

.card-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--slate-500);
  font-size: 12px;
  font-weight: 700;
}

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

.movie-card h3 a:hover {
  color: var(--green-700);
}

.movie-card p {
  min-height: 46px;
  margin: 0 0 14px;
  color: var(--slate-600);
  font-size: 14px;
  line-height: 1.65;
}

.compact-card .movie-card-body {
  padding: 14px;
}

.compact-card h3 {
  font-size: 16px;
}

.compact-card p {
  min-height: 42px;
  font-size: 13px;
}

.ranking-panel,
.content-card,
.detail-info-card,
.player-card {
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.ranking-panel {
  padding: 24px;
  position: sticky;
  top: 92px;
}

.ranking-panel ol {
  display: grid;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ranking-item a {
  display: grid;
  grid-template-columns: 42px 54px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border-radius: 14px;
  transition: background 0.2s ease;
}

.ranking-item a:hover {
  background: #ecfdf5;
}

.rank-number {
  color: var(--green-700);
  font-size: 20px;
  font-weight: 900;
}

.ranking-item img {
  width: 54px;
  height: 74px;
  object-fit: cover;
  border-radius: 10px;
}

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

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

.rank-info strong {
  color: var(--slate-900);
  font-size: 15px;
}

.rank-info em {
  margin-top: 4px;
  color: var(--slate-500);
  font-size: 12px;
  font-style: normal;
}

.text-link {
  margin-top: 18px;
  color: var(--green-700);
  background: #dcfce7;
}

.filter-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.filter-toolbar label {
  display: grid;
  gap: 6px;
  color: var(--slate-500);
  font-size: 12px;
  font-weight: 800;
}

.filter-toolbar input,
.filter-toolbar select {
  min-width: 176px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  color: var(--slate-800);
  background: var(--white);
  outline: none;
}

.filter-toolbar input:focus,
.filter-toolbar select:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.14);
}

.filter-empty {
  margin: 10px 0 22px;
  padding: 14px 18px;
  color: var(--green-900);
  border-radius: 14px;
  background: #dcfce7;
}

.page-hero {
  padding: 88px 0;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 18%, rgba(253, 224, 71, 0.26), transparent 26%),
    linear-gradient(135deg, var(--green-800), var(--green-500), var(--teal-500));
}

.page-hero h1,
.detail-info-card h1 {
  color: var(--white);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.page-hero-meta span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

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

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

.category-overview-card {
  display: grid;
  gap: 14px;
}

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

.category-samples img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.ranking-layout {
  display: grid;
  grid-template-columns: 420px minmax(0, 1fr);
  gap: 32px;
}

.full-ranking {
  position: static;
}

.ranking-side-blocks {
  display: grid;
  gap: 48px;
}

.detail-hero {
  padding: 36px 0 68px;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 22%, rgba(253, 224, 71, 0.22), transparent 27%),
    linear-gradient(135deg, var(--green-900), var(--green-700) 56%, var(--teal-500));
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 26px;
  align-items: stretch;
}

.player-card {
  overflow: hidden;
  background: rgba(2, 6, 23, 0.72);
  border-color: rgba(255, 255, 255, 0.12);
}

.video-shell {
  position: relative;
  min-height: 420px;
  background: var(--slate-950);
}

.movie-video {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: contain;
  background: var(--slate-950);
}

.player-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 10px;
  color: var(--white);
  text-align: center;
  border: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.12), rgba(2, 6, 23, 0.74));
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

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

.big-play {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin: 0 auto 8px;
  color: var(--green-700);
  font-size: 34px;
  border-radius: 999px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.player-overlay strong {
  font-size: 24px;
}

.player-overlay em,
.player-tip {
  color: rgba(255, 255, 255, 0.72);
  font-style: normal;
}

.player-tip {
  margin: 0;
  padding: 14px 18px;
  font-size: 13px;
}

.detail-info-card {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.detail-info-card img {
  width: 145px;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

.detail-info-card p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
}

.detail-meta-list {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

.detail-tags span {
  color: var(--white);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.detail-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
  align-items: start;
}

.content-card {
  padding: 28px;
}

.prose-card h2,
.related-card h2 {
  margin: 0 0 18px;
  color: var(--slate-900);
  font-size: 26px;
  font-weight: 900;
}

.prose-card h2:not(:first-child) {
  margin-top: 30px;
}

.prose-card p,
.prose-card li {
  color: var(--slate-700);
  font-size: 16px;
  line-height: 1.9;
}

.prose-card ul {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.prose-card a {
  color: var(--green-700);
  font-weight: 800;
}

.related-card {
  position: sticky;
  top: 92px;
}

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

.sitemap-list {
  display: grid;
  gap: 28px;
}

.sitemap-section {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-200);
}

.sitemap-section h2 {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--slate-900);
}

.sitemap-section small {
  color: var(--green-700);
  font-size: 14px;
}

.sitemap-section ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sitemap-section li {
  min-width: 0;
}

.sitemap-section a {
  display: block;
  color: var(--slate-900);
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sitemap-section a:hover {
  color: var(--green-700);
}

.sitemap-section span {
  display: block;
  margin-top: 2px;
  color: var(--slate-500);
  font-size: 12px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: linear-gradient(180deg, var(--slate-800), var(--slate-950));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 32px;
  padding: 54px 0;
}

.footer-brand {
  color: var(--white);
  margin-bottom: 16px;
}

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

.site-footer p {
  margin: 0;
  line-height: 1.8;
}

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

.site-footer a:hover {
  color: var(--emerald-400);
}

.footer-bottom {
  padding: 18px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1180px) {
  .movie-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .hero-stats {
    display: none;
  }

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

  .ranking-panel,
  .related-card {
    position: static;
  }
}

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

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

  .hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 48px;
    padding-bottom: 96px;
  }

  .hero-poster {
    display: none;
  }

  .section-heading.with-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-toolbar {
    justify-content: flex-start;
  }

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

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

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

  .sitemap-section ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

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

  .hero-copy h1 {
    font-size: 40px;
  }

  .hero-controls {
    bottom: 20px;
  }

  .section-block {
    padding: 48px 0;
  }

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

  .category-overview-grid,
  .category-grid,
  .movie-grid,
  .compact-grid,
  .mini-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

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

  .movie-card h3 {
    font-size: 16px;
  }

  .movie-card p {
    display: none;
  }

  .filter-toolbar,
  .filter-toolbar label,
  .filter-toolbar input,
  .filter-toolbar select {
    width: 100%;
  }

  .detail-info-card {
    grid-template-columns: 100px 1fr;
  }

  .detail-info-card img {
    width: 100px;
  }

  .movie-video,
  .video-shell {
    min-height: 240px;
  }

  .content-card {
    padding: 20px;
  }

  .sitemap-section ul,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
