:root {
  --bg: #f6fbf9;
  --surface: #ffffff;
  --surface-soft: #ecfdf5;
  --text: #10201a;
  --muted: #5f706a;
  --line: #dcece6;
  --primary: #059669;
  --primary-dark: #047857;
  --primary-light: #34d399;
  --accent: #0f766e;
  --gold: #f59e0b;
  --shadow: 0 22px 60px rgba(15, 118, 110, 0.16);
  --radius-lg: 28px;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top left, rgba(52, 211, 153, 0.16), transparent 28rem), var(--bg);
  line-height: 1.65;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

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(220, 236, 230, 0.9);
  backdrop-filter: blur(18px);
}

.nav-wrap {
  max-width: 1240px;
  margin: 0 auto;
  min-height: 72px;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--primary-dark);
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 12px 28px rgba(5, 150, 105, 0.28);
}

.brand-text {
  font-size: 1.15rem;
}

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

.nav-link,
.mobile-link {
  color: #365249;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-link:hover,
.nav-link.active,
.mobile-link:hover,
.mobile-link.active {
  color: var(--primary-dark);
  background: var(--surface-soft);
}

.nav-search {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 118, 110, 0.08);
}

.nav-search input,
.mobile-search input,
.filter-panel input,
.hero-search input {
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
}

.nav-search input {
  width: 210px;
  padding: 10px 8px 10px 16px;
}

.nav-search button,
.mobile-search button,
.hero-search button {
  border: 0;
  color: #ffffff;
  background: var(--primary);
  padding: 10px 16px;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--surface-soft);
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--primary-dark);
  border-radius: 999px;
}

.mobile-panel {
  display: none;
  padding: 0 22px 18px;
  border-top: 1px solid var(--line);
}

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

.mobile-search {
  display: flex;
  margin: 14px 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #ffffff;
}

.mobile-search input {
  flex: 1;
  padding: 12px 16px;
}

.mobile-link {
  display: block;
  margin: 6px 0;
}

.hero {
  position: relative;
  max-width: 1240px;
  margin: 28px auto 0;
  padding: 0 22px;
}

.hero-shell {
  position: relative;
  min-height: 570px;
  overflow: hidden;
  border-radius: 34px;
  box-shadow: var(--shadow);
  background: #071913;
}

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

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

.hero-slide img {
  width: 100%;
  height: 100%;
  min-height: 570px;
  object-fit: cover;
  transform: scale(1.03);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 20, 15, 0.92), rgba(4, 20, 15, 0.68) 42%, rgba(4, 20, 15, 0.16)), linear-gradient(0deg, rgba(0, 0, 0, 0.62), transparent 52%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  padding: 72px 70px;
  color: #ffffff;
}

.hero-eyebrow,
.section-eyebrow,
.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #d1fae5;
  background: rgba(5, 150, 105, 0.26);
  border: 1px solid rgba(52, 211, 153, 0.36);
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 800;
  font-size: 0.82rem;
}

