:root {
  --orange: #f97316;
  --red: #dc2626;
  --gray-950: #111827;
  --gray-900: #1f2937;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #f9fafb;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
  --soft-shadow: 0 12px 28px rgba(15, 23, 42, 0.10);
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--gray-50);
  color: var(--gray-900);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.scrolled {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
  background: rgba(255, 255, 255, 0.98);
}
.nav-shell {
  height: 76px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.32);
}
.brand-text {
  font-size: 24px;
  background: linear-gradient(90deg, var(--orange), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.desktop-nav a {
  color: var(--gray-700);
  font-weight: 650;
  position: relative;
  padding: 8px 0;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--orange);
  transition: right 0.25s ease;
}
.desktop-nav a:hover {
  color: var(--orange);
}
.desktop-nav a:hover::after {
  right: 0;
}
.top-search,
.mobile-search {
  display: flex;
  align-items: center;
  background: var(--gray-100);
  border-radius: 999px;
  padding: 4px;
  border: 1px solid transparent;
}
.top-search:focus-within,
.mobile-search:focus-within {
  border-color: rgba(249, 115, 22, 0.5);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
}
.top-search input,
.mobile-search input {
  width: 190px;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 8px 10px 8px 16px;
  font-size: 14px;
}
.top-search button,
.mobile-search button {
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: var(--white);
  padding: 8px 14px;
  font-weight: 700;
  cursor: pointer;
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 28px;
  color: var(--gray-700);
}
.mobile-menu {
  display: none;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px 18px;
}
.mobile-menu.open {
  display: grid;
  gap: 12px;
}
.mobile-menu a {
  padding: 12px 14px;
  background: var(--gray-50);
  border-radius: 12px;
  color: var(--gray-700);
  font-weight: 650;
}
.main-content {
  overflow: hidden;
}
.page-top {
  padding-top: 96px;
}
.hero {
  min-height: 680px;
  position: relative;
  background: linear-gradient(135deg, #111827, #1f2937);
}
.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-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.28), transparent 38%), linear-gradient(180deg, rgba(17, 24, 39, 0.18), rgba(17, 24, 39, 0.8));
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
  min-height: 680px;
  padding: 140px 20px 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 62%;
}
.eyebrow {
  display: inline-flex;
  width: max-content;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 7px 12px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.02;
  margin: 22px 0 20px;
  letter-spacing: -0.06em;
}
.hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2.2vw, 25px);
  line-height: 1.7;
  max-width: 780px;
  margin: 0 0 26px;
}
.hero-poster {
  position: absolute;
  z-index: 3;
  right: max(32px, calc((100vw - 1180px) / 2 + 20px));
  bottom: 86px;
  width: min(330px, 26vw);
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.45);
  transform: rotate(2deg);
}
.hero-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-tags,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  color: #ea580c;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 750;
}
.hero .tag {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}
.primary-btn,
.ghost-btn,
.section-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.primary-btn {
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: var(--white);
  padding: 15px 26px;
  box-shadow: 0 16px 32px rgba(249, 115, 22, 0.35);
}
.ghost-btn {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  padding: 15px 24px;
  backdrop-filter: blur(8px);
}
.primary-btn:hover,
.ghost-btn:hover,
.section-more:hover {
  transform: translateY(-2px);
}
.hero-controls {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 38px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.hero-dot {
  width: 38px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  cursor: pointer;
}
.hero-dot.active {
  background: var(--white);
}
.content-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 66px 20px;
}
.tone-section {
  background: linear-gradient(135deg, #eff6ff, #ecfeff);
  padding: 66px 0;
}
.tone-section > .section-head,
.tone-section > .rank-grid {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.04em;
}
.section-head p {
  margin: 8px 0 0;
  color: var(--gray-600);
}
.section-more {
  color: var(--orange);
  background: rgba(249, 115, 22, 0.1);
  padding: 10px 16px;
  white-space: nowrap;
}
.movie-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.compact-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.movie-card {
  background: var(--white);
  border-radius: 22px;
  box-shadow: var(--soft-shadow);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.movie-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}
.card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.poster-wrap {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #fb923c, #111827);
}
.poster-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.movie-card:hover .poster-wrap img {
  transform: scale(1.07);
}
.poster-shade {
  position: absolute;
  inset: auto 0 0 0;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.62));
}
.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--orange), var(--red));
  color: var(--white);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}
.card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
}
.card-title {
  color: var(--gray-950);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-meta {
  color: var(--orange);
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.card-desc {
  color: var(--gray-600);
  font-size: 14px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.movie-card.compact .card-body {
  padding: 13px;
}
.movie-card.compact .card-title {
  font-size: 15px;
}
.movie-card.compact .card-desc,
.movie-card.compact .tag-row {
  display: none;
}
.rank-grid,
.rank-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.rank-item a {
  min-height: 98px;
  display: grid;
  grid-template-columns: 54px 66px 1fr;
  align-items: center;
  gap: 13px;
  background: var(--white);
  border-radius: 18px;
  padding: 12px;
  box-shadow: var(--soft-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.rank-item a:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.rank-no {
  font-size: 23px;
  color: var(--orange);
  font-weight: 900;
  text-align: center;
}
.rank-item img {
  width: 66px;
  height: 84px;
  border-radius: 12px;
  object-fit: cover;
  background: linear-gradient(135deg, #fb923c, #111827);
}
.rank-info {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.rank-info strong {
  color: var(--gray-950);
  font-size: 15px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rank-info em {
  color: var(--gray-600);
  font-style: normal;
  font-size: 13px;
}
.category-grid,
.category-overview-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.category-card,
.category-overview-card a {
  position: relative;
  display: block;
  min-height: 190px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--soft-shadow);
  background: #111827;
}
.category-card img,
.category-overview-card img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  opacity: 0.68;
  transition: transform 0.45s ease, opacity 0.45s ease;
}
.category-card:hover img,
.category-overview-card:hover img {
  transform: scale(1.08);
  opacity: 0.82;
}
.category-card span,
.category-overview-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
  color: var(--white);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
}
.category-card strong,
.category-overview-body strong {
  display: block;
  font-size: 20px;
  margin-bottom: 7px;
}
.category-card em,
.category-overview-body em {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-style: normal;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.86);
}
.page-hero {
  max-width: 1180px;
  margin: 20px auto 0;
  padding: 54px 20px;
  border-radius: 30px;
  color: var(--white);
  background: radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.22), transparent 28%), linear-gradient(135deg, var(--gray-950), #7c2d12 58%, var(--red));
  box-shadow: var(--shadow);
}
.page-hero h1 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.1;
  margin: 18px 0 16px;
  letter-spacing: -0.05em;
}
.page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.8;
  margin: 0;
}
.crumb {
  max-width: 1180px;
  margin: 10px auto 20px;
  padding: 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--gray-600);
  font-size: 14px;
}
.crumb a:hover {
  color: var(--orange);
}
.filter-panel {
  display: grid;
  grid-template-columns: 1fr 180px 180px;
  gap: 12px;
  background: var(--white);
  padding: 16px;
  border-radius: 20px;
  box-shadow: var(--soft-shadow);
  margin-bottom: 26px;
}
.filter-panel input,
.filter-panel select {
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  background: var(--gray-50);
  color: var(--gray-900);
  padding: 13px 14px;
  outline: none;
  font-size: 15px;
}
.filter-panel input:focus,
.filter-panel select:focus {
  border-color: rgba(249, 115, 22, 0.65);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}