.hero-content h1 {
  margin: 24px 0 10px;
  font-size: clamp(2.4rem, 5vw, 5.3rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero-content h2 {
  margin: 0 0 18px;
  font-size: clamp(1.5rem, 3vw, 2.7rem);
  line-height: 1.1;
}

.hero-content p {
  margin: 0;
  max-width: 580px;
  color: #e8fff7;
  font-size: 1.08rem;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 14px 30px rgba(5, 150, 105, 0.28);
}

.btn-soft {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.btn-plain {
  color: var(--primary-dark);
  background: var(--surface-soft);
  border-color: var(--line);
}

.hero-search {
  display: flex;
  max-width: 560px;
  margin-top: 30px;
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.hero-search input {
  flex: 1;
  padding: 14px 18px;
  color: #ffffff;
}

.hero-search input::placeholder {
  color: rgba(255, 255, 255, 0.76);
}

.hero-dots {
  position: absolute;
  z-index: 3;
  left: 70px;
  bottom: 48px;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 42px;
  height: 5px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
  cursor: pointer;
}

.hero-dot.active {
  background: #ffffff;
}

.main-wrap,
.page-wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 54px 22px;
}

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

.section-head h1,
.page-head h1,
.section-head h2 {
  margin: 10px 0 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-head p,
.page-head p {
  margin: 12px 0 0;
  max-width: 720px;
  color: var(--muted);
}

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

.movie-card {
  position: relative;
  background: var(--surface);
  border: 1px solid rgba(220, 236, 230, 0.9);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(15, 118, 110, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.movie-card:hover {
  transform: translateY(-5px);
  border-color: rgba(5, 150, 105, 0.34);
  box-shadow: var(--shadow);
}

.poster-link,
.poster-frame {
  display: block;
  position: relative;
}

.poster-frame {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #d1fae5, #f0fdfa);
}

.poster-frame img,
.rank-card img,
.compact-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, opacity 0.2s ease;
}

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

.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.64);
  border-radius: 999px;
  padding: 5px 10px;
  font-weight: 800;
  font-size: 0.78rem;
  backdrop-filter: blur(8px);
}

.card-body {
  padding: 18px;
}

.card-kicker {
  margin: 0 0 8px;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.card-body h2,
.card-body h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.35;
}

.card-body h2 a:hover,
.card-body h3 a:hover {
  color: var(--primary);
}

.card-desc {
  min-height: 3.8em;
  margin: 10px 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.tag-row span,
.info-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 4px 9px;
  color: #0f766e;
  background: #ecfdf5;
  border: 1px solid #d1fae5;
  font-size: 0.78rem;
  font-weight: 700;
}

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

.category-tile {
  padding: 24px;
  min-height: 168px;
  color: #ffffff;
  border-radius: 24px;
  background: linear-gradient(135deg, #059669, #0f766e);
  box-shadow: 0 18px 40px rgba(15, 118, 110, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.category-tile:nth-child(2n) {
  background: linear-gradient(135deg, #0f766e, #0f172a);
}

.category-tile:nth-child(3n) {
  background: linear-gradient(135deg, #10b981, #065f46);
}

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

.category-tile h2,
.category-tile h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.category-tile p {
  margin: 0;
  color: rgba(255, 255, 255, 0.83);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
  gap: 26px;
  align-items: start;
}

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

.rank-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rank-row:hover {
  transform: translateX(4px);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.1);
}

.rank-no {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--gold), #ef4444);
  font-weight: 900;
}

.rank-row strong {
  display: block;
  line-height: 1.3;
}

.rank-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.panel {
  padding: 26px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 46px rgba(15, 118, 110, 0.09);
}

.filter-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 32px rgba(15, 118, 110, 0.08);
}

.filter-panel input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 14px 18px;
  background: #fbfffd;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-buttons button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 14px;
  background: #ffffff;
  color: var(--muted);
  cursor: pointer;
}

.filter-buttons button.active,
.filter-buttons button:hover {
  color: #ffffff;
  background: var(--primary);
  border-color: var(--primary);
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 22px;
}

.breadcrumb a {
  color: var(--primary-dark);
  font-weight: 800;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.55fr);
  gap: 28px;
  align-items: start;
}

.player-card {
  overflow: hidden;
  background: #071913;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.player-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000000;
}

.player-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000000;
}

.play-start {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: grid;
  place-items: center;
  border: 0;
  color: #ffffff;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.08));
  cursor: pointer;
}

.play-start span {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(5, 150, 105, 0.95);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  font-size: 2rem;
  padding-left: 5px;
}

.play-start.is-hidden {
  display: none;
}

.player-caption {
  padding: 22px 24px 24px;
  color: #ffffff;
}

.player-caption h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.player-caption p {
  margin: 0;
  color: #d1fae5;
}

.info-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 18px 46px rgba(15, 118, 110, 0.09);
}

.cover-box {
  overflow: hidden;
  border-radius: 22px;
  aspect-ratio: 3 / 4;
  margin-bottom: 18px;
  background: #ecfdf5;
}

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

.meta-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.meta-list div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.meta-list dt {
  color: var(--muted);
  font-weight: 800;
}

.meta-list dd {
  margin: 0;
}

.article-section {
  margin-top: 28px;
  padding: 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 46px rgba(15, 118, 110, 0.08);
}

.article-section h2 {
  margin: 0 0 14px;
  font-size: 1.6rem;
}

.article-section p {
  margin: 0;
  color: #304a42;
  white-space: pre-line;
}

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

.compact-card {
  box-shadow: none;
}

.compact-link {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  padding: 12px;
}

.compact-link img {
  aspect-ratio: 16 / 11;
  border-radius: 14px;
  background: #ecfdf5;
}

.compact-body strong,
.compact-body em,
.compact-body small {
  display: block;
}

.compact-body strong {
  line-height: 1.3;
}

.compact-body em,
.compact-body small {
  color: var(--muted);
  font-style: normal;
  font-size: 0.86rem;
  margin-top: 4px;
}

.site-footer {
  margin-top: 64px;
  color: #ffffff;
  background: linear-gradient(135deg, #061b14, #0f172a);
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 46px 22px;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 28px;
}

.footer-brand p {
  color: #b7ccc4;
  max-width: 470px;
}

.footer-logo {
  color: #ffffff;
}

.footer-group h2 {
  margin: 0 0 12px;
  color: #a7f3d0;
  font-size: 1rem;
}

.footer-group a {
  display: block;
  margin: 7px 0;
  color: #c6d9d2;
}

.footer-group a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 22px;
  text-align: center;
  color: #9fb7af;
}

.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 14px 30px rgba(5, 150, 105, 0.28);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.back-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hidden-card {
  display: none !important;
}

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

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

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

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

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

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

  .hero-content {
    padding: 52px 28px 92px;
  }

  .hero-shell,
  .hero-slide img {
    min-height: 620px;
  }

  .hero-dots {
    left: 28px;
    bottom: 34px;
  }

  .section-head,
  .page-head {
    display: block;
  }

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

@media (max-width: 620px) {
  .nav-wrap {
    padding: 0 16px;
  }

  .brand-text {
    font-size: 1rem;
  }

  .hero,
  .main-wrap,
  .page-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-shell {
    border-radius: 22px;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  .hero-content h2 {
    font-size: 1.45rem;
  }

  .hero-search {
    display: grid;
    border-radius: 18px;
  }

  .hero-search button {
    width: 100%;
  }

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

  .compact-link {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .article-section,
  .info-panel {
    padding: 22px;
  }
}

.sitemap-list {
  columns: 3 260px;
  column-gap: 24px;
}

.sitemap-list a {
  display: block;
  break-inside: avoid;
  margin: 0 0 9px;
  padding: 8px 0;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.sitemap-list a span {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.86rem;
}