.full-rank {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.detail-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 26px;
}
.detail-main {
  min-width: 0;
}
.player-shell {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}
.player-shell video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.player-start {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--red));
  box-shadow: 0 18px 40px rgba(249, 115, 22, 0.45);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
}
.player-start.hidden {
  display: none;
}
.detail-card,
.side-box {
  margin-top: 24px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--soft-shadow);
  padding: 24px;
}
.detail-card h1 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.16;
  margin: 0 0 16px;
  letter-spacing: -0.04em;
}
.detail-card h2,
.side-box h2 {
  margin: 26px 0 12px;
  font-size: 24px;
}
.detail-card p {
  color: var(--gray-700);
  font-size: 16px;
  line-height: 1.95;
}
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.detail-meta span {
  border-radius: 999px;
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 750;
}
.detail-tags {
  margin-bottom: 16px;
}
.one-line {
  padding: 16px;
  border-radius: 18px;
  background: #fff7ed;
  color: #9a3412 !important;
  font-weight: 700;
}
.side-poster {
  width: 100%;
  border-radius: 24px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: linear-gradient(135deg, #fb923c, #111827);
  box-shadow: var(--soft-shadow);
}
.mini-rank {
  grid-template-columns: 1fr;
}
.mini-rank .rank-item a {
  grid-template-columns: 42px 56px 1fr;
}
.mini-rank .rank-item img {
  width: 56px;
  height: 70px;
}
.prev-next {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.prev-next a {
  border-radius: 16px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  color: var(--gray-700);
  padding: 13px 14px;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.prev-next a:hover {
  color: var(--orange);
  border-color: rgba(249, 115, 22, 0.5);
}
.site-footer {
  background: linear-gradient(135deg, #111827, #1f2937);
  color: rgba(255, 255, 255, 0.78);
  padding: 52px 20px 24px;
  margin-top: 42px;
}
.footer-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}
.footer-grid p {
  max-width: 430px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.62);
}
.footer-grid strong {
  display: block;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-grid a:not(.footer-brand) {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  margin: 10px 0;
}
.footer-grid a:hover {
  color: #fb923c;
}
.footer-bottom {
  max-width: 1180px;
  margin: 34px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.52);
  font-size: 14px;
}
[data-card].hidden {
  display: none;
}
@media (max-width: 1180px) {
  .movie-grid,
  .compact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .category-grid,
  .category-overview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .detail-layout {
    grid-template-columns: 1fr;
  }
  .detail-side {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 22px;
  }
  .side-box {
    margin-top: 0;
  }
}
@media (max-width: 860px) {
  .desktop-nav,
  .top-search {
    display: none;
  }
  .menu-toggle {
    display: block;
    margin-left: auto;
  }
  .nav-shell {
    height: 66px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
  }
  .brand-text {
    font-size: 21px;
  }
  .hero,
  .hero-content {
    min-height: 620px;
  }
  .hero-content {
    width: 100%;
    padding-top: 116px;
  }
  .hero-poster {
    display: none;
  }
  .movie-grid,
  .feature-grid,
  .compact-grid,
  .rank-grid,
  .full-rank {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category-grid,
  .category-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filter-panel {
    grid-template-columns: 1fr;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .detail-side {
    grid-template-columns: 1fr;
  }
  .side-poster {
    max-width: 280px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .page-top {
    padding-top: 82px;
  }
  .hero,
  .hero-content {
    min-height: 560px;
  }
  .hero-content {
    padding: 96px 16px 80px;
  }
  .hero h1 {
    font-size: 40px;
  }
  .hero p {
    font-size: 17px;
  }
  .content-section {
    padding: 46px 16px;
  }
  .movie-grid,
  .feature-grid,
  .compact-grid,
  .rank-grid,
  .full-rank,
  .category-grid,
  .category-overview-grid {
    grid-template-columns: 1fr;
  }
  .rank-item a {
    grid-template-columns: 48px 62px 1fr;
  }
  .page-hero {
    border-radius: 22px;
    margin-left: 16px;
    margin-right: 16px;
    padding: 38px 18px;
  }
  .detail-layout {
    padding: 0 16px;
  }
  .detail-card,
  .side-box {
    padding: 18px;
  }
  .prev-next {
    grid-template-columns: 1fr;
  }
  .player-start {
    width: 72px;
    height: 72px;
    font-size: 28px;
  }
}
